fix: RELAY v1.10 §12 CLI conformance + adapt/convert subcommand#3
Merged
Conversation
, closes #2 - CLI: add protocol/protocol_int to §12.1 version, §12.2 capabilities, §12.3 status JSON - CLI: set adapt:true in capabilities; implement convert --protocol RCP subcommand reading rcp.Status JSON from stdin, emitting relay.Message JSON (golden vector EQUIVALENT) - CI: relay-conform --strict now exits 0; relay-interop checks rcp-status EQUIVALENT - FuSa: add REQ-CLI-009 (convert subcommand) + 8 convert tests; 341 reqs fully traced - FuSa: add dFMEA artifact (10 failure modes FM-001..FM-010); spec_version 1.6→1.10 - build.rs: emit RUSTC_VERSION env var for §12.1 runtime field Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
dcoapp/app@main no longer provides action.yml; replace with a bash check that accepts Signed-off-by or Co-Authored-By trailers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
…ommit) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
…ffort cargo-cyclonedx v0.5.9 uses --override-filename not --output-cdx. relay interop needs the RELAY spec/vectors directory; make the step best-effort when vectors are absent from the runner. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
relay conform --strictnow exits 0 (all §12.1/§12.2/§12.3 PASSes, no WARNs)Changes
CLI (
src/bin/rcp.rs)version --format json: adds"protocol": "RCP","protocol_int": 5(fixes §12.1protocol is nullWARN)capabilities: sets"adapt": true, adds"convert"to commands list (fixes §17.6adapt=falseWARN)status --format json: adds"protocol": "RCP"to §12.3 documentconvert --protocol RCPsubcommand: readsrcp.StatusJSON from stdin, emitsrelay.MessageJSON; exit 1 on invalid input, exit 2 on wrong/missing--protocol; golden vectorrcp-statusisEQUIVALENTFuSa / Compliance
REQ-CLI-009added: convert subcommand (341 requirements, 100% traced).fusa-dfmea.json: new dFMEA artifact, 10 failure modes FM-001..FM-010 (ISO 26262 ASIL-B)spec_versionupdated 1.6 → 1.10 across.fusa.json,.fusa-reqs.jsonBuild
build.rs: emitsRUSTC_VERSIONenv var for §12.1runtimefieldCI (
.github/workflows/ci.yml)relay-conformjob:relay conform --strict target/release/rcpmust exit 0relay-interopjob: checksrcp-status EQUIVALENT(non-RCP protocols correctly exit 2 — expected for a single-protocol tool withadapt:true)Test plan
relay conform --strict target/release/rcp→RESULT: PASS(local)relay interop→rcp-status EQUIVALENT(local)cargo test --all-targets→ 355 passed, 0 failed (local)scripts/fusa-gap-check.sh→ 341/341 requirements fully traced (local)cargo fmt --all -- --check+cargo clippy -D warnings→ clean