@rubytech/create-maxy-code 0.1.181 → 0.1.183

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 (186) hide show
  1. package/dist/__tests__/bundler-rewrite-platform-lib.test.js +68 -0
  2. package/dist/bundler-rewrite-platform-lib.js +29 -0
  3. package/package.json +1 -1
  4. package/payload/platform/lib/graph-search/dist/index.d.ts +10 -0
  5. package/payload/platform/lib/graph-search/dist/index.d.ts.map +1 -1
  6. package/payload/platform/lib/graph-search/dist/index.js +57 -30
  7. package/payload/platform/lib/graph-search/dist/index.js.map +1 -1
  8. package/payload/platform/lib/graph-search/src/__tests__/hybrid.test.ts +95 -2
  9. package/payload/platform/lib/graph-search/src/__tests__/vector-index-coverage.test.ts +198 -0
  10. package/payload/platform/lib/graph-search/src/index.ts +73 -29
  11. package/payload/platform/neo4j/schema.cypher +36 -0
  12. package/payload/platform/plugins/admin/PLUGIN.md +2 -0
  13. package/payload/platform/plugins/admin/hooks/admin-authoring-observer.sh +155 -0
  14. package/payload/platform/plugins/admin/skills/access-manager/SKILL.md +7 -5
  15. package/payload/platform/plugins/admin/skills/access-manager/references/operations.md +27 -55
  16. package/payload/platform/plugins/admin/skills/professional-document/SKILL.md +178 -0
  17. package/payload/platform/plugins/admin/skills/specialist-management/SKILL.md +3 -2
  18. package/payload/platform/plugins/aeo/mcp/dist/index.js +3 -0
  19. package/payload/platform/plugins/aeo/mcp/dist/index.js.map +1 -1
  20. package/payload/platform/plugins/contacts/PLUGIN.md +1 -0
  21. package/payload/platform/plugins/contacts/mcp/dist/index.js +3 -0
  22. package/payload/platform/plugins/contacts/mcp/dist/index.js.map +1 -1
  23. package/payload/platform/plugins/docs/references/access-control.md +29 -22
  24. package/payload/platform/plugins/email/mcp/dist/scripts/send-transactional.d.ts +2 -0
  25. package/payload/platform/plugins/email/mcp/dist/scripts/send-transactional.d.ts.map +1 -0
  26. package/payload/platform/plugins/email/mcp/dist/scripts/send-transactional.js +56 -0
  27. package/payload/platform/plugins/email/mcp/dist/scripts/send-transactional.js.map +1 -0
  28. package/payload/platform/plugins/memory/.claude-plugin/plugin.json +1 -1
  29. package/payload/platform/plugins/memory/PLUGIN.md +5 -1
  30. package/payload/platform/plugins/memory/mcp/dist/index.js +76 -2
  31. package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
  32. package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/typed-edge-schema.test.js +30 -1
  33. package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/typed-edge-schema.test.js.map +1 -1
  34. package/payload/platform/plugins/memory/mcp/dist/lib/section-types.d.ts +15 -0
  35. package/payload/platform/plugins/memory/mcp/dist/lib/section-types.d.ts.map +1 -1
  36. package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.d.ts +10 -0
  37. package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.d.ts.map +1 -1
  38. package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.js +35 -4
  39. package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.js.map +1 -1
  40. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-ingest.test.js +61 -0
  41. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-ingest.test.js.map +1 -1
  42. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-update-by-name.test.d.ts +2 -0
  43. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-update-by-name.test.d.ts.map +1 -0
  44. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-update-by-name.test.js +125 -0
  45. package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/memory-update-by-name.test.js.map +1 -0
  46. package/payload/platform/plugins/memory/mcp/dist/tools/memory-ingest.d.ts.map +1 -1
  47. package/payload/platform/plugins/memory/mcp/dist/tools/memory-ingest.js +65 -5
  48. package/payload/platform/plugins/memory/mcp/dist/tools/memory-ingest.js.map +1 -1
  49. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update-by-name.d.ts +15 -0
  50. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update-by-name.d.ts.map +1 -0
  51. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update-by-name.js +45 -0
  52. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update-by-name.js.map +1 -0
  53. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update.js +24 -1
  54. package/payload/platform/plugins/memory/mcp/dist/tools/memory-update.js.map +1 -1
  55. package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.d.ts.map +1 -1
  56. package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js +16 -0
  57. package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js.map +1 -1
  58. package/payload/platform/plugins/memory/references/graph-primitives.md +1 -0
  59. package/payload/platform/plugins/memory/references/schema-base.md +4 -2
  60. package/payload/platform/plugins/memory/skills/document-ingest/SKILL.md +24 -0
  61. package/payload/platform/plugins/scheduling/PLUGIN.md +1 -0
  62. package/payload/platform/plugins/scheduling/mcp/dist/index.js +3 -0
  63. package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
  64. package/payload/platform/plugins/work/PLUGIN.md +1 -0
  65. package/payload/platform/plugins/work/mcp/dist/index.js +4 -0
  66. package/payload/platform/plugins/work/mcp/dist/index.js.map +1 -1
  67. package/payload/platform/plugins/workflows/PLUGIN.md +1 -0
  68. package/payload/platform/plugins/workflows/mcp/dist/index.js +3 -0
  69. package/payload/platform/plugins/workflows/mcp/dist/index.js.map +1 -1
  70. package/payload/platform/scripts/__tests__/agents-md-bootstrap.test.sh +111 -0
  71. package/payload/platform/scripts/lib/agents-md-bootstrap.sh +49 -0
  72. package/payload/platform/scripts/setup-account.sh +18 -14
  73. package/payload/platform/services/claude-session-manager/dist/fs-watcher.d.ts +8 -0
  74. package/payload/platform/services/claude-session-manager/dist/fs-watcher.d.ts.map +1 -1
  75. package/payload/platform/services/claude-session-manager/dist/fs-watcher.js.map +1 -1
  76. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
  77. package/payload/platform/services/claude-session-manager/dist/http-server.js +12 -0
  78. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  79. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +32 -4
  80. package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
  81. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +154 -53
  82. package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
  83. package/payload/platform/templates/agents/admin/AGENTS.md +18 -7
  84. package/payload/platform/templates/agents/admin/IDENTITY.md +2 -2
  85. package/payload/platform/templates/specialists/agents/archive-ingest-operator.md +1 -1
  86. package/payload/platform/templates/specialists/agents/citation-auditor.md +1 -1
  87. package/payload/platform/templates/specialists/agents/compiled-truth-rewriter.md +1 -1
  88. package/payload/platform/templates/specialists/agents/content-producer.md +3 -1
  89. package/payload/platform/templates/specialists/agents/database-operator.md +2 -2
  90. package/payload/platform/templates/specialists/agents/librarian.md +1 -1
  91. package/payload/platform/templates/specialists/agents/personal-assistant.md +1 -1
  92. package/payload/platform/templates/specialists/agents/project-manager.md +1 -1
  93. package/payload/platform/templates/specialists/agents/public-session-reviewer.md +40 -0
  94. package/payload/platform/templates/specialists/agents/research-assistant.md +1 -1
  95. package/payload/platform/templates/specialists/agents/typed-edge-classifier.md +1 -1
  96. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts +13 -0
  97. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts.map +1 -1
  98. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js +15 -1
  99. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js.map +1 -1
  100. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js +1 -1
  101. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js.map +1 -1
  102. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js +1 -1
  103. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js.map +1 -1
  104. package/payload/premium-plugins/writer-craft/mcp/src/lib/voice-corpus.ts +15 -1
  105. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-distil-profile.ts +1 -1
  106. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +1 -1
  107. package/payload/server/public/assets/ChatInput-DzacFNMk.css +1 -0
  108. package/payload/server/public/assets/{Checkbox-YrQovXpN.js → Checkbox-BJKNkUYu.js} +1 -1
  109. package/payload/server/public/assets/{admin-DH5jp-1u.js → admin-BNy4N2d6.js} +1 -1
  110. package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-Do2zYONG.js → architectureDiagram-Q4EWVU46-DZoOzmjE.js} +1 -1
  111. package/payload/server/public/assets/{blockDiagram-DXYQGD6D-DpIX_bRu.js → blockDiagram-DXYQGD6D-DG3yufCR.js} +1 -1
  112. package/payload/server/public/assets/{c4Diagram-AHTNJAMY-Cz335ZSY.js → c4Diagram-AHTNJAMY-BBx5wXuZ.js} +1 -1
  113. package/payload/server/public/assets/channel-DdtUtt5g.js +1 -0
  114. package/payload/server/public/assets/{chunk-336JU56O-Dmknn3Wo.js → chunk-336JU56O-DwP7g5ns.js} +2 -2
  115. package/payload/server/public/assets/{chunk-426QAEUC-ClfGjizN.js → chunk-426QAEUC-DXzGdc22.js} +1 -1
  116. package/payload/server/public/assets/{chunk-4TB4RGXK-BPKctJ5c.js → chunk-4TB4RGXK-1LDRjk0E.js} +1 -1
  117. package/payload/server/public/assets/{chunk-5FUZZQ4R-BWDCO9zw.js → chunk-5FUZZQ4R-BHjWhwhn.js} +1 -1
  118. package/payload/server/public/assets/{chunk-5PVQY5BW-BE34_Db0.js → chunk-5PVQY5BW-CwPHRVN8.js} +1 -1
  119. package/payload/server/public/assets/{chunk-EDXVE4YY-BysA-_6v.js → chunk-EDXVE4YY-7443hrYZ.js} +1 -1
  120. package/payload/server/public/assets/{chunk-ENJZ2VHE-BMVyMsqA.js → chunk-ENJZ2VHE-BTnmmnmX.js} +1 -1
  121. package/payload/server/public/assets/{chunk-ICPOFSXX-C5KRdLV4.js → chunk-ICPOFSXX-CPnMJplL.js} +1 -1
  122. package/payload/server/public/assets/{chunk-OYMX7WX6-DVZD-AVc.js → chunk-OYMX7WX6-DCQ5Q4RS.js} +1 -1
  123. package/payload/server/public/assets/{chunk-U2HBQHQK-DYmQdx8x.js → chunk-U2HBQHQK-BmfZG8e4.js} +1 -1
  124. package/payload/server/public/assets/{chunk-X2U36JSP-DrZenIl3.js → chunk-X2U36JSP-Da2yJL2u.js} +1 -1
  125. package/payload/server/public/assets/{chunk-YZCP3GAM-CDuGbvMq.js → chunk-YZCP3GAM-BdUmMUJ6.js} +1 -1
  126. package/payload/server/public/assets/{chunk-ZZ45TVLE-COztbiu5.js → chunk-ZZ45TVLE-abkGirrZ.js} +1 -1
  127. package/payload/server/public/assets/classDiagram-6PBFFD2Q-CKk2DFZe.js +1 -0
  128. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E--YvfDQCh.js +1 -0
  129. package/payload/server/public/assets/clone-Cw6UfPGM.js +1 -0
  130. package/payload/server/public/assets/{dagre-Cv9Ib2OM.js → dagre-BVVuAEsU.js} +1 -1
  131. package/payload/server/public/assets/{dagre-KV5264BT-CoEd61KZ.js → dagre-KV5264BT-VG2kNj19.js} +1 -1
  132. package/payload/server/public/assets/data-uBpwaldK.js +1 -0
  133. package/payload/server/public/assets/{diagram-5BDNPKRD-WXNzw3uW.js → diagram-5BDNPKRD-DRiVy69K.js} +1 -1
  134. package/payload/server/public/assets/{diagram-G4DWMVQ6-C6IuQ2VV.js → diagram-G4DWMVQ6-DtpiRTYX.js} +1 -1
  135. package/payload/server/public/assets/{diagram-MMDJMWI5-CdJdir5A.js → diagram-MMDJMWI5-Da3t99fY.js} +1 -1
  136. package/payload/server/public/assets/{diagram-TYMM5635-DxWKQH5T.js → diagram-TYMM5635-BzQmLTJQ.js} +1 -1
  137. package/payload/server/public/assets/{erDiagram-SMLLAGMA-C9fvs33K.js → erDiagram-SMLLAGMA-D3Ll-GDw.js} +1 -1
  138. package/payload/server/public/assets/{flowDiagram-DWJPFMVM-BO7Yrbqv.js → flowDiagram-DWJPFMVM-D17bje6d.js} +1 -1
  139. package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-CQJyWBZq.js → ganttDiagram-T4ZO3ILL-BjeQ-Bun.js} +1 -1
  140. package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-DZfQHrYw.js → gitGraphDiagram-UUTBAWPF-LtX4pvZS.js} +1 -1
  141. package/payload/server/public/assets/{graph-labels-BMU8LsOD.js → graph-labels-Cn9jAE6I.js} +1 -1
  142. package/payload/server/public/assets/graph-tvTPvBaz.js +1 -0
  143. package/payload/server/public/assets/{graphlib-C40H-Q5E.js → graphlib-CzwsfZOw.js} +1 -1
  144. package/payload/server/public/assets/{infoDiagram-42DDH7IO-CakfV5f9.js → infoDiagram-42DDH7IO-DOgH4i52.js} +1 -1
  145. package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-CPuBPyfa.js → ishikawaDiagram-UXIWVN3A-DYqy5BFj.js} +1 -1
  146. package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-zpZm2Mmo.js → journeyDiagram-VCZTEJTY-CsFpIULJ.js} +1 -1
  147. package/payload/server/public/assets/{kanban-definition-6JOO6SKY-DfJduQCo.js → kanban-definition-6JOO6SKY-5uZuArw7.js} +1 -1
  148. package/payload/server/public/assets/{lib-Bnh57com.js → lib-p4ylk2XS.js} +1 -1
  149. package/payload/server/public/assets/{line-BpYQqO5R.js → line-BY8PmCSW.js} +1 -1
  150. package/payload/server/public/assets/{mermaid-parser.core-C5Mwi14D.js → mermaid-parser.core-CJ_9xqwK.js} +1 -1
  151. package/payload/server/public/assets/{mermaid.core-D8qBtvvT.js → mermaid.core-CXznBkX7.js} +3 -3
  152. package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-Bli9JhIN.js → mindmap-definition-QFDTVHPH-DZbHBud5.js} +1 -1
  153. package/payload/server/public/assets/{page-0lzgQWnS.js → page-B3VYaBcf.js} +1 -1
  154. package/payload/server/public/assets/{page-C29S3cBt.js → page-CfN7nw1J.js} +1 -1
  155. package/payload/server/public/assets/{pieDiagram-DEJITSTG-MsLXTSLg.js → pieDiagram-DEJITSTG-QmOi4DRG.js} +1 -1
  156. package/payload/server/public/assets/public-Bbew78md.js +7 -0
  157. package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-De1sh2K0.js → quadrantDiagram-34T5L4WZ-Cpidq6Xj.js} +1 -1
  158. package/payload/server/public/assets/{requirementDiagram-MS252O5E-D5Sfg1t_.js → requirementDiagram-MS252O5E-CBqtfbzR.js} +1 -1
  159. package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-DHA3LIbv.js → sankeyDiagram-XADWPNL6-4BiY4dV9.js} +1 -1
  160. package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-BE_QlG1B.js → sequenceDiagram-FGHM5R23-DVlL-l2u.js} +1 -1
  161. package/payload/server/public/assets/{stateDiagram-FHFEXIEX-NIwp3F4u.js → stateDiagram-FHFEXIEX-CAm9dW68.js} +1 -1
  162. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-B2EzXi50.js +1 -0
  163. package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-CPE9jyDF.js → timeline-definition-GMOUNBTQ-CD-tZc4y.js} +1 -1
  164. package/payload/server/public/assets/{vennDiagram-DHZGUBPP-CKfoyYmH.js → vennDiagram-DHZGUBPP-Davcm0TF.js} +1 -1
  165. package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-B9yJek-o.js → wardleyDiagram-NUSXRM2D-40LBYw_Y.js} +1 -1
  166. package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-DuCcSLqX.js → xychartDiagram-5P7HB3ND-DEPT-__v.js} +1 -1
  167. package/payload/server/public/data.html +5 -5
  168. package/payload/server/public/graph.html +6 -6
  169. package/payload/server/public/index.html +8 -8
  170. package/payload/server/public/public.html +5 -5
  171. package/payload/server/server.js +1158 -337
  172. package/payload/premium-plugins/writer-craft/lib/graph-trash/dist/index.d.ts +0 -106
  173. package/payload/premium-plugins/writer-craft/lib/graph-trash/dist/index.d.ts.map +0 -1
  174. package/payload/premium-plugins/writer-craft/lib/graph-trash/dist/index.js +0 -340
  175. package/payload/premium-plugins/writer-craft/lib/graph-trash/dist/index.js.map +0 -1
  176. package/payload/premium-plugins/writer-craft/lib/graph-trash/package.json +0 -7
  177. package/payload/server/public/assets/ChatInput-CJ50oqWt.css +0 -1
  178. package/payload/server/public/assets/channel-PC4_IjI1.js +0 -1
  179. package/payload/server/public/assets/classDiagram-6PBFFD2Q-B_pMa-SX.js +0 -1
  180. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BdBAgF20.js +0 -1
  181. package/payload/server/public/assets/clone-CkNt9L9r.js +0 -1
  182. package/payload/server/public/assets/data-CtanHhM2.js +0 -1
  183. package/payload/server/public/assets/graph-6DPD6be1.js +0 -1
  184. package/payload/server/public/assets/public-DltgEfA9.js +0 -7
  185. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-pfk2F6st.js +0 -1
  186. /package/payload/server/public/assets/{ChatInput-CJo_77bp.js → ChatInput-CvRaT05l.js} +0 -0
@@ -16,6 +16,8 @@ Before your first message, do reconnaissance: read what is known about the opera
16
16
 
17
17
  You may not act on a request until you know what is being asked, what is in scope and what is out, and what rules apply. When the operator's words are precise, all three are obvious and you act. When any is imprecise, stop and ask. Insist on the operator being precise and concise.
18
18
 
19
+ Your roster of installed specialists is loaded alongside this file as part of your first-turn reconnaissance. For any deliverable whose request matches a specialist's dispatch rule, the default is to spawn that specialist with the Agent tool and the matching subagent_type. Writing or editing files directly from this seat is the exception, reserved for unambiguously single-step work no specialist owns.
20
+
19
21
  ## Working from the graph
20
22
 
21
23
  The graph is your brain. The first read of any turn that needs to know something is against the graph; outside lookups happen only after the graph has confirmed it does not hold the answer, and anything new an outside lookup produces is written back the same turn. Greetings and pure interaction turns do not need this loop. When something worth remembering comes out of a conversation, hand the write off to the specialist who owns graph writes; direct writes from this seat are reserved for one-line updates against a node already in context whose classification is unambiguous.
@@ -37,14 +39,12 @@ You are an AI. Say so if asked. Never pretend to be a human. Speak British Engli
37
39
  Speak the way you would speak in person, in short direct sentences. Plain words from everyday English. Sound like a capable professional joining a serious operation: neither performing humanity nor performing efficiency. When a sentence sounds like marketing copy, executive-coach motivation, or chatbot prose, the plainer version is the right one.
38
40
 
39
41
  Specific patterns to avoid in every reply:
40
-
41
42
  - Coaching jargon: "closing the gap", "putting your weight behind it", "what's on your plate", "what 'done well' looks like", "scaling effectiveness", "thin ground", "I should be upfront".
42
43
  - Inflation words: "powerful", "robust", "comprehensive", "pivotal", "seamless", "strategic". Use the concrete property instead.
43
44
  - Warm-up phrases: "let's unpack this", "to make this useful", "at the heart of", "what does this mean".
44
45
  - Announcing what you are about to do in place of doing it: "Let me check", "Quick recon before I propose anything", "I'll search for that". Do the work; the message reports the result.
45
46
  - Em-dashes. Use a comma, a semicolon, parentheses, or two sentences.
46
47
  - "It's not X, it's Y" antithetical pattern. Just say Y.
47
-
48
48
  ## Access
49
49
 
50
50
  Remote access and public-facing channels are optional. A tunnel exposes the platform on a custom domain; WhatsApp, Telegram, and email reach the owner without one. If none is set up, explain each briefly when something comes up that needs it, and offer to assist.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: archive-ingest-operator
3
- description: "Graph-write executor for bulk external archive ingestion: Obsidian vault, ICS calendar export, X (Twitter) archive, and Notion workspace export. Reachable from admin via the Task tool when the operator points at one of those archive types. Owns schema-mapping decisions — which label fits the source row, which canonical edge type covers a relation the source carries, which existing :Person an `@handle` or attendee resolves to — and surfaces ambiguity rather than guessing. Runs on Sonnet because the load is reasoning-bound; the inline per-write path (label and parent decided up-front by admin) stays on `database-operator` (Haiku)."
3
+ description: "Bulk-ingest external archives Obsidian vaults, .ics calendar exports, X (Twitter) archives, and Notion workspace exports. Delegate when the operator hands you an archive of one of those four types and names its path."
4
4
  summary: "Ingests bulk external archives — Obsidian, ICS, X, Notion — and surfaces schema-mapping ambiguity rather than catching all unmapped relations as :MENTIONS."
5
5
  model: claude-sonnet-4-6
6
6
  tools: Read, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-archive-write, mcp__plugin_memory_memory__obsidian-vault-import, mcp__plugin_scheduling_scheduling__schedule-archive-ics, mcp__plugin_contacts_contacts__contact-create, mcp__plugin_contacts_contacts__contact-update
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: citation-auditor
3
- description: "Citation auditor for `:TimelineEvent` rows missing `citations`. Reads each event's body plus its 2-hop source neighbourhood (`:Message`, `:KnowledgeDocument`, `:Meeting`) and picks the source ids that visibly evidence the event. High-confidence sets `citations` directly; ambiguous writes a `:CitationProposal` for operator review. Dispatched by admin during a dream-cycle pass when the citation-audit phase is requested. Replaces the deleted server-side `phase-citation-audit` Haiku call (Task 424)."
3
+ description: "Audit timeline-event rows that have no citation source attached and either set the citation directly or write a citation proposal for operator review. Delegate when the operator asks to fill in missing citations or to run the citation-audit phase of a dream cycle."
4
4
  summary: "Audits :TimelineEvent rows for missing citations and writes either citations directly or a CitationProposal stub."
5
5
  model: claude-haiku-4-5-20251001
6
6
  tools: Read, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-write
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: compiled-truth-rewriter
3
- description: "Compiled-truth rewriter for `:Person` / `:Organization` / `:Concept` / `:Project` / `:LocalBusiness` nodes. Reads the target node and its 90-day timeline of attributed mentions, generates a fresh `compiledTruth` summary (and `compiledTruthPublic` for public-twin labels), and writes both via `memory-update`. Honours operator hints with precedence over the timeline. Replaces the deleted server-side `compiled-truth-rewriter` Haiku call (Task 424). Dispatched by admin when the operator asks to refresh a node's compiled summary or when `memory-update` returns a `requires-rewriter-dispatch` signal."
3
+ description: "Refresh the compiled summary on a person, organisation, concept, project, or local-business node from its 90-day timeline of mentions. Delegate when the operator asks to refresh, recompute, or correct what we know about one of those entities."
4
4
  summary: "Recomputes a node's compiledTruth (and public twin where applicable) from its 90-day timeline plus optional operator hints."
5
5
  model: claude-haiku-4-5-20251001
6
6
  tools: Read, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-update
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: content-producer
3
- description: "Visual production and static-site hosting. Reads from the populated graph to produce visual artifacts (image generation, PDF rendering, component delivery) and hosts already-prepared static sites by extracting attached archives via unzip-attachment then placing the tree under <accountDir>/sites/<slug>/ via publish-site. Delegate for: generating images, saving rendered pages as PDF, or any 'host this website' / 'publish this site' / 'put this online' intent carrying an HTML+assets archive. Not document ingestion: graph ingestion of any kind routes to specialists:database-operator. Static-site zips are extracted to disk for publication, never written to the graph."
3
+ description: "Author professional business documents (proposal, report, brief, memo, plan, case study, brochure), render PDFs, generate images, and publish static websites. Delegate when the operator asks for a written document, a PDF render, a generated image, or to publish a prepared website."
4
4
  summary: "Produces visual output from your graph: generates images, renders pages to PDF, and hosts static websites you upload as a zip."
5
5
  model: claude-sonnet-4-6
6
6
  tools: Bash, Skill, mcp__memory__memory-search, mcp__replicate__image-generate, mcp__plugin_playwright_playwright__browser_navigate, mcp__plugin_playwright_playwright__browser_snapshot, mcp__plugin_playwright_playwright__browser_take_screenshot, mcp__plugin_playwright_playwright__browser_pdf_save, mcp__admin__file-attach, mcp__admin__plugin-read, mcp__admin__public-hostname, mcp__admin__publish-site
@@ -36,6 +36,8 @@ Generate the HTML, navigate the Playwright browser to it, and capture with `brow
36
36
 
37
37
  `file://` URLs are rewritten transparently by the `playwright-file-guard` PreToolUse hook. Pass them directly to `browser_navigate`.
38
38
 
39
+ When the brief is to author a generic business document (proposal / report / brief / memo / white paper / plan / case study), **the first tool call MUST be `Skill professional-document`. Any browser tool call before the skill is loaded into context is a contract violation.** Load `skill-load skillName=professional-document`: it carries the document-type catalogue, the refusal taxonomy for briefs owned by other composers (fundraise → `venture-studio:investor-data-room`; property → `real-agent:property-brochure` or `:property-preval`; decks → `admin:deck-pages`), the brand-token resolution, and the outline-approve-draft-render-save-deliver workflow. The skill loads `a4-print-documents` itself at the render phase — do not load it earlier. Format-only briefs ("create a PDF of this HTML", "save this as a one-pager", "render this brochure") stay on the existing `a4-print-documents` route above.
40
+
39
41
  ## Hosting websites
40
42
 
41
43
  When a brief carries a "host this website" / "publish this site" / "put this online" intent with a `.zip` of HTML and assets, **the first tool call of this workflow branch MUST be `Skill unzip-attachment`. Any publish tool call before the skill content is loaded into context is a contract violation.** Run `skill-load skillName=unzip-attachment` to extract, then call `mcp__admin__publish-site` directly. The tool owns slug validation, the symlink scan, the `mv`, the refusal taxonomy, and the post-publish llms.txt refresh — load `skill-load skillName=publish-site` only if you need the intent-router context. Do not improvise a fallback server.
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: database-operator
3
- description: "Graph-write executor reachable from admin via the Task tool. Admin names what should land in the graph; database-operator reads the schema, decides operations, executes them against the memory graph, and reports `{label, elementId}` back. The specialist receives narrowly-scoped per-write briefs — what label, what properties, which existing elementId to attach to. Admin owns all session-walking; the specialist never sees the raw conversation. Two surfaces use the same brief shape: discretionary inline dispatch mid-turn, and the per-write dispatches admin emits during the pre-turn graph pass (Task 430 — supersedes the Task 425 shape that handed the specialist the full conversation blob). Pure execution only — schema-mapping reasoning for bulk external archives (Obsidian / ICS / X / Notion) routes to `archive-ingest-operator`."
3
+ description: "Execute a single graph write on the memory graph when the label, properties, and parent are already decided. Delegate when one fact or relationship needs to land in the graph and the target is unambiguous; not for documents, transcripts, or bulk archives."
4
4
  summary: "Executes graph writes on admin's behalf when delegated via the Task tool — admin names each write, the specialist runs it."
5
5
  model: claude-haiku-4-5-20251001
6
- tools: Read, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-archive-write, mcp__plugin_memory_memory__obsidian-vault-import, mcp__plugin_memory_memory__memory-typed-edge-pass, mcp__plugin_memory_memory__session-retrospective-skip-rate, mcp__plugin_memory_memory__profile-update, mcp__plugin_memory_memory__profile-read, mcp__plugin_contacts_contacts__contact-create, mcp__plugin_contacts_contacts__contact-update, mcp__plugin_work_work__work-create, mcp__plugin_work_work__work-update, mcp__plugin_work_work__project-create, mcp__plugin_work_work__project-update
6
+ tools: Read, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-update-by-name, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-archive-write, mcp__plugin_memory_memory__obsidian-vault-import, mcp__plugin_memory_memory__memory-typed-edge-pass, mcp__plugin_memory_memory__session-retrospective-skip-rate, mcp__plugin_memory_memory__profile-update, mcp__plugin_memory_memory__profile-read, mcp__plugin_contacts_contacts__contact-create, mcp__plugin_contacts_contacts__contact-update, mcp__plugin_work_work__work-create, mcp__plugin_work_work__work-update, mcp__plugin_work_work__project-create, mcp__plugin_work_work__project-update
7
7
  ---
8
8
 
9
9
  You are an expert Neo4J graph operator. Admin delegates a graph-write to you through the Task tool; the prompt admin sends names what should land in the graph in plain English.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: librarian
3
- description: "Foreground ingester for the memory graph. Owns external-archive and document ingestion — PDFs, web pages, plain text, conversation transcripts (WhatsApp / Telegram / Signal / iMessage / Slack / LinkedIn DMs / Zoom / meeting minutes), LinkedIn Basic Data Exports, and post-unzip trees the admin agent forwards. Loads `document-ingest`, `conversation-archive`, `conversation-archive-enrich`, and `linkedin-import` skills. Returns to the admin agent with a structured outcome line; never interacts with the operator directly except through the dispatching agent."
3
+ description: "Ingest documents (PDF, text, web pages), conversation transcripts (WhatsApp, Telegram, iMessage, Slack, meeting minutes), and LinkedIn exports into the memory graph. Delegate when the operator hands you a file or transcript that should land in the graph."
4
4
  summary: "Owns foreground ingest of documents, conversation transcripts, and external archives into the memory graph."
5
5
  model: claude-sonnet-4-5
6
6
  tools: mcp__plugin_memory_memory__memory-ingest-extract, mcp__plugin_memory_memory__memory-ingest, mcp__plugin_memory_memory__memory-ingest-web, mcp__plugin_memory_memory__memory-archive-write, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__conversation-archive-list-chunks, mcp__plugin_memory_memory__conversation-archive-derive-insights, mcp__plugin_memory_memory__conversation-archive-enrich-rejection, mcp__plugin_contacts_contacts__contact-create, mcp__plugin_work_work__work-create, Read, Bash, Skill, WebFetch
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: personal-assistant
3
- description: "Your personal assistant. Scheduling, platform administration, messaging channels (Telegram, WhatsApp, email, Outlook), system health, Cloudflare tunnel setup, and browser automation. Delegate when a task involves managing your calendar, configuring the platform, operating messaging channels, setting up a tunnel or domain, or completing interactive browser tasks."
3
+ description: "Scheduling, platform settings, messaging channels (Telegram, WhatsApp, email, Outlook), tunnel and domain setup, and browser automation. Delegate when the work is on your calendar, configuring the platform, sending or reading messages, or driving a browser."
4
4
  summary: "Handles the operational tasks you'd give a personal assistant: scheduling meetings, managing your platform settings, connecting messaging channels, and completing browser-based tasks on your behalf."
5
5
  model: claude-sonnet-4-6
6
6
  tools: Skill, mcp__admin__system-status, mcp__admin__brand-settings, mcp__admin__account-manage, mcp__admin__account-update, mcp__admin__logs-read, mcp__admin__plugin-read, mcp__admin__file-attach, mcp__admin__wifi, mcp__contacts__contact-create, mcp__contacts__contact-lookup, mcp__contacts__contact-update, mcp__contacts__contact-delete, mcp__contacts__contact-list, mcp__contacts__contact-export, mcp__contacts__contact-erase, mcp__contacts__group-create, mcp__contacts__group-manage, mcp__telegram__message, mcp__telegram__message-history, mcp__telegram__telegram-webhook-register, mcp__whatsapp__whatsapp-login-start, mcp__whatsapp__whatsapp-login-wait, mcp__whatsapp__whatsapp-status, mcp__whatsapp__whatsapp-disconnect, mcp__whatsapp__whatsapp-send, mcp__whatsapp__whatsapp-send-document, mcp__whatsapp__whatsapp-config, mcp__whatsapp__whatsapp-activity, mcp__whatsapp__whatsapp-conversations, mcp__whatsapp__whatsapp-messages, mcp__whatsapp__whatsapp-conversation-graph-state, mcp__whatsapp__whatsapp-group-info, mcp__email__email-setup, mcp__email__email-read, mcp__email__email-send, mcp__email__email-reply, mcp__email__email-search, mcp__email__email-graph-query, mcp__email__email-otp-extract, mcp__email__email-status, mcp__email__email-fetch, mcp__email__email-ingest, mcp__outlook__outlook-account-register, mcp__outlook__outlook-mail-list, mcp__outlook__outlook-mail-search, mcp__outlook__outlook-calendar-list, mcp__outlook__outlook-calendar-event, mcp__outlook__outlook-contacts-list, mcp__outlook__outlook-mailbox-info, mcp__scheduling__schedule-event, mcp__scheduling__schedule-list, mcp__scheduling__schedule-get, mcp__scheduling__schedule-update, mcp__scheduling__schedule-cancel, mcp__scheduling__schedule-export-ics, mcp__scheduling__schedule-import-ics, mcp__scheduling__time-resolve, mcp__memory__memory-search, mcp__memory__profile-update, mcp__plugin_playwright_playwright__browser_navigate, mcp__plugin_playwright_playwright__browser_navigate_back, mcp__plugin_playwright_playwright__browser_snapshot, mcp__plugin_playwright_playwright__browser_click, mcp__plugin_playwright_playwright__browser_fill, mcp__plugin_playwright_playwright__browser_fill_form, mcp__plugin_playwright_playwright__browser_type, mcp__plugin_playwright_playwright__browser_press_key, mcp__plugin_playwright_playwright__browser_hover, mcp__plugin_playwright_playwright__browser_select_option, mcp__plugin_playwright_playwright__browser_wait_for, mcp__plugin_playwright_playwright__browser_handle_dialog, mcp__plugin_playwright_playwright__browser_evaluate, mcp__plugin_playwright_playwright__browser_console_messages, mcp__plugin_playwright_playwright__browser_resize, mcp__plugin_playwright_playwright__browser_tabs, mcp__plugin_playwright_playwright__browser_close
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: project-manager
3
- description: "Project and task management. Creating, tracking, and completing tasks and projects, naming sessions, building and running workflows, and linking work to people and entities. Delegate when a task involves organising work, tracking progress, or composing multi-step workflows."
3
+ description: "Create, track, and complete tasks and projects, name sessions, and compose and run multi-step workflows. Delegate when the work is about organising what's on, tracking progress, or building a repeatable workflow."
4
4
  summary: "Manages your tasks, projects, sessions, and workflows: linking work to people and goals, and keeping everything organised."
5
5
  model: claude-sonnet-4-6
6
6
  tools: mcp__work__work-create, mcp__work__work-update, mcp__work__work-list, mcp__work__work-get, mcp__work__work-relate, mcp__work__work-complete, mcp__work__work-ready, mcp__work__project-create, mcp__work__project-list, mcp__work__project-get, mcp__work__project-update, mcp__work__project-complete, mcp__work__session-list, mcp__work__session-name, mcp__workflows__workflow-create, mcp__workflows__workflow-list, mcp__workflows__workflow-get, mcp__workflows__workflow-update, mcp__workflows__workflow-delete, mcp__workflows__workflow-validate, mcp__workflows__workflow-execute, mcp__workflows__workflow-runs, mcp__memory__memory-search, Skill
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: public-session-reviewer
3
+ description: "Session-end reviewer for a gated public agent. The bridge reaper dispatches this specialist with the visitor's transcript and prior slice writes; the specialist reads what the visitor said, decides what is worth saving to their per-visitor memory slice, and dispatches `database-operator` for each write. Pure read on its own tool surface — every graph mutation flows through database-operator under the same `RECORDER_SLICE_TOKEN` env so memory-write stamps `sliceToken` + `scope: \"user\"` automatically. Never writes outside the visitor's slice; the loud-fail in memory-update enforces the boundary regardless of what the prompt says."
4
+ summary: "Reads a gated public-agent transcript and dispatches database-operator for each per-visitor memory write."
5
+ model: claude-haiku-4-5-20251001
6
+ tools: Read, mcp__plugin_memory_memory__memory-search, Task
7
+ ---
8
+
9
+ You are the session-end reviewer for one gated public-agent conversation. The visitor (the `:Person` the AccessGrant points at) talked to a `role=public` agent under their account; that agent has now been reaped. Your job is to extract durable, per-visitor knowledge from the conversation and persist it to the visitor's memory slice — and only that slice.
10
+
11
+ ## Inputs in the dispatch prompt
12
+
13
+ The hook composes a prompt with four labelled sections. Read each before composing any write:
14
+
15
+ - `<transcript>` — the full JSONL turn record for the reaped session (operator turns + assistant turns).
16
+ - `<prior-writes>` — every node already carrying the visitor's `sliceToken` (returned by `/api/admin/public-session-context`). These are what your prior reviewer sessions wrote; do not duplicate them.
17
+ - `<slice-token>` — the visitor's slice id; the same value is also stamped on your env as `RECORDER_SLICE_TOKEN`, which `memory-write` reads to set `sliceToken` + `scope: "user"` automatically. You do not pass it in the write brief.
18
+ - `<person-id>` — the visitor's `elementId(:Person)`. Edges from new nodes to the visitor go through this elementId, never by name.
19
+
20
+ ## What to save
21
+
22
+ Save anything the conversation establishes that would help the agent be more useful to this visitor next time, where the visitor either explicitly stated it or the conversation makes it unambiguous. Examples that fit the slice: things the visitor likes / dislikes, their goals, the company they work at, a project they are running, a question they keep returning to. Examples that do not fit: speculative inferences, repetitions of `<prior-writes>` content, anything sensitive the visitor did not volunteer.
23
+
24
+ Match the brief's standard for [database-operator](database-operator.md) writes — short identifiers, no denormalised composites, canonical edges only. The labels you should consider writing to: `:Person` (property updates to the visitor's existing node, never a new one), `:Preference`, `:Idea`. If a fact does not fit any of those three labels naturally, leave it out of this pass.
25
+
26
+ ## How to write
27
+
28
+ You have no direct graph-write tools. Dispatch `database-operator` via the `Task` tool for each individual write you want to land. Compose a brief like the per-write briefs admin sends — name the label, the property bag, the relationship target (the visitor's `<person-id>` for slice writes), and a single sentence of context. `database-operator` runs under the same `RECORDER_SLICE_TOKEN` env you do, so its `memory-write` will stamp `sliceToken` + `scope: "user"` automatically. You do not — and must not — set `sliceToken` or `scope` in the brief.
29
+
30
+ For property updates to the visitor's own `:Person` node, use a single dispatch that names `elementId = <person-id>` and the properties to update. `memory-update` will refuse the operation loudly if the target node's `sliceToken` does not match yours; that protection holds even if you compose the wrong nodeId by mistake, but the cost of triggering it is a server-log breach line, so resolve nodeIds against `<prior-writes>` first.
31
+
32
+ ## When to skip
33
+
34
+ If the transcript holds zero operator turns (the visitor opened the chat but never spoke), do not write anything. The hook's pre-flight will usually have skipped you in that case, but if you find yourself dispatched with an empty transcript, return without writes.
35
+
36
+ If every claim worth saving is already in `<prior-writes>`, do not write anything. Duplicates contribute noise to the next reviewer's input and to `memory-search` results in the visitor's next chat turn.
37
+
38
+ ## Reply shape
39
+
40
+ When you finish, reply to your dispatcher (the hook) with a one-line summary: `writes=N updates=M skipped=<reason|none>`. The hook emits the `[public-session-review-complete]` log line from that reply; brevity here keeps the log greppable.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: research-assistant
3
- description: "Deep research, information gathering, knowledge management, and supporting visuals. Delegate when a task requires searching the web, reading web pages, combining findings from multiple sources into a structured summary with citations, reorganising stored knowledge, or generating supporting images."
3
+ description: "Deep research on the web, knowledge management, and writing structured summaries with citations from multiple sources. Delegate when the operator wants you to research a topic, read web pages, combine findings into a summary, or reorganise stored knowledge."
4
4
  summary: "Researches topics online, manages your knowledge graph, and produces supporting visuals."
5
5
  model: claude-opus-4-7
6
6
  tools: WebSearch, WebFetch, Skill, mcp__memory__memory-search, mcp__memory__memory-write, mcp__memory__memory-reindex, mcp__replicate__image-generate, mcp__plugin_playwright_playwright__browser_navigate, mcp__plugin_playwright_playwright__browser_snapshot, mcp__plugin_playwright_playwright__browser_evaluate
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: typed-edge-classifier
3
- description: "Typed-edge proposer for prose-bearing nodes written since `sinceIso`. Reads `:Message` / `:Page` / `:Meeting` / `:KnowledgeDocument` / `:Idea` / `:Note` / `:Post` / `:Report` bodies, proposes typed edges (`:MENTIONS` to named entities, `:COMMITS_TO` to tasks, `:DECIDED` to ideas, etc.) against the closed allowlist in `platform/plugins/memory/mcp/src/lib/typed-edge-schema.ts`, validates each proposal against the schema, and writes accepted edges via `memory-write`. Replaces the deleted server-side `runTypedEdgePass` Haiku call (Task 424). Dispatched by admin when the session-retrospective skill asks for the typed-edge pass."
3
+ description: "Read recently-written prose nodes (messages, pages, meetings, knowledge documents) and write typed edges from them to entities the prose names, from a closed allowlist. Delegate when the operator asks for a typed-edge pass over recent prose."
4
4
  summary: "Reads recently-written prose nodes and writes typed edges from a closed allowlist."
5
5
  model: claude-haiku-4-5-20251001
6
6
  tools: Read, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-write
@@ -1,3 +1,16 @@
1
+ /**
2
+ * Cypher fragment that excludes trashed nodes for the given alias.
3
+ *
4
+ * Mirrors the platform's soft-delete model: a node is trashed if it
5
+ * carries the `:Trashed` label OR a non-null `deletedAt` timestamp.
6
+ * Inlined here (Task 473) instead of imported from
7
+ * `platform/lib/graph-trash` — the cross-package import path did not
8
+ * survive `tsc` emit (the `rootDir: "src"` config collapsed
9
+ * `../../../../../platform/...` to `../../...`, pointing the dist
10
+ * file at a non-existent location and crashing the MCP on boot). The
11
+ * predicate is one line; copying it costs less than the build coupling.
12
+ */
13
+ export declare function notTrashed(alias: string): string;
1
14
  /**
2
15
  * Shared corpus-filter clauses and format helpers for the voice-mirror tools.
3
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"voice-corpus.d.ts","sourceRoot":"","sources":["../../src/lib/voice-corpus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,kBAAkB,QAU3B,CAAC;AAEL;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,yDAI1B,CAAC;AAEX;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,gFAOhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAEtE"}
1
+ {"version":3,"file":"voice-corpus.d.ts","sourceRoot":"","sources":["../../src/lib/voice-corpus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,kBAAkB,QAU3B,CAAC;AAEL;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,yDAI1B,CAAC;AAEX;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,gFAOhB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAEtE"}
@@ -1,4 +1,18 @@
1
- import { notTrashed } from "../../lib/graph-trash/dist/index.js";
1
+ /**
2
+ * Cypher fragment that excludes trashed nodes for the given alias.
3
+ *
4
+ * Mirrors the platform's soft-delete model: a node is trashed if it
5
+ * carries the `:Trashed` label OR a non-null `deletedAt` timestamp.
6
+ * Inlined here (Task 473) instead of imported from
7
+ * `platform/lib/graph-trash` — the cross-package import path did not
8
+ * survive `tsc` emit (the `rootDir: "src"` config collapsed
9
+ * `../../../../../platform/...` to `../../...`, pointing the dist
10
+ * file at a non-existent location and crashing the MCP on boot). The
11
+ * predicate is one line; copying it costs less than the build coupling.
12
+ */
13
+ export function notTrashed(alias) {
14
+ return `(NOT \`${alias}\`:Trashed AND \`${alias}\`.deletedAt IS NULL)`;
15
+ }
2
16
  /**
3
17
  * Shared corpus-filter clauses and format helpers for the voice-mirror tools.
4
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"voice-corpus.js","sourceRoot":"","sources":["../../src/lib/voice-corpus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,CAAC,MAAM,k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
  import neo4j from "neo4j-driver";
27
27
  import { getSession } from "../lib/neo4j.js";
28
- import { notTrashed } from "../../lib/graph-trash/dist/index.js";
28
+ import { notTrashed } from "../lib/voice-corpus.js";
29
29
  import { VOICE_CORPUS_WHERE, voiceCorpusWhereWithFormat, FORMAT_VALUES, } from "../lib/voice-corpus.js";
30
30
  /**
31
31
  * Coerce a neo4j cypher RETURN value to a plain JS number.
@@ -1 +1 @@
1
- {"version":3,"file":"voice-distil-profile.js","sourceRoot":"","sources":["../../src/tools/voice-distil-profile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACnF,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,GAEd,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;GAQG;AACH,SAAS,UAAU,CAAC,KAAc;IAChC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACvD,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;QAAE,OAAQ,KAAoC,CAAC,QAAQ,EAAE,CAAC;IAChF,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC7B,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,eAAe,GAAG,OAAO,CAAC;AAChC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AACnC,MAAM,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,CAAC;YACb,WAAW,EAAE,IAAI;YACjB,eAAe,EAAE,CAAC;YAClB,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,0BAA0B;SACvC,CAAC;IACJ,CAAC;IAED,8CAA8C;IAC9C,MAAM,OAAO,GAA+B,EAAE,CAAC;IAC/C,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QACnE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -25,7 +25,7 @@
25
25
  * calling drafting skill falls back to its existing default register.
26
26
  */
27
27
  import { getSession } from "../lib/neo4j.js";
28
- import { notTrashed } from "../../lib/graph-trash/dist/index.js";
28
+ import { notTrashed } from "../lib/voice-corpus.js";
29
29
  import { voiceCorpusWhereWithFormat, } from "../lib/voice-corpus.js";
30
30
  const DEFAULT_TOKEN_BUDGET_SHORT = 16_000;
31
31
  const DEFAULT_TOKEN_BUDGET_LONG = 96_000;
@@ -1 +1 @@
1
- {"version":3,"file":"voice-retrieve-conditioning.js","sourceRoot":"","sources":["../../src/tools/voice-retrieve-conditioning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACnF,OAAO,EAEL,0BAA0B,GAE3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAC1C,MAAM,yBAAyB,GAAG,MAAM,CAAC;AACzC,MAAM,eAAe,GAAG,CAAC,CAAC;AAmC1B,MAAM,KAAK,GAAoC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAEl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CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YAC5E,SAAS,CAAC,IAAI,CAAC;gBACb,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAW;gBAC7B,KAAK;gBACL,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,CAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAmB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC;aACjE,CAAC,CAAC;YACH,SAAS,IAAI,SAAS,CAAC,MAAM,CAAC;QAChC,CAAC;QAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,yBAAyB,KAAK,CAAC,KAAK,IAAI,MAAM,WAAW,MAAM,mBAC7D,SAAS,EAAE,MAAM,IAAI,CACvB,kBAAkB,SAAS,CAAC,MAAM,gBAAgB,WAAW,IAAI,CAClE,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IAClC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,2BAA2B,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAChF,CAAC;QACF,OAAO,KAAK,CAAC;IACf,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;AACH,CAAC"}
@@ -1,4 +1,18 @@
1
- import { notTrashed } from "../../../../../platform/lib/graph-trash/dist/index.js";
1
+ /**
2
+ * Cypher fragment that excludes trashed nodes for the given alias.
3
+ *
4
+ * Mirrors the platform's soft-delete model: a node is trashed if it
5
+ * carries the `:Trashed` label OR a non-null `deletedAt` timestamp.
6
+ * Inlined here (Task 473) instead of imported from
7
+ * `platform/lib/graph-trash` — the cross-package import path did not
8
+ * survive `tsc` emit (the `rootDir: "src"` config collapsed
9
+ * `../../../../../platform/...` to `../../...`, pointing the dist
10
+ * file at a non-existent location and crashing the MCP on boot). The
11
+ * predicate is one line; copying it costs less than the build coupling.
12
+ */
13
+ export function notTrashed(alias: string): string {
14
+ return `(NOT \`${alias}\`:Trashed AND \`${alias}\`.deletedAt IS NULL)`;
15
+ }
2
16
 
3
17
  /**
4
18
  * Shared corpus-filter clauses and format helpers for the voice-mirror tools.
@@ -25,7 +25,7 @@
25
25
  */
26
26
  import neo4j from "neo4j-driver";
27
27
  import { getSession } from "../lib/neo4j.js";
28
- import { notTrashed } from "../../../../../platform/lib/graph-trash/dist/index.js";
28
+ import { notTrashed } from "../lib/voice-corpus.js";
29
29
  import {
30
30
  VOICE_CORPUS_WHERE,
31
31
  voiceCorpusWhereWithFormat,
@@ -25,7 +25,7 @@
25
25
  * calling drafting skill falls back to its existing default register.
26
26
  */
27
27
  import { getSession } from "../lib/neo4j.js";
28
- import { notTrashed } from "../../../../../platform/lib/graph-trash/dist/index.js";
28
+ import { notTrashed } from "../lib/voice-corpus.js";
29
29
  import {
30
30
  VOICE_CORPUS_WHERE,
31
31
  voiceCorpusWhereWithFormat,