Repository navigation
PASS
Baseline. This re-reviews 717988e3 against the PASS on 8bdcefe0 (this PR), on the same arch 327e1b57. The checkout has no arch-map.md, so I found the sections by search, as the earlier rulings did. No findings.json is staged.
Compare. since.diff is a merge of origin/main (b015f597, no conflict resolution in git show --remerge-diff) and one PR commit, 717988e3. That commit changes stored_spec_beside in crates/minimald/src/box_manager/composables.rs. The compose no longer parses the whole spec.json as a v0 BoxSpec with deny_unknown_fields. It reads v, entry, box.type and lifecycle_hooks into StoredHooks.
Governs: architecture.md line 21 (the Box Record keeps the expanded Box Spec), line 500 (a resume restarts from the spec stored in the record), lines 1170-1172 (project hooks first, then loadout hooks, and --no-hooks stores none so a resume runs none).
Ruling. The narrower reader still fails closed where hooks are at stake. Bytes that are not JSON refuse with InvalidInput. A hook list in a spec that is not v0, that names no entry or box.type, or that has a hook with no valid declared_by, refuses. A spec with no lifecycle_hooks key keeps the minimal.toml hooks, which is the same None fallback the PASS on 8bdcefe0 accepted. The session client always stores a list, empty under --no-hooks, and the compose skips hooks when hooks_enabled is false, so line 1171 holds. The version check that the compose drops for a spec with no hooks remains on the resume path: checked_stored_spec (box_actor.rs:1682) calls box_runtime::stored_spec (launcher.rs:2108), which refuses a non-v0 spec. Residual #3467 stays filed. No departure from precedent.
Not checked. The PR body reports that min task run agent-verify exited 101 at cargo test --no-run, so the head may not compile. I did not build, per the contract. This ruling is on design conformance only. The resume reader still parses the whole spec with deny_unknown_fields, so a spec with io.exec_enabled or file_exports can refuse a resume. That code is outside this PR's diff and I do not rule on it here.
Ruled at 717988e against gominimal/arch@327e1b57d16b by claude-opus-5-5; arch_rulings 1347, job b47245d0-8b91-4105-b9df-ca1537006c19.