Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

requirements.cli.requirements_review_skill.present

Requirements index · View definition

evidence Valid

Requirement

The habeas-requirements skill MUST direct agents to present each group to the user with its exact text, including any {sites} and {violations} queries, and with each design question the review returned, along with its options and the presenting agent’s recommendation.

Rationale

The requirement has one obligation. The habeas-requirements skill must direct agents to present each group to the user with three things:

  • the group’s exact text, including any {sites} and {violations} queries;
  • each design question the review returned;
  • each question’s options and the presenting agent’s recommendation.

tests/authoring_cli.rs#fn[the_requirements_skill_presents_exact_text_and_design_questions] is marked {test} for the subject. It calls assert_phrases("habeas-requirements", ...). That helper runs assert_text on bundled_skill(name), which is the collapsed text of the skill’s SKILL.md and reference files. Collapsing whitespace means the wrapped lines in the skill still match.

The phrase it requires is “Present each group to the user: its exact text, including any {sites} and {violations} queries, and the design questions the review returned, each with its options and your recommendation”. This sentence states every element of the requirement: the exact text, both query kinds, the design questions, and their options and recommendation. I found that sentence in step 4 of the Workflow in assets/skills/habeas-requirements/SKILL.md. The assertion fails if any part of the directive is dropped or reworded, so it enforces the obligation.

This is a documentation-content requirement, so a phrase-presence check is the appropriate test. The skill has no branching behavior to exercise. Other tests, such as the_requirements_skill_reviews_each_group_with_a_parallel_read_only_subagent, check where this step falls in the workflow. That ordering is outside this requirement. I found no gaps.

Inputs

Tests

Input 2: outline tests/authoring_cli.rs fn[the_requirements_skill_presents_exact_text_and_design_questions]
// {test}`requirements.cli.requirements_review_skill.present`
#[test]
fn the_requirements_skill_presents_exact_text_and_design_questions() {
    assert_phrases(
        "habeas-requirements",
        &[
            "Present each group to the user: its exact text, including any `{sites}` and `{violations}` queries, and the design questions the review returned, each with its options and your recommendation",
        ],
    );
}

Other sources

Input 1: requirements selection requirements.cli.requirements_review_skill.present
:::{req} requirements_review_skill.present
The `habeas-requirements` skill MUST direct agents to present each group to the user with its exact text, including any `{sites}` and `{violations}` queries, and with each design question the review returned, along with its options and the presenting agent's recommendation.
:::