Repository navigation
v0.5.0 — Consistency checks
A coherence release. Quizzing asks one question at a time, which until now meant nothing
noticed when two answers contradicted each other — the incoherent design reached the agent
intact. The form now checks answers against one another, explains what is wrong, and offers
to fix it.
Added
- Cross-question consistency checks. A questionnaire may declare a top-level
consistencyarray. Each check fires when every rule in itswhenarray holds, using the
same condition shape asbranching(questionIdwithequals,includes,gte, or
lte) — no new operators were introduced. This closesFR-053,FR-054, andFR-055. - Two severities, because blocking is not always right. An
errorstops the Next button
on the question that created the conflict, so the problem is raised while the user is
still thinking about it. Awarningis explained at the review screen, does not block, and
can be accepted deliberately. A detector that only ever hard-blocks becomes a trap the
moment a check is subtly wrong. - One-click corrections. A check may
suggestfixes, each a button that sets named
answer fields. A correction only sets what it names and never clears anything else. - Checks explain themselves.
explainsays why the combination is a problem and
evidencecarries the environmental facts behind it — the place where a fact discovered
during the bearing phase does visible work. validation.warningsandvalidation.checksinanswers.schema.json. Every firing
check is recorded with its severity, and an accepted warning carriesacknowledged: true,
so an agent can tell a considered trade-off from an oversight.validation.statusbecomes
partialwhen only warnings are present. This is additive:issuesandstatuskeep
their existing meaning and shape.- The bundled
file-uploadsexample declares three checks, including a contradiction
that was already latent in it, and its answers artifact now shows an accepted trade-off
rather than an empty validation block.
Fixed
- Roadmap ledger accuracy.
TASK-125(questionnaire versioning and safe resumption) was
still described as missing detection and disclosure, which is precisely what v0.4.0
shipped. It is now marked delivered at v0.4.0, along with itsTEST-104.