@askexenow/exe-os 0.9.39 → 0.9.41

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 (65) hide show
  1. package/dist/bin/backfill-conversations.js +7 -1
  2. package/dist/bin/backfill-responses.js +7 -1
  3. package/dist/bin/backfill-vectors.js +7 -1
  4. package/dist/bin/cleanup-stale-review-tasks.js +7 -1
  5. package/dist/bin/cli.js +43 -4
  6. package/dist/bin/exe-agent.js +7 -1
  7. package/dist/bin/exe-assign.js +7 -1
  8. package/dist/bin/exe-boot.js +7 -1
  9. package/dist/bin/exe-call.js +7 -1
  10. package/dist/bin/exe-dispatch.js +7 -1
  11. package/dist/bin/exe-doctor.js +7 -1
  12. package/dist/bin/exe-export-behaviors.js +7 -1
  13. package/dist/bin/exe-forget.js +7 -1
  14. package/dist/bin/exe-gateway.js +7 -1
  15. package/dist/bin/exe-heartbeat.js +7 -1
  16. package/dist/bin/exe-kill.js +7 -1
  17. package/dist/bin/exe-launch-agent.js +7 -1
  18. package/dist/bin/exe-new-employee.js +7 -1
  19. package/dist/bin/exe-pending-messages.js +7 -1
  20. package/dist/bin/exe-pending-notifications.js +7 -1
  21. package/dist/bin/exe-pending-reviews.js +7 -1
  22. package/dist/bin/exe-rename.js +7 -1
  23. package/dist/bin/exe-review.js +7 -1
  24. package/dist/bin/exe-search.js +7 -1
  25. package/dist/bin/exe-session-cleanup.js +7 -1
  26. package/dist/bin/exe-start-codex.js +7 -1
  27. package/dist/bin/exe-start-opencode.js +7 -1
  28. package/dist/bin/exe-status.js +7 -1
  29. package/dist/bin/exe-team.js +7 -1
  30. package/dist/bin/git-sweep.js +7 -1
  31. package/dist/bin/graph-backfill.js +7 -1
  32. package/dist/bin/graph-export.js +7 -1
  33. package/dist/bin/intercom-check.js +7 -1
  34. package/dist/bin/scan-tasks.js +7 -1
  35. package/dist/bin/setup.js +7 -1
  36. package/dist/bin/shard-migrate.js +7 -1
  37. package/dist/bin/update.js +36 -3
  38. package/dist/gateway/index.js +7 -1
  39. package/dist/hooks/bug-report-worker.js +7 -1
  40. package/dist/hooks/codex-stop-task-finalizer.js +7 -1
  41. package/dist/hooks/commit-complete.js +7 -1
  42. package/dist/hooks/error-recall.js +7 -1
  43. package/dist/hooks/ingest.js +7 -1
  44. package/dist/hooks/instructions-loaded.js +7 -1
  45. package/dist/hooks/notification.js +7 -1
  46. package/dist/hooks/post-compact.js +7 -1
  47. package/dist/hooks/post-tool-combined.js +7 -1
  48. package/dist/hooks/pre-compact.js +7 -1
  49. package/dist/hooks/pre-tool-use.js +7 -1
  50. package/dist/hooks/prompt-submit.js +7 -1
  51. package/dist/hooks/session-end.js +7 -1
  52. package/dist/hooks/session-start.js +7 -1
  53. package/dist/hooks/stop.js +7 -1
  54. package/dist/hooks/subagent-stop.js +7 -1
  55. package/dist/hooks/summary-worker.js +7 -1
  56. package/dist/index.js +7 -1
  57. package/dist/lib/employee-templates.js +7 -1
  58. package/dist/lib/exe-daemon.js +276 -47
  59. package/dist/lib/hybrid-search.js +7 -1
  60. package/dist/lib/schedules.js +7 -1
  61. package/dist/lib/store.js +7 -1
  62. package/dist/mcp/server.js +251 -29
  63. package/dist/runtime/index.js +7 -1
  64. package/dist/tui/App.js +7 -1
  65. package/package.json +2 -2
@@ -3658,6 +3658,12 @@ var init_platform_procedures = __esm({
3658
3658
  priority: "p0",
3659
3659
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
3660
3660
  },
3661
+ {
3662
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3663
+ domain: "support",
3664
+ priority: "p0",
3665
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
3666
+ },
3661
3667
  // --- Operations ---
3662
3668
  {
3663
3669
  title: "Managers must supervise deployed workers",
@@ -3726,7 +3732,7 @@ var init_platform_procedures = __esm({
3726
3732
  title: "MCP tools \u2014 identity, behavior, and decisions",
3727
3733
  domain: "tool-use",
3728
3734
  priority: "p1",
3729
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
3735
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
3730
3736
  },
3731
3737
  {
3732
3738
  title: "MCP tools \u2014 communication and messaging",
@@ -3658,6 +3658,12 @@ var init_platform_procedures = __esm({
3658
3658
  priority: "p0",
3659
3659
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
3660
3660
  },
3661
+ {
3662
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3663
+ domain: "support",
3664
+ priority: "p0",
3665
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
3666
+ },
3661
3667
  // --- Operations ---
3662
3668
  {
3663
3669
  title: "Managers must supervise deployed workers",
@@ -3726,7 +3732,7 @@ var init_platform_procedures = __esm({
3726
3732
  title: "MCP tools \u2014 identity, behavior, and decisions",
3727
3733
  domain: "tool-use",
3728
3734
  priority: "p1",
3729
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
3735
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
3730
3736
  },
3731
3737
  {
3732
3738
  title: "MCP tools \u2014 communication and messaging",
@@ -4078,6 +4078,12 @@ var init_platform_procedures = __esm({
4078
4078
  priority: "p0",
4079
4079
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
4080
4080
  },
4081
+ {
4082
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4083
+ domain: "support",
4084
+ priority: "p0",
4085
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
4086
+ },
4081
4087
  // --- Operations ---
4082
4088
  {
4083
4089
  title: "Managers must supervise deployed workers",
@@ -4146,7 +4152,7 @@ var init_platform_procedures = __esm({
4146
4152
  title: "MCP tools \u2014 identity, behavior, and decisions",
4147
4153
  domain: "tool-use",
4148
4154
  priority: "p1",
4149
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4155
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4150
4156
  },
4151
4157
  {
4152
4158
  title: "MCP tools \u2014 communication and messaging",
@@ -3822,6 +3822,12 @@ var init_platform_procedures = __esm({
3822
3822
  priority: "p0",
3823
3823
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
3824
3824
  },
3825
+ {
3826
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3827
+ domain: "support",
3828
+ priority: "p0",
3829
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
3830
+ },
3825
3831
  // --- Operations ---
3826
3832
  {
3827
3833
  title: "Managers must supervise deployed workers",
@@ -3890,7 +3896,7 @@ var init_platform_procedures = __esm({
3890
3896
  title: "MCP tools \u2014 identity, behavior, and decisions",
3891
3897
  domain: "tool-use",
3892
3898
  priority: "p1",
3893
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
3899
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
3894
3900
  },
3895
3901
  {
3896
3902
  title: "MCP tools \u2014 communication and messaging",
@@ -7339,6 +7339,12 @@ var init_platform_procedures = __esm({
7339
7339
  priority: "p0",
7340
7340
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
7341
7341
  },
7342
+ {
7343
+ title: "Customer patch triage \u2014 upstream bug vs customization",
7344
+ domain: "support",
7345
+ priority: "p0",
7346
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
7347
+ },
7342
7348
  // --- Operations ---
7343
7349
  {
7344
7350
  title: "Managers must supervise deployed workers",
@@ -7407,7 +7413,7 @@ var init_platform_procedures = __esm({
7407
7413
  title: "MCP tools \u2014 identity, behavior, and decisions",
7408
7414
  domain: "tool-use",
7409
7415
  priority: "p1",
7410
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
7416
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
7411
7417
  },
7412
7418
  {
7413
7419
  title: "MCP tools \u2014 communication and messaging",
@@ -4549,6 +4549,12 @@ var init_platform_procedures = __esm({
4549
4549
  priority: "p0",
4550
4550
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
4551
4551
  },
4552
+ {
4553
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4554
+ domain: "support",
4555
+ priority: "p0",
4556
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
4557
+ },
4552
4558
  // --- Operations ---
4553
4559
  {
4554
4560
  title: "Managers must supervise deployed workers",
@@ -4617,7 +4623,7 @@ var init_platform_procedures = __esm({
4617
4623
  title: "MCP tools \u2014 identity, behavior, and decisions",
4618
4624
  domain: "tool-use",
4619
4625
  priority: "p1",
4620
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4626
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4621
4627
  },
4622
4628
  {
4623
4629
  title: "MCP tools \u2014 communication and messaging",
@@ -3990,6 +3990,12 @@ var init_platform_procedures = __esm({
3990
3990
  priority: "p0",
3991
3991
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
3992
3992
  },
3993
+ {
3994
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3995
+ domain: "support",
3996
+ priority: "p0",
3997
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
3998
+ },
3993
3999
  // --- Operations ---
3994
4000
  {
3995
4001
  title: "Managers must supervise deployed workers",
@@ -4058,7 +4064,7 @@ var init_platform_procedures = __esm({
4058
4064
  title: "MCP tools \u2014 identity, behavior, and decisions",
4059
4065
  domain: "tool-use",
4060
4066
  priority: "p1",
4061
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4067
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4062
4068
  },
4063
4069
  {
4064
4070
  title: "MCP tools \u2014 communication and messaging",
@@ -7548,6 +7548,12 @@ var init_platform_procedures = __esm({
7548
7548
  priority: "p0",
7549
7549
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
7550
7550
  },
7551
+ {
7552
+ title: "Customer patch triage \u2014 upstream bug vs customization",
7553
+ domain: "support",
7554
+ priority: "p0",
7555
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
7556
+ },
7551
7557
  // --- Operations ---
7552
7558
  {
7553
7559
  title: "Managers must supervise deployed workers",
@@ -7616,7 +7622,7 @@ var init_platform_procedures = __esm({
7616
7622
  title: "MCP tools \u2014 identity, behavior, and decisions",
7617
7623
  domain: "tool-use",
7618
7624
  priority: "p1",
7619
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
7625
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
7620
7626
  },
7621
7627
  {
7622
7628
  title: "MCP tools \u2014 communication and messaging",
@@ -4056,6 +4056,12 @@ var init_platform_procedures = __esm({
4056
4056
  priority: "p0",
4057
4057
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
4058
4058
  },
4059
+ {
4060
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4061
+ domain: "support",
4062
+ priority: "p0",
4063
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
4064
+ },
4059
4065
  // --- Operations ---
4060
4066
  {
4061
4067
  title: "Managers must supervise deployed workers",
@@ -4124,7 +4130,7 @@ var init_platform_procedures = __esm({
4124
4130
  title: "MCP tools \u2014 identity, behavior, and decisions",
4125
4131
  domain: "tool-use",
4126
4132
  priority: "p1",
4127
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4133
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4128
4134
  },
4129
4135
  {
4130
4136
  title: "MCP tools \u2014 communication and messaging",
@@ -4104,6 +4104,12 @@ var init_platform_procedures = __esm({
4104
4104
  priority: "p0",
4105
4105
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
4106
4106
  },
4107
+ {
4108
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4109
+ domain: "support",
4110
+ priority: "p0",
4111
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
4112
+ },
4107
4113
  // --- Operations ---
4108
4114
  {
4109
4115
  title: "Managers must supervise deployed workers",
@@ -4172,7 +4178,7 @@ var init_platform_procedures = __esm({
4172
4178
  title: "MCP tools \u2014 identity, behavior, and decisions",
4173
4179
  domain: "tool-use",
4174
4180
  priority: "p1",
4175
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4181
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4176
4182
  },
4177
4183
  {
4178
4184
  title: "MCP tools \u2014 communication and messaging",
@@ -4085,6 +4085,12 @@ var init_platform_procedures = __esm({
4085
4085
  priority: "p0",
4086
4086
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
4087
4087
  },
4088
+ {
4089
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4090
+ domain: "support",
4091
+ priority: "p0",
4092
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
4093
+ },
4088
4094
  // --- Operations ---
4089
4095
  {
4090
4096
  title: "Managers must supervise deployed workers",
@@ -4153,7 +4159,7 @@ var init_platform_procedures = __esm({
4153
4159
  title: "MCP tools \u2014 identity, behavior, and decisions",
4154
4160
  domain: "tool-use",
4155
4161
  priority: "p1",
4156
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
4162
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
4157
4163
  },
4158
4164
  {
4159
4165
  title: "MCP tools \u2014 communication and messaging",
@@ -3638,6 +3638,12 @@ var init_platform_procedures = __esm({
3638
3638
  priority: "p0",
3639
3639
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
3640
3640
  },
3641
+ {
3642
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3643
+ domain: "support",
3644
+ priority: "p0",
3645
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
3646
+ },
3641
3647
  // --- Operations ---
3642
3648
  {
3643
3649
  title: "Managers must supervise deployed workers",
@@ -3706,7 +3712,7 @@ var init_platform_procedures = __esm({
3706
3712
  title: "MCP tools \u2014 identity, behavior, and decisions",
3707
3713
  domain: "tool-use",
3708
3714
  priority: "p1",
3709
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
3715
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
3710
3716
  },
3711
3717
  {
3712
3718
  title: "MCP tools \u2014 communication and messaging",
package/dist/index.js CHANGED
@@ -7630,6 +7630,12 @@ var init_platform_procedures = __esm({
7630
7630
  priority: "p0",
7631
7631
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
7632
7632
  },
7633
+ {
7634
+ title: "Customer patch triage \u2014 upstream bug vs customization",
7635
+ domain: "support",
7636
+ priority: "p0",
7637
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
7638
+ },
7633
7639
  // --- Operations ---
7634
7640
  {
7635
7641
  title: "Managers must supervise deployed workers",
@@ -7698,7 +7704,7 @@ var init_platform_procedures = __esm({
7698
7704
  title: "MCP tools \u2014 identity, behavior, and decisions",
7699
7705
  domain: "tool-use",
7700
7706
  priority: "p1",
7701
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
7707
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
7702
7708
  },
7703
7709
  {
7704
7710
  title: "MCP tools \u2014 communication and messaging",
@@ -202,6 +202,12 @@ var PLATFORM_PROCEDURES = [
202
202
  priority: "p0",
203
203
  content: "NEVER: (1) Access the database directly \u2014 it's SQLCipher encrypted, always fails. Use MCP tools only. (2) Manually spawn tmux sessions \u2014 create_task handles it. (3) Run git checkout main \u2014 agents work in worktrees. (4) Modify another agent's in-progress task. (5) Push to remote \u2014 the COO reviews and pushes. (6) Skip update_task(done) \u2014 it's the ONLY way your work gets reviewed. (7) Run git init."
204
204
  },
205
+ {
206
+ title: "Customer patch triage \u2014 upstream bug vs customization",
207
+ domain: "support",
208
+ priority: "p0",
209
+ content: "Before editing platform code for a customer issue, classify it. Upstream bug = reproducible exe-os/platform defect; call create_bug_report with repro/version/workaround and avoid permanent local patches unless founder approves. Customer customization = identity, behavior, procedure, config, branding, workflow; store it in customer-owned layers, not platform code. Emergency hotfix = temporary only; document files/diff and re-check after npm update."
210
+ },
205
211
  // --- Operations ---
206
212
  {
207
213
  title: "Managers must supervise deployed workers",
@@ -270,7 +276,7 @@ var PLATFORM_PROCEDURES = [
270
276
  title: "MCP tools \u2014 identity, behavior, and decisions",
271
277
  domain: "tool-use",
272
278
  priority: "p1",
273
- content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
279
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query. create_bug_report: classify/file upstream bugs, customer customizations, and emergency hotfixes."
274
280
  },
275
281
  {
276
282
  title: "MCP tools \u2014 communication and messaging",