@askexenow/exe-os 0.9.40 → 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 (64) 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 +7 -1
  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/gateway/index.js +7 -1
  38. package/dist/hooks/bug-report-worker.js +7 -1
  39. package/dist/hooks/codex-stop-task-finalizer.js +7 -1
  40. package/dist/hooks/commit-complete.js +7 -1
  41. package/dist/hooks/error-recall.js +7 -1
  42. package/dist/hooks/ingest.js +7 -1
  43. package/dist/hooks/instructions-loaded.js +7 -1
  44. package/dist/hooks/notification.js +7 -1
  45. package/dist/hooks/post-compact.js +7 -1
  46. package/dist/hooks/post-tool-combined.js +7 -1
  47. package/dist/hooks/pre-compact.js +7 -1
  48. package/dist/hooks/pre-tool-use.js +7 -1
  49. package/dist/hooks/prompt-submit.js +7 -1
  50. package/dist/hooks/session-end.js +7 -1
  51. package/dist/hooks/session-start.js +7 -1
  52. package/dist/hooks/stop.js +7 -1
  53. package/dist/hooks/subagent-stop.js +7 -1
  54. package/dist/hooks/summary-worker.js +7 -1
  55. package/dist/index.js +7 -1
  56. package/dist/lib/employee-templates.js +7 -1
  57. package/dist/lib/exe-daemon.js +276 -47
  58. package/dist/lib/hybrid-search.js +7 -1
  59. package/dist/lib/schedules.js +7 -1
  60. package/dist/lib/store.js +7 -1
  61. package/dist/mcp/server.js +251 -29
  62. package/dist/runtime/index.js +7 -1
  63. package/dist/tui/App.js +7 -1
  64. package/package.json +1 -1
@@ -3147,6 +3147,12 @@ var init_platform_procedures = __esm({
3147
3147
  priority: "p0",
3148
3148
  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."
3149
3149
  },
3150
+ {
3151
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3152
+ domain: "support",
3153
+ priority: "p0",
3154
+ 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."
3155
+ },
3150
3156
  // --- Operations ---
3151
3157
  {
3152
3158
  title: "Managers must supervise deployed workers",
@@ -3215,7 +3221,7 @@ var init_platform_procedures = __esm({
3215
3221
  title: "MCP tools \u2014 identity, behavior, and decisions",
3216
3222
  domain: "tool-use",
3217
3223
  priority: "p1",
3218
- 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."
3224
+ 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."
3219
3225
  },
3220
3226
  {
3221
3227
  title: "MCP tools \u2014 communication and messaging",
@@ -3147,6 +3147,12 @@ var init_platform_procedures = __esm({
3147
3147
  priority: "p0",
3148
3148
  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."
3149
3149
  },
3150
+ {
3151
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3152
+ domain: "support",
3153
+ priority: "p0",
3154
+ 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."
3155
+ },
3150
3156
  // --- Operations ---
3151
3157
  {
3152
3158
  title: "Managers must supervise deployed workers",
@@ -3215,7 +3221,7 @@ var init_platform_procedures = __esm({
3215
3221
  title: "MCP tools \u2014 identity, behavior, and decisions",
3216
3222
  domain: "tool-use",
3217
3223
  priority: "p1",
3218
- 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."
3224
+ 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."
3219
3225
  },
3220
3226
  {
3221
3227
  title: "MCP tools \u2014 communication and messaging",
@@ -3143,6 +3143,12 @@ var init_platform_procedures = __esm({
3143
3143
  priority: "p0",
3144
3144
  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."
3145
3145
  },
3146
+ {
3147
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3148
+ domain: "support",
3149
+ priority: "p0",
3150
+ 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."
3151
+ },
3146
3152
  // --- Operations ---
3147
3153
  {
3148
3154
  title: "Managers must supervise deployed workers",
@@ -3211,7 +3217,7 @@ var init_platform_procedures = __esm({
3211
3217
  title: "MCP tools \u2014 identity, behavior, and decisions",
3212
3218
  domain: "tool-use",
3213
3219
  priority: "p1",
3214
- 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."
3220
+ 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."
3215
3221
  },
3216
3222
  {
3217
3223
  title: "MCP tools \u2014 communication and messaging",
@@ -3667,6 +3667,12 @@ var init_platform_procedures = __esm({
3667
3667
  priority: "p0",
3668
3668
  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."
3669
3669
  },
3670
+ {
3671
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3672
+ domain: "support",
3673
+ priority: "p0",
3674
+ 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."
3675
+ },
3670
3676
  // --- Operations ---
3671
3677
  {
3672
3678
  title: "Managers must supervise deployed workers",
@@ -3735,7 +3741,7 @@ var init_platform_procedures = __esm({
3735
3741
  title: "MCP tools \u2014 identity, behavior, and decisions",
3736
3742
  domain: "tool-use",
3737
3743
  priority: "p1",
3738
- 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."
3744
+ 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."
3739
3745
  },
3740
3746
  {
3741
3747
  title: "MCP tools \u2014 communication and messaging",
package/dist/bin/cli.js CHANGED
@@ -7509,6 +7509,12 @@ var init_platform_procedures = __esm({
7509
7509
  priority: "p0",
7510
7510
  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."
7511
7511
  },
7512
+ {
7513
+ title: "Customer patch triage \u2014 upstream bug vs customization",
7514
+ domain: "support",
7515
+ priority: "p0",
7516
+ 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."
7517
+ },
7512
7518
  // --- Operations ---
7513
7519
  {
7514
7520
  title: "Managers must supervise deployed workers",
@@ -7577,7 +7583,7 @@ var init_platform_procedures = __esm({
7577
7583
  title: "MCP tools \u2014 identity, behavior, and decisions",
7578
7584
  domain: "tool-use",
7579
7585
  priority: "p1",
7580
- 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."
7586
+ 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."
7581
7587
  },
7582
7588
  {
7583
7589
  title: "MCP tools \u2014 communication and messaging",
@@ -1358,6 +1358,12 @@ var PLATFORM_PROCEDURES = [
1358
1358
  priority: "p0",
1359
1359
  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."
1360
1360
  },
1361
+ {
1362
+ title: "Customer patch triage \u2014 upstream bug vs customization",
1363
+ domain: "support",
1364
+ priority: "p0",
1365
+ 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."
1366
+ },
1361
1367
  // --- Operations ---
1362
1368
  {
1363
1369
  title: "Managers must supervise deployed workers",
@@ -1426,7 +1432,7 @@ var PLATFORM_PROCEDURES = [
1426
1432
  title: "MCP tools \u2014 identity, behavior, and decisions",
1427
1433
  domain: "tool-use",
1428
1434
  priority: "p1",
1429
- 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."
1435
+ 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."
1430
1436
  },
1431
1437
  {
1432
1438
  title: "MCP tools \u2014 communication and messaging",
@@ -3157,6 +3157,12 @@ var init_platform_procedures = __esm({
3157
3157
  priority: "p0",
3158
3158
  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."
3159
3159
  },
3160
+ {
3161
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3162
+ domain: "support",
3163
+ priority: "p0",
3164
+ 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."
3165
+ },
3160
3166
  // --- Operations ---
3161
3167
  {
3162
3168
  title: "Managers must supervise deployed workers",
@@ -3225,7 +3231,7 @@ var init_platform_procedures = __esm({
3225
3231
  title: "MCP tools \u2014 identity, behavior, and decisions",
3226
3232
  domain: "tool-use",
3227
3233
  priority: "p1",
3228
- 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."
3234
+ 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."
3229
3235
  },
3230
3236
  {
3231
3237
  title: "MCP tools \u2014 communication and messaging",
@@ -2949,6 +2949,12 @@ var init_platform_procedures = __esm({
2949
2949
  priority: "p0",
2950
2950
  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."
2951
2951
  },
2952
+ {
2953
+ title: "Customer patch triage \u2014 upstream bug vs customization",
2954
+ domain: "support",
2955
+ priority: "p0",
2956
+ 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."
2957
+ },
2952
2958
  // --- Operations ---
2953
2959
  {
2954
2960
  title: "Managers must supervise deployed workers",
@@ -3017,7 +3023,7 @@ var init_platform_procedures = __esm({
3017
3023
  title: "MCP tools \u2014 identity, behavior, and decisions",
3018
3024
  domain: "tool-use",
3019
3025
  priority: "p1",
3020
- 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."
3026
+ 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."
3021
3027
  },
3022
3028
  {
3023
3029
  title: "MCP tools \u2014 communication and messaging",
@@ -296,6 +296,12 @@ var init_platform_procedures = __esm({
296
296
  priority: "p0",
297
297
  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."
298
298
  },
299
+ {
300
+ title: "Customer patch triage \u2014 upstream bug vs customization",
301
+ domain: "support",
302
+ priority: "p0",
303
+ 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."
304
+ },
299
305
  // --- Operations ---
300
306
  {
301
307
  title: "Managers must supervise deployed workers",
@@ -364,7 +370,7 @@ var init_platform_procedures = __esm({
364
370
  title: "MCP tools \u2014 identity, behavior, and decisions",
365
371
  domain: "tool-use",
366
372
  priority: "p1",
367
- 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."
373
+ 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."
368
374
  },
369
375
  {
370
376
  title: "MCP tools \u2014 communication and messaging",
@@ -7340,6 +7340,12 @@ var init_platform_procedures = __esm({
7340
7340
  priority: "p0",
7341
7341
  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."
7342
7342
  },
7343
+ {
7344
+ title: "Customer patch triage \u2014 upstream bug vs customization",
7345
+ domain: "support",
7346
+ priority: "p0",
7347
+ 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."
7348
+ },
7343
7349
  // --- Operations ---
7344
7350
  {
7345
7351
  title: "Managers must supervise deployed workers",
@@ -7408,7 +7414,7 @@ var init_platform_procedures = __esm({
7408
7414
  title: "MCP tools \u2014 identity, behavior, and decisions",
7409
7415
  domain: "tool-use",
7410
7416
  priority: "p1",
7411
- 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."
7417
+ 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."
7412
7418
  },
7413
7419
  {
7414
7420
  title: "MCP tools \u2014 communication and messaging",
@@ -3007,6 +3007,12 @@ var init_platform_procedures = __esm({
3007
3007
  priority: "p0",
3008
3008
  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."
3009
3009
  },
3010
+ {
3011
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3012
+ domain: "support",
3013
+ priority: "p0",
3014
+ 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."
3015
+ },
3010
3016
  // --- Operations ---
3011
3017
  {
3012
3018
  title: "Managers must supervise deployed workers",
@@ -3075,7 +3081,7 @@ var init_platform_procedures = __esm({
3075
3081
  title: "MCP tools \u2014 identity, behavior, and decisions",
3076
3082
  domain: "tool-use",
3077
3083
  priority: "p1",
3078
- 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."
3084
+ 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."
3079
3085
  },
3080
3086
  {
3081
3087
  title: "MCP tools \u2014 communication and messaging",
@@ -3722,6 +3722,12 @@ var init_platform_procedures = __esm({
3722
3722
  priority: "p0",
3723
3723
  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."
3724
3724
  },
3725
+ {
3726
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3727
+ domain: "support",
3728
+ priority: "p0",
3729
+ 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."
3730
+ },
3725
3731
  // --- Operations ---
3726
3732
  {
3727
3733
  title: "Managers must supervise deployed workers",
@@ -3790,7 +3796,7 @@ var init_platform_procedures = __esm({
3790
3796
  title: "MCP tools \u2014 identity, behavior, and decisions",
3791
3797
  domain: "tool-use",
3792
3798
  priority: "p1",
3793
- 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."
3799
+ 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."
3794
3800
  },
3795
3801
  {
3796
3802
  title: "MCP tools \u2014 communication and messaging",
@@ -3656,6 +3656,12 @@ var init_platform_procedures = __esm({
3656
3656
  priority: "p0",
3657
3657
  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."
3658
3658
  },
3659
+ {
3660
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3661
+ domain: "support",
3662
+ priority: "p0",
3663
+ 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."
3664
+ },
3659
3665
  // --- Operations ---
3660
3666
  {
3661
3667
  title: "Managers must supervise deployed workers",
@@ -3724,7 +3730,7 @@ var init_platform_procedures = __esm({
3724
3730
  title: "MCP tools \u2014 identity, behavior, and decisions",
3725
3731
  domain: "tool-use",
3726
3732
  priority: "p1",
3727
- 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."
3733
+ 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."
3728
3734
  },
3729
3735
  {
3730
3736
  title: "MCP tools \u2014 communication and messaging",
@@ -4315,6 +4315,12 @@ var init_platform_procedures = __esm({
4315
4315
  priority: "p0",
4316
4316
  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."
4317
4317
  },
4318
+ {
4319
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4320
+ domain: "support",
4321
+ priority: "p0",
4322
+ 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."
4323
+ },
4318
4324
  // --- Operations ---
4319
4325
  {
4320
4326
  title: "Managers must supervise deployed workers",
@@ -4383,7 +4389,7 @@ var init_platform_procedures = __esm({
4383
4389
  title: "MCP tools \u2014 identity, behavior, and decisions",
4384
4390
  domain: "tool-use",
4385
4391
  priority: "p1",
4386
- 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."
4392
+ 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."
4387
4393
  },
4388
4394
  {
4389
4395
  title: "MCP tools \u2014 communication and messaging",
@@ -3686,6 +3686,12 @@ var init_platform_procedures = __esm({
3686
3686
  priority: "p0",
3687
3687
  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."
3688
3688
  },
3689
+ {
3690
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3691
+ domain: "support",
3692
+ priority: "p0",
3693
+ 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."
3694
+ },
3689
3695
  // --- Operations ---
3690
3696
  {
3691
3697
  title: "Managers must supervise deployed workers",
@@ -3754,7 +3760,7 @@ var init_platform_procedures = __esm({
3754
3760
  title: "MCP tools \u2014 identity, behavior, and decisions",
3755
3761
  domain: "tool-use",
3756
3762
  priority: "p1",
3757
- 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."
3763
+ 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."
3758
3764
  },
3759
3765
  {
3760
3766
  title: "MCP tools \u2014 communication and messaging",
@@ -3656,6 +3656,12 @@ var init_platform_procedures = __esm({
3656
3656
  priority: "p0",
3657
3657
  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."
3658
3658
  },
3659
+ {
3660
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3661
+ domain: "support",
3662
+ priority: "p0",
3663
+ 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."
3664
+ },
3659
3665
  // --- Operations ---
3660
3666
  {
3661
3667
  title: "Managers must supervise deployed workers",
@@ -3724,7 +3730,7 @@ var init_platform_procedures = __esm({
3724
3730
  title: "MCP tools \u2014 identity, behavior, and decisions",
3725
3731
  domain: "tool-use",
3726
3732
  priority: "p1",
3727
- 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."
3733
+ 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."
3728
3734
  },
3729
3735
  {
3730
3736
  title: "MCP tools \u2014 communication and messaging",
@@ -3095,6 +3095,12 @@ var init_platform_procedures = __esm({
3095
3095
  priority: "p0",
3096
3096
  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."
3097
3097
  },
3098
+ {
3099
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3100
+ domain: "support",
3101
+ priority: "p0",
3102
+ 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."
3103
+ },
3098
3104
  // --- Operations ---
3099
3105
  {
3100
3106
  title: "Managers must supervise deployed workers",
@@ -3163,7 +3169,7 @@ var init_platform_procedures = __esm({
3163
3169
  title: "MCP tools \u2014 identity, behavior, and decisions",
3164
3170
  domain: "tool-use",
3165
3171
  priority: "p1",
3166
- 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."
3172
+ 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."
3167
3173
  },
3168
3174
  {
3169
3175
  title: "MCP tools \u2014 communication and messaging",
@@ -2375,6 +2375,12 @@ var PLATFORM_PROCEDURES = [
2375
2375
  priority: "p0",
2376
2376
  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."
2377
2377
  },
2378
+ {
2379
+ title: "Customer patch triage \u2014 upstream bug vs customization",
2380
+ domain: "support",
2381
+ priority: "p0",
2382
+ 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."
2383
+ },
2378
2384
  // --- Operations ---
2379
2385
  {
2380
2386
  title: "Managers must supervise deployed workers",
@@ -2443,7 +2449,7 @@ var PLATFORM_PROCEDURES = [
2443
2449
  title: "MCP tools \u2014 identity, behavior, and decisions",
2444
2450
  domain: "tool-use",
2445
2451
  priority: "p1",
2446
- 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."
2452
+ 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."
2447
2453
  },
2448
2454
  {
2449
2455
  title: "MCP tools \u2014 communication and messaging",
@@ -4075,6 +4075,12 @@ var init_platform_procedures = __esm({
4075
4075
  priority: "p0",
4076
4076
  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."
4077
4077
  },
4078
+ {
4079
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4080
+ domain: "support",
4081
+ priority: "p0",
4082
+ 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."
4083
+ },
4078
4084
  // --- Operations ---
4079
4085
  {
4080
4086
  title: "Managers must supervise deployed workers",
@@ -4143,7 +4149,7 @@ var init_platform_procedures = __esm({
4143
4149
  title: "MCP tools \u2014 identity, behavior, and decisions",
4144
4150
  domain: "tool-use",
4145
4151
  priority: "p1",
4146
- 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."
4152
+ 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."
4147
4153
  },
4148
4154
  {
4149
4155
  title: "MCP tools \u2014 communication and messaging",
@@ -4141,6 +4141,12 @@ var init_platform_procedures = __esm({
4141
4141
  priority: "p0",
4142
4142
  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."
4143
4143
  },
4144
+ {
4145
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4146
+ domain: "support",
4147
+ priority: "p0",
4148
+ 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."
4149
+ },
4144
4150
  // --- Operations ---
4145
4151
  {
4146
4152
  title: "Managers must supervise deployed workers",
@@ -4209,7 +4215,7 @@ var init_platform_procedures = __esm({
4209
4215
  title: "MCP tools \u2014 identity, behavior, and decisions",
4210
4216
  domain: "tool-use",
4211
4217
  priority: "p1",
4212
- 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."
4218
+ 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."
4213
4219
  },
4214
4220
  {
4215
4221
  title: "MCP tools \u2014 communication and messaging",
@@ -4180,6 +4180,12 @@ var init_platform_procedures = __esm({
4180
4180
  priority: "p0",
4181
4181
  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."
4182
4182
  },
4183
+ {
4184
+ title: "Customer patch triage \u2014 upstream bug vs customization",
4185
+ domain: "support",
4186
+ priority: "p0",
4187
+ 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."
4188
+ },
4183
4189
  // --- Operations ---
4184
4190
  {
4185
4191
  title: "Managers must supervise deployed workers",
@@ -4248,7 +4254,7 @@ var init_platform_procedures = __esm({
4248
4254
  title: "MCP tools \u2014 identity, behavior, and decisions",
4249
4255
  domain: "tool-use",
4250
4256
  priority: "p1",
4251
- 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."
4257
+ 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."
4252
4258
  },
4253
4259
  {
4254
4260
  title: "MCP tools \u2014 communication and messaging",
@@ -2727,6 +2727,12 @@ var init_platform_procedures = __esm({
2727
2727
  priority: "p0",
2728
2728
  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."
2729
2729
  },
2730
+ {
2731
+ title: "Customer patch triage \u2014 upstream bug vs customization",
2732
+ domain: "support",
2733
+ priority: "p0",
2734
+ 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."
2735
+ },
2730
2736
  // --- Operations ---
2731
2737
  {
2732
2738
  title: "Managers must supervise deployed workers",
@@ -2795,7 +2801,7 @@ var init_platform_procedures = __esm({
2795
2801
  title: "MCP tools \u2014 identity, behavior, and decisions",
2796
2802
  domain: "tool-use",
2797
2803
  priority: "p1",
2798
- 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."
2804
+ 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."
2799
2805
  },
2800
2806
  {
2801
2807
  title: "MCP tools \u2014 communication and messaging",
@@ -3670,6 +3670,12 @@ var init_platform_procedures = __esm({
3670
3670
  priority: "p0",
3671
3671
  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."
3672
3672
  },
3673
+ {
3674
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3675
+ domain: "support",
3676
+ priority: "p0",
3677
+ 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."
3678
+ },
3673
3679
  // --- Operations ---
3674
3680
  {
3675
3681
  title: "Managers must supervise deployed workers",
@@ -3738,7 +3744,7 @@ var init_platform_procedures = __esm({
3738
3744
  title: "MCP tools \u2014 identity, behavior, and decisions",
3739
3745
  domain: "tool-use",
3740
3746
  priority: "p1",
3741
- 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."
3747
+ 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."
3742
3748
  },
3743
3749
  {
3744
3750
  title: "MCP tools \u2014 communication and messaging",
@@ -3645,6 +3645,12 @@ var init_platform_procedures = __esm({
3645
3645
  priority: "p0",
3646
3646
  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."
3647
3647
  },
3648
+ {
3649
+ title: "Customer patch triage \u2014 upstream bug vs customization",
3650
+ domain: "support",
3651
+ priority: "p0",
3652
+ 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."
3653
+ },
3648
3654
  // --- Operations ---
3649
3655
  {
3650
3656
  title: "Managers must supervise deployed workers",
@@ -3713,7 +3719,7 @@ var init_platform_procedures = __esm({
3713
3719
  title: "MCP tools \u2014 identity, behavior, and decisions",
3714
3720
  domain: "tool-use",
3715
3721
  priority: "p1",
3716
- 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."
3722
+ 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."
3717
3723
  },
3718
3724
  {
3719
3725
  title: "MCP tools \u2014 communication and messaging",