requirements.cli.requirements_review_skill.commit.validation
Requirements index · View definition
Requirement
The
habeas-requirementsskill MUST tell agents that the requirements commit may fail validation until evidence is authored, and that only the pull request as a whole must pass.
Rationale
The requirement has one obligation. The habeas-requirements skill must tell agents two things: the requirements commit may fail validation until evidence is authored, and only the pull request as a whole must pass.
tests/authoring_cli.rs#fn[the_requirements_skill_expects_the_requirements_commit_to_fail_validation] is marked {test} for this requirement. It calls assert_phrases("habeas-requirements", ...). That helper builds the bundled skill text (SKILL.md plus its reference files, whitespace-collapsed) with bundled_skill. It then asserts with assert_text that the text contains the phrase “This commit fails validation until evidence is authored; that is expected, as only the pull request as a whole must pass”.
That one sentence carries both parts of the obligation:
- The commit fails validation until evidence is authored, and that is expected.
- Only the pull request as a whole must pass.
The assertion would fail if the skill dropped or reworded the sentence. The test also targets the right skill, habeas-requirements. The text names no other scenarios, modes or boundaries.
I did not read the skill file itself. Under the testing criteria, a test that checks the skill text for the required statement is the appropriate kind of test here, so I found no gap.
Inputs
Tests
Input 2: outline tests/authoring_cli.rs fn[the_requirements_skill_expects_the_requirements_commit_to_fail_validation]
- File:
tests/authoring_cli.rs - Selector:
fn[the_requirements_skill_expects_the_requirements_commit_to_fail_validation] - Kind:
fn tests/authoring_cli.rs:4101–4110
// {test}`requirements.cli.requirements_review_skill.commit.validation`
#[test]
fn the_requirements_skill_expects_the_requirements_commit_to_fail_validation() {
assert_phrases(
"habeas-requirements",
&[
"This commit fails validation until evidence is authored; that is expected, as only the pull request as a whole must pass",
],
);
}
Other sources
Input 1: requirements selection requirements.cli.requirements_review_skill.commit.validation
requirements.cli.requirements_review_skill.commit.validation:md/requirements/cli.md:217–220
:::{req} requirements_review_skill.commit.validation
The `habeas-requirements` skill MUST tell agents that the requirements commit may fail validation until evidence is authored, and that only the pull request as a whole must pass.
:::