agentwheel 0.20.18 → 0.20.20

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.
@@ -18,8 +18,8 @@ import {
18
18
  removeApplyJournal,
19
19
  rollbackCompletedOperations,
20
20
  writeApplyJournal
21
- } from "./chunk-FP26KSBM.js";
22
- import "./chunk-GE7F76AC.js";
21
+ } from "./chunk-FGFPAZ4J.js";
22
+ import "./chunk-BNIF3FUR.js";
23
23
  export {
24
24
  abortApplyJournal,
25
25
  acquireApplyLock,
package/openpack.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "name": "NestDevLab/agentwheel",
4
- "version": "0.20.18",
4
+ "version": "0.20.20",
5
5
  "provides": [
6
6
  { "type": "skills", "path": "skills" }
7
7
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentwheel",
3
- "version": "0.20.18",
3
+ "version": "0.20.20",
4
4
  "description": "Weave skills, rules, and instructions across every AI agent.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -5,7 +5,7 @@ allowed-tools: [Bash]
5
5
  license: MIT
6
6
  metadata:
7
7
  author: NestDevLab
8
- version: "0.20.18"
8
+ version: "0.20.20"
9
9
  ---
10
10
 
11
11
  # agentwheel
@@ -357,6 +357,12 @@ Current config shape:
357
357
 
358
358
  Use named targets:
359
359
 
360
+ Configured packages may declare `"runtimes": ["claude"]` to select adapter runtimes. All
361
+ configured-package plans honor it, including `--agent`, `--profile`, status, and update. Named
362
+ targets match their declared adapter; plain workspace commands match each package's adapter.
363
+ Agents sharing an adapter cannot be selected separately. Upgrade all members to a version
364
+ supporting this field before adding it to shared configuration.
365
+
360
366
  ```bash
361
367
  agentwheel fleet register example-fleet --root /srv/agentwheel/fleets/example-fleet --required-package core-agent-pack
362
368
  agentwheel fleet list
@@ -475,6 +481,9 @@ Drift means a managed runtime output changed outside agentwheel. Fix drift by ch
475
481
  colliding upstream artifact.
476
482
  - Eject an item into `.agentwheel/ejected` when the user wants local ownership.
477
483
 
484
+ When the plan instead keeps a file as foreign or refuses because another workspace owns it, that is
485
+ an ownership problem, not drift: see "Choosing an ownership command" under Troubleshooting.
486
+
478
487
  Append durable local instruction text:
479
488
 
480
489
  ```bash
@@ -646,3 +655,23 @@ before Fleet qualification, owns paths under a fingerprint-only legacy key, run
646
655
  --from-workspace-root <previous-owner-root> --json` from that workspace. It moves only proven,
647
656
  still-desired entries into the stable state; add `--carry-drift` only after reviewing the drifted
648
657
  paths. Apply the emitted command, then require a normal install plan without force flags.
658
+
659
+ ### Choosing an ownership command
660
+
661
+ `agentwheel ownership --help` lists the commands; each subcommand's `--help` is the authoritative flag
662
+ reference. All of them dry-run by default and change only manifest metadata.
663
+
664
+ | Situation | Command |
665
+ |---|---|
666
+ | Unclear who owns what | `ownership recovery-plan` (read-only evidence report) |
667
+ | Refused: paths owned under a fingerprint-only legacy key | `ownership adopt-legacy` |
668
+ | `adopt-legacy` says entries are "already owned by the destination owner" (mixed legacy manifest) | Run a normal `install --agent <agent>` first; it migrates the state and keeps the foreign entry. Then hand off that entry. |
669
+ | Plan keeps one file as a `foreign artifact owned by …` in a stable manifest | `ownership handoff <type/name>` with `--from-workspace-root <root>`, or `--from-unknown-owner` for `workspace:unknown`; add `--to-fleet <id>` for a Fleet owner |
670
+ | Stale foreign entry already covered by the Fleet manifest | `ownership retire-stale` |
671
+
672
+ `handoff` refuses a file whose runtime hash differs from the manifest. If the drift is reviewed and
673
+ harmless, add `--carry-drift`; applying then also needs `--expected-runtime-hash` from the dry-run.
674
+ The recorded hash is kept, so the next install reports `DRIFT` for that file. Replacing it needs
675
+ `install --agent <agent> --force-drift`, which also force-refreshes every merge contribution of that
676
+ target (for example hooks): check that each merge destination is byte-identical afterwards. Never
677
+ narrow that install with `--select`: it removes unselected merge contributions.
@@ -5,7 +5,7 @@ allowed-tools: [Bash]
5
5
  license: MIT
6
6
  metadata:
7
7
  author: NestDevLab
8
- version: "0.20.18"
8
+ version: "0.20.20"
9
9
  ---
10
10
 
11
11
  # Agentwheel Discovery