Protocol 2.2 parser/schema reject declared diagnostic and source IDs #666
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#107 Phase 2: Parse protocol and stage commands
erikinkinen/AES
Reference
erikinkinen/AES#666
Loading…
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?
Problem
The accepted protocol 2.2 common envelope has incomplete enum inventories in
both the native parser and JSON Schema. It rejects the declared diagnostic
V5d(section 9.5), admits undeclaredV2c, and rejects all five source IDsadded by section 4.5:
native_repr,application_conformance,app_sharing,app_jobs, andapp_plugins.This blocks faithful serialization of the frozen diagnostic family and later
source populations. The envelope accepts phases 2–6; phase ownership and
scientific qualification remain separate stage gates.
Reproduction and authority
The unmodified baseline document parses successfully. On accepted main
8ed9e598d030c8cc9b8d871e7d425e9628d70965, the native parser and JSON Schemaboth reject each of the six declared-ID cases and accept undeclared
V2c.The native probe was built from
13e970e271747e881dda2d463e043b8d3957b3fc;its parser and schema source bytes are identical to this accepted main.
Exact inputs, outputs, source/binary hashes and independent schema outcomes
are preserved locally for the validation archive.
Governing source: frozen
docs/research/protocol-2.2.txt, sections 4.5,6.3, 7.3, 8.3, 9.5, 10.5 and 11. The exact diagnostic inventory is
V2a/V2b, V3a/V3b/V3c, V4a/V4b/V4c, V5a/V5b/V5c/V5d, V6a/V6b/V6c.
There are fifteen diagnostics and twelve source IDs.
Fix
Use closed exact inventories in the native parser and JSON Schema. Document
all declared IDs and add independent fixture coverage for every declared
member, invalid near-neighbors, and full inventory round trips. Preserve all
other validation, stage registration, phase ownership and scientific gates.
This corrects implementation to the frozen protocol; it changes no endpoint,
margin, population, matrix or scientific protocol version.
Steps
Definition of done
One signed branch and PR for this bug, queued after the current validated
run-manifest stack so existing pending heads keep their accepted source bytes.
Require the selected predecessor accepted, native prerequisite #107 closed,
and all ten own exact-head contexts before the single checklist update and
guarded signed fast-forward merge. Store source/integration evidence and
explicitly retain the original failing cases. Parser acceptance does not
certify a campaign or its scientific locks.