fix(config): enforce supported schema version — reject unknown version:N values #335
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
config_validateinscripts/lib/config.shonly checksversion:is integer. Does NOT require currently-supported schema version.version: 999passes.Should-fix rationale
Schema version exists specifically to detect this. Silent acceptance defeats purpose. v1.0.0 needs adopter configs to fail early on unsupported schema, not silent misinterpretation.
Fix
SUPPORTED_SCHEMA_VERSIONS=(1)constant in config.shAnchor
External correctness cold-read (anonymous ChatGPT session, uploaded to operator 2026-07-03). Full review surfaced 10 findings across 5 blocking-v1.0.0 + 2 should-fix pre-v1.0.0 + 3 post-v1.0.0 backlog. This tracker addresses one of them.
SHOULD-FIX pre-v1.0.0.