Bound predict-audit ownership-walk + rule-sweep harnesses; consolidate unverified findings#1088
Merged
Merged
Conversation
…olidate unverified findings Sibling half of the predict-audit harness rework whose orchestrator + SKILL.md half already landed in main via the reference-tick admission PR. Read-only on packages/* — audit tooling only. ownership-walk.workflow.js, rule-sweep.workflow.js: - Bound by construction: MAX_ROUNDS default 12->3 (ownership-walk) and 10->3 (rule-sweep), add verifyCap (60), severity-gated verify (cleanup-tier reported raw, no subagent). Agents <= maxRounds*units + verifyCap, so neither can run away to the agent cap. - Each now emits an `unverified` array (Info/Low/cleanup triaged out of verify). consolidate.py: - Collect the new `unverified` key from every harness: record it under its own key in findings.json (so track.py never floods the tracker with low-priority noise), keep it in the DROPPED-0 accounting (honest, no silent drop), and surface it in an Unverified report section. Re-syncs the consolidator with the already-merged orchestrator, which emits `unverified`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Committed in 219a910 and left tracked, so .gitignore (/docs/, /docs/superpowers/) never applied — tracked files bypass ignore rules, which is why these specs kept reappearing in PRs. git rm --cached untracks it (local copy kept); the existing rule now keeps it out. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
sdelo
approved these changes
Jun 25, 2026
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
ownership-walkandrule-sweepaudit harnesses by construction:MAX_ROUNDSdefault 12→3 (ownership-walk) and 10→3 (rule-sweep), addverifyCap(60), and severity-gate verify (cleanup-tier findings reported raw, no subagent). Total agents ≤maxRounds×units +verifyCap, so neither harness can run away to the agent cap.unverifiedarray (Info/Low/cleanup findings triaged out of the verify panel).consolidate.pynow records thoseunverifiedfindings — under their own key infindings.json(sotrack.pydoesn't flood the tracker with low-priority noise), kept in theDROPPED 0accounting (no silent drop), and surfaced in a dedicated Unverified report section.docs/superpowers/specs/2026-06-23-propbook-block-scholes-feed-split-design.md. It was committed long ago (219a9103) and stayed tracked, so the/docs/and/docs/superpowers/.gitignorerules never applied — git skips ignore rules for already-tracked files, which is why these specs kept reappearing in PRs.git rm --cacheduntracks it (local copy kept); the existing rule now keeps it (and future superpowers specs) out.Key decisions
SKILL.mdhalf already landed in main via the reference-tick admission PR. The orchestrator-only features (per-lane retirement, cross-model codex verify, depth tiers) are intentionally not ported to the siblings here — that's a separate follow-up.consolidate.pychange re-syncs the consolidator with the already-merged orchestrator (which emitsunverified), closing a split where the orchestrator landed without its matching consolidator handler.packages/*— no smart-contract changes; audit tooling only.Test plan
python3 .claude/skills/predict-audit/evals/test_consolidate_track.py→ ✅ ALL PASS (locks no-slip / id-dedup / tracker invariants; required after editingconsolidate.py)node --check(runtime-wrapped) parsesownership-walk.workflow.js+rule-sweep.workflow.jsgit check-ignore -vconfirms the untracked spec now matches/docs/(the recurring leak is fixed); local copy retained on diskrule-sweep/ownership-walkrun to watch the bounded caps +unverifiedflow end-to-end🤖 Generated with Claude Code