docs(rules): verify agent-inferred membership tags against the index#341
Merged
Conversation
Add a routing row to offload-to-deterministic-substrate: a subagent's membership/ownership/security tag (tracked-in-git? secret public? managed-by-X?) is an inference to verify against the authoritative index (chezmoi managed, git ls-files), computed once and passed in as ground truth — not trusted from co-location. Condensed the intro, three-claims table, litmus, and rationale so the net change stays under the always-loaded global context budget (rule ends ~500B leaner overall). Distilled from a $HOME-cleanup audit where classification agents conflated live-directory presence with chezmoi-managed membership 3×, once nearly reporting a live ~/.gemini/ credential as tracked-and-public (a false secret leak) before it was checked against `chezmoi managed`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
| Status | Count |
|---|---|
| 🔍 Total | 170 |
| ✅ Successful | 159 |
| ⏳ Timeouts | 0 |
| 🔀 Redirected | 0 |
| 👻 Excluded | 9 |
| ❓ Unknown | 0 |
| 🚫 Errors | 2 |
Errors per input
Errors in docs/adrs/0013-nixos-declarative-system-configuration.md
- [ERROR] https://nixos.org/manual/nixos/stable/ | Failed: Network error: error sending request for url (https://nixos.org/manual/nixos/stable/)
Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md
- [404] https://docs.anthropic.com/claude-code/commands | Failed: Network error: Not Found
Full Github Actions output
Please fix the broken links before merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add one routing-table row to
offload-to-deterministic-substrate.md: a subagent's membership/ownership/security tag is an inference to verify against the authoritative index, computed once and passed in as ground truth. Condensed the intro, three-claims table, litmus, and rationale so the net change keeps the always-loaded global-context budget under ceiling (the rule ends ~500 B leaner overall while gaining the row).Why
Distilled from this session's
$HOME-cleanup audit. The classification fan-out conflated live-directory presence with chezmoi-managed membership three times — most sharply, a live~/.gemini/oauth_creds.jsonwas reported as "chezmoi-tracked & public" (a false secret-leak finding) until verified againstchezmoi managed, which showed only.gemini/GEMINI.mdis managed. Same class hit~/tmp("1,710 tracked entries" — actually 4 unmanaged scratch files).Ownership/membership is a deterministic lookup, so compute it (
chezmoi managed,git ls-files,gh api) and hand it to the agent rather than letting a reasoning agent infer it from co-location.Verification
claude-context-budgetpre-commit hook passes (was blocking at +523 B; net edit now under ceiling).🤖 Generated with Claude Code