`clew.query.dossier` was the FUNCTION-ONLY form while the MCP tool of the same name described any indexed kind, so the documented `from clew.query import dossier` returned `None` for a requirement, lock, thread, class or variable — and `None` is also what "not indexed" looks like, so the weaker function was indistinguishable from an empty index.
Given
—
→
When
req = next(iter(q.all_req_edges(rich_db)), None)
wide = q.dossier(rich_db, req.req_id)
q.function_dossier(rich_db, req.req_id)
→
Then
✓ req is not None
✓ wide is not None
✓ wide.kind equals "requirement"
✓ q.function_dossier(rich_db, req.req_id) is None
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
assert req is not None, "precondition: the fixture must hold at least one requirement edge"observes all_req_edges via req
assert wide is not None and wide.kind == "requirement", ( f"the exported `dossier` returned {wide!r} for requirement {req.req_id!r}; it must be " f"the any-kind form, matching the MCP tool that shares its name" )observes all_req_edges via req
assert q.function_dossier(rich_db, req.req_id) is None, ( "`function_dossier` must stay the narrow form — if it answers about a requirement too, " "the two exported names describe one behaviour and the distinction is undocumented" )observes function_dossier
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
and 4 more requirement paths, listed below.
Also reaches 18 requirements
Its run touches their code; that is reach, not proof.