Repository navigation
impl(027): increment 3, the shared command surface - #128
Conversation
AI review (findings)Reviewing the PR, which extracts Finding 1 – Stated merge precondition is violated Finding 2 – Memory host's fn write_all(&self, files: &[(String, Vec<u8>)]) -> Result<(), IoFail> {
for (l, b) in files {
self.create(l, b)?; // fails on second file, first already written
}
Ok(())
}
Finding 3 – Memory host silently truncates reads instead of signalling fn read_classified(&self, label: &str, max: usize) -> Result<Option<Vec<u8>>, ReadFail> {
Ok(self.inputs.get(label).map(|b| b[..b.len().min(max)].to_vec()))
}The real host returns {"head": "c60594feaf82553fbebf4d578c27d9ab4cecfdf7", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "The added spec text states this increment must not merge before spec 045 is ratified, but spec 045 does not exist in the repository, so the PR violates its own stated merge precondition."}, {"path": "crates/rustev-surface/tests/memory_host.rs", "line": 44, "summary": "Memory::write_all does not roll back already-written outputs on partial failure, violating the 'all or none' contract documented on Host::write_all."}, {"path": "crates/rustev-surface/tests/memory_host.rs", "line": 19, "summary": "Memory::read_classified silently truncates at max bytes instead of returning ReadFail::Budget, so the oversized-bundle detection in read_bundles (which reads max+1 bytes and checks length) cannot be validated through this host."}]}Subject: 8eb4c6c...c60594f, diff digest 37bcaadd0cf1b1a43ed40d53969e45301619a3a9ad5f2a4f3779411d9e25bfc6, 1 call(s). An AI comment is not an approval. |
8eb4c6c to
69c81a9
Compare
c60594f to
3a55eab
Compare
AI review (findings)Reviewing the extraction of
Archive policy —
Spec 045 dependency — No logic regressions, security issues, or behavioral divergences from the original CLI output found. The goldens-unchanged constraint and the {"head": "3a55eabd45ff6ee478e2f0a30ccf535288d57129", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "Increment 3 states it merges only after spec 045 is ratified, but spec 045 is absent from this PR and from the repo context; the release-set and archive-policy changes that depend on it land without the prerequisite spec being present."}]}Subject: 69c81a9...3a55eab, diff digest 2629e7472c4dce1cff271240fc1fd786d2f139d89a2b5738d33903f5521db3df, 1 call(s). An AI comment is not an approval. |
69c81a9 to
536fe52
Compare
3a55eab to
2e1ab34
Compare
AI review (findings)ReviewThis PR extracts the pure command surface from Findings
Spec 045 does not appear in the repo context (no
Non-issues confirmed
{"head": "2e1ab340d56732def83534ca4f88bc13127a23b6", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": 792, "summary": "The increment text states it may only merge after spec 045 is ratified, but spec 045 does not exist in the repository; the PR violates its own stated merge gate."}, {"path": "crates/rustev-surface/src/eval.rs", "line": 148, "summary": "write_all calls ensure_absent on each path before host.write_all, creating a double-check for callers (e.g. calibrate.rs) that already ran ensure_absent upfront; the Host trait does not document idempotency of ensure_absent, which could trap a future host implementation."}, {"path": "crates/rustev-surface/src/run.rs", "line": 79, "summary": "addressing is exported pub unnecessarily: it is only called internally by the pub judged function, so exposing it widens the published crate's API without a stated need."}]}Subject: 536fe52...2e1ab34, diff digest a3bc1f6d72d246b1d520daa747564479d30125547749d5471c2e7c390666a60e, 1 call(s). An AI comment is not an approval. |
536fe52 to
404e143
Compare
2e1ab34 to
721be94
Compare
AI review (findings)The PR extracts the pure command surface from
No security issues or logic errors detected in the code itself; the surface logic is a clean, faithful extraction of the CLI logic with appropriate {"head": "721be942cdd45b2fcb0980500e8304859da04f53", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "Increment 3 is conditioned on ratification of spec 045, but spec 045 is absent from the repository; the release-set and archive-policy changes it requires are already merged."}]}Subject: 404e143...721be94, diff digest cf15962212698c50191a3963835e9c445866e4e952fb5b416c9256f819279560, 1 call(s). An AI comment is not an approval. |
404e143 to
be2a979
Compare
721be94 to
b0e556a
Compare
AI review (findings)The PR extracts a new Process gate not satisfied. The spec 027 increment 3 text (added in this PR) explicitly says: "this increment merges only after the owner ratifies spec 045." There is no spec 045 file anywhere in the repository — the REPO CONTEXT shows specs only up to spec 044, and none is added in this PR. The merge condition stated in the spec text is unmet.
{
"head": "b0e556af9f6fe7cd80bf261c402b514956c64519",
"verdict": "findings",
"findings": [
{
"path": "specs/027-node-and-wasm-bindings/spec.md",
"line": null,
"summary": "Increment 3 text states 'this increment merges only after the owner ratifies spec 045', but no spec 045 file exists in the repository or this PR."
},
{
"path": "crates/rustev-surface/Cargo.toml",
"line": 18,
"summary": "`include = [\"/src/**/*.rs\", \"/LICENSE\"]` excludes `Cargo.lock` and `README.md` that `archive-policy.json` expects in the published `rustev-surface` archive."
}
]
}Subject: be2a979...b0e556a, diff digest cf15962212698c50191a3963835e9c445866e4e952fb5b416c9256f819279560, 1 call(s). An AI comment is not an approval. |
be2a979 to
825c89a
Compare
b0e556a to
224c026
Compare
AI review (findings)The PR extracts One substantive finding:
{"head": "224c02687ad7f174a0b5c03de30341a6ce9b9abb", "verdict": "findings", "findings": [{"path": "tools/rustev-release/release-set.json", "line": null, "summary": "rustev-surface added to the release family under draft spec 045, which the spec text requires to be ratified before this increment merges — spec 045 is absent from the repository."}]}Subject: 825c89a...224c026, diff digest f400a85af7b6b2b64b24aaeb350a5e16f621b11c074ee1232dfe8fdd747b578f, 1 call(s). An AI comment is not an approval. |
825c89a to
9422236
Compare
224c026 to
edcb709
Compare
AI review (findings)ReviewThe PR extracts the CLI's pure command logic into a new Logic and correctness
Spec gating — merging requirement not met
Spec 045 does not appear in the changed paths and is not present in the repo context. Yet Memory-host truncation (test quality)
.map(|b| b[..b.len().min(max)].to_vec())An oversized input reaches the document parser as a corrupt payload rather than an oversized one, masking the distinct "oversized" error path. This only affects the test host, not production, but it means the test cannot verify that oversized inputs produce the expected {"head": "edcb709089d5320186cc423330050b6c8bf96788", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "The spec text for increment 3 explicitly requires spec 045 to be ratified before merging, but spec 045 is absent from this PR and from the repo context; the release-set and archive-policy changes already assume its approval."}, {"path": "crates/rustev-surface/tests/memory_host.rs", "line": 28, "summary": "The memory host silently truncates reads to `max` bytes, so an oversized input reaches the document parser as a corrupt payload rather than producing a distinct oversized error, leaving that branch untested."}]}Subject: 9422236...edcb709, diff digest f400a85af7b6b2b64b24aaeb350a5e16f621b11c074ee1232dfe8fdd747b578f, 1 call(s). An AI comment is not an approval. |
9422236 to
d066d92
Compare
edcb709 to
541973e
Compare
AI review (findings)Looking at this PR, which extracts a new Logic migration — no behavioral differences found. Each command in Host trait contract. Memory host test. The
Release-set and archive-policy. One clear finding: The spec update at {"head": "541973ed719db3333c1de7cfc7e552c98812485e", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "The spec text for Increment 3 states the PR merges only after spec 045 is ratified, but spec 045 does not exist in this repository, leaving the declared merge gate unmet."}]}Subject: d066d92...541973e, diff digest f400a85af7b6b2b64b24aaeb350a5e16f621b11c074ee1232dfe8fdd747b578f, 1 call(s). An AI comment is not an approval. |
4153cd8 to
fbbdc17
Compare
AI review (no-findings)Reviewing the PR, which extracts the pure command surface from Logic and behavioral consistency The extraction in The
Run envelope ( The tuple restructuring from Archive policy
Cargo.lock
Test The in-memory host implements all No bugs, security issues, or behavioral inconsistencies found. {"head": "fbbdc17f28b016271662c424cb8b519dcee852b1", "verdict": "no-findings", "findings": []}Subject: 90c1fd7...fbbdc17, diff digest 3d850e2eeb1d85975a9097b428d77279c7a7e9f938239da3b9603e280388f0c1, 1 call(s). An AI comment is not an approval. |
90c1fd7 to
5b772dc
Compare
fbbdc17 to
5a8b9d5
Compare
AI review (findings)Reviewing the PR: extraction of CLI command logic into a new host-agnostic Architecture / logic The refactor is structurally sound. The surface's
The Ownership of
Everything else checked
{"head": "5a8b9d5a39633265d7b5cd7361877e7ca06beef6", "verdict": "findings", "findings": [{"path": "tools/rustev-release/archive-policy.json", "line": null, "summary": "rustev-surface is a library crate but its archive-policy entry lists \"Cargo.lock\", which Cargo does not include in published library-crate archives; if the archive test validates exact file membership this entry will fail."}]}Subject: 5b772dc...5a8b9d5, diff digest 3d850e2eeb1d85975a9097b428d77279c7a7e9f938239da3b9603e280388f0c1, 1 call(s). An AI comment is not an approval. |
5a8b9d5 to
5ee2c1f
Compare
5b772dc to
40bf9f8
Compare
5ee2c1f to
a22b5b0
Compare
AI review (findings)The PR extracts the command surface logic from 1. Spec sequencing violation in release artifacts
2. Forward reference to missing spec in test comment
3. Misleading crate keyword
4. Redundant
{"head": "a22b5b0cd9e13cf35979d71cfd3ada2d8b80d465", "verdict": "findings", "findings": [{"path": "tools/rustev-release/release-set.json", "line": 17, "summary": "rustev-surface is added to the release family before spec 045 exists in the repo; the spec.md for this increment explicitly states it must merge after spec 045 lands."}, {"path": "tools/rustev-release/tests/manifests.rs", "line": 83, "summary": "Comment references spec 045 which is absent from the repository, creating a stale forward reference."}, {"path": "crates/rustev-surface/Cargo.toml", "line": 12, "summary": "The 'cli' keyword is misleading for a library crate and will miscategorize it on crates.io."}]}Subject: 40bf9f8...a22b5b0, diff digest 6477206e2aca806fdc7b1fc65a010b178449e1a5a2d714cf9e53bb203f073bec, 1 call(s). An AI comment is not an approval. |
40bf9f8 to
c606867
Compare
a22b5b0 to
e1728ff
Compare
AI review (findings)Reviewing the PR, which extracts Structural correctness: The refactoring is mechanically sound. The Type safety for Spec ordering violation: {"head": "e1728ff20a0099f614538847b5694ec6dfd3cff0", "verdict": "findings", "findings": [{"path": "specs/027-node-and-wasm-bindings/spec.md", "line": null, "summary": "Increment 3 text added by this PR states it must merge after spec 045 (specs/045-command-surface-release-layer/), but that spec does not exist in the base commit; release-set.json adds rustev-surface to the release family without the authorizing spec present."}]}Subject: c606867...e1728ff, diff digest ed9380c37add1310824295624fdb14b587f99cdbad3b6f0d665401c9158858ac, 1 call(s). An AI comment is not an approval. |
c606867 to
c9239cd
Compare
e1728ff to
799024f
Compare
c9239cd to
d4fc8eb
Compare
799024f to
33d6a2d
Compare
AI review (no-findings)This PR extracts Behavior parity — every refactored command preserves the original logic:
Archive and release metadata —
No bugs, security problems, or behavioral inconsistencies found. {"head": "33d6a2d7eeddb088e103a4a6ae5dea9ab773c230", "verdict": "no-findings", "findings": []}Subject: d4fc8eb...33d6a2d, diff digest ed9380c37add1310824295624fdb14b587f99cdbad3b6f0d665401c9158858ac, 1 call(s). An AI comment is not an approval. |
33d6a2d to
b3ae816
Compare
AI review (no-findings)The PR extracts the pure command surface from Architecture: The Behavioral fidelity:
Dependencies: Memory host test: Release metadata: No behavioral changes, security issues, or spec inconsistencies found. {"head": "b3ae816459f861c0433d3e4f27a46744bab43563", "verdict": "no-findings", "findings": []}Subject: 2cda285...b3ae816, diff digest ed9380c37add1310824295624fdb14b587f99cdbad3b6f0d665401c9158858ac, 1 call(s). An AI comment is not an approval. |
b3ae816 to
d3d5a34
Compare
AI review (no-findings)The PR extracts CLI command logic into
Memory host Archive policy. Release-set ordering. No bugs, security problems, or inconsistencies found. {"head": "d3d5a34e48ccfabd0dd7813cccef352e702d0759", "verdict": "no-findings", "findings": []}Subject: 2cda285...d3d5a34, diff digest b098a51a705d95d3b2c0e85de59f438de45ccf6b3404527ae938aaaee1df689b, 1 call(s). An AI comment is not an approval. |
Spec 027, increment 4 (first change): the shared conformance suite, its manifest, and the Rust runner over every CLI golden. Stacked on #128. - `tools/rustev-conformance` (`publish = false`; excluded from the release set as repository tooling): `cases/manifest.json` (`rustev.conformance-manifest/1`) with 29 cases, one per CLI golden, each listing argv, exit code, inputs (repo path, name, SHA-256) and outputs (stdout or a written file, the golden by repo path and SHA-256, normalizations). CLI goldens are referenced in place, never copied. - Cases are harvested from the CLI tests that pin the goldens (`RUSTEV_HARVEST=1`; `make conformance-harvest`): inputs as they were before the invocation, under `fixtures/<case>/`. - Normalizations are the goldens' own (`receipt`, `timing`), in one file shared by the CLI tests and the runners. - `make conformance` (no Node toolchain) runs every case through `rustev_cli::execute` in a fresh directory and compares outputs and exit codes; tests also check full golden coverage, digests, that `plan_id` is compared as bytes, and that a differing output or exit code is reported. - Runtime cases as data, `eval`/`gate` on the packaged tasks, and the bindings' surfaces follow in later changes. Second change (runtime cases as data, 3.12.4), folded in: five cases under `cases/runtime/` mirroring `admission.rs`, `budget.rs`, `retry.rs`, `time.rs` and `cancel.rs` (each names its test). A case declares plan/descriptor/calibration fixtures (built from spec 002's builders), runtime bounds, a scripted backend per registration (per-task answer sequences, cost, remote end, cancel answer, release answers), requests, and manual-clock driver steps. `rustev_conformance::runtime` interprets it with Rust seams; results and record bytes are committed under `expected/runtime/` and compared without normalization, and the test checks each expected record against what the mirrored test asserts. The manifest is now the aggregate of `cases/cli/` and `cases/runtime/` (drift-checked). Review round 1 (3 findings): (1) `sha2` is a normal dependency of `rustev-cli`, so its tests can use it; the harness says so. (2) Fixed: the files an invocation wrote are read as soon as it ends, so a file the test writes later is never taken for an output. (3) Fixed: a normalization that does not apply is reported as such, not as a difference; test added. Review round 2 (5 findings): fixed: the harvest probes no normalization and then each one `normalize::NAMES` lists (one list beside `apply`); the scripted answer clamps the attempt number to the script; the coverage count counts JSON goldens only. Answered: the first golden a test pins names its case, and a reordering that renames it is reported by the manifest drift check (the harness says so); the refusal fixture with a repeated `name` key is refused by the bounded parser (duplicate keys are a category 1 refusal), which the case's golden shows and the runner reproduces. Review round 3 (5 findings): (1) fixed: the harvest snapshots the whole scratch directory before the invocation and takes as written only files new or changed against it. (2) fixed: a directory entry error panics instead of being skipped. (3) fixed: the CLI call changes the working directory under a process-wide lock through a guard that restores it on drop, panic included. (4) fixed: an output file that cannot be read is reported with its error; only a missing file is "no output". (5) The `#[path]` inclusion of spec 002's shared builders is the repository's existing pattern (the CLI's tests include them the same way): source inclusion needs no crate edge and the builders' dependencies are this crate's dev-dependencies; the module is renamed `builders` so it no longer shadows `core`, and the code says so. A re-harvest leaves every case unchanged except two replay bundles whose recorded run timing is wall-clock; the committed ones stay. Restacked on #128. Review round 4 (7 findings): (1) fixed: a case file that exists but does not parse fails the harvest instead of being replaced. (2) Every committed digest is 64 hex characters (all 322 checked), including actionable.plan.json's. (3) The duplicate `name` in `refusal-01/cat-01.definition.json` is the point of that case: it is category 1's parse refusal, and its golden reads `bounds: duplicate key "name" at byte 761`; the bounded parser refuses duplicate keys rather than taking the last. (4, 5) fixed: a case's paths and input names must be relative paths of normal components (`contained`), so nothing is read or written outside its directory; tested. (6) fixed: a release answer that gates again is a script error, failed like a missing answer, so a gate never waits forever. (7) fixed: receipt normalization replaces only a receipt the output has. Review round 5 (4 findings): (1) Repeated: the duplicate `name` in `refusal-01/cat-01.definition.json` is the case: the bounded parser refuses duplicate keys (its golden reads `bounds: duplicate key "name"`); serde_json's last-wins never runs. (2) fixed: a missing case directory or unreadable entry fails aggregation naming it. (3) fixed: the working-directory guard reports a failed restore while a panic unwinds instead of panicking twice. (4) fixed: each run's scratch directory is unique (process id and time) and created fresh. Review round 6 (2 findings): (1) Repeated a fourth time, so a test now pins it: `the_duplicate_key_case_is_the_parsers_refusal_of_it` checks that `refusal-01`'s definition carries the top-level `name` twice (`x`, then `support-routing`) and that its golden is the bounded parser's refusal (`duplicate key \"name\"`); serde_json's last-wins never applies, because the bounded scan refuses duplicates first. (2) fixed: an output's stream-or-file error names which rule it broke (an unknown stream, both set, or neither). Review round 7 (3 findings): (1) fixed: the harvest tries every combination of the known normalizations, fewest first, so a golden needing `receipt` and `timing` together is found. (2) Repeated a fifth time, and the test added last round answers it: the bounded parser refuses the duplicate before serde_json would see it, and the case's golden is that refusal (`duplicate key \"name\"`), pinned by `the_duplicate_key_case_is_the_parsers_refusal_of_it`. (3) fixed: on a divergence the scratch directory is kept and its path printed. Review round 8 (3 findings): (1) Repeated a sixth time; unchanged answer: the fixture's duplicate `name` is the case, and `the_duplicate_key_case_is_the_parsers_refusal_of_it` pins that its golden is the bounded parser's refusal. (2) fixed: an output's `file` must be a contained relative path too, like an input name. (3) fixed: the runtime runner's scratch directory is unique per case and run and is kept, with its path printed, when a case diverges. Review round 9 (3 findings, none a defect; the code now says why): (1) Repeated a seventh time: the duplicate `name` is the case under test, pinned by `the_duplicate_key_case_is_the_parsers_refusal_of_it`. (2) `runtime.deadline` sets no request deadline on purpose: the support plan's own `deadline_ms` (2000) applies, and the case passes with `deadline_expired` true; the field's documentation says so. (3) An ignoring backend's never-ending future is the behavior under test: the runtime polls a cancelled attempt once (spec 003, 3.7.3), records `not_observed` and ends the decision without it; `runtime.cancel` passes on both runners. A comment at that arm says so. Split (the AI review was cancelled at its 15-minute limit twice): this PR is now increment 4's first change, the suite, its Rust runner and the 29 CLI cases; the runtime cases (`src/runtime.rs`, `tests/runtime.rs`, `cases/runtime`, `fixtures/runtime`, `expected/runtime` and their dependencies) move to a second PR stacked on this one, and #130 is restacked on that. Review round 10 (6 findings): (1, 6, and a defect they pointed at) fixed: the harvest no longer probes combinations of normalizations; each output gets exactly the normalizations its shape calls for (`normalize::applicable`: `receipt` when it has a top-level `receipt`, `timing` when it has `timing`). Probing let a run fast enough to time every step at 0 match with no normalization, or with a no-op one, and record a case that later runs would fail. A full re-harvest records every case exactly as committed. Normalizing also sets only fields an output has, never adding a `timing` key. (2) By design: an `--out` that already exists is an input; the no-clobber cases need it there for the CLI to refuse it, and the code says so. (3) The shared `normalize_timing` is the one the CLI goldens now pass with; a difference would fail those tests, not pass silently. (4) fixed: a case file left from an earlier harvest must record the same inputs this harvest copied, or the harvest fails and says to rebuild. (5) fixed: the comment no longer says "both" directories. Review round 11 (4 findings): (1) Repeated: the shared `normalize_timing` is in this PR (`tools/rustev-conformance/src/normalize.rs`) and is what the CLI's timing-normalized goldens pass with; a difference fails those tests by name. (2) fixed: the command words before the first flag are never probed as paths. (3) fixed in what it guards: `normalize.rs` states it may use only what both crates depend on, and both crates compile it, so a stray import fails a build at once. (4) Not so: both record goldens are covered as the written outputs of the `lodging.run` and `support.run` cases, and the coverage test passes. A full re-harvest still records every case as committed. Review round 12 (1 finding, repeated, and wrong): the coverage set holds every golden any output pins, and each `run` case pins two (its printed output and its record), so all 31 goldens are covered by 29 cases; the test passes in CI. It now also asserts by name that both record goldens are covered.
Spec 027, increment 3 of 7:
rustev-surface, the shared command surface, adopted by the CLI. Stacked on #126. Merges only after the owner ratifies draft spec 045 (#127), which admitsrustev-surfaceto the release family in its own layer before the CLI.crates/rustev-surface:plan check|compile|show, offlinereplay,eval,gate,calibrate fit|qualify, shared dependency reading, the task adapter, command output and exit codes, and therunresult envelope. The CLI's code, moved: typed arguments plus aHost(bounded/budgeted reads by label, never-overwrite publication, all-or-none writes, label joining) and a rules-descriptor hook. Depends on contract, core, eval, serde, serde_json only.ReadsimplementsHost), the store resolver, the rules backend and the runtime; each command checks flags and calls the surface;runprints through the surface envelope.tests/memory_host.rsdrives the surface from an in-memory host and gets the CLI's golden bytes forplan checkandplan show.rustev-surfaceinrelease-set.json(layer 4, CLI layer 5, upload order), the release-set test's member list, andarchive-policy.json(new surface allowlist;adapter.rs/out.rsleave the CLI's).rustev-releasemanifests and archives tests pass;make boundariespasses.Review round 1 (3 findings): (1) the merge precondition is deliberate: spec 045 is drafted in #127 for the owner's ratification and this increment waits on it, as its record says; (2) fixed: the test host's
write_allremoves what it wrote when a later write fails; (3) the test host reads at mostmaxbytes, exactly as the CLI's file host does (a caller detecting an oversized input asks for its limit plus one and compares lengths); it has no aggregate budget, so it reports none; the code says so.Review round 2 (1 finding): as in round 1, the precondition is deliberate and tracked: spec 045 is drafted in #127 for ratification; this pull request is not merged before it.
Review round 3 (3 findings): (1) the spec 045 precondition stands as stated (#127, awaiting ratification); (2)
Host::ensure_absentis documented as a pure, repeatable check, which every command relies on; (3) fixed:addressingis private to the envelope;judgedis the public entry.Review round 4 (2 findings): (1) the spec 045 precondition stands (#127, awaiting ratification); (2) Cargo adds
Cargo.toml.orig,Cargo.lock,.cargo_vcs_info.jsonand the workspace readme beyondinclude(as for every release member), andrustev-release's archives test comparescargo package --listwith the policy; the manifest comment says so.Review round 5 (2 findings): (1) the spec 045 precondition stands (#127, awaiting ratification); (2) the test host reads at most
maxbytes exactly as the CLI's file host does; a caller detecting an oversized input asks for its limit plus one byte and compares lengths, which the surface's callers do. (Increment 5 replaces this test host with the sharedhost::Memory.)Review round 6 (1 finding): spec 045 is added by #127, not this branch, by design: this PR is held (no auto-merge) until #127 merges and the owner ratifies 045. The spec record now names that dependency and the hold explicitly. Restacked on #126.
Review round 7 (1 finding, fixed):
eval::write_alltakes its files by value and moves the bytes into the host's list; nothing is copied.Review round 8 (1 finding):
cargo packagewritesCargo.lockinto every archive, library or not (cargo package -l -p rustev-surfacelists it), and every member's allowlist names it; the archive test compares against realcargo packageoutput and passes. The spec record now says so, and records spec 045's ratification (A-42).Review round 9 (3 findings): (1, 2) Spec 045 is ratified (A-42) and lands with #127, which waits only on the owner's environment approval; this branch is rebased onto main after #127 merges, before it can merge, so 045 is in the tree it merges into. (3) fixed: the crate's keywords and category describe a library (
decision-engine,commands,bindings;development-tools).CI
verify(spec 006's mutation seeds) failed on this branch: the seeds still namedcrates/rustev-cli/src/files whose command logic this PR moves intorustev-surface. Fixed: the 13 seeds in moved code now name the surface file their anchor lives in (one anchor changed with the move:host.ensure_absent), and run the CLI's tests and the surface's own, since the adapter's unit tests moved with it. Locally all 29 seeds were run: 27 detected by the CLI's tests alone, and the two adapter seeds detected once the surface's tests run too (4/4 in the adapter category). The spec record says so.