@dzhi/ocpg 0.10.0 → 0.11.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/README.md +1 -1
- package/ocpg.ts +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,4 +85,4 @@ Enable the commit hooks once per clone ([pre-commit](https://pre-commit.com)):
|
|
|
85
85
|
pre-commit install
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
It runs lint and typecheck on commits that touch `.ts` files. `bun test` is
|
|
88
|
+
It runs lint and typecheck on commits that touch `.ts` files. `bun test` is left out of the hook because it writes to a real database — CI runs it against a throwaway Postgres service container instead.
|
package/ocpg.ts
CHANGED
|
@@ -453,8 +453,14 @@ const ocpg = Plugin.define({
|
|
|
453
453
|
});
|
|
454
454
|
editor.add({
|
|
455
455
|
name: "memory_remember",
|
|
456
|
+
// This description is the only place the write policy is guaranteed to
|
|
457
|
+
// reach the model: it is in the tool schema every session, whereas the
|
|
458
|
+
// injected block is skipped entirely for projects with no memories and
|
|
459
|
+
// the user may have no project instructions at all.
|
|
456
460
|
description:
|
|
457
|
-
"Store a memory for this project. Use after user corrections
|
|
461
|
+
"Store a durable memory for this project. Use after user corrections (immediately), " +
|
|
462
|
+
"architecture decisions, non-trivial fixes, environment facts, and stated preferences. " +
|
|
463
|
+
"Do not store session progress, secrets, or anything the code itself already states.",
|
|
458
464
|
input: {
|
|
459
465
|
type: "object",
|
|
460
466
|
properties: {
|