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
16 changes: 16 additions & 0 deletions tests/test_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -23059,6 +23059,22 @@ def test_proposal_0021_transition_validator_observation_is_covered(
assert entry["reflective_chain"]["next_gap"] == "none"


def test_proposal_0036_topology_prose_observation_is_covered(
supervisor_module: object,
) -> None:
"""Proposal 0036 observation must tolerate markdown line wrapping."""
index = supervisor_module.build_proposal_runtime_index()
by_id = {e["proposal_id"]: e for e in index["entries"]}

assert "0036" in by_id, "Proposal 0036 missing from proposal_runtime_index"
entry = by_id["0036"]
assert entry["runtime_realization"]["status"] == "implemented"
assert entry["validation_closure"]["status"] == "covered"
assert entry["observation_coverage"]["status"] == "covered"
assert entry["observation_coverage"]["missing_markers"] == []
assert entry["reflective_chain"]["next_gap"] == "none"


def test_all_implemented_proposals_have_registry_entries() -> None:
"""Every Implemented proposal must have a registry entry with at least one marker."""
registry_path = SPECGRAPH_ROOT / "tools" / "proposal_runtime_registry.json"
Expand Down
2 changes: 1 addition & 1 deletion tools/proposal_runtime_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
"observation_markers": [
{
"path": "docs/proposals/0036_topology_facts_are_not_spec_prose.md",
"pattern": "The SG-SPEC-0026 reflective/proposal branch starts moving toward domain-first prose."
"pattern": "reflective/proposal branch starts moving toward domain-first"
}
]
},
Expand Down
Loading