Repository navigation
feat: execute a plan through implementers you can review and correct (lets-l6ah9) - #187
Merged
restarter merged 15 commits intoSep 23, 2026
Conversation
The implementer was written for /lets:team alone (parallel-team framing, TaskUpdate, commit before idle). Delegated /lets:execute needs a worker that implements one approved chunk, never commits, stops on a deviation instead of adapting, and reports in a fixed shape with raw Verify output. /lets:team's legacy prompt, which carries no MODE line, is still followed as written. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The single place LETS spawns or corrects a named implementer: the model panel runs on the first spawn, after the caller's Start gate; the Agent call passes none of the fields documented deprecated on the current harness; a correction resumes the same agent with SendMessage and never spawns; reports are attributed by the spawned name. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The Step 4.5 picker's Team option becomes Implementers (--team stays an alias) and refuses --auto, since every delegated diff waits for review. Step 4.6 splits a plan from its own Files and Commit blocks into caller tasks and commit-point chunks, shows every task once, groups file-sharing chunks, and refuses plans it cannot split or whose tasks depend on something learned during the run. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Step 5-D part 1: a delegated run needs a clean tree, asks one Start gate before any spawn (the model is picked after it), keeps a run record it rewrites before every transition, and dispatches caller tasks and chunks in plan order with a brief that states it may be amended, one live implementer at a time. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
A delegated run needs a review gate per chunk, a confirmed stop, and a recovery path that never re-runs work or discards a diff unasked. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Seven sentences said plan mode is the only code-write gate; a delegated run's gate is its Start gate, so each now names both paths. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The execute reference rows and CLAUDE.md's agent and internal-skill lists now name the delegated path and the implementer-run skill. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The human-facing docs described execute as plan-mode only and the implementer as a team-only agent; both now cover the delegated run. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
One helper holds every guard and reads only its argument, so four in-memory mutants prove each guard can actually fail. TestOrcLint fails on this commit: it reads any SendMessage to a named recipient as a peer send, and the delegated path resumes the implementer it spawned. The next commit scopes that rule to peers. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Rule 2 read any SendMessage with a named recipient as a peer send, so a delegated run resuming the implementer it spawned tripped it. The rule now names the recipient, and a peer recipient in those same files still fails - pinned by its own mutation check. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Three Codex review rounds found that the delegated review could show a patch other than the one committed (staged content, no content check on Accept or after recovery), that Accept contradicted /lets:commit's own gate, and that a Files line naming two paths lost the second. The commit skill now takes one pre-approved value and reviews a staged set when one exists. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A live delegated run hung on an implementer that waited on its own background task, took a prose report and an invented status on trust, showed the user a one-line summary instead of the patch, asked a permission on every .lets write, and offered Fable as the cheapest model. The contract now forbids background commands, defines what a report is, requires the patch and split to be printed, writes only session-authored .lets files through Bash (never an agent's report), and labels the models by real capability and price. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A second live run showed that a MUST to print the split table and the review patch before a gate is skipped in practice. Both now travel as the preview of the gate's first option, so the user approves what they are looking at. The brief ends with the report skeleton to fill in, since a pointer to the agent definition's Output shape was ignored. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task: lets-l6ah9 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep both [Unreleased] Fixed entries: lets-11zwo's two from #186 and lets-l6ah9's /lets:commit staged-review entry. Task: lets-l6ah9 Co-Authored-By: Claude Opus 5.5 <[email protected]>
restarter
deleted the
lets-l6ah9-delegate-lets-execute-to-a-named-implementer-subagent
branch
September 23, 2026 09:05
Merged
restarter
added a commit
that referenced
this pull request
Sep 23, 2026
Version bump for v0.9.2. `make bump VERSION=0.9.2` edited the version-source files plus the two shipped tracker adapters, renamed `[Unreleased]` to `[0.9.2]`, and committed only after `make test`, `make build` and `verify-versions` passed. **Rebuilt.** The first cut of this branch was taken at `58e2441`, before lets-f8x54 landed. Rather than let that fix fall under a fresh empty `[Unreleased]` and miss the release, the branch was recreated from main at `514afff` and the bump re-run, then force-pushed. The 0.9.2 section now carries all 15 entries of this round. What ships: `--fix` across check / review / handoff (#189), the implementers run mode and `/lets:execute` picker change (#187), handing an approved plan to an agent tab (#184), `lets worktree record` and the vanished-worker fix (#186), the peers reachability batch (#185), `/lets:orc --yes` (#183), the language-rule split (#188), and a peer role that survives a changed session id (#191). Known defects shipping with this release, stated deliberately rather than discovered later: `/lets:done` still creates a duplicate PR when one is already open (lets-0g49b); the session boundary still breaks on a branch reused after its PR merged (lets-2t5ns); worktree provisioning correctness (lets-41cpf) and parallel implementers (lets-7dwc1) are unfinished. None is new, and none is made worse here. After merge: `make release-tag VERSION=0.9.2`, then curated release notes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Summary
/lets:executecan now hand a plan to implementer agents you review and correct - the Implementers run mode (--implementers, alias--team). The plan is split at its commit points; steps that write no files run in this session, and each chunk goes to a namedlets:implementersubagent on the model you pick. Every diff comes back under that agent's name with the full patch; you accept it (only then is it committed), send a correction to the same agent (it keeps its context), or stop. One chunk runs at a time on a clean tree, and an interrupted run resumes from its record.Solo only by design: the parallel mode (several implementers in isolated worktrees through
/lets:team) moved to lets-7dwc1, because the old team backend does not run on the current harness.What changed
agents/implementer.md- a solo chunk worker with a status machine (complete/deviation-stopped/blocked), no background commands, a refused step stops the chunk.skills/implementer-run/(new, internal) - the one spawn / correct path: model panel after Start (Opus default, Fable for the hardest chunks, Sonnet / Haiku for mechanical ones),Agentspawn by name,SendMessagecorrection.commands/execute.md- Step 4.5 Implementers locus, Step 4.6 plan split, Step 5-D delegated run: Start gate, run record, dispatch, review with the full patch and apatch_shaAccept is bound to, three status gates, stop viaTaskStop, recovery and replacement, completion.skills/commit/-approved=review-accept(the one pre-approved caller), and the review shows the staged set when one exists.plan.md/plan-workflow.mdbanners,CLAUDE.md- every "plan mode is the only code-write gate" sentence now names both gates.plan-execute,parallel-work,agents,commands, README) and CHANGELOG.TestImplementerRunpins the contract with four in-memory mutants;TestOrcLintnow keys the peer-send rule on the recipient, so a run resuming its own implementer is not a peer send.How it was verified
cd cli && go test ./... -count=1- green.make dev): split, Start, model panel, review, amendment to the same agent (answered from its context), Stop and reopen, Accept commits only the allowlist, stop while running, recovery, replacement. Findings fixed inc185f06andbc34f3c.Known limits
/lets:executeStep 6 records the wrong plan when a plan path is passed - pre-existing, tracked in lets-ejts9.Task
lets-l6ah9: Execute a plan through implementers you can review and correct
Generated with LETS plugin
🤖 Generated with Claude Code