opencode-self-improvement 0.15.15 → 0.15.16

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": "opencode-self-improvement",
3
- "version": "0.15.15",
3
+ "version": "0.15.16",
4
4
  "description": "Durable memory for opencode: remember facts, decisions, and commands across sessions, plus a one-command per-repo setup (/repo-init).",
5
5
  "main": "index.ts",
6
6
  "exports": {
@@ -41,7 +41,12 @@ export const register: ToolRegister = (editor, deps) => {
41
41
  if (outcome.action === "collapsed") return { content: `Duplicate ignored: ${args.type}/${args.scope}` };
42
42
  return {
43
43
  content: `Write blocked at GATE (${outcome.reason}). ${
44
- outcome.hint ?? "Evidence recorded; inspect with memory_evidence."
44
+ // #268 F1: the catch-all must name the filter a reader needs.
45
+ // `ev` matches the EVENT type (`write_blocked`), never the block
46
+ // reason — a session that guesses the reason gets "No evidence"
47
+ // while the row is in the log. Keep the `ev=write_blocked`
48
+ // literal in any future hint change.
49
+ outcome.hint ?? "Evidence recorded; inspect with memory_evidence ev=write_blocked."
45
50
  }`,
46
51
  };
47
52
  },