muse-crew 0.7.13 → 0.7.14

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.
@@ -51,9 +51,17 @@ cmd_init() {
51
51
  # Deploy HEAD
52
52
  cmd_deploy "$repo" "$home"
53
53
 
54
- # Create convenience symlinks if missing
55
- [ -L "$CREW_HOME/workflows" ] || ln -sfn current/workflows "$CREW_HOME/workflows"
56
- [ -L "$CREW_HOME/lib" ] || ln -sfn current/lib "$CREW_HOME/lib"
54
+ # The home-level convenience symlinks are part of the release layout and
55
+ # are owned by the release system: they ALWAYS point into the active
56
+ # release, unconditionally. A pre-existing symlink (e.g. an improvised
57
+ # agent-created link into the npm package's lib before init ran) is
58
+ # replaced, never preserved — preserving it once disabled the
59
+ # active-release guard in crew-api.js and left parent publish
60
+ # verification inert (Gate 1 clean-room defect, 2026-09-16).
61
+ # The same enforcement runs at the end of cmd_deploy, so every deploy
62
+ # repairs a broken home; this is a belt-and-suspenders repeat for init.
63
+ ln -sfn current/workflows "$CREW_HOME/workflows"
64
+ ln -sfn current/lib "$CREW_HOME/lib"
57
65
 
58
66
  # Verify: current resolves and workflows are readable through the chain
59
67
  local cur
@@ -215,6 +223,16 @@ cmd_deploy() {
215
223
 
216
224
  echo "ACTIVATED: $hash"
217
225
 
226
+ # Home-level convenience symlinks are owned by the release system: they
227
+ # ALWAYS point into the active release. A pre-existing symlink pointing
228
+ # elsewhere (e.g. an improvised agent-created lib link into the npm
229
+ # package before init ran) is replaced, never preserved — preserving it
230
+ # once disabled crew-api.js's active-release guard and left parent
231
+ # publish verification inert (Gate 1 clean-room defect, 2026-09-16).
232
+ # This also repairs broken homes on every subsequent deploy.
233
+ ln -sfn current/workflows "$CREW_HOME/workflows"
234
+ ln -sfn current/lib "$CREW_HOME/lib"
235
+
218
236
  # Keep the dashboard's workflow documents in sync with the release.
219
237
  _sync_workflow_docs "$CREW_HOME"
220
238
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muse-crew",
3
- "version": "0.7.13",
3
+ "version": "0.7.14",
4
4
  "description": "Opinionated orchestration for Muse — workflows, identities, and tooling for autonomous software development.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,