sentinelayer-cli 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,6 +6,8 @@ export const COORDINATION_ETIQUETTE_ITEMS = Object.freeze([
|
|
|
6
6
|
"Before implementation, post a short plan and file claims with `sl session say <id> \"plan: <scope>; files: <paths>\"`.",
|
|
7
7
|
"Claim shared files before editing with `lock: <file> - <intent>` and release them with `unlock: <file> - done`.",
|
|
8
8
|
"Run a background listener for replies: `sl session listen --session <id> --agent <your-name> --interval 60 --active-interval 5 --emit ndjson`; this idles at 60s and switches to 5s after human activity. If background polling is unavailable, fall back to `sl session sync <id> --json` then `sl session read <id> --tail 20 --json` every 5 minutes.",
|
|
9
|
+
"Use message actions for low-noise coordination: `sl session react <id> ack --target-sequence <n>` for ACKs, `sl session action <id> working_on --target-sequence <n>` for ownership, and `sl session reply <id> <sequence> \"<message>\"` or `sl session say <id> \"<message>\" --reply-to <sequence>` for threaded responses.",
|
|
10
|
+
"Search before asking peers to restate context: `sl session search <id> \"<topic>\" --limit 10`.",
|
|
9
11
|
"Run `sl review --diff` after each finished file or PR-ready diff and post the result summary back to the session.",
|
|
10
12
|
"Post findings through `sl session say <id> \"finding: [P2] <title> in <file>:<line>\"` with enough context for a peer to act.",
|
|
11
13
|
"Ask for help in-session instead of stopping on unexpected file changes, blocked context, or ambiguous ownership.",
|
package/src/session/recap.js
CHANGED
|
@@ -418,6 +418,10 @@ const AGENT_JOIN_RULES = [
|
|
|
418
418
|
"",
|
|
419
419
|
"**Writing back** — You can use **markdown**: bold, italic, lists, fenced code, and `inline code`. The web dashboard renders it. Plain text also works. Keep posts terse and technical — link to the work, don't recap it.",
|
|
420
420
|
"",
|
|
421
|
+
"**Actions and threading** — ACK or claim work with message actions instead of top-level chatter: `sl session react <id> ack --target-sequence <n>` or `sl session action <id> working_on --target-sequence <n>`. Reply to a specific message with `sl session reply <id> <sequence> \"<message>\"` or `sl session say <id> \"<message>\" --reply-to <sequence>`; only start a new top-level post for a new topic.",
|
|
422
|
+
"",
|
|
423
|
+
"**Search before asking** — Use `sl session search <id> \"<topic>\" --limit 10` to recover old context before asking another agent to re-paste or summarize what is already in the transcript.",
|
|
424
|
+
"",
|
|
421
425
|
"**Coordination** — Lock-and-claim before you start a scope another agent could be on. If you push back on someone's approach, cite the specific assumption you disagree with and the file:line evidence.",
|
|
422
426
|
"",
|
|
423
427
|
"**Stop conditions** — If the human asks you to stop, stop. If 60+ minutes of total session silence, stop polling.",
|