Repository navigation
Prune unreferenced receipts and reviews, archive campaign docs - #80
Conversation
Delete 222 receipt files and 39 review reports that no doc, metadata file, script, Lean source or cited receipt references (11 MB). Move the superseded campaign process docs (CAMPAIGN, WAVE0, CLOUD_ORCHESTRATOR, REMOTE-STATUS) under audit/history and drop the unsent author-message draft. Point AGENTS.md at DIRECT-CLOSURE.md. Cite the latest independent review receipt from the closure map. audit_metadata.py now fails on any receipt or review file that nothing cites, transitively through cited receipts, so the pile cannot regrow silently. No Lean or pinned artifact changes; make audit-check and the site evidence script both pass.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 572a3c3efa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| n = frontier.pop() | ||
| p = receipts / n if (receipts / n).exists() else reviews / n | ||
| for m in token.findall(p.read_text(encoding="utf-8", errors="ignore")): | ||
| if m in names and m not in cited: |
There was a problem hiding this comment.
Reject dangling artifact references before pruning
In the committed tree, the current evidence map still links spark-review-20783d3.md, whose bundle-verification section references direct-full-gas-settlement-bundle-20260910.json, but that bundle is deleted by this commit; several retained withdrawal reviews likewise reference deleted extraction receipts. Because this condition discards every token absent from names, audit_metadata.py reports success instead of detecting these broken evidence chains. Validate references from reachable receipts/reviews against the pre-pruning artifact set, or retain the referenced artifacts.
AGENTS.md reference: AGENTS.md:L9-L11
Useful? React with 👍 / 👎.
Delete 222 receipt files and 39 review reports that no doc, metadata file,
script, Lean source or cited receipt references (11 MB). Move the superseded
campaign process docs (CAMPAIGN, WAVE0, CLOUD_ORCHESTRATOR, REMOTE-STATUS)
under audit/history and drop the unsent author-message draft. Point AGENTS.md
at DIRECT-CLOSURE.md. Cite the latest independent review receipt from the
closure map.
audit_metadata.py now fails on any receipt or review file that nothing cites,
transitively through cited receipts, so the pile cannot regrow silently.
No Lean or pinned artifact changes; make audit-check and the site evidence
script both pass.