requirements.examples.evidence
Requirements index · View definition
Requirement
Every defined example MUST have an
evidence/<full-example-name>.jsonfile whoseexamplestring exactly matches the current example body. A true determination MUST have at least one{test}reference to the example, covered by an evidence input. The reviewer MUST assess its tests underand use the outcomes defined by
; the no-test justification for a requirement MUST NOT establish a true example judgment. Habeas MUST apply the same missing-evidence, determination, input validation, and reference-coverage checks used for requirements. It MUST report a true determination with no test reference and changed example text with a compact line-oriented diff.
Rationale
The reviewed tests adequately check each obligation in requirements.examples.evidence. I did not request any implementation source.
Obligations and the tests that cover them
- An evidence file must exist for every example.
src/evidence.rs#mod[tests]/fn[cited_example_with_a_test_and_matching_evidence_validates]removesevidence/rules.case.json. It asserts that the errors contain “missing for example”.- A valid example with matching evidence produces no errors, and
report.evidence_filesis 2. That is the positive case.
- The
examplestring must exactly match the current body, and a change must be reported with a compact line-oriented diff.- The same test replaces
examplewith “Outdated.”. It asserts “example text changed” and the diff line “- Outdated.”. - A wrong field name is covered too. A record with
requirementin place ofexampleyieldsmissing field "example"andunexpected field "requirement". - The compact diff itself is shared with requirements. It is tested separately in
compact_diffs_elide_common_lines_and_truncate_long_runsandchanged_requirement_text_names_the_record_and_location_with_a_diff, and this requirement does not assign it to examples.
- The same test replaces
- A true determination must have at least one
{test}reference, covered by an evidence input.example_errors_include_duplicates_invalid_bodies_and_missing_testshas a true-determination example with no test reference. It asserts “example rules.case has a true determination but no {test} reference”.tests/outcomes.rs#fn[fixme_examples_pass_without_test_references_but_true_examples_do_not]uses a fixture example with a FIXME determination and no test reference. This passes validation. Changing the determination to true then produces a “no {test} reference” error.cited_example_with_a_test_and_matching_evidence_validatesempties the example’s inputs. It asserts “no input covers” and the test source’s location, so coverage by an evidence input is enforced.
- The same missing-evidence, determination, input-validation and reference-coverage checks used for requirements must apply to examples.
- Determination: setting
falsegives “determination is false”. A FIXME determination passes infixme_examples_pass_without_test_references_but_true_examples_do_not. A malformed FIXME gives “nonempty array” inmalformed_fixme_is_invalid_and_reports_the_required_shape. - Input validation: a changed outline hash and a changed requirements-glob match set are both reported in the cited-example test.
- Reference coverage: a
{test}on a requirement cited from the example is checked against inputs, and the test asserts “no input covers” for the markdown location. - Missing evidence is covered above.
- Determination: setting
- The reviewer must assess examples under
requirements.ci.review_criteriaand userequirements.ci.outcomes. A requirement’s no-test justification must not establish a true example judgment.src/authoring/mod.rs#mod[tests]/fn[initial_prompt_carries_the_review_criteria]builds an example subject. It asserts that the prompt contains the approvedexample_tasktext and “Subject: example requirements.case”. It also asserts that the requirement task, the testing bar and “Testing criteria:” are absent. The no-test-justification clause sits in the example task text, so asserting that text is present covers it.
Gaps and caveats
- I found no marking gaps. The relevant tests all carry
{test}references to the requirement. - The “exactly matches” check is exercised only with a wholly different text. Whitespace-only differences are untested, but that is another value in an already represented “changed text” class and not a separate distinction the requirement names.
Inputs
Tests
Input 4: outline src/authoring/mod.rs mod[tests]/fn[initial_prompt_carries_the_review_criteria]
- File:
src/authoring/mod.rs - Selector:
mod[tests]/fn[initial_prompt_carries_the_review_criteria] - Kind:
fn src/authoring/mod.rs:2138–2210
// {test}`requirements.ci.review_criteria`
// {test}`requirements.authoring.requirement_task`
// {test}`requirements.authoring.testing_bar`
// {test}`requirements.authoring.example_task`
// {test}`requirements.authoring.judgment_rules`
// {test}`requirements.authoring.habeas_background`
// {test}`requirements.examples.evidence`
// {test}`requirements.examples.definition`
#[test]
fn initial_prompt_carries_the_review_criteria() {
let project = inputs::tests::project();
let sources = AssessmentSources::prepare(project.path(), "requirements.ready").unwrap();
let prompt = initial_prompt(&sources).unwrap().joined();
for criterion in [
"Subject: requirement requirements.ready\nJudge against: the subject's text.",
approved_text("habeas_background", 0),
approved_text("habeas_background", 1),
approved_text("judgment_rules", 0),
approved_text("requirement_task", 0),
approved_text("testing_bar", 0),
"Derive testable obligations and expected outcomes from each MUST, MUST NOT,",
"Testing criteria:",
"The project MUST be ready.",
] {
assert!(
prompt.contains(criterion),
"missing {criterion:?} in:\n{prompt}"
);
}
// The testing criteria follow the requirement task.
assert!(prompt.contains(&format!(
"{}\n{}",
approved_text("requirement_task", 0),
approved_text("testing_bar", 0)
)));
assert!(!prompt.contains(approved_text("example_task", 0)));
assert!(!prompt.contains("This subject is a distributed requirement."));
assert!(!prompt.contains(distributed_background()));
assert!(!prompt.contains("{{"), "{prompt}");
// An example's task replaces the requirement task.
let requirements = project.path().join("md/requirements.md");
let mut book = fs::read_to_string(&requirements).unwrap();
let cite = "{cite}`requirements.ready`";
book.push_str(&format!(
"\n:::{{example}} case\nA ready case. {cite}\n:::\n"
));
fs::write(&requirements, book).unwrap();
let sources = AssessmentSources::prepare(project.path(), "requirements.case").unwrap();
let prompt = initial_prompt(&sources).unwrap().joined();
assert!(
prompt.contains("Subject: example requirements.case"),
"{prompt}"
);
assert!(
prompt.contains(approved_text("example_task", 0)),
"{prompt}"
);
assert!(
prompt.contains("First check that it describes a concrete case\nwith expected behavior; a missing concrete case or expected behavior is a gap."),
"{prompt}"
);
assert!(
!prompt.contains(approved_text("requirement_task", 0)),
"{prompt}"
);
assert!(
!prompt.contains(approved_text("testing_bar", 0)),
"{prompt}"
);
assert!(!prompt.contains("Testing criteria:"), "{prompt}");
assert!(!prompt.contains("{{"), "{prompt}");
}
Input 5: outline src/evidence.rs mod[tests]/fn[cited_example_with_a_test_and_matching_evidence_validates]
- File:
src/evidence.rs - Selector:
mod[tests]/fn[cited_example_with_a_test_and_matching_evidence_validates] - Kind:
fn src/evidence.rs:3498–3632
// {test}`requirements.examples.definition`
// {test}`requirements.examples.evidence`
// {test}`requirements.integration.report_api`
// {test}`requirements.ci.schema`
// {test}`requirements.references.evidence_coverage`
// {test}`requirements.ci.requirements_inputs`
// {test}`requirements.ci.orphans`
#[test]
fn cited_example_with_a_test_and_matching_evidence_validates() {
let temp = fixture();
let chapter = "# Rules\n\n:::{req} ready\nReady.\n:::\n\n:::{example} case\nGiven ready, it succeeds. {cite}`rules.ready` {test}`rules.ready`\n:::\n";
fs::write(temp.path().join("md/rules.md"), chapter).unwrap();
let test_source = "// {test}`rules.case`\n#[test]\nfn checks_case() { assert!(true); }\n";
fs::write(temp.path().join("src/main.rs"), test_source).unwrap();
fs::write(
temp.path().join("evidence/rules.ready.json"),
json!({
"requirement": "Ready.",
"determination": true,
"rationale": "The example cites this rule.",
"inputs": crate::inputs::outline_inputs_for_lines(temp.path(), "md/rules.md", 8, 8)
.unwrap()
})
.to_string(),
)
.unwrap();
let example_path = temp.path().join("evidence/rules.case.json");
fs::write(
&example_path,
json!({
"example": "Given ready, it succeeds. {cite}`rules.ready` {test}`rules.ready`",
"determination": true,
"rationale": "checks_case sets up ready and asserts the result.",
"inputs": [
outline(temp.path(), "src/main.rs", "fn[checks_case]"),
{
"requirements": "rules.*",
"matches": ["rules.case", "rules.ready"],
"text": [
chapter.lines().nth(6).unwrap(),
chapter.lines().nth(7).unwrap(),
chapter.lines().nth(8).unwrap(),
"",
chapter.lines().nth(2).unwrap(),
chapter.lines().nth(3).unwrap(),
chapter.lines().nth(4).unwrap()
]
}
]
})
.to_string(),
)
.unwrap();
let report = validate_repository(temp.path()).unwrap();
assert_eq!(report.requirements, 1);
assert_eq!(report.examples, 1);
assert_eq!(report.evidence_files, 2);
assert!(report.errors.is_empty(), "{:?}", report.errors);
let ready_path = temp.path().join("evidence/rules.ready.json");
let ready = fs::read_to_string(&ready_path).unwrap();
let mut missing: Value = serde_json::from_str(&ready).unwrap();
missing["inputs"] = json!([]);
fs::write(&ready_path, missing.to_string()).unwrap();
let errors = validate_repository(temp.path()).unwrap().errors;
assert!(
errors.iter().any(|error| error.contains("no input covers")
&& error.contains("{test}")
&& error.contains("rules.ready")
&& error.contains("md/rules.md:8")),
"{errors:?}"
);
fs::write(ready_path, ready).unwrap();
let old = fs::read_to_string(&example_path).unwrap();
let mut uncovered: serde_json::Value = serde_json::from_str(&old).unwrap();
uncovered["inputs"] = json!([]);
fs::write(&example_path, uncovered.to_string()).unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(errors.contains("no input covers"), "{errors}");
assert!(errors.contains("src/main.rs:1"), "{errors}");
fs::write(&example_path, &old).unwrap();
fs::write(
temp.path().join("src/main.rs"),
test_source.replace("assert!(true)", "assert!(false)"),
)
.unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(
errors.contains(
"outline input changed: src/main.rs fn[checks_case] (now lines 1-3) no longer has the recorded hash"
),
"{errors}"
);
fs::write(temp.path().join("src/main.rs"), test_source).unwrap();
fs::write(
temp.path().join("md/rules.md"),
format!("{chapter}\n:::{req} added\nAdded.\n:::\n", req = "{req}"),
)
.unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(
errors.contains(
"requirements glob \"rules.*\" matches changed; added [\"rules.added\"], removed []"
),
"{errors}"
);
let mut evidence: serde_json::Value = serde_json::from_str(&old).unwrap();
evidence["example"] = "Outdated.".into();
fs::write(&example_path, evidence.to_string()).unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(errors.contains("example text changed"), "{errors}");
assert!(errors.contains("- Outdated."), "{errors}");
let mut wrong_field: serde_json::Value = serde_json::from_str(&old).unwrap();
let example_text = wrong_field
.as_object_mut()
.unwrap()
.remove("example")
.unwrap();
wrong_field["requirement"] = example_text;
fs::write(&example_path, wrong_field.to_string()).unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(errors.contains("missing field \"example\""), "{errors}");
assert!(
errors.contains("unexpected field \"requirement\""),
"{errors}"
);
fs::remove_file(&example_path).unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
assert!(errors.contains("missing for example"), "{errors}");
}
Input 6: outline src/evidence.rs mod[tests]/fn[example_errors_include_duplicates_invalid_bodies_and_missing_tests]
- File:
src/evidence.rs - Selector:
mod[tests]/fn[example_errors_include_duplicates_invalid_bodies_and_missing_tests] - Kind:
fn src/evidence.rs:3693–3724
// {test}`requirements.ci.definition_errors`
// {test}`requirements.examples.definition`
// {test}`requirements.examples.evidence`
#[test]
fn example_errors_include_duplicates_invalid_bodies_and_missing_tests() {
let temp = fixture();
let chapter = ":::{req} repeated\nReady.\n:::\n\n:::{req} repeated\nAgain.\n:::\n\n:::{example} repeated\nGiven ready. {cite}`rules.repeated`\n:::\n\n:::{example} case\nGiven ready. {cite}`rules.repeated`\n:::\n\n:::{example} case\nAgain. {cite}`rules.repeated`\n:::\n\n:::{example} empty\n \n:::\n\n:::{example} unclosed\nNo close.";
fs::write(temp.path().join("md/rules.md"), chapter).unwrap();
fs::write(
temp.path().join("evidence/rules.case.json"),
json!({
"example": "Given ready. {cite}`rules.repeated`",
"determination": true,
"rationale": "No test has been cited yet.",
"inputs": []
})
.to_string(),
)
.unwrap();
let errors = validate_repository(temp.path()).unwrap().errors.join("\n");
for detail in [
"duplicate requirement rules.repeated; first declared at md/rules.md:1",
"duplicate example rules.repeated; first declared at md/rules.md:1",
"duplicate example rules.case; first declared at md/rules.md:13",
"example rules.empty has no text",
"example rules.empty must reference at least one requirement with {cite} or {test}",
"example rules.unclosed is missing a closing colon fence",
"example rules.case has a true determination but no {test} reference",
] {
assert!(errors.contains(detail), "missing {detail:?} in:\n{errors}");
}
}
Input 7: outline tests/outcomes.rs fn[fixture]
- File:
tests/outcomes.rs - Selector:
fn[fixture] - Kind:
fn tests/outcomes.rs:28–92
/// The example `requirements.timeout`, judged FIXME and acknowledged by a
/// `{fixme}` in `observed.rs` naming two issues.
// {test}`requirements.examples.evidence`
fn fixture() -> TempDir {
let temp = TempDir::new().unwrap();
fs::create_dir(temp.path().join("md")).unwrap();
fs::create_dir(temp.path().join("evidence")).unwrap();
fs::write(
temp.path().join("Cargo.toml"),
"[package]\nname = 'fixture'\n",
)
.unwrap();
fs::write(temp.path().join("book.toml"), "[book]\nsrc = 'md'\n").unwrap();
let example = "Timeout handling retries. {cite}`requirements.ready`".to_owned();
let example_lines = vec![
":::{example} timeout".to_owned(),
example.clone(),
":::".to_owned(),
];
fs::write(
temp.path().join("md/requirements.md"),
format!(
":::{{req}} ready\nThe behavior MUST work.\n:::\n\n{}\n",
example_lines.join("\n")
),
)
.unwrap();
let source = fixme(
"requirements.timeout",
&["example/io#125", "rust-lang/rust#123"],
"Retry-after-timeout and partial-write recovery are untested.",
);
fs::write(
temp.path().join("observed.rs"),
format!("{source}const RETRIES: u32 = 1;\n"),
)
.unwrap();
let source_input = habeas::outline_input(temp.path(), "observed.rs", "").unwrap();
write_record(
temp.path(),
"ready",
json!({
"requirement": "The behavior MUST work.",
"determination": true,
"rationale": "The requirement is supported by the fixture.",
"inputs": [{
"requirements": "requirements.timeout",
"matches": ["requirements.timeout"],
"text": example_lines
}]
}),
);
write_record(
temp.path(),
"timeout",
json!({
"example": example,
"determination": { "FIXME": ["example/io#125", "rust-lang/rust#123"] },
"rationale": "The recorded comments acknowledge the missing timeout tests.",
"inputs": [source_input]
}),
);
common::coverage_setup(temp.path());
temp
}
Input 8: outline tests/outcomes.rs fn[fixme_examples_pass_without_test_references_but_true_examples_do_not]
- File:
tests/outcomes.rs - Selector:
fn[fixme_examples_pass_without_test_references_but_true_examples_do_not] - Kind:
fn tests/outcomes.rs:144–168
// {test}`requirements.ci.determination`
// {test}`requirements.examples.evidence`
// {test}`requirements.ci.fixme_example_test_gaps`
#[test]
fn fixme_examples_pass_without_test_references_but_true_examples_do_not() {
let temp = fixture();
let report = habeas::validate_repository(temp.path()).unwrap();
assert!(report.errors.is_empty(), "{:?}", report.errors);
replace_judgment(temp.path(), "timeout", json!(true));
let report = habeas::validate_repository(temp.path()).unwrap();
assert!(
report
.errors
.iter()
.any(|error| error.contains("no {test} reference"))
);
replace_judgment(temp.path(), "timeout", json!(false));
let report = habeas::validate_repository(temp.path()).unwrap();
assert!(
report
.errors
.iter()
.any(|error| error.contains("determination is false"))
);
}
Input 9: outline tests/outcomes.rs fn[malformed_fixme_is_invalid_and_reports_the_required_shape]
- File:
tests/outcomes.rs - Selector:
fn[malformed_fixme_is_invalid_and_reports_the_required_shape] - Kind:
fn tests/outcomes.rs:363–388
// {test}`requirements.ci.schema`
// {test}`requirements.ci.outcomes`
// {test}`requirements.index.state`
// {test}`requirements.cli.fixme_summary`
// {test}`requirements.ci.determination`
// {test}`requirements.examples.evidence`
#[test]
fn malformed_fixme_is_invalid_and_reports_the_required_shape() {
let temp = fixture();
replace_judgment(temp.path(), "timeout", json!({ "FIXME": [] }));
let report = habeas::validate_repository(temp.path()).unwrap();
assert!(
report
.errors
.iter()
.any(|error| error.contains("nonempty array"))
);
let status = habeas::status_markdown(temp.path(), false).unwrap();
let row = status
.lines()
.find(|line| line.starts_with("| `requirements.timeout`"))
.unwrap();
assert!(row.contains("Invalid"), "{row}");
assert!(status.contains("nonempty array"), "{status}");
assert!(!status.contains("affects"), "{status}");
}
Referenced definitions
Input 2: requirements selection requirements.ci.review_criteria
requirements.ci.review_criteria:md/requirements/ci.md:23–110
:::{req} review_criteria
The reviewer MUST assess the named subject using its text, referenced requirements,
and terminology definitions. For a requirement, the reviewer MUST assess whether
the reviewed tests adequately check its stated obligations, including relevant
input classes, boundaries, condition combinations, state transitions, and failure
cases. These cases MUST follow from the requirement's obligations; the reviewer
MUST NOT require behavior for inputs the text leaves unspecified. The reviewer
MUST derive expected outcomes from the text, inspect the tests and relevant
helpers or fixtures, and map each obligation assessed here to concrete test
inputs and assertions in the rationale. It MUST separately identify obligations
delegated to a refining requirement or a distributed site's review and any
established testing exemptions. It MUST assess both whether expected results conform
to the text and whether the assertions enforce those results.
For every proposed adequacy gap, the reviewer MUST describe plausible behavior
that violates a stated obligation but would be accepted by the reviewed tests,
and explain which missing scenarios or weak assertions allow it. For an incorrect
expected result, it MUST instead identify the assertion and explain its conflict
with the text. A counterexample MUST identify a requirement-relevant distinction
that the tests miss; another untested value in an already represented input class
MUST NOT by itself establish a gap without explaining why it could expose
different required behavior. It MUST check other relevant tests and helpers before reporting a
gap and distinguish missing information from an established inadequacy. A marking
gap or an ambiguity MUST be identified as such, without requiring a behavioral
counterexample. A judgment of `true` MUST mean the reviewed tests adequately check
the subject under these criteria, including the testing exemptions of
{cite}`requirements.authoring.testing_bar`; it MUST NOT assert implementation
correctness. The reviewer MAY request implementation source to resolve a
specific question and MUST state that question in its rationale. It MUST NOT
derive expected behavior from the implementation or assess implementation
correctness, implementation reachability, or unspecified implementation behavior
as additional tasks.
When another requirement implements part of the subject, the
reviewer MUST assess whether its text carries out that part, and MUST NOT
reassess its implementation, tests, or evidence; that requirement is assessed
separately. When there are no tests, the reviewer MUST apply the testing
exemptions of {cite}`requirements.authoring.testing_bar` and explain any
exemption it establishes.
The reviewer MUST apply these rules in every assessment. MUST and MUST NOT state
obligations; a SHOULD MUST impose an obligation unless the subject's text or a
source comment gives a reason it does not apply, and the reviewer MUST apply the
testing criteria to every applicable SHOULD in a test-adequacy assessment and
explain each exception in the rationale; MAY imposes nothing to
check; examples and sample output in the text illustrate the obligations its
prose states and bind their exact form only where the text says so. When the subject's
text admits two readings its wording supports equally and they lead to different conclusions, such as whether code conforms or which role a citation calls for, the ambiguity MUST be treated as a gap and the rationale MUST name
the readings. A test that verifies the subject without a `{test}` reference to it
MUST be treated as a marking gap; a helper reached from a marked test MUST NOT
need a reference of its own. A gap MUST be
reported only for a specific obligation with relevant sources the reviewer
has read. Before reporting a missing test, the reviewer MUST perform targeted
discovery of relevant tests and identify the missing scenario; an absent test
MUST NOT require an invented source location. Style, performance, logging, how
helpers are factored, robustness the text does not require, and silently ignoring input the text does not mention MUST NOT be treated as gaps, and the reviewer MUST NOT report bugs or issues outside the
subject's text.
For a distributed requirement under {cite}`requirements.references.distributed`,
the reviewer MUST also assess the requirement and its queries. Each obligation
MUST be either one that each site upholds on its own, checked by its review under
{cite}`requirements.references.site_review`, or one that particular code carries
out, assessed as above through its `{impl}` and `{test}` references; an
obligation neither covers MUST be treated as a gap. The reviewer MUST judge whether
each query's conditions are adequate and adequately tested: the site queries
MUST select every place the text's description of a site covers and no place
outside the requirement's stated scope, and each query's `match` and `no_match`
snippets MUST test its conditions as tests of code would, judged as such; a
condition without a snippet of its own MUST NOT by itself be treated as a gap. Because queries are heuristics, the reviewer MUST
judge them by a preponderance of the evidence, asking whether it is more likely
than not that the site queries find the places the requirement applies: a
specific place in the sources that a site query misses or wrongly selects MUST be
treated as a gap, and a form that does not occur in the sources MUST NOT.
Obligations that decide which places are sites, such as a naming rule, MUST be
checked by the reviewer's search of the sources. Violation queries direct site
reviews to likely problems; the reviewer SHOULD note constructs they miss, but
their incompleteness MUST NOT by itself make the determination false. Any other
gap in the queries or snippets MUST be treated as a gap under
{cite}`requirements.ci.outcomes`, even when the code is correct. The reviewer SHOULD run each site query once, scan its matches,
and search briefly for the construct the text describes, and MUST NOT review each
site or treat a site without an `{impl}` reference as a gap.
For an example, the reviewer MUST assess whether tests exist whose setup and
assertions cover its scenario and expected outcomes. The rationale MUST identify
the relevant sources and explain the testing judgment for a
requirement, or the test coverage for an example. Referenced requirements provide
context; they MUST NOT become additional subjects to assess in full.
:::
Input 3: requirements selection requirements.ci.outcomes
requirements.ci.outcomes:md/requirements/ci.md:112–149
:::{req} outcomes
Every assessment judgment MUST use one of these outcomes, applying
{cite}`requirements.ci.review_criteria`:
- `true`: the reviewed tests adequately check a requirement or example under
{cite}`requirements.ci.review_criteria`, including applicable testing
exemptions and obligations assessed by a refining requirement or a site's
own review. For a citation or site review, the review finds no gap under its
own task.
- `false`: the sources do not support the subject, or information is missing,
and the gaps are not all acknowledged by `{fixme}` references to it.
- `FIXME`: some aspects remain unmet or untested, and `{fixme}` references to
the subject acknowledge every one of those gaps. The reviewer MUST explain the
gaps and their source locations in the rationale and record their issue
references or other identifying content from the supplied acknowledgments or
inputs.
The JSON `determination` MUST be `true`, `false`, or an object containing exactly
`"FIXME"` with a nonempty array of nonempty strings, such as
`{"FIXME": ["example/queue#125", "rust-lang/rust#123"]}`. A gap MUST count as
acknowledged only by a `{fixme}` reference under
{cite}`requirements.references.roles` whose body describes that gap and that
references the assessed definition, or, for a site review, the distributed requirement from within that site; a citation review MUST NOT accept a `{fixme}`; a plain
`FIXME` comment, another marker such as `TODO`, or prose MUST NOT. The strings
MUST list each distinct issue reference the acknowledging `{fixme}` references
name in their option lines, as written after `:github:`, and, for a `{fixme}`
naming no issue, its body's words, without comment delimiters, joined by single
spaces. A `{fixme}` reference describing a gap that the review establishes no
longer exists within its task's scope MUST itself be treated as a gap. A reference
describing only an implementation defect MUST NOT create a test-adequacy gap or
require implementation review; it MUST acknowledge a testing gap only when its
body describes that same gap. A `{fixme}` naming a GitHub issue that
{cite}`requirements.authoring.github_reads` reports closed MUST NOT count as
acknowledging its gap. A FIXME judgment MUST be grounded in recorded evidence
inputs or, for an acknowledgment supplied under
{cite}`requirements.authoring.fixme_inputs`, the reference-set digest covering
that acknowledgment.
:::
Other sources
Input 1: requirements selection requirements.examples.evidence
requirements.examples.evidence:md/requirements/examples.md:7–9
:::{req} evidence
Every defined example MUST have an `evidence/<full-example-name>.json` file whose `example` string exactly matches the current example body. A true determination MUST have at least one `{test}` reference to the example, covered by an evidence input. The reviewer MUST assess its tests under {cite}`requirements.ci.review_criteria` and use the outcomes defined by {cite}`requirements.ci.outcomes`; the no-test justification for a requirement MUST NOT establish a true example judgment. Habeas MUST apply the same missing-evidence, determination, input validation, and reference-coverage checks used for requirements. It MUST report a true determination with no test reference and changed example text with a compact line-oriented diff.
:::