Skip to content

Predict predeploy docs and audit tracker consolidation#1095

Merged
0xaslan merged 16 commits into
mainfrom
at/predict-predeploy-docs
Jul 2, 2026
Merged

Predict predeploy docs and audit tracker consolidation#1095
0xaslan merged 16 commits into
mainfrom
at/predict-predeploy-docs

Conversation

@0xaslan

@0xaslan 0xaslan commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Consolidate Predict predeploy audit and stress material into committed packages/predict/predeploy docs, including open items, rounding policy, oracle calibration, and capacity findings.
  • Land the NAV price-memo valuation path and update capacity docs so the resolved single-market flush OOG is separated from the remaining pool-total cap work.
  • Route the predict-audit skill 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.md is the only team-facing open-items tracker; ignored audit reports remain raw run artifacts only.
  • Audit findings are curated by reasoning into the committed tracker, preserving manual and non-audit items instead of mechanically overwriting the file.
  • Capacity docs now treat the price memo as landed: single-market 5,000-order valuation is measured safe, while aggregate flush capacity remains a deploy gate.

Test plan

  • git diff --check
  • python3 .claude/skills/predict-audit/evals/test_consolidate.py
  • node --check .claude/skills/predict-audit/orchestrator.workflow.js
  • node --check .claude/skills/predict-audit/ownership-walk.workflow.js
  • node --check .claude/skills/predict-audit/rule-sweep.workflow.js
  • cd packages/predict/harness/ts && npx tsc --noEmit
  • sui move test --path packages/predict --gas-limit 100000000000

0xaslan and others added 16 commits June 23, 2026 18:24
- 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>
@0xaslan 0xaslan merged commit 83e1891 into main Jul 2, 2026
6 checks passed
@0xaslan 0xaslan deleted the at/predict-predeploy-docs branch July 2, 2026 12:50
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.

2 participants