Skip to content
Closed
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
4 changes: 2 additions & 2 deletions claims/LANDING_CLAIMS.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@
"statement_path": "frontiers/downstream_gate_20260925/README.md",
"statement_heading": "What it enforces",
"source": {
"commit": "2e0a7b37d18277c5965e9a65adabcb26c7e44234",
"blob": "6ff49b966ab41dc4db771d48e547cc60da11764f"
"commit": "560a2965425ae9807ca504564bb45fd5c1969797",
"blob": "0d1a0492e90a18bf1565c87fa6a833923b523588"
},
"domain": "machine dependency graph and repository-source transitions",
"measure": "not a mathematical measure; loss-only revalidation/control state",
Expand Down
32 changes: 32 additions & 0 deletions frontiers/downstream_gate_20260925/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,38 @@ with `promotion_permission: false`. A changed controlling node, illegal controll
or an unbound controlling source causes a nonzero exit. Unaffected author-side work can proceed.
This is not a complete external-source monitor or an independent-review authority.

## Live inventory and synthetic negative controls

`gate_ok`, closure, region coverage and reverse-impact fields describe the actual
input graph; selector fields describe the selected table. Reporting validates the
real graph and never replaces a malformed supplied input with a fixture.

`illegal_attempts_context: synthetic_negative_controls` identifies five separate,
small diagnostic graphs. Their node IDs start with `diagnostic.`; the historical
attempt names describe the purpose of each probe, not the live D2/D3 status.
Lifetime and side24 specimens have author-side targets and reviewed prerequisites.
The fixed-remote specimen is otherwise eligible and is refused specifically for
non-discharge evidence. The historical-carrier and pre-allowlist specimens have
reviewed targets with, respectively, an absent and an author-side prerequisite.
Tests check these preconditions independently and pair each refusal with an
eligible positive control. All public eligibility, validation, closure and
reverse-impact rules remain unchanged. No specimen is written to a live register.

The existing 71 methods and all 24 named, assertion-detected mutants run in both
modes. Direct assertions observe the reporter's false lemma flag and an explicitly
ineligible controlling node before any golden-output comparison. Live edge/source
obligations remain checked; synthetic region and selector inputs exercise category
mapping without assuming a permanent count of live open cells.

Freeze producer/tests/docs and the real graph/table inputs before deliberately
regenerating `RESULTS.json` and the changed `SOURCE_FILES.json` identity rows.
Inspect the semantic predicates first. The unchanged runner still requires exit0
and exact CLI bytes equal to the pinned result; validation never repins itself.
Each isolated transition scenario requires its own identified result and manifest
before replay. Such scratch results must not replace the unchanged-live result or
any transition packet's `RESULTS_INSTALLED.json`. They authorize no register
execution or scientific promotion.

## Run

```sh
Expand Down
35 changes: 12 additions & 23 deletions frontiers/downstream_gate_20260925/RESULTS.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,29 +79,26 @@
"HASH_MATCH",
"SAME_AUTHOR_REVIEW"
],
"node": "math.rn-fixed-remote-window",
"node": "diagnostic.fixed-remote",
"reasons": [
"node classification is not eligible for positive CONTROLLING status: AUTHOR_SIDE_CANDIDATE",
"required transitive dependency is not satisfied",
"evidence consists only of non-discharge tokens"
],
"refused": true
},
"promote_historical_env_rescov": {
"allowed": false,
"blocked_absent": [
"hist.rnu_env.py"
"diagnostic.absent-carrier"
],
"meaning": "integrity decision only; not theorem acceptance",
"missing_terminal": [],
"node": "hist.ENV-RESCOV",
"node": "diagnostic.historical-env",
"reasons": [
"node classification is not eligible for positive CONTROLLING status: OPEN_HISTORICAL",
"required BLOCKED_ABSENT dependency forces HOLD"
],
"refuted_required": [],
"required_dependencies": [
"hist.rnu_env.py"
"diagnostic.absent-carrier"
],
"would_be_controlling": false
},
Expand All @@ -110,17 +107,13 @@
"blocked_absent": [],
"meaning": "integrity decision only; not theorem acceptance",
"missing_terminal": [],
"node": "math.lifetime-remainder",
"node": "diagnostic.lifetime-remainder",
"reasons": [
"node classification is not eligible for positive CONTROLLING status: AUTHOR_SIDE_CANDIDATE"
],
"refuted_required": [],
"required_dependencies": [
"math.uniform-matrix-cap-lifetime",
"math.d1-component.congruence-erratum",
"math.d1-component.section9-replacement-v1_1",
"math.d1-component.marked-cylinder-cap",
"math.d1-component.reconciliation-record"
"diagnostic.lifetime-parent"
],
"would_be_controlling": false
},
Expand All @@ -131,17 +124,16 @@
"missing_terminal": [
{
"classification": "AUTHOR_SIDE_CANDIDATE",
"id": "eng.d0-packet-allowlist-fix"
"id": "diagnostic.allowlist"
}
],
"node": "eng.main-pr87-crosswalk",
"node": "diagnostic.crosswalk",
"reasons": [
"node classification is not eligible for positive CONTROLLING status: HOLD",
"required transitive dependency is not satisfied"
],
"refuted_required": [],
"required_dependencies": [
"eng.d0-packet-allowlist-fix"
"diagnostic.allowlist"
],
"would_be_controlling": false
},
Expand All @@ -150,21 +142,18 @@
"blocked_absent": [],
"meaning": "integrity decision only; not theorem acceptance",
"missing_terminal": [],
"node": "math.side24-coefficient",
"node": "diagnostic.side24",
"reasons": [
"node classification is not eligible for positive CONTROLLING status: AUTHOR_SIDE_CANDIDATE"
],
"refuted_required": [],
"required_dependencies": [
"math.uniform-matrix-cap-lifetime",
"math.d1-component.congruence-erratum",
"math.d1-component.section9-replacement-v1_1",
"math.d1-component.marked-cylinder-cap",
"math.d1-component.reconciliation-record"
"diagnostic.side24-parent"
],
"would_be_controlling": false
}
},
"illegal_attempts_context": "synthetic_negative_controls",
"illegal_promotion_refused": true,
"lemma_closed": false,
"meaning": "same-author integrity controls for main #90/#86; not analytic review or theorem acceptance",
Expand Down
16 changes: 8 additions & 8 deletions frontiers/downstream_gate_20260925/SOURCE_FILES.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"sha256": "8822e9618678321a342d69cd0b8ae6552de1b5d578c331de5072b2892ee9dd09"
},
"README.md": {
"bytes": 4025,
"sha256": "13fc1accebebd6017f34b0e5473bf6338f2604948c25a002051b5f0620fc327a"
"bytes": 6100,
"sha256": "248f2e06a53c67a6bd895ba7e138fdeaace7fe3487c11e45bd19685af9b08fb2"
},
"RESULTS.json": {
"bytes": 7095,
"sha256": "0b95624e08e3eff7ca386a68534960b89ef63b10312ad5120159c0e29961264a"
"bytes": 6403,
"sha256": "5a83f49a14ce350b1ab5463928ae7e90c7ae1d87fb99aa0ca1f425aaa302d6c4"
},
"SCOPE.md": {
"bytes": 2218,
Expand All @@ -29,8 +29,8 @@
"sha256": "393d407c2e35d2b6f3230f5a60a9aaa7691172544d3b59f72cc880c81be20701"
},
"hard_gate.py": {
"bytes": 26735,
"sha256": "a78f3e25f3b0cfe113e618a4c31a7a25d7f22af638c46dec1ecba221fa333ac8"
"bytes": 28275,
"sha256": "e00a74e41ac3ad322460d461b79778c80abeb845c2952a299a978a1bc8cacc38"
},
"patches/d0_packet_allowlist.patch": {
"bytes": 3096,
Expand All @@ -41,8 +41,8 @@
"sha256": "ec1d3315b0c21f4608ab7b824f45d7d6e1041555f62e77feeec2bacaa8e5a9f5"
},
"test_hard_gate.py": {
"bytes": 23161,
"sha256": "c444e6c347da680aff5bef7f43900e45d52a0cc45081fb7b4def45266d97aac1"
"bytes": 34398,
"sha256": "9072c99a570623c7fa73bec1a3df6bb8eda6266ebe538213c3b03df2ad320dce"
},
"test_transition_contract.py": {
"bytes": 12679,
Expand Down
53 changes: 42 additions & 11 deletions frontiers/downstream_gate_20260925/hard_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,18 +586,48 @@ def d0_ci_unblock_report() -> dict[str, Any]:
}


def results_payload(graph: dict[str, Any] | None = None) -> dict[str, Any]:
g = graph or load_graph()
# Spot-check promotions that must fail closed on the live author-side graph.
illegal_attempts = {
'promote_fixed_remote': refuse_non_discharge_promotion(
g, 'math.rn-fixed-remote-window',
['GREEN_CI', 'HASH_MATCH', 'SAME_AUTHOR_REVIEW']),
'promote_lifetime_remainder': promotion_allowed(g, 'math.lifetime-remainder'),
'promote_side24': promotion_allowed(g, 'math.side24-coefficient'),
'promote_historical_env_rescov': promotion_allowed(g, 'hist.ENV-RESCOV'),
'promote_pr87_before_allowlist': promotion_allowed(g, 'eng.main-pr87-crosswalk'),
def _negative_control_specimens() -> dict[str, dict[str, Any]]:
"""Fresh diagnostic graphs; their deliberately invalid requests are not live statuses."""
cases = (
('promote_fixed_remote', 'diagnostic.fixed-remote', 'PROVED_REVIEWED',
'diagnostic.count-interface', 'PROVED_REVIEWED'),
('promote_lifetime_remainder', 'diagnostic.lifetime-remainder', 'AUTHOR_SIDE_CANDIDATE',
'diagnostic.lifetime-parent', 'PROVED_REVIEWED'),
('promote_side24', 'diagnostic.side24', 'AUTHOR_SIDE_CANDIDATE',
'diagnostic.side24-parent', 'PROVED_REVIEWED'),
('promote_historical_env_rescov', 'diagnostic.historical-env', 'PROVED_REVIEWED',
'diagnostic.absent-carrier', 'BLOCKED_ABSENT'),
('promote_pr87_before_allowlist', 'diagnostic.crosswalk', 'PROVED_REVIEWED',
'diagnostic.allowlist', 'AUTHOR_SIDE_CANDIDATE'),
)
return {
name: {'node': target, 'graph': {
'object': 'SYNTHETIC-NEGATIVE-CONTROL:' + name,
'schema_version': 1,
'non_discharge_tokens': list(NON_DISCHARGE_DEFAULT),
'nodes': {
target: {'classification': own, 'controlling': False},
premise: {'classification': classification, 'controlling': False},
},
'edges': [{'from': target, 'to': premise, 'required': True,
'relation': 'diagnostic prerequisite'}],
}}
for name, target, own, premise, classification in cases
}


def results_payload(graph: dict[str, Any] | None = None) -> dict[str, Any]:
g = load_graph() if graph is None else graph
validate_graph_fail_closed(g)
# Invariant negative requests are separate from the real graph reported below.
illegal_attempts = {}
for name, specimen in _negative_control_specimens().items():
diagnostic, node = specimen['graph'], specimen['node']
illegal_attempts[name] = (
refuse_non_discharge_promotion(diagnostic, node,
['GREEN_CI', 'HASH_MATCH', 'SAME_AUTHOR_REVIEW'])
if name == 'promote_fixed_remote' else promotion_allowed(diagnostic, node)
)
impact = reverse_impact(
g, 'math.uniform-matrix-cap-lifetime',
old_fingerprint='main-63-author-side',
Expand All @@ -615,6 +645,7 @@ def results_payload(graph: dict[str, Any] | None = None) -> dict[str, Any]:
(v.get('refused') if 'refused' in v else not v.get('allowed'))
for v in illegal_attempts.values()
),
'illegal_attempts_context': 'synthetic_negative_controls',
'illegal_attempts': {
k: {key: val for key, val in v.items() if key != 'base'}
for k, v in illegal_attempts.items()
Expand Down
Loading
Loading