@askexenow/exe-os 0.9.57 → 0.9.58

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/dist/bin/cli.js CHANGED
@@ -13362,17 +13362,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
13362
13362
  const hasAgentFlag = claudeSupportsAgentFlag();
13363
13363
  if (hasAgentFlag) {
13364
13364
  const symlink = ensureAgentSymlink(employeeName);
13365
- if (symlink.action === "created" || symlink.action === "already_correct") {
13366
- identityFlag = ` --agent ${employeeName}`;
13367
- } else if (existsSync24(identityPath2)) {
13368
- identityFlag = ` --append-system-prompt-file ${identityPath2}`;
13369
- legacyFallbackWarned = true;
13365
+ identityFlag = ` --agent ${employeeName}`;
13366
+ if (symlink.action === "conflict") {
13370
13367
  process.stderr.write(
13371
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath2} via --append-system-prompt-file.
13368
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
13372
13369
  `
13373
13370
  );
13374
- } else {
13375
- identityFlag = ` --agent ${employeeName}`;
13376
13371
  }
13377
13372
  } else if (existsSync24(identityPath2)) {
13378
13373
  identityFlag = ` --append-system-prompt-file ${identityPath2}`;
@@ -8127,17 +8127,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
8127
8127
  const hasAgentFlag = claudeSupportsAgentFlag();
8128
8128
  if (hasAgentFlag) {
8129
8129
  const symlink = ensureAgentSymlink(employeeName);
8130
- if (symlink.action === "created" || symlink.action === "already_correct") {
8131
- identityFlag = ` --agent ${employeeName}`;
8132
- } else if (existsSync17(identityPath)) {
8133
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
8134
- legacyFallbackWarned = true;
8130
+ identityFlag = ` --agent ${employeeName}`;
8131
+ if (symlink.action === "conflict") {
8135
8132
  process.stderr.write(
8136
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
8133
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
8137
8134
  `
8138
8135
  );
8139
- } else {
8140
- identityFlag = ` --agent ${employeeName}`;
8141
8136
  }
8142
8137
  } else if (existsSync17(identityPath)) {
8143
8138
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6402,17 +6402,12 @@ function spawnEmployee(employeeName2, exeSession2, projectDir2, opts) {
6402
6402
  const hasAgentFlag = claudeSupportsAgentFlag();
6403
6403
  if (hasAgentFlag) {
6404
6404
  const symlink = ensureAgentSymlink(employeeName2);
6405
- if (symlink.action === "created" || symlink.action === "already_correct") {
6406
- identityFlag = ` --agent ${employeeName2}`;
6407
- } else if (existsSync15(identityPath)) {
6408
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6409
- legacyFallbackWarned = true;
6405
+ identityFlag = ` --agent ${employeeName2}`;
6406
+ if (symlink.action === "conflict") {
6410
6407
  process.stderr.write(
6411
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName2}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6408
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName2}.md (${symlink.conflict}); not overwriting or bypassing it.
6412
6409
  `
6413
6410
  );
6414
- } else {
6415
- identityFlag = ` --agent ${employeeName2}`;
6416
6411
  }
6417
6412
  } else if (existsSync15(identityPath)) {
6418
6413
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -11745,17 +11745,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
11745
11745
  const hasAgentFlag = claudeSupportsAgentFlag();
11746
11746
  if (hasAgentFlag) {
11747
11747
  const symlink = ensureAgentSymlink(employeeName);
11748
- if (symlink.action === "created" || symlink.action === "already_correct") {
11749
- identityFlag = ` --agent ${employeeName}`;
11750
- } else if (existsSync17(identityPath)) {
11751
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
11752
- legacyFallbackWarned = true;
11748
+ identityFlag = ` --agent ${employeeName}`;
11749
+ if (symlink.action === "conflict") {
11753
11750
  process.stderr.write(
11754
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
11751
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
11755
11752
  `
11756
11753
  );
11757
- } else {
11758
- identityFlag = ` --agent ${employeeName}`;
11759
11754
  }
11760
11755
  } else if (existsSync17(identityPath)) {
11761
11756
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -8019,17 +8019,12 @@ function spawnEmployee(employeeName, exeSession2, projectDir, opts) {
8019
8019
  const hasAgentFlag = claudeSupportsAgentFlag();
8020
8020
  if (hasAgentFlag) {
8021
8021
  const symlink = ensureAgentSymlink(employeeName);
8022
- if (symlink.action === "created" || symlink.action === "already_correct") {
8023
- identityFlag = ` --agent ${employeeName}`;
8024
- } else if (existsSync17(identityPath)) {
8025
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
8026
- legacyFallbackWarned = true;
8022
+ identityFlag = ` --agent ${employeeName}`;
8023
+ if (symlink.action === "conflict") {
8027
8024
  process.stderr.write(
8028
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
8025
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
8029
8026
  `
8030
8027
  );
8031
- } else {
8032
- identityFlag = ` --agent ${employeeName}`;
8033
8028
  }
8034
8029
  } else if (existsSync17(identityPath)) {
8035
8030
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6319,17 +6319,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6319
6319
  const hasAgentFlag = claudeSupportsAgentFlag();
6320
6320
  if (hasAgentFlag) {
6321
6321
  const symlink = ensureAgentSymlink(employeeName);
6322
- if (symlink.action === "created" || symlink.action === "already_correct") {
6323
- identityFlag = ` --agent ${employeeName}`;
6324
- } else if (existsSync15(identityPath)) {
6325
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6326
- legacyFallbackWarned = true;
6322
+ identityFlag = ` --agent ${employeeName}`;
6323
+ if (symlink.action === "conflict") {
6327
6324
  process.stderr.write(
6328
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6325
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6329
6326
  `
6330
6327
  );
6331
- } else {
6332
- identityFlag = ` --agent ${employeeName}`;
6333
6328
  }
6334
6329
  } else if (existsSync15(identityPath)) {
6335
6330
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -7797,17 +7797,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
7797
7797
  const hasAgentFlag = claudeSupportsAgentFlag();
7798
7798
  if (hasAgentFlag) {
7799
7799
  const symlink = ensureAgentSymlink(employeeName);
7800
- if (symlink.action === "created" || symlink.action === "already_correct") {
7801
- identityFlag = ` --agent ${employeeName}`;
7802
- } else if (existsSync15(identityPath)) {
7803
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
7804
- legacyFallbackWarned = true;
7800
+ identityFlag = ` --agent ${employeeName}`;
7801
+ if (symlink.action === "conflict") {
7805
7802
  process.stderr.write(
7806
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
7803
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
7807
7804
  `
7808
7805
  );
7809
- } else {
7810
- identityFlag = ` --agent ${employeeName}`;
7811
7806
  }
7812
7807
  } else if (existsSync15(identityPath)) {
7813
7808
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6390,17 +6390,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6390
6390
  const hasAgentFlag = claudeSupportsAgentFlag();
6391
6391
  if (hasAgentFlag) {
6392
6392
  const symlink = ensureAgentSymlink(employeeName);
6393
- if (symlink.action === "created" || symlink.action === "already_correct") {
6394
- identityFlag = ` --agent ${employeeName}`;
6395
- } else if (existsSync15(identityPath)) {
6396
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6397
- legacyFallbackWarned = true;
6393
+ identityFlag = ` --agent ${employeeName}`;
6394
+ if (symlink.action === "conflict") {
6398
6395
  process.stderr.write(
6399
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6396
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6400
6397
  `
6401
6398
  );
6402
- } else {
6403
- identityFlag = ` --agent ${employeeName}`;
6404
6399
  }
6405
6400
  } else if (existsSync15(identityPath)) {
6406
6401
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -9640,17 +9640,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
9640
9640
  const hasAgentFlag = claudeSupportsAgentFlag();
9641
9641
  if (hasAgentFlag) {
9642
9642
  const symlink = ensureAgentSymlink(employeeName);
9643
- if (symlink.action === "created" || symlink.action === "already_correct") {
9644
- identityFlag = ` --agent ${employeeName}`;
9645
- } else if (existsSync17(identityPath)) {
9646
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
9647
- legacyFallbackWarned = true;
9643
+ identityFlag = ` --agent ${employeeName}`;
9644
+ if (symlink.action === "conflict") {
9648
9645
  process.stderr.write(
9649
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
9646
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
9650
9647
  `
9651
9648
  );
9652
- } else {
9653
- identityFlag = ` --agent ${employeeName}`;
9654
9649
  }
9655
9650
  } else if (existsSync17(identityPath)) {
9656
9651
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6781,17 +6781,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6781
6781
  const hasAgentFlag = claudeSupportsAgentFlag();
6782
6782
  if (hasAgentFlag) {
6783
6783
  const symlink = ensureAgentSymlink(employeeName);
6784
- if (symlink.action === "created" || symlink.action === "already_correct") {
6785
- identityFlag = ` --agent ${employeeName}`;
6786
- } else if (existsSync15(identityPath)) {
6787
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6788
- legacyFallbackWarned = true;
6784
+ identityFlag = ` --agent ${employeeName}`;
6785
+ if (symlink.action === "conflict") {
6789
6786
  process.stderr.write(
6790
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6787
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6791
6788
  `
6792
6789
  );
6793
- } else {
6794
- identityFlag = ` --agent ${employeeName}`;
6795
6790
  }
6796
6791
  } else if (existsSync15(identityPath)) {
6797
6792
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6384,17 +6384,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6384
6384
  const hasAgentFlag = claudeSupportsAgentFlag();
6385
6385
  if (hasAgentFlag) {
6386
6386
  const symlink = ensureAgentSymlink(employeeName);
6387
- if (symlink.action === "created" || symlink.action === "already_correct") {
6388
- identityFlag = ` --agent ${employeeName}`;
6389
- } else if (existsSync15(identityPath)) {
6390
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6391
- legacyFallbackWarned = true;
6387
+ identityFlag = ` --agent ${employeeName}`;
6388
+ if (symlink.action === "conflict") {
6392
6389
  process.stderr.write(
6393
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6390
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6394
6391
  `
6395
6392
  );
6396
- } else {
6397
- identityFlag = ` --agent ${employeeName}`;
6398
6393
  }
6399
6394
  } else if (existsSync15(identityPath)) {
6400
6395
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6368,17 +6368,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6368
6368
  const hasAgentFlag = claudeSupportsAgentFlag();
6369
6369
  if (hasAgentFlag) {
6370
6370
  const symlink = ensureAgentSymlink(employeeName);
6371
- if (symlink.action === "created" || symlink.action === "already_correct") {
6372
- identityFlag = ` --agent ${employeeName}`;
6373
- } else if (existsSync15(identityPath)) {
6374
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6375
- legacyFallbackWarned = true;
6371
+ identityFlag = ` --agent ${employeeName}`;
6372
+ if (symlink.action === "conflict") {
6376
6373
  process.stderr.write(
6377
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6374
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6378
6375
  `
6379
6376
  );
6380
- } else {
6381
- identityFlag = ` --agent ${employeeName}`;
6382
6377
  }
6383
6378
  } else if (existsSync15(identityPath)) {
6384
6379
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -9419,17 +9419,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
9419
9419
  const hasAgentFlag = claudeSupportsAgentFlag();
9420
9420
  if (hasAgentFlag) {
9421
9421
  const symlink = ensureAgentSymlink(employeeName);
9422
- if (symlink.action === "created" || symlink.action === "already_correct") {
9423
- identityFlag = ` --agent ${employeeName}`;
9424
- } else if (existsSync20(identityPath)) {
9425
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
9426
- legacyFallbackWarned = true;
9422
+ identityFlag = ` --agent ${employeeName}`;
9423
+ if (symlink.action === "conflict") {
9427
9424
  process.stderr.write(
9428
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
9425
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
9429
9426
  `
9430
9427
  );
9431
- } else {
9432
- identityFlag = ` --agent ${employeeName}`;
9433
9428
  }
9434
9429
  } else if (existsSync20(identityPath)) {
9435
9430
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6577,17 +6577,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6577
6577
  const hasAgentFlag = claudeSupportsAgentFlag();
6578
6578
  if (hasAgentFlag) {
6579
6579
  const symlink = ensureAgentSymlink(employeeName);
6580
- if (symlink.action === "created" || symlink.action === "already_correct") {
6581
- identityFlag = ` --agent ${employeeName}`;
6582
- } else if (existsSync16(identityPath)) {
6583
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6584
- legacyFallbackWarned = true;
6580
+ identityFlag = ` --agent ${employeeName}`;
6581
+ if (symlink.action === "conflict") {
6585
6582
  process.stderr.write(
6586
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6583
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6587
6584
  `
6588
6585
  );
6589
- } else {
6590
- identityFlag = ` --agent ${employeeName}`;
6591
6586
  }
6592
6587
  } else if (existsSync16(identityPath)) {
6593
6588
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
package/dist/index.js CHANGED
@@ -6699,17 +6699,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6699
6699
  const hasAgentFlag = claudeSupportsAgentFlag();
6700
6700
  if (hasAgentFlag) {
6701
6701
  const symlink = ensureAgentSymlink(employeeName);
6702
- if (symlink.action === "created" || symlink.action === "already_correct") {
6703
- identityFlag = ` --agent ${employeeName}`;
6704
- } else if (existsSync15(identityPath)) {
6705
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6706
- legacyFallbackWarned = true;
6702
+ identityFlag = ` --agent ${employeeName}`;
6703
+ if (symlink.action === "conflict") {
6707
6704
  process.stderr.write(
6708
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6705
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6709
6706
  `
6710
6707
  );
6711
- } else {
6712
- identityFlag = ` --agent ${employeeName}`;
6713
6708
  }
6714
6709
  } else if (existsSync15(identityPath)) {
6715
6710
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -11563,17 +11563,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
11563
11563
  const hasAgentFlag = claudeSupportsAgentFlag();
11564
11564
  if (hasAgentFlag) {
11565
11565
  const symlink = ensureAgentSymlink(employeeName);
11566
- if (symlink.action === "created" || symlink.action === "already_correct") {
11567
- identityFlag = ` --agent ${employeeName}`;
11568
- } else if (existsSync20(identityPath2)) {
11569
- identityFlag = ` --append-system-prompt-file ${identityPath2}`;
11570
- legacyFallbackWarned = true;
11566
+ identityFlag = ` --agent ${employeeName}`;
11567
+ if (symlink.action === "conflict") {
11571
11568
  process.stderr.write(
11572
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath2} via --append-system-prompt-file.
11569
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
11573
11570
  `
11574
11571
  );
11575
- } else {
11576
- identityFlag = ` --agent ${employeeName}`;
11577
11572
  }
11578
11573
  } else if (existsSync20(identityPath2)) {
11579
11574
  identityFlag = ` --append-system-prompt-file ${identityPath2}`;
package/dist/lib/tasks.js CHANGED
@@ -2384,17 +2384,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
2384
2384
  const hasAgentFlag = claudeSupportsAgentFlag();
2385
2385
  if (hasAgentFlag) {
2386
2386
  const symlink = ensureAgentSymlink(employeeName);
2387
- if (symlink.action === "created" || symlink.action === "already_correct") {
2388
- identityFlag = ` --agent ${employeeName}`;
2389
- } else if (existsSync11(identityPath)) {
2390
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
2391
- legacyFallbackWarned = true;
2387
+ identityFlag = ` --agent ${employeeName}`;
2388
+ if (symlink.action === "conflict") {
2392
2389
  process.stderr.write(
2393
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
2390
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
2394
2391
  `
2395
2392
  );
2396
- } else {
2397
- identityFlag = ` --agent ${employeeName}`;
2398
2393
  }
2399
2394
  } else if (existsSync11(identityPath)) {
2400
2395
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -4410,17 +4410,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
4410
4410
  const hasAgentFlag = claudeSupportsAgentFlag();
4411
4411
  if (hasAgentFlag) {
4412
4412
  const symlink = ensureAgentSymlink(employeeName);
4413
- if (symlink.action === "created" || symlink.action === "already_correct") {
4414
- identityFlag = ` --agent ${employeeName}`;
4415
- } else if (existsSync15(identityPath)) {
4416
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
4417
- legacyFallbackWarned = true;
4413
+ identityFlag = ` --agent ${employeeName}`;
4414
+ if (symlink.action === "conflict") {
4418
4415
  process.stderr.write(
4419
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
4416
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
4420
4417
  `
4421
4418
  );
4422
- } else {
4423
- identityFlag = ` --agent ${employeeName}`;
4424
4419
  }
4425
4420
  } else if (existsSync15(identityPath)) {
4426
4421
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -9863,17 +9863,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
9863
9863
  const hasAgentFlag = claudeSupportsAgentFlag();
9864
9864
  if (hasAgentFlag) {
9865
9865
  const symlink = ensureAgentSymlink(employeeName);
9866
- if (symlink.action === "created" || symlink.action === "already_correct") {
9867
- identityFlag = ` --agent ${employeeName}`;
9868
- } else if (existsSync17(identityPath2)) {
9869
- identityFlag = ` --append-system-prompt-file ${identityPath2}`;
9870
- legacyFallbackWarned = true;
9866
+ identityFlag = ` --agent ${employeeName}`;
9867
+ if (symlink.action === "conflict") {
9871
9868
  process.stderr.write(
9872
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath2} via --append-system-prompt-file.
9869
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
9873
9870
  `
9874
9871
  );
9875
- } else {
9876
- identityFlag = ` --agent ${employeeName}`;
9877
9872
  }
9878
9873
  } else if (existsSync17(identityPath2)) {
9879
9874
  identityFlag = ` --append-system-prompt-file ${identityPath2}`;
@@ -2624,17 +2624,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
2624
2624
  const hasAgentFlag = claudeSupportsAgentFlag();
2625
2625
  if (hasAgentFlag) {
2626
2626
  const symlink = ensureAgentSymlink(employeeName);
2627
- if (symlink.action === "created" || symlink.action === "already_correct") {
2628
- identityFlag = ` --agent ${employeeName}`;
2629
- } else if (existsSync11(identityPath2)) {
2630
- identityFlag = ` --append-system-prompt-file ${identityPath2}`;
2631
- legacyFallbackWarned = true;
2627
+ identityFlag = ` --agent ${employeeName}`;
2628
+ if (symlink.action === "conflict") {
2632
2629
  process.stderr.write(
2633
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath2} via --append-system-prompt-file.
2630
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
2634
2631
  `
2635
2632
  );
2636
- } else {
2637
- identityFlag = ` --agent ${employeeName}`;
2638
2633
  }
2639
2634
  } else if (existsSync11(identityPath2)) {
2640
2635
  identityFlag = ` --append-system-prompt-file ${identityPath2}`;
@@ -2387,17 +2387,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
2387
2387
  const hasAgentFlag = claudeSupportsAgentFlag();
2388
2388
  if (hasAgentFlag) {
2389
2389
  const symlink = ensureAgentSymlink(employeeName);
2390
- if (symlink.action === "created" || symlink.action === "already_correct") {
2391
- identityFlag = ` --agent ${employeeName}`;
2392
- } else if (existsSync11(identityPath)) {
2393
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
2394
- legacyFallbackWarned = true;
2390
+ identityFlag = ` --agent ${employeeName}`;
2391
+ if (symlink.action === "conflict") {
2395
2392
  process.stderr.write(
2396
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
2393
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
2397
2394
  `
2398
2395
  );
2399
- } else {
2400
- identityFlag = ` --agent ${employeeName}`;
2401
2396
  }
2402
2397
  } else if (existsSync11(identityPath)) {
2403
2398
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
@@ -6459,17 +6459,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
6459
6459
  const hasAgentFlag = claudeSupportsAgentFlag();
6460
6460
  if (hasAgentFlag) {
6461
6461
  const symlink = ensureAgentSymlink(employeeName);
6462
- if (symlink.action === "created" || symlink.action === "already_correct") {
6463
- identityFlag = ` --agent ${employeeName}`;
6464
- } else if (existsSync15(identityPath)) {
6465
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
6466
- legacyFallbackWarned = true;
6462
+ identityFlag = ` --agent ${employeeName}`;
6463
+ if (symlink.action === "conflict") {
6467
6464
  process.stderr.write(
6468
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
6465
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
6469
6466
  `
6470
6467
  );
6471
- } else {
6472
- identityFlag = ` --agent ${employeeName}`;
6473
6468
  }
6474
6469
  } else if (existsSync15(identityPath)) {
6475
6470
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
package/dist/tui/App.js CHANGED
@@ -7057,17 +7057,12 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
7057
7057
  const hasAgentFlag = claudeSupportsAgentFlag();
7058
7058
  if (hasAgentFlag) {
7059
7059
  const symlink = ensureAgentSymlink(employeeName);
7060
- if (symlink.action === "created" || symlink.action === "already_correct") {
7061
- identityFlag = ` --agent ${employeeName}`;
7062
- } else if (existsSync16(identityPath)) {
7063
- identityFlag = ` --append-system-prompt-file ${identityPath}`;
7064
- legacyFallbackWarned = true;
7060
+ identityFlag = ` --agent ${employeeName}`;
7061
+ if (symlink.action === "conflict") {
7065
7062
  process.stderr.write(
7066
- `[tmux-routing] WARN: ~/.claude/agents/${employeeName}.md is not the exe-os identity symlink (${symlink.conflict}). Using authoritative ${identityPath} via --append-system-prompt-file.
7063
+ `[tmux-routing] WARN: respecting customer-owned ~/.claude/agents/${employeeName}.md (${symlink.conflict}); not overwriting or bypassing it.
7067
7064
  `
7068
7065
  );
7069
- } else {
7070
- identityFlag = ` --agent ${employeeName}`;
7071
7066
  }
7072
7067
  } else if (existsSync16(identityPath)) {
7073
7068
  identityFlag = ` --append-system-prompt-file ${identityPath}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.57",
3
+ "version": "0.9.58",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",