Repository navigation
impl(069): the Node binding's filesystem host opens inputs without blocking; spec 069 complete - #570
Conversation
AI review (findings)Reviewing the changes: Code correctness The implementation is sound. Spec coverage gap The spec 069 {"head": "088f2cec8911a6a06e291ba38ad46912f85bd245", "verdict": "findings", "findings": [{"path": "specs/069-node-host-nonblocking-open/spec.md", "line": 27, "severity": "medium", "category": "correctness", "summary": "spec 069 extends does not declare any unit over crates/rustev-surface/ even though Cargo.toml, src/host.rs (new open_input function and test module) in that crate are all changed by this PR, leaving the coupling gate unsatisfied for those paths."}]}Subject: 20533f0...088f2ce, diff digest 6460e2b63899824813bcbf190acd52b511b813599a21d43139c03b45b4c92e55, 1 call(s). An AI comment is not an approval. |
088f2ce to
bd283dc
Compare
AI review (no-findings)Reviewing the diff. The PR moves Code correctness
Tests Both new test functions ( The Mutation seeds The first seed ( Spec / lifecycle
Cargo / dependency graph
No concrete defects found. {"head": "bd283dc61147609e5f75de8f64ffbe8506b456b3", "verdict": "no-findings", "findings": []}Subject: 20533f0...bd283dc, diff digest a4b51afc21651338296795892959a48bc36c359025b39c2e6e160b13d81eda8a, 1 call(s). An AI comment is not an approval. |
bd283dc to
3108550
Compare
AI review (no-findings)Reviewing the PR against the governance context. The change moves Code correctness The moved function in The
Tests The FIFO tests in both Boundaries
Spec lifecycle Spec 069 was already Mutation seeds The first seed now lists No defects found. {"head": "31085506f67991508f5262632c34c8333485c5be", "verdict": "no-findings", "findings": []}Subject: c40b37e...3108550, diff digest a4b51afc21651338296795892959a48bc36c359025b39c2e6e160b13d81eda8a, 1 call(s). An AI comment is not an approval. |
…ocking; spec 069 complete
3108550 to
5032fd3
Compare
AI review (no-findings)Reviewing the diff against the governance context and the spec. Lifecycle change ( Code move correctness (
Error propagation in Test placement ( Mutation seeds: Correctly redirected to
Verification block: Declared commands match the actual test structure ( No concrete bugs, security problems, or governance contradictions found. {"head": "5032fd3d23e3ca80307f7b3af8a66736badcfe3c", "verdict": "no-findings", "findings": []}Subject: f9de5a4...5032fd3, diff digest 62d7daf03050fd452faea39fb45a5e0fbd36b99ee0c1fffcc77af9e2a4415e3a, 1 call(s). An AI comment is not an approval. |
Summary
Implements spec 069 (#566; spec merged in #569). Stacked on #575, the dependency-only change (
rustev-surfacetakeslibcon Unix), which the policy-isolation guard requires to be its own pull request. Spec 069 becomesimplementation: complete.rustev_surface::host::open_inputis the CLI's formeropen_input, moved unchanged (read-only; UnixO_NONBLOCK, plusO_NOFOLLOWwithno_follow; plain open elsewhere). Thelibcdependency arrives in deps(069): rustev-surface takes libc on Unix for the shared non-blocking open #575;rustev-clikeeps its now-unusedlibcentry until a later dependency-only change, and re-exports the function, so its callers and tests are unchanged.integrations/rustev-node/src/live_fs.rsopens document inputs throughopen_regular(non-blocking, check on the handle) and store items throughopen_item(non-blocking, no-follow), closing the FIFO swap race 067's record left to rustev-node liveRun filesystem host: a FIFO swapped in between the metadata check and the open can block (CLI uses a non-blocking open) #566.rustev-surfaceopen_tests(FIFO opens at once; a link is refused withno_follow) andrustev-nodea_fifo_reached_by_the_open_is_refused_without_blocking(input and store item refused within 10 s; linked store item refused), Unix only.crates/rustev-surface/src/host.rs.VERIFIED_SPECSand thenode-liveacceptance group.Verification
make gateandspec-spine couplepass.cargo testforrustev-surface,rustev-nodeandrustev-cli, clippy and fmt: run locally in parallel with CI; results follow in a comment.