@geohar/opencode-cribsheet 0.16.0 → 0.18.0
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/instructions.txt +13 -0
- package/package.json +1 -1
package/instructions.txt
CHANGED
|
@@ -28,6 +28,10 @@ an action**. At that exact moment:
|
|
|
28
28
|
grep is the **fallback for when the index misses**. It is never the opening move.
|
|
29
29
|
There is no shortcut around indexing; the utility *is* the index.
|
|
30
30
|
|
|
31
|
+
**Ambiguous names refuse — that's the cue, not a failure.** A bare name matching
|
|
32
|
+
several symbols comes back with ranked candidates (by caller count) instead of a
|
|
33
|
+
guess; narrow with the file or scope rather than falling back to grep.
|
|
34
|
+
|
|
31
35
|
**Catch yourself:** if you've read three files to answer one question, this rule
|
|
32
36
|
already fired and you walked past it. Stop where you are, `code_lookup`, redo it.
|
|
33
37
|
|
|
@@ -118,6 +122,15 @@ and deps can point at earlier items in the same batch.
|
|
|
118
122
|
agents can see, and marking one `done` tells you what it just unblocked.
|
|
119
123
|
- **`plan_next` is the "where was I" call** — run it when you pick work back up, and
|
|
120
124
|
any future session (yours or another agent's) gets exactly what's actionable now.
|
|
125
|
+
- **"this matters but not now" is `plan_park`, not a fake `done`.** Park with a
|
|
126
|
+
stated reason (`--why` rides a dated body line, so the deferral is searchable)
|
|
127
|
+
and optionally `--trigger <ref>`: when the watched decision's body changes,
|
|
128
|
+
`plan_list` surfaces the item ("trigger fired") — it NEVER auto-wakes; unparking
|
|
129
|
+
is `plan_status <ref> todo`, a human claim.
|
|
130
|
+
- **The probe remembers your rejections.** Re-proposing something that exists
|
|
131
|
+
planned, parked, or declined returns it with status and why at the moment of
|
|
132
|
+
re-proposal — read the why instead of re-litigating; a decline is a settled
|
|
133
|
+
answer, not clutter.
|
|
121
134
|
|
|
122
135
|
**Catch yourself:** if you've just typed "first I'll… then I'll…", or reached for a
|
|
123
136
|
scratch todo list, this rule already fired.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geohar/opencode-cribsheet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "OpenCode plugin: run the crib (cribsheet) memory + code-index MCP server via sharedserver, register its endpoint, inject the reach-for-crib directive, and ship the /crib command. Stands down when a combiner already serves crib.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|