@rubytech/create-maxy-code 0.1.327 → 0.1.329

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 (44) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js +2 -1
  3. package/payload/platform/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js.map +1 -1
  4. package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.d.ts +1 -1
  5. package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.d.ts.map +1 -1
  6. package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.js +12 -5
  7. package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.js.map +1 -1
  8. package/payload/platform/plugins/admin/skills/plainly/SKILL.md +19 -1
  9. package/payload/platform/templates/specialists/agents/content-producer.md +1 -1
  10. package/payload/premium-plugins/management-consulting/skills/decision-memo/SKILL.md +1 -1
  11. package/payload/premium-plugins/management-consulting/skills/narrative-builder/SKILL.md +1 -1
  12. package/payload/premium-plugins/management-consulting/skills/pitch-deck/SKILL.md +63 -81
  13. package/payload/premium-plugins/writer-craft/mcp/dist/index.d.ts.map +1 -1
  14. package/payload/premium-plugins/writer-craft/mcp/dist/index.js +7 -2
  15. package/payload/premium-plugins/writer-craft/mcp/dist/index.js.map +1 -1
  16. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.d.ts.map +1 -1
  17. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js +9 -7
  18. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js.map +1 -1
  19. package/payload/premium-plugins/writer-craft/mcp/scripts/smoke.mjs +38 -2
  20. package/payload/premium-plugins/writer-craft/mcp/src/index.ts +7 -2
  21. package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +9 -7
  22. package/payload/premium-plugins/writer-craft/skills/voice-mirror/SKILL.md +1 -1
  23. package/payload/server/public/assets/{AdminLoginScreens-DNsCEyvZ.js → AdminLoginScreens-DstNf4M-.js} +1 -1
  24. package/payload/server/public/assets/{AdminShell-DqyjA9x-.js → AdminShell-B5EcXCYR.js} +1 -1
  25. package/payload/server/public/assets/{Checkbox-C3WNcLH8.js → Checkbox-DWGpkJD5.js} +1 -1
  26. package/payload/server/public/assets/{OperatorConversations-BQudGb45.css → OperatorConversations-BWu6GMQM.css} +1 -1
  27. package/payload/server/public/assets/{admin-3jmCp4G3.js → admin-CnIlm4Yi.js} +1 -1
  28. package/payload/server/public/assets/{browser-DarU3c-V.js → browser-ePr5LxPd.js} +1 -1
  29. package/payload/server/public/assets/chat-XjXSornk.js +1 -0
  30. package/payload/server/public/assets/{data-4jByS_fv.js → data-DuObS80U.js} +1 -1
  31. package/payload/server/public/assets/{graph-CylZ1wV1.js → graph-B5uxt5YB.js} +1 -1
  32. package/payload/server/public/assets/{graph-labels-hGbD_0qZ.js → graph-labels-fx-bv3Y-.js} +1 -1
  33. package/payload/server/public/assets/{operator-DgGt6Hc0.js → operator-CIGXegWd.js} +1 -1
  34. package/payload/server/public/assets/{page-Dl3SpCO3.js → page-BVOAwj-e.js} +2 -2
  35. package/payload/server/public/assets/{public-8hwaomIS.js → public-DXAdRKJe.js} +1 -1
  36. package/payload/server/public/browser.html +4 -4
  37. package/payload/server/public/chat.html +5 -5
  38. package/payload/server/public/data.html +4 -4
  39. package/payload/server/public/graph.html +6 -6
  40. package/payload/server/public/index.html +6 -6
  41. package/payload/server/public/operator.html +7 -7
  42. package/payload/server/public/public.html +5 -5
  43. package/payload/server/public/assets/chat-CG-r6QZ2.js +0 -1
  44. /package/payload/server/public/assets/{OperatorConversations-BqFmHTF1.js → OperatorConversations-CSQnX7Dx.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy-code",
3
- "version": "0.1.327",
3
+ "version": "0.1.329",
4
4
  "description": "Install Maxy — AI for Productive People",
5
5
  "bin": {
6
6
  "create-maxy-code": "./dist/index.js"
@@ -27,13 +27,14 @@ describe("isAdminSeat", () => {
27
27
  });
28
28
  });
29
29
  describe("CONTENT_PRODUCER_AUTHORING_SKILLS", () => {
30
- it("is the render/publish authoring skills plus the consulting prose deliverables", () => {
30
+ it("is the render/publish authoring skills, the consulting prose deliverables, and the relocated property brochure", () => {
31
31
  expect([...CONTENT_PRODUCER_AUTHORING_SKILLS].sort()).toEqual([
32
32
  "a4-print-documents",
33
33
  "decision-memo",
34
34
  "narrative-builder",
35
35
  "pitch-deck",
36
36
  "professional-document",
37
+ "property-brochure",
37
38
  "publish-site",
38
39
  ].sort());
39
40
  });
@@ -1 +1 @@
1
- {"version":3,"file":"admin-authoring-skill-gate.test.js","sourceRoot":"","sources":["../../src/__tests__/admin-authoring-skill-gate.test.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,EAAE;AACF,mEAAmE;AACnE,wEAAwE;AACxE,yEAAyE;AACzE,0EAA0E;AAC1E,gEAAgE;AAChE,oEAAoE;AACpE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,iCAAiC,EACjC,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,KAAK,GAAG,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;AAClE,MAAM,gBAAgB,GAAG,EAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC;AAC7F,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;AAEpE,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE;QAC/D,MAA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KAAK,CAAC,CAAC;QAC/D,MAAM,CAAC,wBAAwB,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS: readonly ["professional-document", "a4-print-documents", "publish-site", "decision-memo", "narrative-builder", "pitch-deck"];
1
+ export declare const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS: readonly ["professional-document", "a4-print-documents", "publish-site", "decision-memo", "narrative-builder", "pitch-deck", "property-brochure"];
2
2
  //# sourceMappingURL=content-producer-authoring-skills.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-producer-authoring-skills.d.ts","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,sCAAsC,8HAOzC,CAAC"}
1
+ {"version":3,"file":"content-producer-authoring-skills.d.ts","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,sCAAsC,mJAQzC,CAAC"}
@@ -13,11 +13,17 @@
13
13
  // compiled-in guard against a declaration regression.
14
14
  //
15
15
  // The first three are the original render/publish/print authoring skills. The
16
- // last three are the management-consulting prose deliverables: their output is
17
- // finished external-facing prose, so they compose on content-producer (the
18
- // authoring seat, which carries plainly + prose-craft + voice-retrieve-
19
- // conditioning). The 19 management-consulting analysis-framework skills stay
20
- // admin-run and are not listed here.
16
+ // next three are the management-consulting prose deliverables. The last is the
17
+ // property brochure: like the consulting deliverables, its output is finished
18
+ // external-facing prose, so it composes on content-producer (the authoring seat,
19
+ // which carries plainly + prose-craft + voice-retrieve-conditioning). The 19
20
+ // management-consulting analysis-framework skills stay admin-run and are not
21
+ // listed here. The founder fundraise pack (investor-data-room) is the other
22
+ // remaining admin-run voice consumer but cannot move here: it must dispatch the
23
+ // research-assistant specialist for its mandatory citation routing, which
24
+ // content-producer (a leaf authoring seat with no Task/Agent tool) cannot do.
25
+ // Until that is re-architected, voice-retrieve-conditioning stays on the admin
26
+ // surface for investor-data-room.
21
27
  export const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS = [
22
28
  "professional-document",
23
29
  "a4-print-documents",
@@ -25,5 +31,6 @@ export const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS = [
25
31
  "decision-memo",
26
32
  "narrative-builder",
27
33
  "pitch-deck",
34
+ "property-brochure",
28
35
  ];
29
36
  //# sourceMappingURL=content-producer-authoring-skills.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-producer-authoring-skills.js","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,6EAA6E;AAC7E,+EAA+E;AAC/E,8EAA8E;AAC9E,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,wEAAwE;AACxE,6EAA6E;AAC7E,qCAAqC;AACrC,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,uBAAuB;IACvB,oBAAoB;IACpB,cAAc;IACd,eAAe;IACf,mBAAmB;IACnB,YAAY;CACJ,CAAC"}
1
+ {"version":3,"file":"content-producer-authoring-skills.js","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,6EAA6E;AAC7E,+EAA+E;AAC/E,8EAA8E;AAC9E,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,iFAAiF;AACjF,6EAA6E;AAC7E,6EAA6E;AAC7E,4EAA4E;AAC5E,gFAAgF;AAChF,0EAA0E;AAC1E,8EAA8E;AAC9E,+EAA+E;AAC/E,kCAAkC;AAClC,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,uBAAuB;IACvB,oBAAoB;IACpB,cAAc;IACd,eAAe;IACf,mBAAmB;IACnB,YAAY;IACZ,mBAAmB;CACX,CAAC"}
@@ -21,9 +21,27 @@ Textbook explanations are technically correct and pedagogically poor. They conve
21
21
 
22
22
  Failing the aloud test produces opacity; failing the understanding test produces parroting; failing the new-to-topic test produces *appearance of clarity*: the answer reads as crisp to the writer but lands as a wall of jargon to the audience. A reader who can teach the concept onward to someone else has cleared all three.
23
23
 
24
+ ## Match the register to the output
25
+
26
+ Two registers, and they are not the same thing. Pick by what the output is.
27
+
28
+ **Explaining a concept** (a definition, a summary, teaching the idea): use the shape-of-natural-writing moves below. A little voice belongs here. You are bringing a reader up to speed, so the dropped-in opening, the one earned turn, the concrete anchor, and the landing close all help the idea land.
29
+
30
+ **Stating what a thing is** (a document, a deck, a proposal, a memo, a report: anything that goes to a reader as a record of what is): the register is flatter and more exact. State what the thing is and how it works, in a sensible order, and stop. The reader should not be able to tell it was written. It just says what is. The essay moves below are wrong here, and reaching for them is most of what makes a business document read as AI. Specifically:
31
+
32
+ - **The header names the thing. It does not sell or tease it.** "Using AI to handle insurance rejections", not "Rejections, sorted". A title that performs is doing the wrong job.
33
+ - **No hook, no arc, no earned turn, no landing reframe.** A document is not an essay. Say the point in the order that makes it clear, and stop. Do not build tension and then resolve it.
34
+ - **No stance or relationship-posturing.** "We want to listen first", "we're here to help", "they're good at it, and that's the problem" are stances, not facts. State the facts and let the reader draw the conclusion.
35
+ - **No rhetorical setup or reveal.** "And that's the problem", "here's the thing", "it comes down to four steps". Cut the setup and say the content.
36
+ - **Prefer the precise term to the vivid image.** This is the one place this register reverses the anchor move below. "Manual data transfer and reconciliation", not "copying numbers between screens". In a deliverable the exact word reads as matter-of-fact; the image reads as performed.
37
+ - **Name a thing once, then reuse the name.** Pick the term ("the centralised database") and keep it. Paraphrasing the same thing three ways for variety makes the reader stop to check whether they are the same thing.
38
+ - **Say the one true thing.** If one accurate sentence covers it, stop. Three supporting bullets where one sentence is true is padding. A whole section can be one sentence when one sentence is the truth.
39
+
40
+ Both registers still obey the recursive rule, the aloud test, and the AI-tells catalogue below. This fork only decides whether you reach for a little voice or stay flat.
41
+
24
42
  ## The shape of natural writing
25
43
 
26
- The AI-tells catalogue below says what to strip. This section says what to reach *for*. The model is the short-essay voice of good pre-GenAI blog writing: plain words, one idea, and a reader who is dropped straight into the middle of it. Read a handful of those posts and the first thing you notice is how *spoken* they are. The sentences are uneven. Nothing warms up. The piece says one true thing and stops. That texture is not decoration; it is what "human" reads as, and it is exactly what AI prose sands off.
44
+ The shape-of-natural-writing moves here are the **explaining-a-concept** register from the fork above; for documents and deliverables, stay flat per the statement register. The AI-tells catalogue below says what to strip. This section says what to reach *for*. The model is the short-essay voice of good pre-GenAI blog writing: plain words, one idea, and a reader who is dropped straight into the middle of it. Read a handful of those posts and the first thing you notice is how *spoken* they are. The sentences are uneven. Nothing warms up. The piece says one true thing and stops. That texture is not decoration; it is what "human" reads as, and it is exactly what AI prose sands off.
27
45
 
28
46
  These are tools, not a template. Use the ones the content actually calls for. Stamping all of them onto every output is its own tell.
29
47
 
@@ -3,7 +3,7 @@ name: content-producer
3
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-opus-4-8[1m]
6
- tools: Bash, Read, Edit, Write, MultiEdit, Skill, mcp__plugin_memory_memory__memory-search, mcp__plugin_writer-craft_writer-craft__voice-retrieve-conditioning, mcp__plugin_replicate_replicate__image-generate, mcp__plugin_browser_browser__browser-render, mcp__plugin_browser_browser__browser-navigate, mcp__plugin_browser_browser__browser-evaluate, mcp__plugin_browser_browser__browser-resize, mcp__plugin_browser_browser__browser-screenshot, mcp__plugin_browser_browser__browser-pdf-save, mcp__plugin_admin_admin__plugin-read, mcp__plugin_admin_admin__public-hostname, mcp__plugin_admin_admin__publish-site
6
+ tools: Bash, Read, Edit, Write, MultiEdit, Glob, Grep, WebFetch, Skill, mcp__plugin_memory_memory__memory-search, mcp__plugin_writer-craft_writer-craft__voice-retrieve-conditioning, mcp__plugin_replicate_replicate__image-generate, mcp__plugin_browser_browser__browser-render, mcp__plugin_browser_browser__browser-navigate, mcp__plugin_browser_browser__browser-evaluate, mcp__plugin_browser_browser__browser-resize, mcp__plugin_browser_browser__browser-screenshot, mcp__plugin_browser_browser__browser-pdf-save, mcp__plugin_admin_admin__plugin-read, mcp__plugin_admin_admin__public-hostname, mcp__plugin_admin_admin__publish-site, mcp__plugin_aeo_aeo__aeo-emit-jsonld
7
7
  ---
8
8
 
9
9
  # Content Producer
@@ -23,7 +23,7 @@ A finished memo rests on a clear read of its audience, the decision in front of
23
23
 
24
24
  The memo goes out under the business name, so its prose runs through plain English and the house voice before the first sentence.
25
25
 
26
- 1. **Plain English.** The first prose action is `skill-load skillName=plainly`. Apply it to every line: the recommendation, the options table, the body. Recursive plain English, no consulting jargon.
26
+ 1. **Plain, matter-of-fact register.** The first prose action is `skill-load skillName=plainly`. Write in its statement register: say plainly what the memo recommends and why, with no selling, no story arc, and no performance. Apply it to every line: the recommendation, the options table, the body. `plainly` carries the full rule and the habits to strip.
27
27
  2. **Voice mirror (hard gate).** Before drafting, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, `scope: "org"`, and `topic` set to the decision's domain. The tool emits its own `[voice-retrieve] …` line. Gate on `status`: on **`ok`**, condition every line on the returned style card and exemplars, then draft. On **`no-data` | `error`**, stop and emit no fabricated prose: tell the operator the voice is not established and offer to establish it (the voice-mirror skill) or to supply the prose for the skill to structure and plainly-polish. Emit `[decision-memo] voice-gate status=<ok|no-data|error> action=<conditioned|stopped|operator-prose>`.
28
28
 
29
29
  ## Output Format
@@ -28,7 +28,7 @@ Lead with the answer, structure support in a pyramid, and anticipate the questio
28
28
 
29
29
  The narrative goes out under the business name, so its headlines and body run through plain English and the house voice before the first line.
30
30
 
31
- 1. **Plain English.** The first prose action is `skill-load skillName=plainly`. Apply it to every headline and the body. Recursive plain English, no consulting jargon.
31
+ 1. **Plain, matter-of-fact register.** The first prose action is `skill-load skillName=plainly`. Write in its statement register: state the recommendation and the support plainly, with no selling, no story arc, and no performance. Apply it to every headline and the body. `plainly` carries the full rule and the habits to strip.
32
32
  2. **Voice mirror (hard gate).** Before drafting, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, `scope: "org"`, and `topic` set to the recommendation's domain. The tool emits its own `[voice-retrieve] …` line. Gate on `status`: on **`ok`**, condition every headline and line on the returned style card and exemplars, then draft. On **`no-data` | `error`**, stop and emit no fabricated prose: tell the operator the voice is not established and offer to establish it (the voice-mirror skill) or to supply the prose for the skill to structure and plainly-polish. Emit `[narrative-builder] voice-gate status=<ok|no-data|error> action=<conditioned|stopped|operator-prose>`.
33
33
 
34
34
  ## Output Format
@@ -1,137 +1,119 @@
1
1
  ---
2
2
  name: pitch-deck
3
- description: Composes a management-consulting slide deck in the operator's own house voice. Three modes: a new-business or credentials pitch that wins the work, a client findings or recommendation deck that drives a decision, and a thought-leadership deck that positions a point of view. Use for a consulting pitch deck, a capabilities or credentials deck, a client findings deck, a recommendation or steering-committee deck, a board strategy deck, or a thought-leadership or point-of-view deck. Owns the consulting deck method (answer-first pyramid, SCQA/SCR, MECE, full-sentence action titles) and runs every line of prose through plain English and the house voice before it is drafted. Not a founder fundraise deck; that is `venture-studio:investor-data-room`. Not a generic renderer for arbitrary HTML slides; that is `admin:deck-pages`.
3
+ description: Composes a presentation deck in the operator's own voice. It states plainly what is being proposed and how it works; it does not sell or perform. Three kinds: a deck that wins new work, a deck that presents findings and a recommendation, and a deck that sets out a point of view. Use for a consulting pitch deck, a capabilities or credentials deck, a client findings or recommendation deck, a board or steering-committee deck, or a thought-leadership deck. Writes the full text of the deck first and gets the operator to approve it before building anything; only then chooses light or dark mode and applies the brand's design tokens. Never invents a number. Not a founder fundraise deck; that is `venture-studio:investor-data-room`. Not a generic renderer for arbitrary HTML slides; that is `admin:deck-pages`.
4
4
  ---
5
5
 
6
6
  # Pitch Deck
7
7
 
8
- The consulting bundle's terminal visual deliverable. The sibling skills diagnose, map, choose, and govern; this skill turns their outputs into a deck that earns a decision or wins the work. It owns the method and the voice. It composes only from facts the operator already curated, and it never invents a financial number.
8
+ The consulting bundle's deck. It states plainly what is being proposed and how it works. The words come first, and the operator approves them before any deck is built. It composes only from facts the operator already curated, and it never invents a number.
9
9
 
10
10
  ## When to use
11
11
 
12
- Pick the mode from the brief. All three live in this one skill.
12
+ Pick the kind of deck from the brief. All three are built the same way: words first, approved, then rendered.
13
13
 
14
- | Mode | Use it when | Engine |
15
- |------|-------------|--------|
16
- | **A: new-business / credentials pitch** | The goal is to win the work: a capabilities deck, a credentials pitch, a "why us" deck for a prospect | Fixed spine + domain-themed middle + optional sections (below) |
17
- | **B: client findings / recommendation** | The goal is to drive a decision: a findings deck, a recommendation, a steering-committee or board deck | SCR, reusing `slides:deck-system` `STORYTELLING-mbb.md` |
18
- | **C: thought-leadership / topic** | The goal is to position a point of view: an industry report, a trends deck, a conference talk | Content-led with a short credentials tail |
14
+ | Kind | Use it when |
15
+ |------|-------------|
16
+ | **Win the work** | A capabilities or credentials deck, a "why us" deck for a prospect. |
17
+ | **Present findings and a recommendation** | A findings deck, a recommendation, a board or steering-committee deck. |
18
+ | **Set out a point of view** | A topic or trends deck, a conference talk. |
19
19
 
20
20
  ### When not to use
21
21
 
22
- - **Founder fundraise deck** (seed/Series raise, investor pitch under the founder's own name) routes to `venture-studio:investor-data-room`.
23
- - **"Save this HTML as a deck", arbitrary fixed-dimension slide layout, a deck the operator already wrote** routes to `admin:deck-pages` (the format spec and generic slide renderer).
22
+ - **Founder fundraise deck** (seed or Series raise, investor pitch under the founder's own name) routes to `venture-studio:investor-data-room`.
23
+ - **A deck the operator already wrote, an arbitrary fixed-dimension slide layout, "save this HTML as a deck"** routes to `admin:deck-pages` (the format spec and generic slide renderer).
24
24
 
25
25
  ## Where this runs
26
26
 
27
- Invoked from `specialists:content-producer`. The admin seat delegates the deck from the first point: it is refused this skill and dispatches content-producer (Agent tool, `subagent_type: content-producer`). Everything then happens on the one seat. content-producer carries `voice-retrieve-conditioning`, loads `plainly`, and holds the render tools, so the method, the voice gate, the prose, and the render all run together: it calls `voice-retrieve-conditioning` directly, gates inline (below), composes the slides, and renders through `slides:deck-system`, exporting the PDF via the existing path. There is no separate render brief and no admin-seat composition.
27
+ Invoked from `specialists:content-producer`. The admin seat delegates the deck from the first point: it is refused this skill and dispatches content-producer (Agent tool, `subagent_type: content-producer`). Everything then happens on the one seat. content-producer carries `voice-retrieve-conditioning`, loads `plainly`, and holds the render tools, so the words, the voice, and the build all run together.
28
28
 
29
- ## The method (all three modes)
29
+ ## How it works: words first, then the deck
30
30
 
31
- The generation contract. Apply it before and during every mode.
31
+ The order matters and it is not optional.
32
32
 
33
- - **Ghost deck first.** Write the full action-title string for the whole deck before any body, chart, or theme. The titles alone are the deck. Build the body only once the title string tells the story.
34
- - **Answer first (Pyramid).** Lead with the recommendation or the core message. Everything after it is support. The recommendation sits at the top; three to five arguments below it; evidence below each.
35
- - **SCQA / SCR opening.** Open on common ground (Situation), name the tension (Complication / Question), then the answer (Resolution / Answer). Mode B runs this across the whole deck; Modes A and C use it to open.
36
- - **MECE grouping.** Every breakdown (findings, services, segments, causes) has parts that do not overlap and together leave no gap. If two points say the same thing, merge them.
37
- - **Action titles.** Every slide headline is a full-sentence conclusion, not a topic label. "The European market contracted 12% in Q3", not "Market overview". If you cannot write the action title, the slide has no point yet; find the point first.
38
- - **One message per slide, vertical logic.** Each slide makes exactly one point. The body proves the title and nothing else. Cut anything that does not.
39
- - **"So what" prune.** For every slide, answer "so what?". A slide that survives only as background is appendix material or is cut.
40
- - **Reverse-storyboard the horizontal logic.** Read the action titles top to bottom as a list, with no bodies and no charts. They must tell one coherent story and the recommendation must feel inevitable by the end. If the line of titles jumps or repeats, fix the titles before touching the bodies.
41
- - **Source footnote on every data slide.** Every slide that carries a number shows where the number came from: a graph node, a named publication, or the operator's own figures. A numbered slide with no source line is a defect.
42
- - **Never invent numbers.** Figures come only from the operator's data or from a sibling skill's output. If a number is missing, leave a visible gap and ask for it; do not fill it.
33
+ 1. **Write the words.** Compose the full text of every slide: the header and the body and any lists. Write it in the matter-of-fact register and gate it on voice first (both below). This is the whole deck as plain text, with no layout.
34
+ 2. **Get the words approved.** Show the operator the text, every slide. Iterate until they approve it. Build nothing before then. A deck built on words the operator has not signed off wastes the build, and layout hides wording problems instead of surfacing them.
35
+ 3. **Build the deck.** Only after the words are approved: decide light or dark mode, apply the brand's design tokens, then render through `slides:deck-system` to HTML and a PDF.
43
36
 
44
- ## Prose pipeline (runs before any slide copy is drafted)
37
+ ## Writing the words
45
38
 
46
- Non-negotiable, and it runs before the first word of slide prose. A method-less or voice-less deck reads as generic AI consulting copy under the operator's own business name, which is worse than no deck.
39
+ Load `plainly` and write in its **statement register**: say what each thing is, in a sensible order, with no selling, no story arc, and no performance. `plainly` carries the full rule and the habits to strip; do not restate them here, apply them. The points that matter most for a deck:
47
40
 
48
- ### 1. Plain English
41
+ - **Each slide's header says what the slide is, or states its one fact.** "Using AI to handle insurance rejections", not a slogan. Never bend a header to land a word in a set place or to match the shape of another header.
42
+ - **Put the point first.** Say what you are proposing, then explain it. Do not build up to it.
43
+ - **Order the slides so the whole thing is clear:** where they are now, what you would do, how it works, what it costs to start, what you are asking for. Read the headers on their own, in order. They should lay the whole thing out plainly.
44
+ - **Each section covers something the others do not.** No overlap, no gaps. If two slides say the same thing, merge them.
45
+ - **One point per slide.** Cut any slide that does not say something the reader needs.
46
+ - **Every slide with a number shows where the number came from:** a graph node, a named source, or the operator's own figures. A number with no source is a defect.
47
+ - **Never invent a number.** If one is missing, leave a visible gap and ask for it. Do not fill it.
49
48
 
50
- The first prose action of the turn is `skill-load skillName=plainly`. Apply it to every prose payload this skill emits: action titles, the executive-summary lines, slide body, captions, and the summary you return to the admin agent. Recursive plain English: an explanation may not itself contain a term that needs explaining. No consulting jargon survives the polish.
49
+ ### Voice (hard gate)
51
50
 
52
- ### 2. Voice mirror (hard gate)
53
-
54
- A deck ships under the business name, so it uses the **house voice**, not any one person's personal voice. Before drafting any prose, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, `scope: "org"`, and `topic` set to the engagement domain (for example "operating-model redesign for a regional bank"). The tool itself emits `[voice-retrieve] scope=org format=article status=<s> styleCardBytes=<n> exemplarCount=<k>`; you do not write that line.
51
+ A deck goes out under the business name, so it uses the **house voice**, not any one person's personal voice. Before writing any of the words, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, `scope: "org"`, and `topic` set to the engagement domain. The tool emits its own `[voice-retrieve] …` line; you do not write that line.
55
52
 
56
53
  Then gate on `status`. This diverges from the sibling composers, which silently degrade to a default register; this skill stops instead.
57
54
 
58
- - **`ok`** (a style card and/or exemplars came back) conditions every prose payload on the style card and exemplars, then drafts. Output carries the style card's favoured terms and avoids its taboos.
59
- - **`no-data` | `error`** stops. **Draft no slide prose.** Tell the operator the deck voice is not established and offer two routes: (a) establish the house voice through the voice-mirror skill (backfill or distil their own writing) then re-run, or (b) supply the deck prose themselves, which this skill will then only structure and polish through plain English, never generate.
60
-
61
- A `scope: "org"` request returns only `ok`, `no-data`, or `error`; `fallback-org` arises solely on a personal-scope request, so it does not occur here. If it ever does, treat it as `ok` since it still carries an org style card.
55
+ - **`ok`** (a style card or exemplars came back): write every line conditioned on the style card and exemplars.
56
+ - **`no-data` | `error`**: stop. Write no slide text. Tell the operator the deck voice is not established, and offer two routes: establish the house voice through the voice-mirror skill, then re-run; or supply the words themselves, which this skill will only structure and run through `plainly`, never generate.
62
57
 
63
- Emit one decision line after the gate, so the choice is logged rather than inferred:
58
+ A `scope: "org"` request returns only `ok`, `no-data`, or `error`. Emit one decision line after the gate:
64
59
 
65
60
  ```
66
61
  [pitch-deck] voice-gate status=<ok|no-data|error> action=<conditioned|stopped|operator-prose>
67
62
  ```
68
63
 
69
- `conditioned` when you drafted on a style card, `stopped` when the gate halted drafting, `operator-prose` when the operator supplied the prose and you only structured and polished it.
70
-
71
- ## Mode A: new-business / credentials pitch
72
-
73
- Win the work. A fixed spine appears in every deck of this kind; a short domain-themed middle and an optional section set flex the deck to 11–14 slides for the engagement.
74
-
75
- **Spine (always present, in order):** Cover, Contents, Introduction, Philosophy / Approach, **Services**, *[domain-themed middle]*, **Case Studies**, **Performance Metrics (KPIs)**, **Team**, Contact.
64
+ ## Get the words approved
76
65
 
77
- **Domain-themed middle (2–5 slides):** the firm's specialty rendered as its own steps: methodology, process, strategy, operational-excellence, or risk steps. A risk advisory firm shows its risk method here; a transformation firm shows its delivery method.
66
+ Show the operator the full text of the deck, every slide, before building anything. Take their edits and fold them in. Repeat until they approve. The approval is the gate to the build step; do not render a deck the operator has not signed off.
78
67
 
79
- **Optional sections (toggle to reach 11–14 slides):** Market Analysis, Testimonials, Industry Experience / Expertise, Why-Choose / CTA.
68
+ ## Build the deck
80
69
 
81
- Select the middle and the optionals from the brief. Do not hard-code one slide list; compose the spine plus the sections the engagement needs.
70
+ Only after the words are approved.
82
71
 
83
- ## Mode B: client findings / recommendation
72
+ 1. **Choose light or dark mode.** Ask the operator, or take it from the brand if the brand sets one. The choice is made once, here, before rendering.
73
+ 2. **Apply the brand's design tokens.** Read `brand.json` and take the colours and fonts from it. This is a prerequisite of the build, not a finishing pass. Do not invent colours; if the brand omits a value, fall back to the default brand's value.
74
+ 3. **Render.** Hand the approved words to `slides:deck-system`, which carries the components, the themes, and the PDF export. content-producer renders on the same seat and exports the PDF through the existing path. There is no new renderer.
84
75
 
85
- Drive a decision. This mode reuses the SCR engine in `slides:deck-system` `STORYTELLING-mbb.md`; read that file and follow it. Do not restate SCR here.
76
+ If `slides` is not enabled, say so and fall back to the always-present `admin:deck-pages` format spec. Never return a blank turn because a dependency is absent. Build in the operator's own brand; never embed a named firm's branded template or assets.
86
77
 
87
- **Shape:** Title / Agenda, then a one-page **Executive summary** (SCR, Resolution leading at 60–70% of the message, a bold takeaway over indented supporting numbers), then Situation, Complication, Findings (MECE, action-titled, one chart per finding), Recommendation, Implementation roadmap (Gantt), Next steps, Appendix. The executive summary is written first and rewritten last; a reader who sees only that slide knows the recommendation, the reasoning, and the next step.
78
+ ## The three kinds, and how each is ordered
88
79
 
89
- ## Mode C: thought-leadership / topic
80
+ The voice and register are the same for all three. They differ only in what slides they hold and in what order.
90
81
 
91
- Position a point of view. Content-led demand generation, with no client-specific recommendation and no commercial sell; that is what separates it from Modes B and A.
82
+ - **Win the work.** A fixed set of slides, plus a few specific to the engagement: who you are, how you work, what you do, the work you have done before, the people, how to reach you. Add only the sections this prospect needs. Aim for eleven to fourteen slides.
83
+ - **Present findings and a recommendation.** One slide that states the recommendation and the few facts behind it, then where things stand now, what is wrong, what you found, what you recommend, how it would roll out, and what happens next. The first slide stands on its own: a reader who sees only it knows the recommendation, the reason, and the next step.
84
+ - **Set out a point of view.** The topic first, then the data, then what it means and what to do about it, then a short note on who you are at the end. No client-specific recommendation and no sell.
92
85
 
93
- **Shape:** Cover, Overview, a hook (a single headline statistic), topic sections (trends, then data, then implications, then challenges, then what to do: transformation / adaptation / innovation), a short About-us / Values credentials tail, Contact / CTA.
86
+ ## Charts
94
87
 
95
- ## Chart kit
96
-
97
- Match the chart to the message. `slides:deck-system` ships no consulting-chart component, so build these on-token using its freestyle rules (stay on the theme's colours, fonts, and spacing; name the class; keep the CSS inline). Lead with them in Mode B; they are available to all modes.
88
+ Match the chart to the point. `slides:deck-system` ships no consulting-chart component, so build these on the theme's colours, fonts, and spacing.
98
89
 
99
90
  | Chart | Use it for |
100
91
  |-------|-----------|
101
- | **Waterfall / bridge** | A measure moving between two points (a cost or margin walk) |
102
- | **Marimekko / Mekko** | Segment × share in one view (market structure) |
103
- | **2×2, including BCG growth-share** | Prioritisation or portfolio choices |
104
- | **Gantt** | A phased roadmap with owners and dates |
92
+ | Waterfall | A figure moving between two points (a cost or margin walk). |
93
+ | Marimekko | Segments by size and share in one view. |
94
+ | Two-by-two | Sorting things into four boxes (a portfolio or a priority call). |
95
+ | Gantt | A plan over time, with owners and dates. |
105
96
 
106
- ## Bridge from the analysis skills
97
+ ## Where the content comes from
107
98
 
108
99
  The deck composes the outputs of the other consulting skills. Numbers come from those outputs or the operator's data only.
109
100
 
110
101
  | Sibling output | Lands in |
111
102
  |----------------|----------|
112
- | `situation-assessment` | Situation |
113
- | `market-mapping` / `profit-pool-analysis` | Findings / Market Analysis + a Mekko |
114
- | `strategic-options` | Recommendation + a 2×2 |
115
- | `business-case-builder` | Economics + a waterfall |
116
- | `transformation-roadmap` | Implementation + a Gantt |
117
- | `narrative-builder` / `stakeholder-alignment` | Executive summary + pre-wire |
118
-
119
- ## Render handoff
120
-
121
- When `slides` is enabled, the render path is `slides:deck-system`: it carries 25 HTML components, the design tokens, the themes, and the PDF export. content-producer renders the composed slides through `deck-system` on the same seat; the PDF exports via the existing path. There is no new renderer.
122
-
123
- When `slides` is not enabled, say so and fall back to the always-present `admin:deck-pages` format spec for a slide-based PDF. Never return a blank turn because a dependency is absent.
124
-
125
- Implement open frameworks in the operator's own brand. Never embed a named firm's branded template or assets.
103
+ | `situation-assessment` | Where things stand now |
104
+ | `market-mapping` / `profit-pool-analysis` | The findings, and a Marimekko |
105
+ | `strategic-options` | The recommendation, and a two-by-two |
106
+ | `business-case-builder` | The economics, and a waterfall |
107
+ | `transformation-roadmap` | The rollout, and a Gantt |
108
+ | `narrative-builder` / `stakeholder-alignment` | The recommendation slide, and pre-wiring |
126
109
 
127
- ## Quality bar
110
+ ## Done when
128
111
 
129
- - The action-title string alone tells the whole story (reverse-storyboard passes).
130
- - Every data slide carries a source line, and every number traces to the brief or a sibling output.
131
- - The executive summary (Mode B) stands alone on one slide.
132
- - Mode A lands at 11–14 slides by toggling the optional sections, not by padding.
133
- - Every prose payload passed through plain English; nothing reads as generic AI consulting copy.
134
- - The voice gate decided before any prose was drafted, and the decision is logged.
112
+ - Every line passes the said-aloud test in `plainly`'s statement register: read it to a colleague across the table and you would say it that way. It states what the thing is, with no selling, no arc, and none of the habits `plainly` strips.
113
+ - The operator approved the words before the deck was built.
114
+ - Light or dark mode was chosen and the brand's design tokens were applied before rendering.
115
+ - Every slide with a number shows its source, and every number traces to the brief or a sibling output.
116
+ - The deck renders to HTML and exports a PDF.
135
117
 
136
118
  ## Observability
137
119
 
@@ -139,4 +121,4 @@ Implement open frameworks in the operator's own brand. Never embed a named firm'
139
121
  [pitch-deck] voice-gate status=<ok|no-data|error> action=<conditioned|stopped|operator-prose>
140
122
  ```
141
123
 
142
- The `[voice-retrieve] …` line is emitted by the voice tool itself. A render or export failure surfaces through `content-producer`'s existing `[tool-failure-diag]` line. A misroute is visible as the **absence** of a `skill-load skillName=pitch-deck` line in a consulting-deck turn; the safeguard is that every deck claimant routes consulting-deck intent here.
124
+ The `[voice-retrieve] …` line is emitted by the voice tool. A render or export failure surfaces through `content-producer`'s existing `[tool-failure-diag]` line. A misroute shows as the absence of a `skill-load skillName=pitch-deck` line in a consulting-deck turn.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuC,gBAAgB,EAAuB,MAAM,8BAA8B,CAAC;AA4b1H,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuC,gBAAgB,EAAuB,MAAM,8BAA8B,CAAC;AAic1H,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -224,7 +224,11 @@ lifelineTool(server, "voice-retrieve-conditioning", "Return the operator's per-f
224
224
  if (!accountId)
225
225
  return refuseNoAccount("voice-retrieve-conditioning");
226
226
  const resolvedUserId = userId ?? resolveUserId();
227
- if (!resolvedUserId) {
227
+ // org scope is account-wide (keyed on ORG_USER_ID + accountId) and never
228
+ // reads a userId, so a specialist spawn that carries ACCOUNT_ID but no
229
+ // ADMIN_USER_ID can still retrieve the house voice. Only personal scope
230
+ // requires a resolved userId (Task 975).
231
+ if ((scope ?? "personal") !== "org" && !resolvedUserId) {
228
232
  // Soft (no isError) so drafting degrades, but status:error keeps this
229
233
  // distinct from genuine no-data (Task 493).
230
234
  return {
@@ -244,7 +248,8 @@ lifelineTool(server, "voice-retrieve-conditioning", "Return the operator's per-f
244
248
  try {
245
249
  const result = await voiceRetrieveConditioning({
246
250
  accountId,
247
- userId: resolvedUserId,
251
+ // org scope ignores userId; pass through for personal scope.
252
+ userId: resolvedUserId ?? "",
248
253
  brief: {
249
254
  format: format,
250
255
  topic,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,aAAa,CAAC,cAAc,CAAC,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,gBAAgB,EAAuB,MAAM,8BAA8B,CAAC;AAE1H,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE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E,MAAe;oBACrB,IAAI,EAAE,4CAA4C,MAAM,CAAC,aAAa,iBAAiB,MAAM,CAAC,YAAY,cAAc,MAAM,CAAC,SAAS,IAAI,SAAS,EAAE;iBACxJ;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,qCAAqC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;iBAC9F;aACF;YACD,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAEhC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IAC/B,MAAM,WAAW,EAAE,CAAC;IACpB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,0DAA0D;AAC1D,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"voice-retrieve-conditioning.d.ts","sourceRoot":"","sources":["../../src/tools/voice-retrieve-conditioning.ts"],"names":[],"mappings":"AA+BA,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,wBAAwB,CAAC;AAMhC,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;WAGG;QACH,MAAM,EAAE,WAAW,CAAC;QACpB;;;;WAIG;QACH,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;;;WAKG;QACH,KAAK,CAAC,EAAE,UAAU,CAAC;KACpB,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9E,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAAC,+BAA+B,CAAC,CA4J1C"}
1
+ {"version":3,"file":"voice-retrieve-conditioning.d.ts","sourceRoot":"","sources":["../../src/tools/voice-retrieve-conditioning.ts"],"names":[],"mappings":"AA+BA,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,wBAAwB,CAAC;AAMhC,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;WAGG;QACH,MAAM,EAAE,WAAW,CAAC;QACpB;;;;WAIG;QACH,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;;;WAKG;QACH,KAAK,CAAC,EAAE,UAAU,CAAC;KACpB,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9E,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAAC,+BAA+B,CAAC,CA8J1C"}
@@ -38,12 +38,15 @@ function errorResult(error) {
38
38
  }
39
39
  export async function voiceRetrieveConditioning(params) {
40
40
  const { accountId, userId, brief } = params;
41
- // Blank identity is an error, never genuine no-data — index.ts guards both
42
- // accountId and userId before calling, so a blank value reaching here is a
43
- // precondition failure, not "you have no profile". Emit a line so this path
44
- // is no longer silent (Task 493 closes the 06:46 path-1 ambiguity).
45
- if (!accountId || !userId) {
46
- process.stderr.write(`[voice-retrieve] error: missing-identity accountId=${Boolean(accountId)} userId=${Boolean(userId)}\n`);
41
+ const scope = brief.scope ?? "personal";
42
+ // Blank identity is an error, never genuine no-data — a blank value reaching
43
+ // here is a precondition failure, not "you have no profile". `accountId` is
44
+ // always required. `userId` is required only for personal scope: org scope is
45
+ // account-wide and keyed on the reserved ORG_USER_ID, so it resolves identity
46
+ // from `accountId` alone and never reads `userId` (Task 975). Emit a line so
47
+ // this path is no longer silent (Task 493 — closes the 06:46 path-1 ambiguity).
48
+ if (!accountId || (scope !== "org" && !userId)) {
49
+ process.stderr.write(`[voice-retrieve] error: missing-identity scope=${scope} accountId=${Boolean(accountId)} userId=${Boolean(userId)}\n`);
47
50
  return errorResult("missing accountId/userId");
48
51
  }
49
52
  const length = brief.length ?? "short";
@@ -52,7 +55,6 @@ export async function voiceRetrieveConditioning(params) {
52
55
  (length === "long" ? DEFAULT_TOKEN_BUDGET_LONG : DEFAULT_TOKEN_BUDGET_SHORT);
53
56
  const charBudget = tokenBudget * CHARS_PER_TOKEN;
54
57
  const format = brief.format;
55
- const scope = brief.scope ?? "personal";
56
58
  const topic = (brief.topic ?? "").trim();
57
59
  const usesTopic = topic.length > 0;
58
60
  // Body resolution (Task 471): for :KnowledgeDocument with HAS_SECTION
@@ -1 +1 @@
1
- {"version":3,"file":"voice-retrieve-conditioning.js","sourceRoot":"","sources":["../../src/tools/voice-retrieve-conditioning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAuB,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EACL,0BAA0B,EAC1B,mCAAmC,EACnC,WAAW,GAGZ,MAAM,wBAAwB,CAAC;AAEhC,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAC1C,MAAM,yBAAyB,GAAG,MAAM,CAAC;AACzC,MAAM,eAAe,GAAG,CAAC,CAAC;AAgE1B,SAAS,WAAW,CAAC,KAAa;IAChC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AACpE,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,MAAuC;IAEvC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IAC5C,2EAA2E;IAC3E,2EAA2E;IAC3E,4EAA4E;IAC5E,sEAAsE;IACtE,IAAI,CAAC,SAAS,IAAI,CAAC,MAAM,EAAE,CAAC;QA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