From fff0ae200acbfae9f58bd9e6ee0ad199ccdb8be8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 25 Sep 2026 17:23:31 +0000 Subject: [PATCH] Stub published downstream hard-gate identities for meta peers After Math- landed the fail-closed promotion gate, publish exact candidate catalog stubs (scope/code/tests/output/replay/graph) without racing the Drive/mesoscopic meta draft or flipping scientific status. Co-authored-by: Dylan Roy --- README.md | 7 +- portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json | 73 +++++++++++++++++++ test_catalog_entry_helper.py | 12 +++ test_verify_portable_stubs.py | 1 + verify_portable_stubs.py | 7 +- 5 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json diff --git a/README.md b/README.md index 2dbaa18..e7e1e52 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,12 @@ python -B -S catalog_entry_helper.py \ --scope 'Same-author finite algebra/implementation checks; not numerical Gaussian integration' ``` -The helper refuses sandbox paths, symlinks, mutable refs and non-public repositories. A printed stub is not catalog integration, currentness or theorem acceptance. Ready candidates for uncataloged public replay runners are in [`portable/CANDIDATE_PUBLIC_REPLAY_STUBS.json`](portable/CANDIDATE_PUBLIC_REPLAY_STUBS.json) (and the single-file RN replay stub) for a writable `meta-framework` peer. +The helper refuses sandbox paths, symlinks, mutable refs and non-public repositories. A printed stub is not catalog integration, currentness or theorem acceptance. Ready candidates for writable `meta-framework` peers: + +- [`portable/CANDIDATE_PUBLIC_REPLAY_STUBS.json`](portable/CANDIDATE_PUBLIC_REPLAY_STUBS.json) — uncataloged Math replay runners +- [`portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json`](portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json) — published fail-closed downstream hard-gate package (eng integrity; scientific effect none) + +Do not race meta-framework draft [#6](https://github.com/d6g8k5htny-coder/meta-framework/pull/6) (Drive parents / mesoscopic notes). The lookup tool rejects duplicate keys, malformed identities, mutable refs, path traversal, symlink payloads and entries marked private. The public catalog is manually source-reviewed; these checks do not independently discover actual GitHub visibility or prevent a malicious catalog from lying. Private `sandbox` artifacts are excluded from this route, not copied or fetched. diff --git a/portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json b/portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json new file mode 100644 index 0000000..faf1836 --- /dev/null +++ b/portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json @@ -0,0 +1,73 @@ +{ + "scientific_status_authority": false, + "meaning": "candidate stubs only; not catalog integration or theorem acceptance", + "math_tip": "b47af3a52c6ab14426348a06787a5f0c5cb721c7", + "artifacts": [ + { + "bytes": 2218, + "commit": "5887a2f8aaf121760362e6e90f9974f1e0078bc5", + "key": "downstream-hard-gate", + "path": "frontiers/downstream_gate_20260925/SCOPE.md", + "repository": "Math-", + "scope": "Fail-closed downstream promotion control scope; engineering integrity only, not theorem acceptance", + "sha256": "c7b5bb0ec34f53395b96ae24edceb3b5b0a3451caf7df6205b924d40e9e9fd84", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + }, + { + "bytes": 18004, + "commit": "e62a3f1de6e7ec0e5c30811707562cd48d0570c8", + "key": "downstream-hard-gate-code", + "path": "frontiers/downstream_gate_20260925/hard_gate.py", + "repository": "Math-", + "scope": "Exact finite dependency-graph promotion checker; not analytic review or status flip", + "sha256": "ab96a55966e3624377ada4309d8d68a68e98693e64ef6f91f7a883373be6566e", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + }, + { + "bytes": 13232, + "commit": "4da9165d1ce701ffed30b33ebb3d49807bee7dcd", + "key": "downstream-hard-gate-tests", + "path": "frontiers/downstream_gate_20260925/test_hard_gate.py", + "repository": "Math-", + "scope": "27 finite controls for hard-gate behavior; not independent mathematical review", + "sha256": "7bab1389873b77e49fad60c707508b95fe21bda8ee8761e69cd9fe9f3814797c", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + }, + { + "bytes": 5795, + "commit": "05ec7d16888179b1979ae5f5071ed1e444093a76", + "key": "downstream-hard-gate-output", + "path": "frontiers/downstream_gate_20260925/RESULTS.json", + "repository": "Math-", + "scope": "Reproducible hard-gate ledger output; not scientific acceptance", + "sha256": "f77627419254266de7c6e362b920a419f45abb43116a0afb8510640ae0c7a2cc", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + }, + { + "bytes": 5639, + "commit": "199ed0351c5010d63925fdd657d2b7684f0a57af", + "key": "downstream-hard-gate-replay", + "path": "frontiers/downstream_gate_20260925/run_validation.py", + "repository": "Math-", + "scope": "Same-author finite controls and semantic mutations; not theorem acceptance", + "sha256": "8b7dd56e5d497e4efafc428146e85a550ce02a3c85a6da645d0e0b6d34c93ea7", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + }, + { + "bytes": 12191, + "commit": "5887a2f8aaf121760362e6e90f9974f1e0078bc5", + "key": "downstream-hard-gate-graph", + "path": "frontiers/downstream_gate_20260925/GRAPH.json", + "repository": "Math-", + "scope": "Machine-readable D0-D7 dependency graph identities; not claim-status authority", + "sha256": "34100e8541f7b1893bbc7207d2183762b60070c443da28f670953437515ef496", + "visibility": "public", + "note": "Candidate only for writable meta-framework peer. Tip package after Math- hard-gate land. Not integrated; not acceptance. Avoid racing meta PR #6 Drive/mesoscopic catalog draft." + } + ] +} diff --git a/test_catalog_entry_helper.py b/test_catalog_entry_helper.py index 8d25c42..e91c97d 100644 --- a/test_catalog_entry_helper.py +++ b/test_catalog_entry_helper.py @@ -143,6 +143,18 @@ def test_candidate_replay_bundle_schema(self): self.assertRegex(row['sha256'], r'^[0-9a-f]{64}$') self.assertIsInstance(row['bytes'], int) + def test_candidate_downstream_gate_bundle_schema(self): + bundle = json.loads((ROOT / 'portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json').read_text()) + self.assertFalse(bundle['scientific_status_authority']) + keys = {row['key'] for row in bundle['artifacts']} + self.assertIn('downstream-hard-gate', keys) + self.assertIn('downstream-hard-gate-replay', keys) + for row in bundle['artifacts']: + self.assertEqual(row['visibility'], 'public') + self.assertRegex(row['commit'], r'^[0-9a-f]{40}$') + self.assertRegex(row['sha256'], r'^[0-9a-f]{64}$') + self.assertTrue(row['path'].startswith('frontiers/downstream_gate_20260925/')) + if __name__ == '__main__': unittest.main() diff --git a/test_verify_portable_stubs.py b/test_verify_portable_stubs.py index 2e0cb9a..96389af 100644 --- a/test_verify_portable_stubs.py +++ b/test_verify_portable_stubs.py @@ -19,6 +19,7 @@ def test_load_candidates_includes_replay(self): keys = {row['key'] for row in v.load_candidates()} self.assertIn('rn-fixed-remote-window-replay', keys) self.assertIn('p15-price-budget-replay', keys) + self.assertIn('downstream-hard-gate', keys) def test_validate_row_rejects_mutable_commit(self): row = { diff --git a/verify_portable_stubs.py b/verify_portable_stubs.py index 609ef8b..3528bfe 100644 --- a/verify_portable_stubs.py +++ b/verify_portable_stubs.py @@ -26,11 +26,10 @@ def load_candidates() -> list[dict]: single = ROOT / 'portable/RN_FIXED_REMOTE_REPLAY_STUB.json' if single.is_file(): rows.append(json.loads(single.read_text())) - bundle = ROOT / 'portable/CANDIDATE_PUBLIC_REPLAY_STUBS.json' - if bundle.is_file(): - data = json.loads(bundle.read_text()) + for bundle_path in sorted((ROOT / 'portable').glob('CANDIDATE_*.json')): + data = json.loads(bundle_path.read_text()) if data.get('scientific_status_authority') is not False: - raise SystemExit('REFUSED: candidate bundle must deny scientific authority') + raise SystemExit('REFUSED: candidate bundle must deny scientific authority: ' + bundle_path.name) rows.extend(data['artifacts']) # de-dupe by key, prefer first seen = set()