Skip to content

fix: Reduce agent eagerness to re-enter plan mode mid-task#1208

Merged
charlesvien merged 2 commits intomainfrom
03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task
Mar 13, 2026
Merged

fix: Reduce agent eagerness to re-enter plan mode mid-task#1208
charlesvien merged 2 commits intomainfrom
03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task

Conversation

@charlesvien
Copy link
Member

@charlesvien charlesvien commented Mar 12, 2026

  1. Add plan mode guardrails to appended system instructions so the agent only enters plan mode for significant direction changes
  2. Extract inline branch naming instructions into a dedicated instructions.ts module
  3. Combine branch naming and plan mode instructions into a single APPENDED_INSTRUCTIONS constant

Copy link
Member Author

charlesvien commented Mar 12, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@charlesvien charlesvien changed the title Reduce agent eagerness to re-enter plan mode mid-task fix: Reduce agent eagerness to re-enter plan mode mid-task Mar 12, 2026
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 37db874 to 56cb033 Compare March 12, 2026 02:37
@charlesvien charlesvien force-pushed the 03-11-add_idle_timeout_to_kill_inactive_sessions_after_15_minutes branch from bd915de to ddda31e Compare March 12, 2026 02:37
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 56cb033 to 1f06978 Compare March 12, 2026 03:01
@charlesvien charlesvien force-pushed the 03-11-add_idle_timeout_to_kill_inactive_sessions_after_15_minutes branch from ddda31e to 1f9525c Compare March 12, 2026 03:01
@charlesvien charlesvien marked this pull request as ready for review March 12, 2026 05:08
@charlesvien charlesvien force-pushed the 03-11-add_idle_timeout_to_kill_inactive_sessions_after_15_minutes branch from 1f9525c to cf7ae23 Compare March 12, 2026 05:20
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 1f06978 to 95ce1d6 Compare March 12, 2026 05:20
@charlesvien charlesvien force-pushed the 03-11-add_idle_timeout_to_kill_inactive_sessions_after_15_minutes branch 2 times, most recently from cff3e07 to 09f3456 Compare March 12, 2026 13:46
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 95ce1d6 to 50cbe1b Compare March 12, 2026 13:46
@charlesvien charlesvien changed the base branch from 03-11-add_idle_timeout_to_kill_inactive_sessions_after_15_minutes to graphite-base/1208 March 12, 2026 16:27
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 50cbe1b to 0285780 Compare March 12, 2026 16:27
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 0285780 to 4558965 Compare March 12, 2026 16:56
@charlesvien charlesvien changed the base branch from graphite-base/1208 to 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team March 12, 2026 16:56
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 4558965 to fad2451 Compare March 12, 2026 17:05
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from 0c6b1a9 to 2f2a146 Compare March 12, 2026 17:05
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from fad2451 to 572fcf6 Compare March 12, 2026 17:12
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from 2f2a146 to 47a8225 Compare March 12, 2026 17:12
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from 572fcf6 to d290cee Compare March 12, 2026 17:27
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from 47a8225 to a88c4e3 Compare March 12, 2026 17:27
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from a88c4e3 to 905e267 Compare March 12, 2026 17:38
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from d290cee to 944a615 Compare March 12, 2026 17:38
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from 905e267 to 850b05b Compare March 12, 2026 17:51
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch 2 times, most recently from 497c8b9 to a21f1a8 Compare March 12, 2026 17:58
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch 2 times, most recently from 326af64 to 2587d4b Compare March 12, 2026 18:51
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch 2 times, most recently from 3d5139e to db12eb8 Compare March 12, 2026 21:40
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch 2 times, most recently from df3e408 to e3aa0a0 Compare March 12, 2026 22:20
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from db12eb8 to f9c7a05 Compare March 12, 2026 22:20
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch 2 times, most recently from f8ec45c to 72e5125 Compare March 12, 2026 23:12
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch 2 times, most recently from c7d27ac to b1cda00 Compare March 12, 2026 23:21
@charlesvien charlesvien force-pushed the 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team branch from 72e5125 to 20a5789 Compare March 12, 2026 23:21
@charlesvien charlesvien changed the base branch from 03-11-scope_first_party_oauth_tokens_by_organization_instead_of_team to graphite-base/1208 March 13, 2026 17:37
@charlesvien charlesvien force-pushed the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch from b1cda00 to c4b32e7 Compare March 13, 2026 17:37
@charlesvien charlesvien changed the base branch from graphite-base/1208 to main March 13, 2026 17:37
@charlesvien charlesvien enabled auto-merge (squash) March 13, 2026 17:37
@charlesvien charlesvien disabled auto-merge March 13, 2026 17:52
@charlesvien charlesvien merged commit 7068b57 into main Mar 13, 2026
10 of 15 checks passed
@charlesvien charlesvien deleted the 03-11-reduce_agent_eagerness_to_re-enter_plan_mode_mid-task branch March 13, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants