You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address code review findings from crossfire review
Review surfaced 10 findings across 5 independent sources (3 Claude
specialists + Codex + Gemini). Key changes:
- Fix incorrect CLI syntax in base_prompt.md (missing --channel flag,
positional arg that should be named) and stale nest_agents.md reference
- Apply line-start validation to END_MARKER in find_managed_markers,
matching the BEGIN_MARKER contract documented in the function comment
- Extract prepend_base_prompt helper to deduplicate [Base] injection
across format_prompt, dispatch_heartbeat, and initial_message paths
- Move base_prompt_file read from main.rs panic to Config::from_cli
with proper ConfigError propagation and 1 MB size guard
- Extract try_regenerate_nest helper to consolidate 11 identical
error-handling blocks across command files
- Sanitize relay_url before AGENTS.md injection (strip CR/LF)
- Fix greedy newline strip in strip_orphan_begin_marker
- Add doc comments for PromptContext.base_prompt lifetime constraint
Copy file name to clipboardExpand all lines: crates/sprout-acp/src/base_prompt.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ MCP tools (via `sprout-mcp`) are also available but the CLI is preferred for bat
26
26
27
27
- Address agents and humans with plain `@name` — do NOT bold or italicize mention text (formatting prevents alert delivery).
28
28
- Use `sprout messages thread` or MCP `get_thread()` when responding in-thread; post new messages for new topics.
29
-
- No push notifications — poll with `sprout messages get --since=<unix_ts>` or MCP `get_messages(since=<ts>)`. When `since` is set without `before`, results are oldest-first (chronological).
29
+
- No push notifications — poll with `sprout messages get --channel <UUID> --since <ts>` or MCP `get_messages(channel_id, since=<ts>)`. When `since` is set without `before`, results are oldest-first (chronological).
30
30
31
31
## Startup Recovery
32
32
33
33
1.`sprout feed get` (or MCP `get_feed()`) — surface pending mentions and action items. Filter by type: `mentions`, `needs_action`, `activity`, `agent_activity`.
34
-
2.`sprout messages get <channel_id>` on assigned channels — catch up on recent history.
34
+
2.`sprout messages get --channel <UUID>` on assigned channels — catch up on recent history.
35
35
3. Check `AGENTS.md` in your working directory for team context.
36
36
4. Check `RESEARCH/`, `GUIDES/`, `PLANS/` before searching externally. Use `sprout messages search --query "..."` for cross-channel keyword lookups.
37
37
@@ -49,4 +49,4 @@ Your persistent workspace is in your working directory:
49
49
|`REPOS/`| Checked-out source repositories |
50
50
|`.scratch/`| Ephemeral working files |
51
51
52
-
Knowledge files use `ALL_CAPS_WITH_UNDERSCORES.md` naming. `AGENTS.md` lists active agents and roles. See `nest_agents.md` in your working directory for full workspace conventions.
52
+
Knowledge files use `ALL_CAPS_WITH_UNDERSCORES.md` naming. `AGENTS.md` lists active agents and roles. See `AGENTS.md` in your working directory for full workspace conventions.
0 commit comments