Skip to content

v1.0.5: Python independently checks Relate's transit classification - #16

Merged
Innov8zig merged 2 commits into
mainfrom
transit
Dec 6, 2026
Merged

Innov8zig merged 2 commits into
mainfrom
transit

Conversation

@Innov8zig

Copy link
Copy Markdown
Owner

Python independently checks Relate's transit classification. The gate's second opinion now computes every class, transit (systems that reach the CDE through others) included, with ScopeMoat's own Python path search and no Relate query; before v1.0.5 the Python side reused Relate's path query for transit, so for the demo system the cross-check compared Relate with Relate.
Release test: a consistent wrong Relate transit answer that omits bi-dashboards, and one that adds wiki, are each REVIEW REQUIRED naming the mismatch, in check and through the installed Git hook (acceptance D6-D8). On v1.0.4 the same injected addition gave BLOCK with 2 systems.
Filmed sequence replayed from clean checkouts of v1.0.4 and this commit: same verdicts, paths, rows and exit codes (BLOCK, REVIEW REQUIRED under the review policy, PASS for the repair); only the engine hash line and commit ids differ.
Checks: acceptance 145/0, verify PASS, v5 checks 67/67, T3 36/36, Relate/Python class parity 60/60 states.
This PR changes scopemoat/, so v1.0.4's check holds it for review by design.

…nd opinion uses ScopeMoat's own path search, no Relate query (v1.0.5); acceptance D6-D8, K6 updated; README Relate/Python row, edit line and git identity; EVIDENCE count 145
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

ScopeMoat: REVIEW REQUIRED

ScopeMoat holds this change for human review: its effect on modeled PCI DSS scope depends on a fact the model does not record.

This pull request changes the gate itself (scopemoat/rules_v5.py). The check ran the base branch's engine, and holds the change for human review: a pull request cannot approve its own gate.

Files in this pull request: EVIDENCE.md, README.md, acceptance.py, experiments/force_relate.py, explorer/data/scenarios.json, scopemoat/rules_v5.py

---
title: "deploy/compose.yaml: staged change vs HEAD"
---
flowchart LR
  none["Relate: no new path to the CDE"]
Loading

Source: Relate Cypher rows for the candidate (revision 683acfc5e57b156e4124a0e2141dd291); yellow = system that enters scope, red outline = CDE system, red edge = the link the change opened.

Commit gate output (python -m scopemoat gate, engine, store and baseline from the base branch):

ScopeMoat commit gate: staged deploy/compose.yaml vs HEAD, baseline graph/brightline.rl at HEAD
Staged:   no change to deploy/compose.yaml; validating the baseline at HEAD
Engine:   scopemoat/engine.py (committed; rules v5: scopemoat/rules_v5.py sha256 b50aa3a2ba54)
Baseline: graph/brightline.rl at HEAD (sha256 cc306174b2cd; Brightline Outfitters core environment, no overrides (fictional); restricted_hops=in_scope) plus deploy/compose.yaml at HEAD
Network links changed by the staged file:
  (none)
VERDICT:  PASS: no modeled scope expansion (no network links added or removed in the model)
Coverage: judged only on the systems, links, data flows and security services modeled in this graph. A scoping aid, not a QSA assessment.
Relate:   no new path to the CDE (Cypher on the Relate copy of the baseline, before and after the change)

Explore the evidence in the browser (Relate's WebAssembly build): https://innov8zig.github.io/ScopeMoat/explorer/
Reproduce locally: https://github.com/Innov8zig/ScopeMoat#try-it-about-one-minute-from-clone-once-python-313-is-installed

Modeled PCI scope under a configured policy. A scoping aid, not a QSA assessment. Brightline data is fictional.

…e; full tables moved unchanged to docs/EVALUATION.md; Relate/Python roles worded per v1.0.5
@Innov8zig

Copy link
Copy Markdown
Owner Author

Added the README trim approved by Daniel (README freeze exception): evaluation summary with result and key limitation side by side, full tables moved unchanged to docs/EVALUATION.md, Relate/Python roles worded per v1.0.5. Tree 45c318f; acceptance 145/0, verify PASS, demo BLOCK and review-policy REVIEW REQUIRED re-checked on this commit.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

ScopeMoat: REVIEW REQUIRED

ScopeMoat holds this change for human review: its effect on modeled PCI DSS scope depends on a fact the model does not record.

This pull request changes the gate itself (scopemoat/rules_v5.py). The check ran the base branch's engine, and holds the change for human review: a pull request cannot approve its own gate.

Files in this pull request: EVIDENCE.md, README.md, acceptance.py, docs/EVALUATION.md, experiments/force_relate.py, explorer/data/scenarios.json, scopemoat/rules_v5.py

---
title: "deploy/compose.yaml: staged change vs HEAD"
---
flowchart LR
  none["Relate: no new path to the CDE"]
Loading

Source: Relate Cypher rows for the candidate (revision 683acfc5e57b156e4124a0e2141dd291); yellow = system that enters scope, red outline = CDE system, red edge = the link the change opened.

Commit gate output (python -m scopemoat gate, engine, store and baseline from the base branch):

ScopeMoat commit gate: staged deploy/compose.yaml vs HEAD, baseline graph/brightline.rl at HEAD
Staged:   no change to deploy/compose.yaml; validating the baseline at HEAD
Engine:   scopemoat/engine.py (committed; rules v5: scopemoat/rules_v5.py sha256 b50aa3a2ba54)
Baseline: graph/brightline.rl at HEAD (sha256 cc306174b2cd; Brightline Outfitters core environment, no overrides (fictional); restricted_hops=in_scope) plus deploy/compose.yaml at HEAD
Network links changed by the staged file:
  (none)
VERDICT:  PASS: no modeled scope expansion (no network links added or removed in the model)
Coverage: judged only on the systems, links, data flows and security services modeled in this graph. A scoping aid, not a QSA assessment.
Relate:   no new path to the CDE (Cypher on the Relate copy of the baseline, before and after the change)

Explore the evidence in the browser (Relate's WebAssembly build): https://innov8zig.github.io/ScopeMoat/explorer/
Reproduce locally: https://github.com/Innov8zig/ScopeMoat#try-it-about-one-minute-from-clone-once-python-313-is-installed

Modeled PCI scope under a configured policy. A scoping aid, not a QSA assessment. Brightline data is fictional.

@Innov8zig
Innov8zig merged commit bf96f09 into main Dec 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant