requirements.cli.pending_evidence_guidance
Requirements index · View definition
Requirement
The
habeas-evidenceskill MUST tell agents that missing evidence, or a false determination whose rationale names only implementation that is still pending, is expected for a requirement or example whose implementation is pending, and MUST direct them to report it to the user rather than keep trying to fix it.
Rationale
The requirement has three obligations for the habeas-evidence skill. It must say that a missing record, or a false determination whose rationale names only pending implementation, is expected. It must limit that to work whose implementation is pending. It must tell agents to report such findings to the user instead of continuing to try to fix them.
tests/authoring_cli.rs#fn[the_evidence_skill_reports_findings_expected_while_implementation_is_pending] covers all three:
- It uses
step_ofto find the numbered workflow step containing “Stop and report each finding that needs the user”. It then usesstepto read that step’s text fromassets/skills/habeas-evidence/SKILL.md. That ties the guidance to the step that tells agents to stop and report. - It uses
assert_textto require two phrases in that step:- “a missing record or false judgment whose rationale names only implementation that is still pending, which is expected”. This covers the “expected” statement, the missing-evidence and false-determination cases, and the pending-only condition.
- “Don’t keep iterating on those”. This covers “rather than keep trying to fix it”.
assert_textpanics if a phrase is missing, so the assertions are enforced. The workflow step text is whitespace-collapsed, so line wrapping in the skill file doesn’t affect the match.
I did not find a gap. The test uses “record” and “judgment” where the requirement says “evidence” and “determination”. These are equivalent for the requirement’s purpose. Both the “report” and “stop iterating” wordings are asserted in the same step. The sibling requirement requirements.cli.pending_evidence_guidance.no_placeholder has its own test, so its obligation is not assessed here.
Inputs
Tests
Input 2: outline tests/authoring_cli.rs fn[the_evidence_skill_reports_findings_expected_while_implementation_is_pending]
- File:
tests/authoring_cli.rs - Selector:
fn[the_evidence_skill_reports_findings_expected_while_implementation_is_pending] - Kind:
fn tests/authoring_cli.rs:4453–4470
// {test}`requirements.cli.pending_evidence_guidance`
#[test]
fn the_evidence_skill_reports_findings_expected_while_implementation_is_pending() {
assert_text(
"report step",
&step(
"habeas-evidence",
step_of(
"habeas-evidence",
"Stop and report each finding that needs the user",
),
),
&[
"a missing record or false judgment whose rationale names only implementation that is still pending, which is expected",
"Don't keep iterating on those",
],
);
}
Other sources
Input 1: requirements selection requirements.cli.pending_evidence_guidance
requirements.cli.pending_evidence_guidance:md/requirements/cli.md:87–90
:::{req} pending_evidence_guidance
The `habeas-evidence` skill MUST tell agents that missing evidence, or a false determination whose rationale names only implementation that is still pending, is expected for a requirement or example whose implementation is pending, and MUST direct them to report it to the user rather than keep trying to fix it.
:::