Skip to content

feat(quota): Phase-1 scaffold — multi-account Claude limits + registry#1

Merged
dancinlife merged 1 commit into
mainfrom
feat/quota-plugin-scaffold
May 15, 2026
Merged

feat(quota): Phase-1 scaffold — multi-account Claude limits + registry#1
dancinlife merged 1 commit into
mainfrom
feat/quota-plugin-scaffold

Conversation

@dancinlife
Copy link
Copy Markdown
Contributor

Summary

Web deep-research + exhaustive 12-repo prior-art survey → hexa-native quota plugin (Phase 1, read-only, verified live).

  • /quota slash + quota tool + quota_summary + wilson quota CLI (g10; _cmd_quota mirrors _cmd_inbox — core owns argv dispatch, not a g8 plugin-patch)
  • Current account (~/.claude.json oauthAccount), token (linux file ∨ mac keychain), LIVE 5h/7d via the OAuth usage endpoint (curl through exec_with_status; g2/g4). wilson-owned account registry.
  • Opt-in (not in _bundle, g9): wilson build --with quota
  • Phase-3 (live cred switch + seamless --resume failover) contracted fail-loud (g3); clean-room recipe locked in RESEARCH.md §c3
  • Agent SDK monthly credit: honest not_implemented stub (post-2026-06-15 source unknown — no fakery, n16)

ToS

The 2026 OpenClaw ban was reinstated/restructured (metered Agent SDK credit eff. 2026-06-15), not abolishedRESEARCH §D, @F f1 rescoped.

Verification

  • wilson build --with quota OK (30 plugins) · wilson test 23/23 · loader taxonomy clean · wilson quota status live against the real account
  • Prior-art cloned out-of-tree (~/core/reference/), GPL-3 cux study-only
  • Session log: docs/sessions/2026-05-16-quota-plugin-scaffold.md

🤖 Generated with Claude Code

Web deep-research + exhaustive 12-repo prior-art survey → hexa-native
`quota` plugin. Phase 1 (read-only, verified live):

- /quota slash + `quota` tool + quota_summary + `wilson quota` CLI (g10,
  _cmd_quota mirrors _cmd_inbox; core owns argv dispatch, not a g8 patch).
- Reads current account (~/.claude.json oauthAccount), access token
  (linux file ∨ mac keychain), LIVE 5h/7d via the OAuth usage endpoint
  (curl through exec_with_status; g2/g4). wilson-owned account registry.
- Opt-in (not in _bundle, g9): `wilson build --with quota`.
- Phase-3 (live cred switch + seamless --resume failover) contracted
  fail-loud (g3); clean-room recipe locked in RESEARCH.md §c3.
- Agent SDK monthly credit: honest not_implemented stub (post-2026-06-15
  source unknown — no fakery, n16).

ToS: the 2026 OpenClaw ban was reinstated/restructured (metered Agent
SDK credit eff. 2026-06-15), not abolished — RESEARCH §D, @f f1 rescoped.

Verified: `wilson build --with quota` OK (30 plugins) · `wilson test`
23/23 · loader taxonomy clean · `wilson quota status` live against the
real account. Prior-art cloned out-of-tree (~/core/reference/), GPL-3
cux study-only. Session log: docs/sessions/2026-05-16-quota-plugin-scaffold.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dancinlife dancinlife merged commit 745041c into main May 15, 2026
0 of 2 checks passed
@dancinlife dancinlife deleted the feat/quota-plugin-scaffold branch May 15, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant