File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ propagating constitution-driven changes to dependent Spec Kit artifacts.
2020- If an instruction could be either constitution content or a non-governance intent, ask for
2121 clarification before making changes.
2222- After updating the constitution, list each deferred intent in a ` Next Actions ` section with an
23- appropriate follow-up Spec Kit command, such as ` /speckit.specify ` , but do not invoke it.
23+ appropriate follow-up Spec Kit command, such as ` __SPECKIT_COMMAND_SPECIFY__ ` , but do not
24+ invoke it.
2425- Omit ` Next Actions ` when there are no non-governance intents.
2526
2627## Outline
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ constitution-driven changes to the dependent artifacts identified in this comman
3030 making changes.
3131- After completing the constitution update, include a ` Next Actions ` section for each deferred
3232 intent. List the original intent and suggest the appropriate follow-up Spec Kit command, such
33- as ` /speckit.specify ` , without invoking it.
33+ as ` __SPECKIT_COMMAND_SPECIFY__ ` , without invoking it.
3434- If there are no non-governance intents, omit the ` Next Actions ` section.
3535
3636## Pre-Execution Checks
Original file line number Diff line number Diff line change @@ -5406,15 +5406,16 @@ def test_constitution_commands_guard_against_non_governance_work(command_path):
54065406 """Constitution commands defer non-governance work instead of executing it."""
54075407 content = command_path .read_text ()
54085408 lower_content = content .lower ()
5409+ normalized_content = " " .join (lower_content .split ())
54095410
54105411 assert "## Scope Guard" in content
54115412 assert "**MUST NOT**" in content
54125413 assert "application source files" in content
54135414 assert "non-governance intent" in content
54145415 assert "`Next Actions`" in content
5415- assert "/speckit.specify " in content
5416+ assert "__SPECKIT_COMMAND_SPECIFY__ " in content
54165417 assert "omit" in lower_content
5417- assert "do not invoke it" in lower_content or "without invoking it" in lower_content
5418+ assert "do not invoke it" in normalized_content or "without invoking it" in normalized_content
54185419
54195420
54205421class TestLeanPreset :
You can’t perform that action at this time.
0 commit comments