Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f57adbc
arch: add scientific-state schema pilot for #95
cursoragent Sep 25, 2026
83c106c
docs(arch): point scientific-state authority map at merged #97
cursoragent Sep 25, 2026
68cae53
arch: thin claims→gate adapter for #90 before/after inputs
cursoragent Sep 25, 2026
ef0d7fc
fix: register architecture/ in REPOSITORY_TOP_LEVEL for bridge self-a…
cursoragent Sep 25, 2026
a94a62d
docs(arch): point math gate authority at merged Math- PR13 tip
cursoragent Sep 25, 2026
91c7a47
ci: run scientific_state_check and claims_gate_adapter in verify
cursoragent Sep 25, 2026
d765efa
fix: allowlist scientific_state and claims_gate_adapter CI commands
cursoragent Sep 25, 2026
fc6caf5
fix(#90): loss-only reverse-impact cases on thin claims adapter
cursoragent Sep 25, 2026
4c8f4bf
feat(#95): v1.1 semantic_digest / evidence_digest orthogonal axes
cursoragent Sep 25, 2026
c1821b6
fix(#90): surface unsatisfied_required in aggregate HOLD reports
cursoragent Sep 25, 2026
0449280
test(#90): required True→False flip is an edge-only impact seed
cursoragent Sep 25, 2026
4b983b9
fix(#90): deploy before/after CLI + strict as_of/dep containers
cursoragent Sep 25, 2026
0bc41ca
feat(#90): PR15-contract source-file binding + REFUTED preservation
cursoragent Sep 25, 2026
e606b79
Keep bridge top-level authority list aligned with CI artifacts output
d6g8k5htny-coder Sep 25, 2026
a958be6
fix(#90): write event-compare report outside the checkout
cursoragent Sep 25, 2026
776fdb7
fix(#90): drop artifacts from REPOSITORY_TOP_LEVEL after out-of-tree …
cursoragent Sep 25, 2026
ebd7450
fix(#90): enforce five OpenAI boundary families on claims-gate adapter
cursoragent Sep 25, 2026
6e3f774
fix(#90): port ACCEPT'd OpenAI F1 enforcement onto tip with F2–F5
cursoragent Sep 25, 2026
47ad537
fix(#90): F2 fail-closed unresolved controlling sources + migrate tip…
cursoragent Sep 25, 2026
7e219c3
fix(#90): owner-seed reverse closure + malformed historical schema fa…
cursoragent Sep 25, 2026
22d9976
fix(#90): scientific-object identity + freshness (repair E)
cursoragent Sep 25, 2026
cc6a578
fix(#90): same-carrier binding precision upgrade is coverage repair
cursoragent Sep 25, 2026
2d3374c
fix(#90): E6 — coverage repair must not mask semantic claim changes
cursoragent Sep 25, 2026
feea1df
fix(#90): E6 follow-up — binding-order-normalized coverage repair
cursoragent Sep 26, 2026
5cf4f36
fix(#90): keep E6 strict; pin Q0 theorem-first order regression
cursoragent Sep 26, 2026
69e9b52
merge(hardening): integrate fail-closed D1/Q0 audit with #90 bindings
cursoragent Sep 26, 2026
b59359e
fix(#90): allow unresolved→monitorable when core content unchanged
cursoragent Sep 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ jobs:
run: python tools/closure_pipeline.py check-plan
- name: Math status packet (OPEN/HOLD only; flags stay false)
run: python tools/math_status_check.py
- name: Scientific-state schema/authority/crosswalk (pointers only; effect NONE)
run: python tools/scientific_state_check.py
- name: Claims→gate #90 tip-health (identity only; not base→head evidence)
run: python tools/claims_gate_adapter.py tip-health
- name: Claims→gate #90 event base→head compare (immutable refs; impact≠illegal)
run: python tools/claims_gate_adapter.py event-compare --write-report /tmp/claims-gate-impact.json
- name: Declared navigation links and anchors
run: python tools/navigation_check.py
- name: Navigation synthetic controls
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ __pycache__/
*.pyc
.pytest_cache/
*.b64
# Adapter reports must be written outside the checkout (PR15 contract);
# never commit a local in-tree spill.
artifacts/
66 changes: 66 additions & 0 deletions architecture/scientific_state/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Scientific state architecture — schema pilot

**Object:** SCIENTIFIC-STATE-SCHEMA-20260925-v1
**Issue:** [#95](https://github.com/d6g8k5htny-coder/main/issues/95)
**Scientific effect: NONE.** Installing this architecture package defines a
versioned schema, authority map, ID crosswalk, and verification-level
vocabulary only. It does not discharge premises, promote claims, flip
`lemma_closed`, alter Math- classifications, or accept any theorem. Hash
identity, green CI, and LLM agreement remain non-discharge.
Formal-verification levels are evidence metadata, not acceptance.

## Why this is not a second status store

| Authority | Owns | Path |
|---|---|---|
| Claims firewall | grades, premise openness, composition firewalls | `claims/graph.json` |
| Math- downstream gate | integrity classifications, CONTROLLING promotion | Math- `GRAPH.json` ([PR #13](https://github.com/d6g8k5htny-coder/Math-/pull/13) tip `baca69c…`; PR8/PR11 lineage) |
| Human D0 crosswalk | D0/D4/D5 narrative classification | `docs/DOWNSTREAM_RN_CROSSWALK_20260925.md` ([PR #97](https://github.com/d6g8k5htny-coder/main/pull/97), supersedes #92) |
| Math status packet | `lemma_closed` and related display Booleans | `docs/math_status/` |
| **This package** | schema contract, ID pointers, L0–L5 vocab | `architecture/scientific_state/v1/` |

If a row needs a status, it points at the owning file. It does not duplicate it.

## Files

- [`v1/SCHEMA.json`](v1/SCHEMA.json) — field contract; lists forbidden owned fields
- [`v1/AUTHORITY_MAP.json`](v1/AUTHORITY_MAP.json) — explicit ownership
- [`v1/ID_CROSSWALK.json`](v1/ID_CROSSWALK.json) — pilot ID bridge (no copied statuses)
- [`v1/VERIFICATION_LEVELS.json`](v1/VERIFICATION_LEVELS.json) — L0–L5 evidence metadata

## Checker

```sh
python3 tools/scientific_state_check.py
python3 -m unittest tests.test_scientific_state -v
python3 tools/claims_gate_adapter.py
python3 -m unittest tests.test_claims_gate_adapter -v
```

The schema checker only **refuses** malformed architecture files, missing authorities,
dangling main IDs, or smuggled status/grade/classification/controlling payloads.
It does not compute promotions or reverse-impact closures.

## D7 claims→gate adapter (thin)

`tools/claims_gate_adapter.py` projects tip `claims/graph.json` (including
`depends_on` **and** `sub_obligations`) into a gate-shaped working graph and
runs before/after reverse-impact over UNION(old,new) edges. Semantic reference:
Math- [PR #13](https://github.com/d6g8k5htny-coder/Math-/pull/13) (merged) / main #90
clarification. Outputs are **HOLD / REVALIDATION proposals only** — never
promotion permission. SUPERSEDED_NONBLOCKING does not satisfy a still-required
premise; required REFUTED forces HOLD. This does not vendor Math- code.

## Deferred (not this PR)

- Fail-closed promotion engine — stays in Math- (merged PR13 / `baca69c…`); main hosts only the thin claims→gate projection, not a competing status engine
- D0 crosswalk / nav / math_status pages — already on tip via #97; do not rewrite here
- Status-bearing populated pilot graph — later, still as pointers or read-only mirrors
- Formal L2/L4/L5 pilot lemma — later, small algebraic lemma from the downstream queue
- Wiring into a global `run_checks.py` — optional follow-up

## Non-claims

- Does not edit `claims/graph.json`, Math-, tip crosswalk/handoff docs from #97, `OPEN_PROBLEMS.md`, or the vault
- Does not flip any scientific Boolean
- Does not award independence credit
68 changes: 68 additions & 0 deletions architecture/scientific_state/v1/AUTHORITY_MAP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"schema_id": "scientific_state.authority_map.v1",
"schema_version": 1,
"scientific_effect": "NONE",
"purpose": "Explicit ownership of scientific-state fields. This architecture package never writes the owned fields below.",
"authorities": {
"claims_firewall": {
"id": "claims_firewall",
"owns": ["grade", "firewall_status_columns", "premise_openness", "track_composition_rules"],
"canonical_path": "claims/graph.json",
"checker": "tools/claims_check.py",
"notes": "Machine-checkable claim/premise dependency graph and firewalls. Authoritative for transcribed grades and forbidden compositions."
},
"math_downstream_gate": {
"id": "math_downstream_gate",
"owns": ["classification", "controlling", "terminality", "reverse_impact_revalidation"],
"canonical_path": "Math-/frontiers/downstream_gate_20260925/GRAPH.json",
"surface": "https://github.com/d6g8k5htny-coder/Math-/pull/13",
"merged_tip": "baca69c394ab42130c61771bee74e808703f1ce7",
"lineage": ["https://github.com/d6g8k5htny-coder/Math-/pull/8", "https://github.com/d6g8k5htny-coder/Math-/pull/11", "https://github.com/d6g8k5htny-coder/Math-/pull/13"],
"owner_issues": [86, 90],
"notes": "Fail-closed CONTROLLING promotion and #90 terminal classifications live in the merged Math- downstream_gate package (PR13 tip baca69c…; PR8/PR11 lineage). Main may host only a thin claims→gate projection for before/after inputs; it must not become a competing status/promotion engine."
},
"human_d0_crosswalk": {
"id": "human_d0_crosswalk",
"owns": ["d0_classification_narrative"],
"canonical_path": "docs/DOWNSTREAM_RN_CROSSWALK_20260925.md",
"surface": "https://github.com/d6g8k5htny-coder/main/pull/97",
"notes": "Human D0/D4/D5 companion narrative only (landed via #97 on hardening tip; #92 superseded). Not a status register; scientific effect NONE."
},
"math_status_packet": {
"id": "math_status_packet",
"owns": ["lemma_closed", "certified_C_H", "OBL-H5-JETMOD_display", "D3-LEMMA-RN-UNIF_display"],
"canonical_path": "docs/math_status/",
"checker": "tools/math_status_check.py",
"notes": "Closed packet directory with EXPECTED_NAMES. Architecture package must not add files there or flip packet Booleans."
}
},
"this_package": {
"id": "scientific_state_architecture",
"owns": [
"schema_contract",
"id_crosswalk_pointers",
"verification_level_vocabulary",
"claims_gate_adapter_projection",
"semantic_digest_derivation"
],
"canonical_path": "architecture/scientific_state/v1/",
"adapter": "tools/claims_gate_adapter.py",
"never_writes": [
"status",
"grade",
"classification",
"controlling",
"lemma_closed",
"prizes_solved",
"independence_credit"
],
"notes": "Pointers, vocabulary, and an allowed thin claims→gate projection (HOLD/REVALIDATION proposals only; promotion_permission always false). Not a competing status engine. Hash identity, green CI, and LLM agreement remain non-discharge."
},
"required_authority_ids": [
"claims_firewall",
"math_downstream_gate",
"human_d0_crosswalk",
"math_status_packet",
"scientific_state_architecture"
]
}
97 changes: 97 additions & 0 deletions architecture/scientific_state/v1/ID_CROSSWALK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"schema_id": "scientific_state.id_crosswalk.v1",
"schema_version": 1,
"scientific_effect": "NONE",
"purpose": "Pilot ID bridge between main claims/graph.json keys and Math- downstream-gate node IDs. No statuses, grades, classifications, or controlling flags are stored here.",
"against_math_gate_head": "5887a2f8aaf121760362e6e90f9974f1e0078bc5",
"rows": [
{
"row_id": "xwalk.obl-h5-jetmod",
"main_claim_or_premise_id": "OBL-H5-JETMOD",
"main_bucket": "premises",
"math_gate_id": "hist.OBL-H5-JETMOD",
"authority": "claims_firewall",
"notes": "Premise openness lives in claims/graph.json; Math- gate carries historical-route classification separately."
},
{
"row_id": "xwalk.d3-lemma-rn-unif",
"main_claim_or_premise_id": "D3-LEMMA-RN-UNIF",
"main_bucket": "premises",
"math_gate_id": "hist.lemma_closed",
"authority": "claims_firewall",
"notes": "Premise identity on main; lemma_closed Boolean remains false in math_status / Math- hist.lemma_closed. Bridge only."
},
{
"row_id": "xwalk.side24-coefficient",
"main_claim_or_premise_id": "SIDE24-3D-AO48-OPR-045",
"main_bucket": "claims",
"math_gate_id": "math.side24-coefficient",
"authority": "claims_firewall",
"notes": "3D SIDE24 ratification claim ↔ Math- coefficient candidate node."
},
{
"row_id": "xwalk.uniform-matrix-cap-lifetime",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "math.uniform-matrix-cap-lifetime",
"authority": "math_downstream_gate",
"notes": "Active 2026-09-24 lifetime interface; no exact claims/graph.json twin yet. Pointer reserved."
},
{
"row_id": "xwalk.lifetime-remainder",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "math.lifetime-remainder",
"authority": "math_downstream_gate",
"notes": "Bounded remainder candidate; Math- gate owns integrity classification."
},
{
"row_id": "xwalk.rn-fixed-remote-window",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "math.rn-fixed-remote-window",
"authority": "math_downstream_gate",
"notes": "Fixed-remote RN count candidate; no claims/graph.json twin."
},
{
"row_id": "xwalk.rn-mesoscopic-reduction",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "math.rn-mesoscopic-reduction",
"authority": "math_downstream_gate",
"notes": "Math- PR #7 draft reduction; challenge note (landed via #97) refuses R17 credit."
},
{
"row_id": "xwalk.p15-full-price",
"main_claim_or_premise_id": "P15-A..D",
"main_bucket": "claims",
"math_gate_id": "math.p15-full-price",
"authority": "claims_firewall",
"notes": "Author-side P15 family ↔ Math- full-price candidate node."
},
{
"row_id": "xwalk.p15-price-boundary",
"main_claim_or_premise_id": "P15-A..D",
"main_bucket": "claims",
"math_gate_id": "math.p15-price-boundary",
"authority": "claims_firewall",
"notes": "Same P15 family also bridges the price-boundary gate node."
},
{
"row_id": "xwalk.hist-rnu-env",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "hist.rnu_env.py",
"authority": "human_d0_crosswalk",
"notes": "ABSENT historical carrier; classified in D0 crosswalk / Math- gate, not inventable on main."
},
{
"row_id": "xwalk.eng-hard-gate",
"main_claim_or_premise_id": null,
"main_bucket": null,
"math_gate_id": "eng.hard-gate",
"authority": "math_downstream_gate",
"notes": "Integrity-control engineering node for the hard gate itself."
}
]
}
Loading
Loading