KeiSeiKit-1.0/scripts
KeiSei84 633ee4aeeb
Some checks are pending
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / preflight (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / vps-smoke (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:frustration-matrix,kei-frustration-loop,kei-skill-importer,kei-projects-index,kei-projects-watcher,kei-gdrive-import,kei-leak-matrix,kei-skills,kei-gateway,kei-cron-scheduler,kei-export-trajectories,kei-backend-daytona,kei-d… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-compute-baremetal,kei-compute-vultr,kei-compute-linode,kei-compute-digitalocean,kei-svc-systemd,kei-llm-bridge-mlx name:hosted-sleep-compute]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-diff,kei-scheduler,kei-watch,kei-prune,kei-discover,kei-brain-view,kei-hibernate,kei-ledger-sign,kei-fork name:wave13-15]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-git-gitea,kei-git-forgejo,kei-git-gitlab,kei-git-bitbucket,kei-memory-sled,kei-memory-redis,kei-memory-postgres,kei-memory-sqlite,kei-auth-google,kei-auth-apple,kei-auth-magiclink,kei-auth-webauthn,kei-notify-slack,kei-n… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-ledger,kei-migrate,kei-changelog,kei-memory,kei-store,kei-conflict-scan,kei-refactor-engine,kei-graph-check,kei-shared,kei-dna-index,kei-pet name:core]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-machine-probe,kei-llm-ollama,kei-llm-llamacpp,kei-llm-mlx,kei-llm-router,kei-model name:llm-stack]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-router,kei-sage,kei-task,kei-chat-store,kei-crossdomain,kei-search-core,kei-content-store,kei-social-store,kei-curator,kei-auth,kei-artifact name:mcp-lbm]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:keisei,kei-forge,kei-runtime,kei-runtime-core,kei-atom-discovery,kei-agent-runtime,kei-capability,kei-provision,kei-entity-store,kei-pipe,kei-cache,kei-spawn,kei-replay name:atom-substrate]) (push) Blocked by required conditions
feat(limits): honest kei limits CLI + pet cache integration
Cross-CLI subscription limits — research-grounded honest delivery after
5-parallel-agent investigation found that 4 of 5 CLIs have no public
programmatic API for quota.

## Reality findings (research)

- claude    no public API; `anthropic-ratelimit-*` headers per-call only;
            Admin API exists but needs separate admin token. See dashboard.
- grok      no public API; `x-ratelimit-*` headers per-call only. No file.
- agy       interactive /usage slash-cmd shows 100% always (forum bug).
            No public API.
- copilot   no public quota API; web dashboard only. The 'gh api /user/
            copilot_billing' endpoint does NOT exist. June 2026 billing
            migration to AI Credits further changes the surface.
- kimi      Moonshot /v1/users/me/balance returns $ balance only (no
            session/weekly quota fields). Requires MOONSHOT_API_KEY.

## Delivery (no false promises)

- scripts/kei-limits.sh — probe-all honest tool. For Kimi: real curl
  call to Moonshot balance API if MOONSHOT_API_KEY set. For other 4:
  status marker + dashboard URL.
- Pet integration — reads ~/.claude/pet/limits-cache.json IF present;
  shows Kimi balance segment ONLY when status=='live'. Pet does NOT poll;
  cache is populated by user-invoked 'kei limits'.
- bin/kei limits arm + --json mode + --quiet mode for cron.

Cache is bounded by user's explicit refresh; pet shows '(Xm old)' if
older than 1h. No background polling, no rate-limit waste, no fake data.
2026-05-26 21:43:39 +08:00
..
install-actionlint.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-agent-cli.sh feat(v0.41): patch 5 Gemini security findings + Copilot doc bug + claude/grok perms 2026-05-26 19:48:29 +08:00
kei-configure.sh feat(install): opt-in hook packs + stack profiles (public posture) 2026-05-25 17:27:14 +08:00
kei-limits.sh feat(limits): honest kei limits CLI + pet cache integration 2026-05-26 21:43:39 +08:00
kei-mcp-wire-agy.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-claude.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-copilot.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-grok.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-kimi.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-message.sh feat(msg): /msg skill — read/write cross-session mailbox by @id 2026-05-24 14:43:04 +08:00
kei-pick.sh feat(orchestrator): kei pick + spawn_agent MCP tool — true multi-LLM shell 2026-05-26 16:48:23 +08:00
keisei-pet-update.sh feat(pet): comprehensive language map (60+) 2026-05-21 18:31:05 +00:00
keisei-pet.sh feat(limits): honest kei limits CLI + pet cache integration 2026-05-26 21:43:39 +08:00
lint-workflows.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
new-atom.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
pre-commit-workflow-lint.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
precommit-counts-check.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
regen-counts.sh fix(security): patent-leak + classical-safety audit fixes 2026-05-18 12:05:25 +08:00
validate-workflow-shas.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00