Repository navigation
docs(acceptance): plan the mecatui in-app yolo toggle (Plan / Interface) - #2112
Closed
jtenniswood wants to merge 2 commits into
Closed
jtenniswood wants to merge 2 commits into
jtenniswood wants to merge 2 commits into
Conversation
Add the Plan / Interface contract for an embedded-only /yolo builtin that confirms, relaunches the embedded server at posture yolo (and back) while resuming the same session, and remembers the choice per workspace for the next launch. Relates to #2057 Co-authored-by: Mecatl <noreply@mecatl.dev>
Co-authored-by: Mecatl <noreply@mecatl.dev>
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage: Plan / Interface (Split delivery)
Relates to #2057. This PR adds only the acceptance plan and does not close the issue.
Summary
Adds
docs/acceptance/mecatui-yolo-toggle.md, the behavioral and interface contract for switching into and out of yolo from inside mecatui:/yolo(embedded mecatui only) asks for confirmation with a distinctykey. It then quits the TUI and rebuilds the embedded server at postureyolo, resuming the same session. Running/yoloagain returns to the posture this process launched with.--postureplus--resume. It reuses the existingConnectRestartIntentquit-with-intent pattern, and nothing changes in composition, the permission fold, or the wire.--postureflag wins for that launch.mecatui connectignores the state, and a privileged launch outside a sandbox ignores it with a warning.connector in debug sessions;--no-store;/yolois a registered builtin, so it never reaches the model or expands a project command. The startup trust prompt is not asked again on a relaunch. Turning yolo off drops the project trust that came only from posture.Work classification: Bounded, no new ADR. Every human decision is recorded in the plan, and its status is
proposed.Review focus
$XDG_STATE_HOME/mecatui/posture.yaml), and Security / authority.Verification
bash .claude/skills/to-acceptance-plan/scripts/check-acceptance-plan.sh docs/acceptance/mecatui-yolo-toggle.md: passed. The only warning is the advisory one about having noTestADR_*/TestInvariant_*names; the scenario tests useTestMecatuiYoloToggle_Scenario<N>_*.task docs: passed (matlatl strict: 0 broken links, orphans, or unreachable pages).devils-advocatepass ran. Its findings are folded in: the trust prompt on relaunch, explicit-trust preservation, worktree reattach, rebuild failure, builtin interception, confirm-key specificity, relaunch recursion, and the restore-posture source.Merging this PR approves the plan. Implementation follows via
/plan-orchestrate.