You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Apply and deploy results misstate what happened in five edge cases #4130
A caller reads the result of apply_system and deploy_system to decide what to do next. In these cases, found by review of the code and not run on a live stack, the result is wrong or incomplete:
A manifest where every member has deploy: false reports a failed deploy with 0 of 0 agents. It should be a named refusal that says there is nothing to deploy.
adopted[] lists adoptions on a run that was refused and adopted nothing.
Apply's summary counts a skill that was held back as a write.
Apply warns that a restart_required member "could not be re-read" for a declared-only member, which by definition does not run.
A skill write that lands the package but not its marker (marker_not_written) is dropped by apply and deploy, so the result reads as success. Re-assigning an existing set writes no delivery change either, so its outcome is not visible.
The deploy response also has no structured way to name a declared-only member. Add one if it is additive to the response.
Done when: each case has a test that runs the planner or the apply, and asserts the corrected result. Existing response fields keep their meaning.
Activity
fix(systems): apply results name only what landed (#4130)
fix(systems): deploy and delivery results name what was not done (#4130)
fix(systems): MCP descriptions and docs for result truth (#4130)
fix(systems): pin the failure row before naming the ungated skill (ab…
fix(systems): deploy failed-branch and route-level tests, description…
vybe commentedon Nov 1, 2026
Draft PR #4152, stacked on #4150. Review: MERGEABLE, 0 critical; fixes in ebc3928. Next:
/validate-pr.fix(systems): round-trip tests for template and person seats, docs, r…
fix(systems): a failed gate write on a held skill says what keeps run…
fix(systems): a landed write is counted by its own key, not per membe…
fix(systems): apply and deploy results name only what was observed or…
fix(systems): an exported manifest applies back clean; unobserved fie…
fix(systems): a failed gate write on a held skill says the skill runs…
fix(systems): create-mode deploy writes the platform prompt for an ad…