sticky-note-cli 2.6.4 → 2.6.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sticky-note-cli",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "Human-to-human handoff for AI coding assistants. Git-backed shared memory for Claude Code and Copilot CLI.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -186,6 +186,27 @@ after. A raw `git checkout` or `git switch` will fail if sticky-note
186
186
  files have uncommitted changes. The alias `git sw <branch>` also works
187
187
  if set up by `npx sticky-note init`.
188
188
 
189
+ ### ⚠️ Overlap warnings (CRITICAL — always surface these)
190
+
191
+ Sticky-note hooks detect when your files overlap with other teammates'
192
+ open or stuck threads. When you see `[STICKY-NOTE] ⚠️ OVERLAP DETECTED`
193
+ in your injected context, you **MUST** start your response with this
194
+ exact banner format before doing ANYTHING else:
195
+
196
+ ```
197
+ ⚠️ Overlap detected: [user] is working on [files] — [narrative summary]
198
+ Status: [STUCK/OPEN] | Resume: npx sticky-note resume [id]
199
+ ```
200
+
201
+ Rules:
202
+ - This banner MUST be the **very first thing** in your response
203
+ - Do NOT bury it at the end or in a footnote
204
+ - Do NOT rephrase it as "Also noted..." or "By the way..."
205
+ - Then continue with the user's actual request normally
206
+
207
+ This pattern exists to prevent two teammates from wasting hours on the
208
+ same problem. Treat it like a system alert, not optional context.
209
+
189
210
  ### `[STICKY-NOTE]` tags
190
211
 
191
212
  All sticky-note hooks prefix their output with `[STICKY-NOTE]`. When you
@@ -168,17 +168,29 @@ if set up by `npx sticky-note init`.
168
168
 
169
169
  Sticky-note hooks detect when your files overlap with other teammates'
170
170
  open or stuck threads. When you see `[STICKY-NOTE] ⚠️ OVERLAP DETECTED`
171
- in your injected context, you **MUST** immediately tell the user:
171
+ in your injected context, you **MUST** start your response with this
172
+ exact banner format before doing ANYTHING else:
172
173
 
173
- 1. Which teammates are working on overlapping files
174
- 2. What they're working on (the thread narrative)
175
- 3. Whether they're stuck (and what failed)
176
- 4. How to coordinate (resume command)
174
+ ```
175
+ ⚠️ Overlap detected: [user] is working on [files] — [narrative summary]
176
+ Status: [STUCK/OPEN] | Resume: npx sticky-note resume [id]
177
+ ```
178
+
179
+ Example:
180
+ ```
181
+ ⚠️ Overlap detected: alice is working on session-start.js, cli.js — fixing auth token refresh
182
+ Status: STUCK (tried retry logic, tokens expire mid-request) | Resume: npx sticky-note resume demo-ali
183
+ ```
184
+
185
+ Rules:
186
+ - This banner MUST be the **very first thing** in your response
187
+ - Show it BEFORE your thinking indicators (◐, ●, etc.)
188
+ - Do NOT bury it at the end or in a footnote
189
+ - Do NOT rephrase it as "Also noted..." or "By the way..."
190
+ - Then continue with the user's actual request normally
177
191
 
178
- **Do NOT silently absorb this context.** The overlap warning exists to
179
- prevent two people from wasting hours on the same problem. Surface it
180
- BEFORE doing any other work, even if the user asked you to do something
181
- else first.
192
+ This pattern exists to prevent two teammates from wasting hours on the
193
+ same problem. Treat it like a system alert, not optional context.
182
194
 
183
195
  ### `[STICKY-NOTE]` tags
184
196