Document self-scoping assessment workflow

This commit is contained in:
2026-05-15 13:37:19 +02:00
parent d9b0f5b32a
commit 2dfe5c6dd6
4 changed files with 139 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ GOLDEN_PROFILE_PATH = (
/ "golden"
/ "repo-scoping-golden-profile.v1.json"
)
WORKFLOW_PATH = ROOT / "docs" / "self-scoping" / "workflow.md"
def load_json(path: Path) -> dict:
@@ -117,3 +118,12 @@ def test_golden_profile_names_expected_native_capabilities_and_forbidden_false_p
assert profile["comparison_rules"]["must_not_have_native_capability_names"] == [
"Route LLM Requests Across Providers"
]
def test_self_scoping_workflow_documents_decision_policy():
content = WORKFLOW_PATH.read_text(encoding="utf-8")
assert "release_binding_status=complete" in content
assert "Update `golden/repo-scoping-golden-profile.v1.json`" in content
assert "Fix the engine when a challenger" in content
assert "Deterministic assessment can reject, downgrade, or flag" in content