GeezerVison is showing github.com — docs(fleet): lane runs start with fleet agent next, manual mailbox steps fallback only (#12236) by dezren39 · Pull Request #12745 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Slice of #12236 item 1 (every scheduled lane uses it).
What changed
doc/agents/fleet-command-channel.md: the "Every lane run" section now starts with fleet agent next (mailbox, queue, shortlist, priority, with the answer's then lines) instead of hand-written fleet bridge hello / inbox --take steps. The manual steps stay, under "By hand, only when fleet agent next cannot run", for seats whose installed binary predates fleet agent. Reply/ack protocol unchanged.
scripts/tests/test_lane_prompts_use_agent_next.py (new, 4 tests): the lane-run section must reach fleet agent next before any manual mailbox step; the manual steps must be headed as fallback-only; onboarding and the next-work skill must keep prescribing fleet agent next.
Measured move
In-repo lane-run docs prescribing hand-written mailbox/claim steps first: 1 -> 0. (doc/agents/onboarding-an-agent.md, .agents/skills/next-work/SKILL.md and scripts/muse/handoff/PROMPT.md already prescribe fleet agent next; the design doc's inbox mention describes what next does internally, not a lane prompt.)
Verification
python3 -m unittest scripts.tests.test_lane_prompts_use_agent_next: 4/4 pass.
- Control: the same tests run against the pre-change doc fail 2/4 (the run section contained no
fleet agent next at all).
- No local compile: docs + Python test only. CI is the first full check; no laptop build was used (queue/shell legs down this run).
Registry
No schedule is created, changed or retired, so no doc/fleet-schedule-registry.md row changes in this PR.
Refs #12236. Does not close it: items 2 (wake hook), 3 (one bootstrap per kind) and 6 (fleet shell --target actions) remain.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Documentation
- Updated agent run instructions to use
fleet agent next to check for and return the next task along with follow-up commands.
- Clarified that manual mailbox and task-claim steps are fallback instructions for older installations, and that
--take marks returned commands as read.
- Updated onboarding and next-work guidance to reference
fleet agent next.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…eps fallback only (#12236)
The lane-run doc still opened with hand-written hello/inbox steps, so
lanes claimed from the queue only and never reached the push, shortlist
or priority rungs. The run now starts with fleet agent next; the manual
steps stay as the fallback for seats whose binary predates fleet agent.
Guard: scripts/tests/test_lane_prompts_use_agent_next.py (4 tests) —
the run section must reach fleet agent next before any manual mailbox
step, and the manual steps must be headed as fallback-only. The same
tests fail 2/4 against the pre-change doc.
No schedule is created, changed or retired, so no
doc/fleet-schedule-registry.md row changes in this PR.
No local compile: docs + Python test only; CI is the first full check.
coderabbitai
Bot
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The command-channel instructions now direct agents to run fleet agent next first and reserve manual mailbox steps for older binaries. New tests check these instructions and verify that onboarding and next-work skill documentation mention the command.
Changes: Lane-run guidance
| Layer / File(s) |
Summary |
Update lane-run guidance and verify its use doc/agents/fleet-command-channel.md, scripts/tests/test_lane_prompts_use_agent_next.py |
The command-channel instructions use fleet agent next before queue work and reserve manual mailbox and claim steps for older binaries. New tests check the command-channel instructions, onboarding, and next-work skill documentation. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related issues
- developing-today/code issue 12236: This PR updates the lane-run documentation to use
fleet agent next, which matches item 1 in the parent plan. The supplied issue summary says other plan items remain open.
Suggested reviewers: claude
Merge Risk: Minimal · up to 0fc77
-
This updates the lane-run guidance to start every run with fleet agent next and keeps the manual mailbox steps only for older binaries. It changes documentation and adds a test that checks that documentation, with no runtime code change. No concrete merge-blocking risk was established.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title states the primary change: lane runs in the fleet command-channel doc now start with fleet agent next, and manual mailbox steps become fallback-only. The raw summary confirms the doc chang… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title states the primary change: lane runs in the fleet command-channel doc now start with fleet agent next, and manual mailbox steps become fallback-only. The raw summary confirms the doc change and the new test module that checks this ordering, so the title matches the changeset. The objectives also describe the same change, and the title's scope fits the slice described.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
Recent review info
-
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
6cd46abe-c9b6-4026-a4d5-b008c8be5b4c
Commits
-
Reviewing files that changed from the base of the PR and between e6268f8 and 0fc775a.
Files selected for processing: 2
-
doc/agents/fleet-command-channel.md
scripts/tests/test_lane_prompts_use_agent_next.py
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|