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
9 changes: 4 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Run harness tests
run: python -B -m unittest discover -s harness/tests -p "test_*.py"
- name: Verify frozen publication identities
run: python -B tools/check_scope_control_publication_state.py --source-file scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md
run: python -B tools/check_scope_control_publication_state.py --source-file products/behavior-profiles/scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md
- name: Verify paired control discrimination
run: >-
python -B harness/harness.py run-controls
--suite harness/profiles/scope-control/suite.json
--observations harness/profiles/scope-control/controls.json
--profile scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md
--profile products/behavior-profiles/scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md
- name: Verify Runtime proof-only boundary
run: |
python - <<'PY'
Expand Down Expand Up @@ -73,15 +73,14 @@ jobs:
assert actual_runtime == [runtime_readme], f"unexpected Runtime mechanism at HEAD: {actual_runtime}"

constitutions = [
Path("scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md"),
Path("products/behavior-profiles/scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md"),
]
hashes = [hashlib.sha256(path.read_bytes()).hexdigest() for path in constitutions]
assert hashes == [canonical_sha, canonical_sha], f"constitution drift: {hashes}"
assert hashes == [canonical_sha], f"constitution drift: {hashes}"

print("Runtime public boundary: proof and architecture only")
print("Tracked Runtime mechanism files: 0")
print("Qualification identities and limitations: PASS")
print("ASK boundary: engine qualified / live host unproven")
print("Dual constitutions: canonical and byte-identical")
print("Canonical constitution: authoritative product path verified")
PY
2 changes: 1 addition & 1 deletion harness/tests/test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


CANONICAL_SHA256 = "769385360202ad58557d52ab1d3b9e1d3419a056b50f513af66d3604dab0e1d6"
CANONICAL_RELATIVE_PATH = Path("scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md")
CANONICAL_RELATIVE_PATH = Path("products/behavior-profiles/scope-control/BEHAVIOR_PROFILE_SCOPE_CONTROL.md")
PACKAGE_SENTINELS = (
Path("README.md"),
Path("harness/harness.py"),
Expand Down
Loading
Loading