Repository navigation
Add tri-comparison-ledger-sweep skill - #1871
Merged
Merged
Conversation
Operational playbook for dispatching Gemini/agy subagents to investigate unvalidated docs/self_scan/tri_comparison_ledger.json discrepancy shapes (GitGalaxy vs. tree-sitter vs. ctags, no privileged ground truth) -- modeled on tree-sitter-accuracy-sweep's proven pool-dispatch pattern, but adapted for a genuinely different shape of work: - The deliverable is a VERDICT (read the real corpus source, determine what's actually true), not a code fix -- no worktree, no venv build, no per-worktree agy permission grant needed, since every dispatch is read-only against the main checkout directly. - Every verdict lands in the SAME shared ledger file, so dispatches must never write to it themselves -- they return text, the main session reviews and applies serially. This is the one hard rule with no tree-sitter-accuracy-sweep equivalent, called out explicitly in the dispatch-prompt template. - Candidate selection, verdict review, and issue-filing for any confirmed engine defect found along the way stay in the main session, same principle as the sweep skill's "root-cause here, only delegate the already-scoped work." - Papertrail is three layers: the ledger entry itself (primary source), the regenerated tri_comparison_points_of_interest.md (human-scannable log), and a filed GitHub issue for anything that needs an actual code fix -- kept distinct from "what did we learn" ledger verdicts. Carries forward the concrete gotchas already confirmed this session: arduino-ctags shadowing real ctags on Ubuntu (with a no-root local-build recipe that worked), the --write-with-partial---languages chart-clobber footgun, and agy's premature-completion/no-self-escalation rules from tree-sitter-accuracy-sweep (same failure modes, confirmed to recur regardless of task shape). Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
2 tasks done
First real sweep run (rust, 2026-08-19) confirmed a real gap: a verdict said "worth a doc note in ctags_reader.py" but the note didn't actually get written until the user caught it missing in review. Step 4.3 now spells out all three buckets a verdict can land in explicitly (engine defect -> GitHub issue, GitGalaxy-correct -> why_gitgalaxy_beats_ast_here.md, tool-side limitation -> the relevant reader module's own docstring) as a forced decision per verdict, not an afterthought -- and the papertrail section's layer list now maps 1:1 onto the same three buckets instead of just listing "GitHub issues" as if it were the only write-through target. Co-Authored-By: Claude Sonnet 5 <[email protected]>
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.
Summary
New skill (
.claude/skills/tri-comparison-ledger-sweep/SKILL.md) for the workflow we've been running by hand this session: dispatching agents to investigate unvalidateddocs/self_scan/tri_comparison_ledger.jsondiscrepancy shapes and land reviewed verdicts.Modeled directly on
tree-sitter-accuracy-sweep's proven pool-dispatch structure, but adapted where the task genuinely differs:agypermission grant. Every dispatch is read-only against the main checkout.tri_comparison_ledger.jsonthemselves, they return text and the main session applies it serially.tri_comparison_points_of_interest.md, and a filed GitHub issue for anything needing a real code fix.Carries forward concrete gotchas already confirmed this session:
arduino-ctagsshadowing realctagson Ubuntu (with a working no-root local-build recipe), the--write+ partial--languageschart-clobber footgun, andagy's premature-completion / no-self-escalation rules (same failure modes astree-sitter-accuracy-sweep, confirmed to recur).Docs/tooling only -- no engine or runtime code touched, no audits required.
Test plan
🤖 Generated with Claude Code