Skip to content

docs: record decision to reject parse-don't-validate seam#29

Merged
lesnik512 merged 1 commit into
mainfrom
docs/parse-dont-validate-decision
Jul 10, 2026
Merged

docs: record decision to reject parse-don't-validate seam#29
lesnik512 merged 1 commit into
mainfrom
docs/parse-dont-validate-decision

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Records the architecture review's Candidate 3 (type-enforce the validate->emit seam via a typed CheckedDocument that emit consumes) as a rejected decision with a revisit trigger, so future reviews don't re-suggest it.

Rationale (in the decision file): the service-key registry (#27) and the complete validation gate (#28) already delivered the practical safety — a direct emit_script on a malformed doc now fails cleanly, and emit no longer re-derives shape knowledge. Candidate 3's residual unique benefit (blocking a valid-but-unvalidated dict from reaching emit) is CLI-unreachable and not worth a typed-model rewrite of the just-built registry plus a breaking public API. Revisit if a second emit consumer/output format appears, or the validate-before-emit convention causes a real bug.

planning/decisions/2026-07-10-reject-parse-dont-validate.md. Docs-only.

🤖 Generated with Claude Code

@lesnik512 lesnik512 merged commit 456c34c into main Jul 10, 2026
6 checks passed
@lesnik512 lesnik512 deleted the docs/parse-dont-validate-decision branch July 10, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant