feat(p3): relay-sc P3 async stream variant — completes cFS streamification (#168)#187
Merged
Conversation
…ification (#168, STREAM-P04) The fourth and FINAL cFS engine streamified (LC/SCH/HK/SC all P3 async streams). SC (stored-command sequencer) was sync-only (process_tick(time) -> list); now exposes the P3-native async stream interface, running the SAME verified engine. - crates/relay-sc/wit/stored_command_stream.wit: monitor: func( stream<time-tick>) -> stream<dispatched-command> (+ init/load-ats/rts ctrl). - crates/relay-sc/src/wasm_stream_component.rs: async fn monitor over a StreamReader<TimeTick>, firing due ATS/RTS via relay_sc::engine::CommandStore::process_tick — use relay_sc::engine, NOT an inline copy. - BUILD.bazel: relay_stored_command_stream_wit + //:relay-sc-stream (wasi=p3) deps on relay-sc-engine. - bazel.yml: builds //:relay-sc-stream in CI (exercised, #168 lesson) — now all four stream components build in CI. - SWREQ-RELAY-STREAM-P04 -> FV-RELAY-STREAM-004. rivet validate PASS. Backlog-driven (no new tracker activity this pass) — #168 streamification now COMPLETE: 4/4 cFS engines (LC + SCH + HK + SC). Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
The fourth and final cFS engine streamified (#168 STREAM-P04) — LC/SCH/HK/SC are now all P3 async streams. SC (stored-command sequencer) was sync-only (
process_tick(time) -> list); now exposesmonitor: func(stream<time-tick>) -> stream<dispatched-command>, a real async stream transformer firing due ATS/RTS via the verifiedrelay_sc::engine::CommandStore::process_tick—use relay_sc::engine, not an inline copy.//:relay-sc-stream(wasi=p3) deps onrelay-sc-engine; built + exercised in CI (bazel.yml now builds all four stream components).SWREQ-RELAY-STREAM-P04 -> FV-RELAY-STREAM-004, rivet PASS.Backlog-driven: no new tracker activity this pass — #168 streamification is now COMPLETE, 4/4 (LC + SCH + HK + SC). CI-validated via the Component Model cascade, mirroring the prior three.
Falsification: wrong if
//:relay-sc-streamfails to build as a P3 component; ifmonitor()calls a method absent from the verifiedrelay_sccrate; or ifgrep '^mod engine'on the stream component is non-empty.🤖 Generated with Claude Code