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.pending_evidence_guidance

Requirements index · View definition

evidence Valid

Requirement

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.

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_of to find the numbered workflow step containing “Stop and report each finding that needs the user”. It then uses step to read that step’s text from assets/skills/habeas-evidence/SKILL.md. That ties the guidance to the step that tells agents to stop and report.
  • It uses assert_text to 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_text panics 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]
// {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
:::{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.
:::