Skip to content

docs: CLAUDE.md — idle-cost measurement note + refresh stale auto-merge pitfall (#32)#33

Merged
ak2k merged 1 commit into
mainfrom
worktree-claude-md-measure-note
May 26, 2026
Merged

docs: CLAUDE.md — idle-cost measurement note + refresh stale auto-merge pitfall (#32)#33
ak2k merged 1 commit into
mainfrom
worktree-claude-md-measure-note

Conversation

@ak2k

@ak2k ak2k commented May 25, 2026

Copy link
Copy Markdown
Owner

Two CLAUDE.md corrections, no code change.

  1. New "Workflow pitfalls" note — measuring idle cost. Use interactive /context (the Custom agents slot) as the source of truth, not claude plugin details: the latter's Always-on projection counts only agent descriptions (~50 tok/agent) and misses the full bodies Claude Code loads idle (~2k/agent), under-reporting by ~15× (upstream CE: plugin details ~5.7k vs /context ~88k). Elevates the note already in generate_wrappers.py's docstring to the contributor-facing doc.

  2. Refresh a now-stale pitfall. The first bullet claimed ci.yml doesn't run on publish-dist auto-PRs and "those checks are the validation signal" — true under the old GITHUB_TOKEN setup, but fix(ci): open publish-dist PRs with ak2k-ci App token so auto-merge fires #32 changed it: the auto-PR is now opened with the ak2k-ci App token, so it fires pull_requestci.ymlauto-merge-publish-dist. Corrected, and documents the App-token mechanism + why GITHUB_TOKEN stalled it.

…e pitfall

- Add a "Workflow pitfalls" note: measure idle cost via interactive
  /context (the Custom agents slot), NOT `claude plugin details` -- the
  latter's Always-on projection counts agent descriptions (~50 tok/agent)
  and misses the loaded bodies (~2k/agent), under-reporting by ~15x.
- Refresh the publish-dist pitfall: it claimed ci.yml doesn't run on
  auto-PRs and "those checks are the validation signal" -- stale since
  PR #32 wired the ak2k-ci App token, which makes the auto-PR fire
  pull_request -> ci -> auto-merge. Documents the App-token mechanism.
@ak2k ak2k merged commit 5e5f562 into main May 26, 2026
2 checks passed
@ak2k ak2k deleted the worktree-claude-md-measure-note branch May 26, 2026 03:58
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