@geohar/pi-cribsheet 0.21.0-dev2 → 0.21.0-dev4
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 +17 -5
- package/package.json +1 -1
package/instructions.txt
CHANGED
|
@@ -146,8 +146,20 @@ passage re-checks exactly what was drawn from it. Extracted decisions land
|
|
|
146
146
|
`proposed`: they gate work and taint nothing until a human confirms them with
|
|
147
147
|
`design_promote`.
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
### Project selection for *reads*: name it — every call, never wrong
|
|
150
|
+
|
|
151
|
+
**Pass `project=<name>` or `project_path=<a path in that repo>` on every read.** Naming
|
|
152
|
+
a project is never wrong, costs nothing, and can't re-home or leak anything: a named
|
|
153
|
+
selector always decides that call, naming a different one changes nothing, and
|
|
154
|
+
`project_path` means "which repo I mean" — not your shell cwd.
|
|
155
|
+
|
|
156
|
+
**A read with NO project doesn't guess — it may ask or refuse.** If the call is
|
|
157
|
+
unanchored, crib ASKS the user which project to use (a real question, answer it with a
|
|
158
|
+
project name or a repo path — never a placeholder), or refuses with a one-pass
|
|
159
|
+
recovery asking you to name it. Expect that; don't pass `default` to dodge it.
|
|
160
|
+
|
|
161
|
+
`use_project <name>` (MCP: `project_use`) is optional today and on its way out: it sets
|
|
162
|
+
a per-connection current project so selector-less reads keep working — but the
|
|
163
|
+
convenience does not survive a daemon restart, and a 2026 (stateless) connection never
|
|
164
|
+
has one at all, so the named project is the call. Treat **"name it every call" as the
|
|
165
|
+
rule now**; keep naming it when it matters even if you also used `use_project`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geohar/pi-cribsheet",
|
|
3
|
-
"version": "0.21.0-
|
|
3
|
+
"version": "0.21.0-dev4",
|
|
4
4
|
"description": "Pi extension: run the crib (cribsheet) memory + code-index MCP server via sharedserver, inject the reach-for-crib directive, and ship the /crib recall command. Pairs with pi-mcp-adapter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|