Skip to content

v1.7.2

Choose a tag to compare

@CesarRivasP CesarRivasP released this 06 Sep 04:23
· 138 commits to main since this release

A cosmetic defect written as:

defects:
  - id: D1
    role: cosmetic
    basis: asserted
    falsified_by: "a dated npm test run predating the assertion"
    log_line: null
    status: fixed

— log_line: null, exactly what check 14's own DRIFT message asks for ("or log_line: null to say it must be built") — re-fired that same DRIFT on every run.

The guard was not e.get("log_line"). None is falsy, so declaring the absence was indistinguishable from the key not being there: the only way to silence it was to invent an emitter that does not exist.

The gate now separates the two states the message always meant to distinguish:

value in the registry result
key absent DRIFT — nobody considered instrumentation
log_line: null clean — declared: the emitter must be built
log_line: '<TAG>.mount ...' clean — named
log_line: '' / ' ' DRIFT — a key put down with nothing in it

Same falsy-fallback family as v1.7.1 (#12). The two node.get("evidence") or {} sites still in audit.py — check_evidence_cmd_runnable and check_provider_behavior — crashed the whole audit with AttributeError: 'str' object has no attribute 'get' on a string evidence:; both are now coerced to {} the same way, so a malformed evidence drifts through the basis gate instead of raising.

New fixtures: log-line-null (the four rows above, from the real case — five cosmetic doc-set-hygiene defects with no possible emitter) and evidence-string (the audit drifts, does not crash).

Closes #13

https://claude.ai/code/session_014VGdLptH9Q29cMNDqXXMdU