Predict predeploy docs and audit tracker consolidation#1095
Merged
Conversation
- capacity-and-gas-findings: record the nav-stress-atm run (OOGed ~4,070, not the ~1,372 fuzz worst case), mark the expensive-branch worst case unconfirmed in-instrument, and point pool-total follow-up at batch-max-markets with the EInsufficientCash (pool-capital) entanglement caveat. - add price-memo-findings-2026-07-01: single-market flush OOG eliminated (5,000 orders = ~47-54% of the 5e9 cap, ~2x slope reduction), multi-market pool-total gas cliff ~8,640-9,400 (entangled with pool capital); tied to the uncommitted NAV price-memo change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…th, recall/precision evals Implements the recommended predict-audit improvements on top of the existing audit-tracker consolidation: - Cross-run adjudication memory (`priorAdjudications`): re-found refuted/settled findings are suppressed (returned under `prior_rediscovered`) instead of re-verified at full panel cost; confirmed priors still flow into kept[]. - Delta-audit scope: `args.files` (orchestrator + rule-sweep) concentrates lenses on a change set + blast radius; SKILL.md documents the changed-file->unit map and a watermark flow for incremental runs. - Null-verdict handling: a dead verifier is retried once on Claude, then surfaced as `unverified-panel` / `verifier-dead` (never a silent drop or quiet `uncertain`); High/Critical with <2 live verdicts flagged `panel_degraded`; `kept` split into confirmed/uncertain/panel-dead with `panel_severity` recorded. - Sibling parity: per-lane retirement, cross-model verify, and `depth` presets ported to ownership-walk + rule-sweep; `profile:'security'` preset added. - preflight.py: pre-run drift lint (fatal on primer module-map drift, warns on D-ids that resolve only to the local decision journal) — wired into Step 1. - check_curation.py: no-slip guard on the findings.json -> open-items.md hop (every open/panel-dead finding must be id-referenced or dispositioned). - verify-bench.workflow.js + evals/verify_corpus.json: cheap panel-only PRECISION bench; evals/seeds.md: seeded-bug RECALL harness. - consolidate.py renders the new panel-health statuses; test_consolidate.py covers them. Test plan (all green): - node --check on all four workflow scripts - python3 evals/test_consolidate.py - python3 preflight.py (exit 0; warns on dangling D025/D026/D031) - python3 -m py_compile preflight.py check_curation.py consolidate.py - check_curation.py smoke (fail on unaccounted, pass when dispositioned) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
tonylee08
approved these changes
Jul 2, 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
packages/predict/predeploydocs, including open items, rounding policy, oracle calibration, and capacity findings.predict-auditskill into the committed open-items tracker and remove the old gitignored open-items/sync-script source-of-truth flow.Key decisions
packages/predict/predeploy/open-items.mdis the only team-facing open-items tracker; ignored audit reports remain raw run artifacts only.Test plan
git diff --checkpython3 .claude/skills/predict-audit/evals/test_consolidate.pynode --check .claude/skills/predict-audit/orchestrator.workflow.jsnode --check .claude/skills/predict-audit/ownership-walk.workflow.jsnode --check .claude/skills/predict-audit/rule-sweep.workflow.jscd packages/predict/harness/ts && npx tsc --noEmitsui move test --path packages/predict --gas-limit 100000000000