requirements.cli.pending_evidence_guidance.no_placeholder
Requirements index · View definition
Requirement
The
habeas-evidenceskill MUST tell agents not to write placeholder evidence for a requirement or example whose implementation is pending.
Rationale
The requirement has one obligation. The habeas-evidence skill must tell agents not to write placeholder evidence for a requirement or example whose implementation is pending.
The bundled skill is assets/skills/habeas-evidence/SKILL.md. Its workflow step says that a “missing record or false judgment whose rationale names only implementation that is still pending, which is expected. Don’t keep iterating on those, and never write placeholder evidence.” That is the instruction the requirement calls for.
The test is tests/authoring_cli.rs#fn[the_evidence_skill_never_writes_placeholder_evidence_for_pending_work]. It does three things:
- It locates the workflow step with
step_of("habeas-evidence", "Stop and report each finding that needs the user"). - It extracts that step’s whitespace-normalized text with
step. - It uses
assert_text_in_orderto check that the step contains “names only implementation that is still pending” and, after it, “never write placeholder evidence”.
The assertions tie the prohibition to the pending-implementation condition. The text must contain the pending-implementation clause, followed by the “never write placeholder evidence” prohibition, within the same step. If the prohibition were deleted, moved out of that step, or reordered, the test would fail. The helpers either panic or assert on a missing step or phrase, so the test does not pass without checking anything.
The requirement is a single content obligation on the skill text and has no further modes or boundary cases. The test covers it. The phrase-based check is brittle to rewording, but that is not a coverage gap.
Inputs
Tests
Input 2: outline tests/authoring_cli.rs fn[the_evidence_skill_never_writes_placeholder_evidence_for_pending_work]
- File:
tests/authoring_cli.rs - Selector:
fn[the_evidence_skill_never_writes_placeholder_evidence_for_pending_work] - Kind:
fn tests/authoring_cli.rs:4472–4489
// {test}`requirements.cli.pending_evidence_guidance.no_placeholder`
#[test]
fn the_evidence_skill_never_writes_placeholder_evidence_for_pending_work() {
assert_text_in_order(
"report step",
&step(
"habeas-evidence",
step_of(
"habeas-evidence",
"Stop and report each finding that needs the user",
),
),
&[
"names only implementation that is still pending",
"never write placeholder evidence",
],
);
}
Other sources
Input 1: requirements selection requirements.cli.pending_evidence_guidance.no_placeholder
requirements.cli.pending_evidence_guidance.no_placeholder:md/requirements/cli.md:92–95
:::{req} pending_evidence_guidance.no_placeholder
The `habeas-evidence` skill MUST tell agents not to write placeholder evidence for a requirement or example whose implementation is pending.
:::