Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
73 changes: 73 additions & 0 deletions portable/CANDIDATE_DOWNSTREAM_GATE_STUBS.json
Original file line number Diff line number Diff line change
@@ -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."
}
]
}
12 changes: 12 additions & 0 deletions test_catalog_entry_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
1 change: 1 addition & 0 deletions test_verify_portable_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
7 changes: 3 additions & 4 deletions verify_portable_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading