Skip to content

Prune unreferenced receipts and reviews, archive campaign docs - #80

Merged
Th0rgal merged 1 commit into
mainfrom
chore/prune-unreferenced-artifacts
Sep 15, 2026
Merged

Th0rgal merged 1 commit into
mainfrom
chore/prune-unreferenced-artifacts

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Sep 15, 2026

Copy link
Copy Markdown
Member

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.

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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-15T13:23:02.754013Z 572a3c3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread scripts/audit_metadata.py
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:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@Th0rgal
Th0rgal merged commit 3992df2 into main Sep 15, 2026
1 check passed
@Th0rgal
Th0rgal deleted the chore/prune-unreferenced-artifacts branch September 15, 2026 13:51
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.

1 participant