requirements.cli.requirements_review_skill.drafts.rough
Requirements index · View definition
Requirement
The
habeas-requirementsskill MUST tell agents that drafts may be high-level, compound, or incomplete, and that they need not answer every question before review.
Rationale
The requirement has two obligations. The habeas-requirements skill must tell agents that drafts may be high-level, compound, or incomplete. It must also tell them they need not answer every question before review.
tests/authoring_cli.rs#fn[the_requirements_skill_allows_rough_drafts_before_review] is marked {test} for the requirement. It reads the skill’s workflow step that contains “Write drafts”, using the step and step_of helpers. It then uses assert_text to check that the step contains two phrases:
- “Drafts may be high-level, compound, or incomplete” covers the first obligation.
- “Ask the user only what the request can’t answer; the review in step 3 finds the rest” covers the second obligation. It says the agent need not resolve every question first, because review finds the remainder.
I read assets/skills/habeas-requirements/SKILL.md#section[Habeas%20requirements]/section[Workflow]. Step 2 contains both phrases, split across lines. The workflow_steps helper collapses whitespace, so the assertions match. If the skill dropped either sentence, assert_text would panic with “lacks …”, so the test would fail.
There is no input-class or boundary variation to cover: the requirement is a fixed content obligation on one skill file. The second phrase is the skill’s own wording for “need not answer every question before review”, so I found no gap.
Inputs
Tests
Input 2: outline tests/authoring_cli.rs fn[the_requirements_skill_allows_rough_drafts_before_review]
- File:
tests/authoring_cli.rs - Selector:
fn[the_requirements_skill_allows_rough_drafts_before_review] - Kind:
fn tests/authoring_cli.rs:3891–3905
// {test}`requirements.cli.requirements_review_skill.drafts.rough`
#[test]
fn the_requirements_skill_allows_rough_drafts_before_review() {
assert_text(
"draft step",
&step(
"habeas-requirements",
step_of("habeas-requirements", "Write drafts"),
),
&[
"Drafts may be high-level, compound, or incomplete",
"Ask the user only what the request can't answer; the review in step 3 finds the rest",
],
);
}
Other sources
Input 1: requirements selection requirements.cli.requirements_review_skill.drafts.rough
requirements.cli.requirements_review_skill.drafts.rough:md/requirements/cli.md:137–140
:::{req} requirements_review_skill.drafts.rough
The `habeas-requirements` skill MUST tell agents that drafts may be high-level, compound, or incomplete, and that they need not answer every question before review.
:::