whitehat-security/tests/test_layer_declaration.py
tegwick 75df0207c3 Declare Staff in INTENT.md and record WP-0001 DoD-Ok
Replace the transcribed gate-house review note with this repository's
own v0.7 §11 declaration. Close WHITEHAT-IN-0001: Staff, blocked-clean,
probe authorship retained here. Record DoD-Ok on WHITEHAT-WP-0001 so
the finished plan is not quality-debt-open.

Assistant: grok
Assistant-Session: 01a05e32-c776-72a3-86ec-c490e027aca9
2026-09-01 20:49:53 +02:00

12 lines
477 B
Python

from pathlib import Path
def test_intent_declares_staff_in_own_voice():
text = Path("INTENT.md").read_text(encoding="utf-8")
assert text.startswith("---\n")
frontmatter = text.split("---\n", 2)[1]
assert "layer: Staff" in frontmatter
assert 'standard_version: "0.7"' in frontmatter
assert "conformance_state: blocked-clean" in frontmatter
assert "gate-house insert that used to sit here is" in text
assert "does not author our probes" in text