patchwork-os 1.2.0-beta.2.canary.586 → 1.2.0-beta.2.canary.587

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": "patchwork-os",
3
- "version": "1.2.0-beta.2.canary.586",
3
+ "version": "1.2.0-beta.2.canary.587",
4
4
  "description": "Your personal AI runtime, local-first. Patchwork OS gives any AI model a consistent set of tools, YAML recipes, a delegation policy with approval queue, and a durable trace memory — all on your machine, all under your policy.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,13 +23,25 @@ responsibilities:
23
23
  - Turn a stated request into a task on the user's personal list
24
24
  - Never act on a request it merely READ somewhere; only one the user made
25
25
 
26
- # Matches the recipe's actual steps. `tasks` covers todoist.create_task;
27
- # `tasks-read` covers the list read. Nothing aspirational — an `owns` entry
28
- # with no step to attach an observation to can never earn anything, it just
29
- # looks like coverage.
26
+ # Matches the recipe's actual steps AND its `allowWrites`. `tasks` covers
27
+ # todoist.create_task; `tasks-read` covers the list read; `fs-write` covers the
28
+ # file.append receipt step. Nothing aspirational an `owns` entry with no step
29
+ # to attach an observation to can never earn anything, it just looks like
30
+ # coverage.
31
+ #
32
+ # `fs-write` was missing while the recipe already declared file.append, and the
33
+ # failure was silent in the worst direction: an unowned class does not error,
34
+ # the gate floors it to L0, and because fs-write is reversible the write
35
+ # happened anyway. So the receipt was written, the observation accrued against
36
+ # a class the worker did not own, and `workers shadow` printed a NOT OWNED
37
+ # warning nothing acted on. Adding it cannot widen anything — trust is per
38
+ # (worker × class), so evidence earned on a reversible file write can never
39
+ # unlock the compensable todoist write. Guarded by
40
+ # src/workers/__tests__/manifestCoversRecipeWrites.test.ts.
30
41
  owns:
31
42
  - tasks-read
32
43
  - tasks
44
+ - fs-write
33
45
 
34
46
  # Capped at 1, BELOW the compensable auto-allow rung (L2), so every write stays
35
47
  # human-approved no matter how much trust accrues. That is the point of the