Repository navigation
feat(ambient): remove the plan-handoff auto-implement - #782
Merged
Merged
Conversation
A prompt that begins with `Implement the following plan:` no longer makes ambient mode invoke devflow:implement. The prompt gets the normal orchestrator reminder. The charter loses its plan-handoff bullet, and init removes the old implement-installed marker file. Refs #780
A prompt that begins `Implement the following plan:` gets the normal orchestrator reminder, also when an old implement-installed file sits beside the hook. Delete the handoff directive tests, the sentinel gate suite and the live handoff integration file. Keep the reminder, slash skip, git gate and empty prompt checks. Refs #780
The render writes the charter only and returns { charter }. Drop the
sentinel and plan-handoff line checks, the removeHandoffSentinel suite
and the handoff charter guard. Pin that the charter has no plan-handoff
routing. Init over an old implement-installed file removes it and keeps
the charter bytes.
Refs #780
The installed scripts no longer carry the implement-installed marker file. Regenerated with the install-snapshot golden update: only the three marker lines go. Refs #780
Owner
Author
Evidence (head b2dbeb2)Tests
Alignment check (independent agent): ALIGNED
Notes
|
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.
What
Ambient mode no longer starts an implementation by itself.
Before, a prompt that began with
Implement the following plan:made ambient mode invokedevflow:implementat once, with no question. Claude Code sends this prompt when you accept a plan in plan mode. Now that prompt gets the normal one-line orchestrator reminder, as every other prompt does.Closes #780.
Changes
preamblehook: the plan-handoff branch is removed. The hook keeps two behaviors: the slash-command skip and the orchestrator reminder.- Plan handoff:line is removed. All other lines stay the same.hooks/assets/implement-installedmarker file is removed, with the code that synced it (charter-render.ts,installer.ts,uninstall.ts). The charter span table loses its onlylinespan, so theshapefield goes too.devflow initremoves an old marker file from existing installs (LEGACY_HOOK_FILES).[Unreleased]section state the change.What stays
devflow ambient --enable/--disable/--status./implement. With no input after plan mode, it takes the plan from the conversation.Tests
tests/integration/ambient-activation.test.ts. Mixed tests keep their other checks.devflow initremoves an old marker file and leaves the charter unchanged.