requirements.cli.requirements_review_skill.agreement.what_counts
Requirements index · View definition
Requirement
The
habeas-requirementsskill MUST state that exact text the user supplied, or explicit agreement earlier in the conversation, counts as agreement, and that a general request to make the change does not.
Rationale
The requirement has one obligation. The habeas-requirements skill must say three things: exact user-supplied text counts as agreement, explicit earlier agreement in the conversation counts, and a general request to make the change does not.
tests/authoring_cli.rs#fn[the_requirements_skill_says_what_counts_as_agreement] is marked {test} for this requirement. It calls assert_phrases("habeas-requirements", …). That helper builds the collapsed text of the bundled skill with bundled_skill and asserts text.contains(phrase), so the test fails if the sentence is missing.
The asserted phrase is “Exact text the user supplied, or explicit agreement earlier in the conversation, counts; a general request to build the feature does not”. It covers all three clauses in one sentence. It is a single contiguous phrase, so the test cannot pass with only part of it present. The skill’s step 4 in SKILL.md wraps the sentence across lines, and the helper’s collapse handles that wrapping.
“Build the feature” in the phrase stands in for “make the change” in the requirement. This is a reasonable reading of the requirement’s wording.
Documentation-text requirements like this are tested by asserting the required statement is present. That is the project’s pattern and it fits the obligation. No refining requirement, distributed site or {fixme} acknowledgment is involved. I found no untested obligation.
Inputs
Tests
Input 2: outline tests/authoring_cli.rs fn[the_requirements_skill_says_what_counts_as_agreement]
- File:
tests/authoring_cli.rs - Selector:
fn[the_requirements_skill_says_what_counts_as_agreement] - Kind:
fn tests/authoring_cli.rs:4042–4051
// {test}`requirements.cli.requirements_review_skill.agreement.what_counts`
#[test]
fn the_requirements_skill_says_what_counts_as_agreement() {
assert_phrases(
"habeas-requirements",
&[
"Exact text the user supplied, or explicit agreement earlier in the conversation, counts; a general request to build the feature does not",
],
);
}
Other sources
Input 1: requirements selection requirements.cli.requirements_review_skill.agreement.what_counts
requirements.cli.requirements_review_skill.agreement.what_counts:md/requirements/cli.md:192–195
:::{req} requirements_review_skill.agreement.what_counts
The `habeas-requirements` skill MUST state that exact text the user supplied, or explicit agreement earlier in the conversation, counts as agreement, and that a general request to make the change does not.
:::