Repository navigation
CONDITIONS
Inputs. Re-review of #3890 at 5b730e4b, on arch d3d47292, the same arch as the baseline. The baseline is the PASS at 189db70e. git diff --stat 189db70e HEAD gives one file, +8/-4, which matches since.diff. since-conditions.json is [], and the latest ruling on this PR is that PASS, so no condition is open and the compare is enough. No findings.json or arch-map.md is staged. The PR names no covers: id, so the requirements are the changed claims, as in the earlier rulings.
Governs. architecture.md minimal.toml layout, lines 1292-1293: [defaults] merges into every entry, and [defaults.<type>] into every entry of that type only.
Ruling. The compare rewrites Profiles in docs/guide/migrate-to-minimal-session.md. It says that a session entry gives a task nothing. That is line 1293, and it is correct. It maps the task's profile.packages to [defaults.task] packages. That holds at this head: task_box_entry expands the task entry over [defaults.task] and sends packages (create.rs:2590-2619, 2772). It also maps profile.env_vars to [defaults.task] env_vars. The design says that key reaches a task, but the code does not do it yet. create.rs:2786-2791 sends no env_vars for a task box, and the task path resolves variables from mfile::File::task, which reads only [tasks.<name>] (crates/mfile/src/lib.rs:3044-3094, crates/minimal/src/task.rs:930). #3266 tracks the gap. A user who follows the page loses the task variables with no error. C1 sends them to [tasks.<name>] env_vars, which works today, and states the gap. The gap is the residual on #3266.
Departure from precedent. None. The baseline PASS stands for every page and hunk that the compare does not touch.
Not checked. I did not trace whether the task process sandbox (minimald exec/process.rs) takes its packages from the composed box or only from File::task. The box gets [defaults.task] packages through BOX-068 composition. A build or e2e run settles the process side. I did not compile. I could not read the state of #3266, because no gh is in the sandbox.
Conditions
- C1:
docs/guide/migrate-to-minimal-session.md, Profiles, the "For tasks" bullet (lines 69-71): mapprofile.env_varstoenv_varsunder each[tasks.<name>]that used the profile, not todefaults.task.env_vars. Keepprofile.packages→defaults.task.packages. Add one sentence:env_varsunder[defaults]or[defaults.task]do not reach a task at this release. Reason:crates/minimal/src/cmd/boxes/create.rs:2786-2791sends noenv_varsfor a task box, andmfile::File::taskreads only the[tasks.<name>]table (#3266). Do not quote the issue number as a promise in the guide.
Ruled at 5b730e4 against gominimal/arch@d3d472929d81 by claude-opus-5-5; arch_rulings 1791, job 4fc8fcd4-ed1c-4d41-86c5-5867879d7cd6.