Sync schemas to pack-spec 4.20.0: the hand-rolled validator passes two new invalid fixtures #47
Labels
No labels
boundary:crosses
boundary:none
bug
devfu
documentation
duplicate
enhancement
epic
good first issue
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Stallari/plugins#47
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?
Filed under: follow-ups round 2026-11-22 (operator word
~/src/_architect/afk-batch-2026-11-22/operator-word-followups.md, sha256 7056b2c277c5). Found while landing #40 (PR #44,3ee6e76).What happens
schemas/version.jsonsays4.12.0at main4918e60. Stallari/pack-spec main (59313bc) is at4.20.0. CI does not compareschemas/with pack-spec, so the lag stays green.make sync-pack-spec PACK_SPEC_DIR=<pack-spec at 59313bc>on main3ee6e76(measured 2026-11-22 on voyager, scratch worktree, nothing pushed) changes:schemas/version.jsonschemas/stallari-add-on.schema.jsonschemas/stallari-pack.schema.jsonschemas/schema-enums.jsonschemas/error-codes.jsonschemas/tool-groups.jsonlensgroup, #39)schemas/fixtures/invalid/unknown-attention-ceiling.yaml,unknown-receipt-disposition.yamlschemas/fixtures/valid/spec-version-3.0.0-attention-ceiling.yaml,spec-version-3.0.0-sealed-credentials-deprecated.yaml,spec-version-3.0.0-track-lifecycle-receipts.yamlThe CI steps on the synced tree:
build-forge-context.js,validate-packs.js,security-scan.jsandbuild-catalog.jsexit 0.node --test scripts/*.test.jsgives 230 tests, 213 pass, 2 fail, 15 skipped.Both failures are in
scripts/validate-packs.fixtures.test.js:145(pack-spec fixture corpus — invalid), withexpected invalid, got valid:unknown-attention-ceiling.yaml(attention_ceiling: shouty)unknown-receipt-disposition.yamlThe hand-rolled
validatePack()inscripts/validate-packs.jschecks neitherattention_ceilingnor thereceiptsdisposition map (pack-spec 4.16.0, ADR-0039 slice 1). So the sync is not a copy: the validator needs two new checks, or a ruling to list the two codes inSKIPPED_CODES.Expected
schemas/matches pack-specdist/json/andfixtures/at the 4.20.0 release, andschemas/version.jsonsays4.20.0.validatePack()rejects an unknownattention_ceilingvalue and an unknownreceiptsdisposition, andCODE_PATTERNShas a pattern for each code.tool-groups.jsonand thelensgroup).Acceptance criteria
make sync-pack-specagainst pack-spec 4.20.0 leaves no diff.node --test scripts/*.test.jspasses with 0 fail, and both new invalid fixtures fail validation with their expected code.validate-packs.jsandbuild-catalog.jsstill exit 0 on the pinnedstallari-packs.validationis green.Not decided here
SKIPPED_CODES.schemas/lags pack-spec.Blocked by
None - can start immediately