@akagilnc/pi-workflow-roles 0.1.6123 → 0.1.6131

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.
Files changed (38) hide show
  1. package/dist/acp-host/production-host.js +15738 -15781
  2. package/dist/headless-host/description.js +4 -1
  3. package/dist/headless-host/production-host.js +6215 -6258
  4. package/dist/public-cli/invocation.js +1 -1
  5. package/dist/public-cli/main.js +11211 -11254
  6. package/dist/public-cli/post-admission.js +1 -1
  7. package/dist/public-cli/run-lifecycle.js +1 -4
  8. package/dist/role-run-path-rewrite.js +18 -62
  9. package/dist/role-run-relocation.js +6 -272
  10. package/dist/run-ticket-number.js +0 -15
  11. package/dist/ticket-provenance-contracts.js +0 -24
  12. package/dist/ticket-provenance.js +1 -1
  13. package/package.json +2 -3
  14. package/scripts/build-package.mjs +0 -30
  15. package/src/headless-host/description.ts +4 -1
  16. package/src/public-cli/invocation.ts +2 -1
  17. package/src/public-cli/post-admission.ts +2 -1
  18. package/src/public-cli/run-lifecycle.ts +1 -4
  19. package/src/role-run-path-rewrite.ts +33 -92
  20. package/src/role-run-relocation.ts +5 -322
  21. package/src/run-ticket-number.ts +5 -38
  22. package/src/ticket-provenance-contracts.ts +0 -32
  23. package/src/ticket-provenance.ts +1 -1
  24. package/dist/book-topology-migration-placement.js +0 -404
  25. package/dist/book-topology-migration.js +0 -125
  26. package/dist/book-topology-migrators-t11.js +0 -677
  27. package/dist/book-topology-mixed-volume-migrators.js +0 -322
  28. package/dist/book-topology-partition-migrators.js +0 -23
  29. package/dist/book-topology-record-class-migrators.js +0 -671
  30. package/dist/book-topology-runs-migrator.js +0 -272
  31. package/dist/migrate-book-topology.js +0 -13982
  32. package/src/book-topology-migration-placement.ts +0 -501
  33. package/src/book-topology-migration.ts +0 -213
  34. package/src/book-topology-migrators-t11.ts +0 -857
  35. package/src/book-topology-mixed-volume-migrators.ts +0 -453
  36. package/src/book-topology-partition-migrators.ts +0 -25
  37. package/src/book-topology-record-class-migrators.ts +0 -882
  38. package/src/book-topology-runs-migrator.ts +0 -397
@@ -394,6 +394,9 @@ export function codexTurnArgs(options) {
394
394
  /**
395
395
  * Project shared-envelope MCP server rows into Claude `--mcp-config` JSON.
396
396
  * Env stays a plain object (Claude CLI shape); ACP rows use `{name,value}[]`.
397
+ * Each server carries Claude's `alwaysLoad` (#1295): Claude otherwise defers MCP
398
+ * tool definitions until searched, so a leg would not see "when to call" in the
399
+ * report-ticket tool's description at session start.
397
400
  */
398
401
  export function headlessMcpConfigDocument(mcpServers) {
399
402
  const servers = {};
@@ -402,7 +405,7 @@ export function headlessMcpConfigDocument(mcpServers) {
402
405
  const command = typeof row.command === "string" ? row.command : undefined;
403
406
  if (name === undefined || name === "" || command === undefined || command === "")
404
407
  continue;
405
- const entry = { command };
408
+ const entry = { command, alwaysLoad: true };
406
409
  if (Array.isArray(row.args))
407
410
  entry.args = row.args;
408
411
  const env = stringEnvironment(row.env);