Skip to content

v1.0.7: Compose differential prints the full split; EVIDENCE numbers - #18

Merged
Innov8zig merged 1 commit into
mainfrom
v107-evidence
Dec 6, 2026
Merged

Innov8zig merged 1 commit into
mainfrom
v107-evidence

Conversation

@Innov8zig

Copy link
Copy Markdown
Owner

Makes the Compose differential claim reproducible with one command. No change to scopemoat/, ci/ or the rules engine, so the PR check should PASS.

  • experiments/compose_differential.py now sorts every generated file into agree / refused by both / held for !reset-!override / refused for any other reason / looser / danger, prints the Docker Compose version, and prints PASS only when the last three are 0. Planted bugs (a membership error, a stricter parser) each make it FAIL.
  • EVIDENCE.md: per-seed numbers for seeds 1-3 (3,000 files): agree 2,030, refused by both 778, !reset/!override 192, other 0, looser 0, danger 0, with the commands.
    Checks: acceptance 152/0 (full clone and archive copy), verify PASS, local PR check PASS.

- experiments/compose_differential.py sorts every generated file into
  agree / refused by both / held for !reset-!override / refused for any
  other reason / looser / danger, prints the Docker Compose version, and
  prints PASS only when the last three are 0. Planted bugs (a membership
  error, a stricter parser) each make it FAIL.
- EVIDENCE.md: per-seed numbers for seeds 1-3 (3,000 files): agree
  2,030, refused by both 778, tags 192, other 0, looser 0, danger 0, and
  the commands that reproduce them.

No change to scopemoat/, ci/ or the rules engine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NLwewpybf9hxrNBswpQbxJ
@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown

ScopeMoat: PASS

No modeled scope expansion: the same commit gate that runs as the local pre-commit hook found no new potential path to the cardholder data environment.

Files in this pull request: EVIDENCE.md, experiments/compose_differential.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 4397ba00a496)
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 64090da into main Dec 6, 2026
1 check passed
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