ChyRho commited on
Commit
dcc8ab9
·
verified ·
1 Parent(s): 4552c8c

sync: upload reproducibility to Hugging Face dataset

Browse files
reproducibility/INTEGRATION_STATUS.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Res-Nova Integration Status
2
+
3
+ **Date:** 2026-08-25
4
+ **Status:** Phase 0 freeze — partial automation, not full independent verification
5
+
6
+ ## Canonical boundaries
7
+
8
+ - **Res-Nova** is the public research and reproducibility source of record.
9
+ - **MVPC-X** is the independently versioned public verifier.
10
+ - **Chyren-AEON** is the private orchestration and operator environment.
11
+
12
+ AEON may ingest public evidence bundles and invoke MVPC-X locally. AEON must not rewrite Res-Nova claims, elevate claim status, or become a dependency of this repository.
13
+
14
+ ## Current state (do not overstate)
15
+
16
+ | Capability | Present? | Allowed language |
17
+ | --- | --- | --- |
18
+ | Claim-hygiene CI (scripts, fixtures, synthetic JWST self-test, Lean inventory) | Yes | Automated smoke and manifest validation |
19
+ | `scripts/run_mvpc_adapter.py` hash / `sorry` scan | Yes | Static integrity preflight only |
20
+ | Full MVPC-X assurance engine execution in this adapter | No | Must not be called independent verification |
21
+ | Full Lean reproduction in CI | No | Not a CI-gated Lean proof |
22
+ | `VERIFICATION_RUN_007` clean-worktree Lean run | Yes | `clean_worktree` PASS; promotion blocked for independent replication |
23
+ | Direct AEON integration reference | No (this document begins it) | Ingest-only, observe-first |
24
+
25
+ ## Run-mode vocabulary
26
+
27
+ Do not conflate these:
28
+
29
+ - `self_test` — pipeline health
30
+ - `static_preflight` — hashes, schema, labels
31
+ - `local_verified` — declared local machine
32
+ - `clean_worktree` — clean repo/worktree
33
+ - `cold_environment` — fresh disposable environment
34
+ - `independent_replication` — distinct person or organization
35
+
36
+ `VERIFICATION_RUN_007` is registered as `clean_worktree` with `promotion=blocked_for_independent_replication`. It is not a CI gate and not an independent-reproduction claim.
37
+
38
+ ## Compatibility decision (first bridge)
39
+
40
+ Until a reviewed upgrade record exists:
41
+
42
+ - Public Res-Nova profiles may declare a pinned MVPC-X version/commit in the lock file.
43
+ - A newer MVPC-X release must not silently change pins.
44
+ - Verdict changes require a human review record.
45
+
46
+ See `reproducibility/LEGACY_RUN_INDEX.json` for historical runs. Do not rewrite those directories.
reproducibility/LEGACY_RUN_INDEX.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "res-nova-legacy-run-index-v1",
3
+ "indexed_at_utc": "2026-08-25T08:00:00Z",
4
+ "policy": "Preserve original evidence semantics. Do not retroactively infer missing metadata.",
5
+ "runs": [
6
+ {
7
+ "legacy_run_reference": "VERIFICATION_RUN_001",
8
+ "path": "VERIFICATION_RUN_001",
9
+ "new_mode": null,
10
+ "inferred_result": null,
11
+ "notes": "Historical run. Metadata not inferred."
12
+ },
13
+ {
14
+ "legacy_run_reference": "VERIFICATION_RUN_002",
15
+ "path": "VERIFICATION_RUN_002",
16
+ "new_mode": null,
17
+ "inferred_result": null,
18
+ "notes": "Historical run. Metadata not inferred."
19
+ },
20
+ {
21
+ "legacy_run_reference": "VERIFICATION_RUN_003",
22
+ "path": "VERIFICATION_RUN_003",
23
+ "new_mode": null,
24
+ "inferred_result": null,
25
+ "notes": "Historical run. Metadata not inferred."
26
+ },
27
+ {
28
+ "legacy_run_reference": "VERIFICATION_RUN_004",
29
+ "path": "VERIFICATION_RUN_004",
30
+ "new_mode": null,
31
+ "inferred_result": null,
32
+ "notes": "Historical run. Metadata not inferred."
33
+ },
34
+ {
35
+ "legacy_run_reference": "VERIFICATION_RUN_005",
36
+ "path": "VERIFICATION_RUN_005",
37
+ "new_mode": null,
38
+ "inferred_result": null,
39
+ "notes": "Historical run. Metadata not inferred."
40
+ },
41
+ {
42
+ "legacy_run_reference": "VERIFICATION_RUN_006",
43
+ "path": "VERIFICATION_RUN_006",
44
+ "new_mode": null,
45
+ "inferred_result": null,
46
+ "notes": "Historical run. Metadata not inferred."
47
+ },
48
+ {
49
+ "legacy_run_reference": "VERIFICATION_RUN_007",
50
+ "path": "VERIFICATION_RUN_007",
51
+ "manifest": "VERIFICATION_RUN_007/manifest_run_007.json",
52
+ "new_mode": "clean_worktree",
53
+ "result": "PASS",
54
+ "promotion": "blocked_for_independent_replication",
55
+ "claim_ids": ["O6"],
56
+ "epistemic_status": "[O]",
57
+ "notes": "Clean-worktree Lean evidence. Not a CI gate. Not independent replication."
58
+ }
59
+ ]
60
+ }
reproducibility/README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Res-Nova reproducibility pipeline
2
+
3
+ Public, receipt-producing verification. This directory is the new canonical home for run envelopes, schemas, profiles, and incidents.
4
+
5
+ Historical `VERIFICATION_RUN_00x` directories remain immutable. They are indexed in `LEGACY_RUN_INDEX.json` and are not rewritten.
6
+
7
+ ## What this is not
8
+
9
+ A passing static preflight is not a proved claim, not an empirical result, and not an independent reproduction.
10
+
11
+ ## Entry points
12
+
13
+ ```bash
14
+ python3 scripts/repro/preflight.py --help
15
+ python3 scripts/repro/preflight.py --legacy-index reproducibility/LEGACY_RUN_INDEX.json
16
+ ```
17
+
18
+ Exit codes follow the integration contract: `0` pass, `10` preflight/schema, `20` integrity, `50` lock drift, `70` visibility.
reproducibility/chi_em/coupling_bound.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Required vs allowed disformal ratio B/A. Both derive from the symbolic result:
3
+ f(phi) = sqrt((A-B)/A) multiplies F^2 [traceless -> w=+1/3 regardless of f]
4
+ B/(2 sqrt(A) sqrt(A-B)) multiplies E^2 [the only conformal-symmetry-breaking piece]
5
+ so every departure from pure Maxwell is O(B/A).
6
+ """
7
+ import math
8
+
9
+ # --- REQUIRED: EM interaction must reach dark-energy density today ---------
10
+ h = 0.6827 # Res-Nova derived H0 = 68.27
11
+ Om_g_h2 = 2.47e-5 # Planck 2018 photon density
12
+ Om_gamma = Om_g_h2/h**2
13
+ Om_Lambda= math.log(2) # Res-Nova: Omega_Lambda = ln 2
14
+ required = Om_Lambda/Om_gamma
15
+
16
+ # --- ALLOWED: GW170817 luminality -----------------------------------------
17
+ # c_gamma^2 = (A-B)/A = 1 - B/A ; c_T = 1 => c_T/c_gamma - 1 ~ (B/A)/2
18
+ gw_bound = 1e-15
19
+ allowed = 2*gw_bound
20
+
21
+ print(f"Omega_gamma = {Om_gamma:.3e}")
22
+ print(f"Omega_Lambda = {Om_Lambda:.4f}")
23
+ print(f"REQUIRED |B/A| >= {required:.3e} (to source dark energy from the EM sector)")
24
+ print(f"ALLOWED |B/A| <= {allowed:.1e} (GW170817, |c_T/c_gamma - 1| <= 1e-15)")
25
+ print(f"GAP = {required/allowed:.2e} = {math.log10(required/allowed):.1f} orders of magnitude")
26
+
27
+ # --- alpha_fs: is it the binding constraint? ------------------------------
28
+ # e_eff^2 ~ 1/f => d(alpha)/alpha ~ -(1/2) d(f)/f ~ +(1/4)(B/A)
29
+ dalpha = 0.25*allowed
30
+ print(f"\nalpha_fs drift at the GW bound: |d(alpha)/alpha| <= {dalpha:.1e}")
31
+ print(f" observational bound ~1e-6 (quasar/Oklo) -> slack of {1e-6/dalpha:.1e}x")
32
+ print(" => alpha_fs is NOT the binding constraint. GW170817 is, by ~9 orders.")
reproducibility/chi_em/disformal_em_coupling.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Does the EM sector, coupled to Res-Nova's physical metric, source negative pressure?
3
+
4
+ The coupling is NOT free. Photons are matter; matter couples to the physical metric
5
+ g~_mn = A(phi) g_mn + B(phi) u_m u_n (D7, D8)
6
+ so f(phi) is FIXED by (A,B). This script derives the induced Maxwell Lagrangian
7
+ symbolically, then evaluates the two constraints numerically.
8
+ """
9
+ import sympy as sp
10
+
11
+ A, B, F2, E2 = sp.symbols('A B F2 E2', positive=True, real=True)
12
+
13
+ # --- inverse and volume element of the disformal metric -------------------
14
+ # g~^{mn} = (1/A)(g^{mn} - b u^m u^n), b = B/(A-B) [u.u = -1]
15
+ b = B/(A-B)
16
+ # det g~ = A^4 (1 - B/A) det g (matrix determinant lemma, u.u = -1)
17
+ sqrt_g_tilde = A**sp.Rational(3,2)*(A-B)**sp.Rational(1,2)
18
+
19
+ # --- contract the field strength ------------------------------------------
20
+ # g~^{ma} g~^{nb} F_mn F_ab = (1/A^2)( F^2 - 2 b E^2 ), E_m = F_mn u^n
21
+ # the b^2 piece vanishes: F_mn u^m u^n = 0 by antisymmetry
22
+ contraction = (F2 - 2*b*E2)/A**2
23
+
24
+ L = sp.simplify(-sp.Rational(1,4)*sqrt_g_tilde*contraction)
25
+ print("L_EM =", sp.simplify(L))
26
+
27
+ # --- the two coefficients --------------------------------------------------
28
+ cF = sp.simplify(sp.expand(L).coeff(F2)) # multiplies F^2
29
+ cE = sp.simplify(sp.expand(L).coeff(E2)) # multiplies E^2
30
+ print("coeff F^2 =", sp.simplify(cF), " -> f(phi) =", sp.simplify(-4*cF))
31
+ print("coeff E^2 =", sp.simplify(cE))
32
+
33
+ print("\nB -> 0 limit (strictly conformal):")
34
+ print(" coeff F^2 ->", sp.limit(cF, B, 0), " (Maxwell: -1/4)")
35
+ print(" coeff E^2 ->", sp.limit(cE, B, 0))
36
+
37
+ # --- Res-Nova's own falsified map, as a cross-check of the algebra ---------
38
+ phi = sp.symbols('phi', real=True)
39
+ Am, Bm = sp.exp(-2*phi), -2*sp.sinh(2*phi)
40
+ print("\nRes-Nova map A=e^{-2phi}, B=-2sinh(2phi):")
41
+ print(" A - B =", sp.simplify(Am-Bm), " (D8 has g~_00 = -e^{2phi})")
42
+ print(" f(phi) =", sp.simplify((-4*cF).subs({A:Am,B:Bm})))
43
+ print(" c_gamma^2 =", sp.simplify(((A-B)/A).subs({A:Am,B:Bm})), " (D8 has e^{4phi})")
44
+
45
+ # --- small-B expansion: size of the departure from Maxwell ----------------
46
+ r = sp.symbols('r', positive=True) # r = B/A
47
+ cF_r = sp.simplify(cF.subs(B, r*A))
48
+ print("\ndeparture from Maxwell, to O(B/A):")
49
+ print(" f =", sp.series(sp.simplify(-4*cF_r), r, 0, 2))
reproducibility/chi_em/signature_bound.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Is the exclusion GW170817-dependent? No. It is signature-dependent.
3
+
4
+ Safa's objection: translating the GW170817 speed bound into a bound on B/A is
5
+ model-dependent (screening, line-of-sight vs cosmic mean, epoch). Granted.
6
+ But the disformal photon cone gives an OBSERVATION-FREE bound.
7
+ """
8
+ import math
9
+
10
+ h=0.6827; Om_g=2.47e-5/h**2; Om_L=math.log(2)
11
+ required = Om_L/Om_g
12
+
13
+ print("REQUIRED |B/A| >= %.3e (EM interaction reaching dark-energy density)\n"%required)
14
+
15
+ # Photon cone from g~ = A g + B u u, u comoving:
16
+ # -(A-B) dt^2 + A dx^2 = 0 => c_gamma^2 = (A-B)/A = 1 - B/A
17
+ for name,r in [("B/A = +required", +required), ("B/A = -required", -required)]:
18
+ c2 = 1 - r
19
+ print(f"{name:18} c_gamma^2 = 1 - ({r:+.3e}) = {c2:+.4e}")
20
+ if c2 < 0:
21
+ print(" -> g~_00 and g~_ij share a sign: signature is NOT Lorentzian.")
22
+ print(" The photon light cone does not exist. No propagation at all.")
23
+ elif c2 > 1:
24
+ print(f" -> c_gamma = {math.sqrt(c2):.1f} c (superluminal photons)")
25
+ print(f" GRB170817A would have preceded the GW by ~{40e6*3.086e22/3e8*(1-1/math.sqrt(c2))/(3600*24*365):.2e} yr,")
26
+ print(" not followed it by 1.7 s.")
27
+ print()
28
+
29
+ print("LORENTZIAN SIGNATURE ALONE REQUIRES B/A < 1.")
30
+ print("Required value exceeds that by %.2e -- with NO observational input."%(required/1.0))
31
+ print("\nGW170817 does not create the exclusion. It only tightens the ceiling")
32
+ print("from B/A < 1 (geometry) to B/A <= 2e-15 (measurement).")
33
+ print("Margin available to any screening/environment loophole: %.2e -> still short by %.2e"
34
+ %(1.0, required/1.0))
reproducibility/profiles/o6-lean-clean-worktree.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "profile_version": "res-nova-repro-profile-v1",
3
+ "profile_id": "o6-lean-clean-worktree",
4
+ "mode": "clean_worktree",
5
+ "claim_ids": ["O6", "F7"],
6
+ "epistemic_status": "[O]",
7
+ "repository_clean_required": true,
8
+ "network_policy": "recorded",
9
+ "promotion_allowed": false,
10
+ "policy_decision": "BLOCK_RELEASE",
11
+ "promotion": "blocked_for_independent_replication",
12
+ "checked_inputs": [
13
+ "05_lean_formalization/lakefile.lean",
14
+ "05_lean_formalization/lean-toolchain",
15
+ "05_lean_formalization/lake-manifest.json",
16
+ "05_lean_formalization/verify_all_proofs.sh"
17
+ ],
18
+ "steps": [
19
+ {"id": "resolve-toolchain", "kind": "toolchain", "timeout_seconds": 120},
20
+ {"id": "verify-proof-hygiene", "kind": "sorry_scan", "timeout_seconds": 300},
21
+ {"id": "lake-build", "kind": "command", "command": "lake build", "cwd": "05_lean_formalization", "timeout_seconds": 7200, "required_for_full_run": true}
22
+ ]
23
+ }
reproducibility/profiles/o6-lean-clean-worktree.yaml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ profile_version: res-nova-repro-profile-v1
2
+ profile_id: o6-lean-clean-worktree
3
+ mode: clean_worktree
4
+ claim_ids: [O6, F7]
5
+ epistemic_status: "[O]"
6
+ repository_clean_required: true
7
+ network_policy: recorded
8
+ promotion_policy: o6-repro-v1
9
+ promotion: blocked_for_independent_replication
10
+ steps:
11
+ - id: resolve-toolchain
12
+ command: test -f 05_lean_formalization/lean-toolchain
13
+ timeout_seconds: 30
14
+ - id: verify-proof-hygiene
15
+ command: python3 scripts/repro/check_sorry.py --root 05_lean_formalization
16
+ timeout_seconds: 300
17
+ verifiers:
18
+ - kind: lean_hygiene
19
+ - kind: mvpc_x
20
+ policy: strict
21
+ required: false
22
+ required_outputs:
23
+ - 05_lean_formalization/lake-manifest.json
24
+ - 05_lean_formalization/verify_all_proofs.sh
25
+ - 05_lean_formalization/lean-toolchain
26
+ notes: "Declarative O6 profile. A local or clean-worktree PASS does not promote O6."
reproducibility/schemas/evidence-bundle-v1.schema.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://res-nova.local/schemas/evidence-bundle-v1.schema.json",
4
+ "title": "res-nova-evidence-bundle-v1",
5
+ "type": "object",
6
+ "required": ["schema_version", "bundle_id", "run_id", "visibility", "receipts"],
7
+ "additionalProperties": true,
8
+ "properties": {
9
+ "schema_version": {"const": "res-nova-evidence-bundle-v1"},
10
+ "bundle_id": {"type": "string"},
11
+ "run_id": {"type": "string"},
12
+ "visibility": {"enum": ["Public", "Internal", "Private"]},
13
+ "mode": {"type": "string"},
14
+ "claim_ids": {"type": "array", "items": {"type": "string"}},
15
+ "receipts": {"type": "array"},
16
+ "public_safe": {"type": "boolean"},
17
+ "promotion_allowed": {"type": "boolean"}
18
+ }
19
+ }
reproducibility/schemas/incident-v1.schema.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://res-nova.local/schemas/incident-v1.schema.json",
4
+ "title": "res-nova-incident-v1",
5
+ "type": "object",
6
+ "required": ["schema_version", "incident_id", "severity", "failure_class", "run_id"],
7
+ "additionalProperties": true,
8
+ "properties": {
9
+ "schema_version": {"const": "res-nova-incident-v1"},
10
+ "incident_id": {"type": "string"},
11
+ "run_id": {"type": "string"},
12
+ "severity": {"enum": ["S0", "S1", "S2", "S3"]},
13
+ "failure_class": {
14
+ "enum": [
15
+ "ARTIFACT_INTEGRITY",
16
+ "DEPENDENCY_DRIFT",
17
+ "PROOF_FAILURE",
18
+ "EMPIRICAL_FAILURE",
19
+ "VERIFIER_FAILURE",
20
+ "INFRA_FAILURE",
21
+ "POLICY_CONFLICT",
22
+ "VISIBILITY"
23
+ ]
24
+ },
25
+ "claim_ids": {"type": "array", "items": {"type": "string"}},
26
+ "summary": {"type": "string"},
27
+ "promotion_blocked": {"type": "boolean"}
28
+ }
29
+ }
reproducibility/schemas/repro-run-v1.schema.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://res-nova.local/schemas/repro-run-v1.schema.json",
4
+ "title": "res-nova-repro-run-v1",
5
+ "type": "object",
6
+ "required": ["schema_version", "run_id", "profile_id", "mode", "target", "result"],
7
+ "additionalProperties": true,
8
+ "properties": {
9
+ "schema_version": {"const": "res-nova-repro-run-v1"},
10
+ "run_id": {"type": "string", "minLength": 8},
11
+ "requested_at_utc": {"type": "string"},
12
+ "started_at_utc": {"type": "string"},
13
+ "finished_at_utc": {"type": "string"},
14
+ "profile_id": {"type": "string"},
15
+ "mode": {
16
+ "enum": ["self_test", "static_preflight", "local_verified", "clean_worktree", "cold_environment", "independent_replication"]
17
+ },
18
+ "trigger": {"type": "object"},
19
+ "target": {
20
+ "type": "object",
21
+ "required": ["repository"],
22
+ "properties": {
23
+ "repository": {"type": "string"},
24
+ "git_commit": {"type": "string"},
25
+ "git_tree": {"type": "string"},
26
+ "working_tree_clean": {"type": "boolean"},
27
+ "claim_ids": {"type": "array", "items": {"type": "string"}},
28
+ "release_id": {"type": ["string", "null"]}
29
+ }
30
+ },
31
+ "inputs": {"type": "object"},
32
+ "environment": {"type": "object"},
33
+ "steps": {"type": "array"},
34
+ "verifiers": {"type": "array"},
35
+ "result": {
36
+ "type": "object",
37
+ "required": ["status", "policy_decision"],
38
+ "properties": {
39
+ "status": {
40
+ "enum": ["PASS", "FAIL", "BLOCKED", "INCONCLUSIVE", "INFRA_ERROR", "QUARANTINED"]
41
+ },
42
+ "policy_decision": {
43
+ "enum": ["ALLOW_INTERNAL", "ALLOW_RELEASE", "BLOCK_RELEASE", "REQUIRE_HUMAN_REVIEW"]
44
+ },
45
+ "claim_status_changes": {"type": "array"},
46
+ "summary": {"type": "string"}
47
+ }
48
+ },
49
+ "artifacts": {"type": "array"},
50
+ "integrity": {"type": "object"}
51
+ }
52
+ }