Repository navigation
feat: planner selection, per-deliverable integrate, worker-launch skills - #70
Merged
Merged
Conversation
Planning was routed as a hardcoded Tier3 task, so only model_tier = "top" fits; low-cost setups had to mislabel a mid-tier model as top. - [planner] harness = "<name>" plans with that harness whatever its tier (still probed, dispatch-checked and quota-gated); [planner] tier routes planning at Tier1/2/3. Default unchanged (Tier3). Validated on load. - plan --json reports data.planner (harness, model_ref, real model_tier, selected_by); NoCandidate names the override. - doctor --json reports data.planner.eligible and warns when no dispatchable harness can plan. Implements #54 Closes #54 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A multi-issue graph could only be integrated as a whole, so one PR per issue meant hand cherry-picking from the integrate branch. - TaskNode gains optional `deliverable` (graph_id charset, validated); the planner contract lists it. - integrate --deliverable <tag> --into <ref>: without --accept-integrate, build <graph>/integrate-<tag> from run_base for review; with it, land the reviewed worktree (same dirty/ff-or-no-ff rules). - Attempts start from the shared integrate head, so only each node's own commits (<attempt base>..<attempt branch>) are replayed, tagged nodes plus transitive dependencies in topological order. Unknown tag, unaccepted node and replay conflict each get a named error. - status/inspect/plan output show each node's deliverable. Implements #55 Closes #55 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agents under a permission classifier were blocked from plan/run, retried, then handed users commands with <placeholders> that broke PowerShell. - meshloop-plan, meshloop-run, meshloop-review-plan (+ session-bundle copies): plan/run/resume/review-plan --adjust start unattended agents; a refusal is correct, so the user runs the command or adds a permission rule. Agents may run doctor/status/inspect/watch/roles, and record a person's decision only after they answer. - Example commands are one line with values up front, PowerShell and POSIX forms, no <...> placeholders. - Fix the claim that doctor detects the origin session: it only echoes --origin-* or MESHLOOP_ORIGIN_*. - docs/start.md: "Supervising from an Agent Session", and deliverable integrate (#55) in step 5. Implements #58 Closes #58 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Implements #54, #55 and #58.
Closes #54
Closes #55
Closes #58
One commit per issue.
What changes
[planner]selection (6f5cb52).[planner] harness = "<name>"plans with that selected harness whatever itsmodel_tier. It is still probed, dispatch-checked and quota-gated.[planner] tier = "Tier1|Tier2|Tier3"changes the routing tier. The default stays Tier3, and invalid or conflicting values are rejected on load.plan --jsonreportsdata.planner(harness, model_ref, realmodel_tier,selected_by).NoCandidatenames the override key.doctor --jsonreportsdata.planner.eligibleand warns when nothing can plan.228c7b6).TaskNodegains an optionaldeliverabletag, which uses the same character set asgraph_idand is listed in the planner contract.integrate --graph <id> --deliverable <tag> --into <ref>without--accept-integratebuilds<graph>/integrate-<tag>fromrun_basefor review. With the flag, it lands that worktree, using the existing dirty-check and fast-forward-or---no-ffrules.<attempt base>..<attempt branch>commits are replayed: the tagged nodes plus their transitive dependencies, in topological order. Dependencies with another tag are reported asoutside_dependencies. This design was accepted on [feature] integrate: land a subset of nodes per deliverable for one-PR-per-issue delivery #55.status,inspectand the plan output show each node's deliverable.r1-closed-loop-design.md,docs/engineering/agent-workflow.mdanddocs/start.md.5d637ab):meshloop-plan,meshloop-run,meshloop-review-planand their session-bundle copies.plan,run,resumeandreview-plan --adjuststart unattended agents. If a permission check refuses one, that is correct: the user runs the command or adds a permission rule, and the agent must not route around it.<...>placeholders.doctordetects the origin session: it only echoes--origin-*/MESHLOOP_ORIGIN_*.docs/start.mdgains "Supervising from an Agent Session".Provenance
Implemented directly by Claude Code (Opus 5.5) in one session, at @smota's direction. Meshloop wasn't used for this delivery. There was no independent review: @smota authorized merging without one.
Checks
cargo run --locked -p xtask -- check(fmt, clippy-D warnings, all workspace tests, embedded skill pack match) passes on5d637ab. Windows 11.[planner]config parsing and rejection.planwith only a mid-tier harness: the error names the override, and with[planner] harnessset it succeeds and reportsMidTier.doctorplanner eligibility across three configs.planwith[planner] harnessagainst a real harness (fixture harness only).DeliverableConflictmessage is untested.Limitations
meshloop-accept,meshloop-statusandmeshloop-orchestrateskills still contain<...>placeholders. They're outside [docs] skills: worker launch needs user action or an explicit permission rule; paste-safe commands #58's scope, and their commands don't start workers.🤖 Generated with Claude Code