Skip to content

Offer codemode to the Atomic Planner - #440

Merged
lavaman131 merged 1 commit into
mainfrom
feat/atomic-planner-codemode
Oct 9, 2026
Merged

lavaman131 merged 1 commit into
mainfrom
feat/atomic-planner-codemode

Conversation

@lavaman131

Copy link
Copy Markdown
Collaborator

A full Planner turn offers only FULL_PLANNER_TOOLS beside Chopin's host
tools, so Atomic's built-in codemode tool was registered but never
offered. Codemode scripts call only the tools the turn already offers,
plus non-LLM models such as classifiers and image generators, so this
adds no file edits or commands: bash, edit, and write stay withheld.
Planner extensions such as pdd-kit can now reach image models through
codemode to draw pictures for a plan.

The pi harness is unchanged: upstream pi (0.85.1) has no codemode tool
or image-model API.

Assistant-model: Claude Opus 5.5 (fast)
Assistant-workflow: inline
Assistant-duration: 10m converged, estimated unmeasured
Assistant-verification: bun test passed: apps/server/src/harness/atomic (81 pass, 0 fail), real Planner sessions offer codemode and still withhold bash, edit, write
Assistant-verification: types passed: bun --filter '@chopin/server' types
Assistant-verification: dprint and oxlint passed: no new findings (4 existing oxlint warnings)
User-preference: Make codemode available to Chopin's Atomic and pi Planners so plans can use image models
User-preference: Admin-merge this Chopin PR

A full Planner turn offers only FULL_PLANNER_TOOLS beside Chopin's host
tools, so Atomic's built-in codemode tool was registered but never
offered. Codemode scripts call only the tools the turn already offers,
plus non-LLM models such as classifiers and image generators, so this
adds no file edits or commands: bash, edit, and write stay withheld.
Planner extensions such as pdd-kit can now reach image models through
codemode to draw pictures for a plan.

The pi harness is unchanged: upstream pi (0.85.1) has no codemode tool
or image-model API.

Assistant-model: Claude Opus 5.5 (fast)
Assistant-workflow: inline
Assistant-duration: 10m converged, estimated unmeasured
Assistant-verification: bun test passed: apps/server/src/harness/atomic (81 pass, 0 fail), real Planner sessions offer codemode and still withhold bash, edit, write
Assistant-verification: types passed: bun --filter '@chopin/server' types
Assistant-verification: dprint and oxlint passed: no new findings (4 existing oxlint warnings)
User-preference: Make codemode available to Chopin's Atomic and pi Planners so plans can use image models
User-preference: Admin-merge this Chopin PR
@lavaman131
lavaman131 merged commit e857cbb into main Oct 9, 2026
2 of 3 checks passed
@lavaman131
lavaman131 deleted the feat/atomic-planner-codemode branch October 9, 2026 21:35
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.

1 participant