-
SCOPE. Implement only what
SUPPORTED.mdlists. A construct outside the decodable subset is represented in the IR and reported asXtceError::Unsupportedat decode time — never implemented ad hoc, and never silently ignored when it could change which container matches. Do not widenSUPPORTED.mdwithout being asked. -
MILESTONES. Work M0 → M1 → M2 → … in order. Do not advance until the exit condition in
xtce-rs-spec.mdhas been verified by running a command. Assume nothing. -
COMMITS. After each milestone and each self-contained unit of work. Conventional commits. Never commit code that does not compile.
-
BLOCKERS. If two attempts do not resolve something, add an entry to
BLOCKERS.md(what, why, what was tried) and move on. Do not loop. -
QUALITY. No
unwrap(),expect()orpanic!in library code — the lints are enforced at the crate root, tests are exempt.cargo clippy --all-targets -- -D warningsmust pass. Every parser change gets a test with a minimal XML snippet inline in the test, not a file. -
CORRECTNESS IS DIFFERENTIAL. The Python reference decides. If this crate and
space_packet_parserdisagree on a bundled test file, this crate is wrong until proven otherwise, and the proof goes inSUPPORTED.mdunder "Deliberate divergences". -
LOG. Append to
PROGRESS.mdafter each milestone: what was done, what works, what is next. Terse. -
DEPENDENCIES.
quick-xml,thiserror,clap,criterion,proptest,quote,proc-macro2,prettyplease,pyo3,serde/serde_json(tests and CLI only). Anything else needs a justification inPROGRESS.md. Do not publish to crates.io.