Skip to content

MAT-010-CLOSURE-001 (Phase A): Formalize Archive Membership - #47

Merged
EmergentMonk merged 12 commits into
mainfrom
research/sonification-formal-001-mat010-closure
Nov 10, 2026
Merged

EmergentMonk merged 12 commits into
mainfrom
research/sonification-formal-001-mat010-closure

Conversation

@EmergentMonk

Copy link
Copy Markdown
Member

Scope

Formalize the frozen MAT-SPEC-010 direct archive-membership validator (Phase A) over arbitrary finite, exact-string model inputs. This is a focused first PR under the mission's scope-control rule. Parent integrity (Phase B), scientific closure (Phase C), and Python source-to-model refinement remain OPEN.

Frozen source

  • Annotated tag mat-spec-010-v0.1.0: b8e88a0a32db30558e00704669eeaafee3a8d5f5
  • Peeled commit 9d12c6a5098f4edba972bb6b1067555d8f48f693; tree 646f1de532738feeb59336a427881d643cf32dc1
  • materials/mat_spec_010.py blob 180e44dc81a0ff59cb08bd87d6a87538c275b054; SHA-256 e062474d4435e769f8c6c8407bc44ad89cfb2dfa04677b820c3a035d604a9056
  • Immediate MAT-SPEC-009 predecessor 0758a96360726aafbb07abed34620eda178407ae

Evidence

  • Lean 4.19.0: exact typed A1–A7 statements, 333 project declarations including 151 compiler auxiliaries, transitive axiom audit, and 1,303 hashed toolchain imports. Accepted input commit 2f2ea6d3deffebc7a552ec79f42ea829b9812d3e, receipt formal/sonification/mat010/receipts/proof-002.
  • Negative controls: 6/6 rejected, including False axioms ending _cstage1 and _cstage2. The initial failed expectation is retained in negative-001; corrected negative-002 passed.
  • Independent audit of exact candidate 7e1e415c6590d8bf7257b4cbcd80de58c83d808b: PASS for the scoped model and gate. It freshly replayed the proof and rejected both suffix mutations plus a source-level unsafe suffix definition. Report: formal/sonification/mat010/audit/independent-001/report.json.
  • Finite Python conformance: 28 declared cases, 23 exact built-in cases matched. Three Python subclass cases expose boundaries of the exact-string/dict model. Direct calls accept extra well-formed artifacts and can omit non-evidence artifacts; no fixed exhaustive inventory is claimed.
  • Retained evidence verifier: 9 execution receipts, 17 model development attempts, 5 audit development attempts, and 66 independent-audit files. Full repository pytest: 340 passed, 202 subtests passed. Full Ruff: PASS. Focused tests: 10 passed.

Limits

REFINEMENT_PROVED remains OPEN. SHA-256 comparisons do not establish physical source authenticity, collision freedom, archive deposition, or experimental validation. The frozen scientific status remains blocked/open, and no MAT-SPEC-011 is introduced. No production implementation or historical release is changed.

Generated execution evidence is marked with linguist-generated for a readable PR diff; original files remain available and hash checked.

@sourcery-ai sourcery-ai 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.

Sorry @EmergentMonk, this pull request is too large to review

It changes 434 files. Sourcery can review pull requests with up to 300 changed files.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T03:31:41.929723Z 462858b Manual request
🔒 Security Review ✅ Completed 2026-11-10T03:23:38.748011Z 3ef1b79 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: 3ef1b7929d

ℹ️ 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 on lines +283 to +286
files = manifest["files_sha256"]
observed = {str(p.relative_to(folder)) for p in folder.rglob("*") if p.is_file()}
require(observed == set(files) | {manifest_path.name},
"independent audit file coverage changed")

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 Include the compiled evidence required by the audit manifest

On a fresh checkout, the independent-audit verifier always raises ValueError: independent audit file coverage changed: its manifest requires work/ArchiveModel.olean and work/ArchiveConsumer.olean under each of the three mutation directories, but none of those six files is committed. I confirmed their absence using repository-wide file search and git ls-tree -r for the reviewed commit. Consequently, the documented evidence-verification command and both test_intact_receipts and test_missing_independent_audit_file fail before validating the audit. Commit the required evidence files, or consistently exclude compiled caches from the manifest and update its pinned hash and file count.

Useful? React with 👍 / 👎.

@EmergentMonk

Copy link
Copy Markdown
Member Author

@codex Please Review this exact SHA 462858b gainst the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus actual behavior, and affected lines. State whether each reproduction was executed or statically inferred. Don’t repeat fixed findings without a new failing case. Keep architectural suggestions separate and non-blocking.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 462858b6a6

ℹ️ 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".

@EmergentMonk
EmergentMonk merged commit 62ae5bf into main Nov 10, 2026
13 checks passed
@EmergentMonk
EmergentMonk deleted the research/sonification-formal-001-mat010-closure branch November 10, 2026 03:31
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 462858b6a6

ℹ️ 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".

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