@tacitai/mcp-server 0.6.39 → 0.6.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prompts.d.ts +4 -4
- package/dist/prompts.js +4 -4
- package/package.json +1 -1
package/dist/prompts.d.ts
CHANGED
|
@@ -33,21 +33,21 @@ export declare const GM_WORKFLOW: {
|
|
|
33
33
|
}, {
|
|
34
34
|
readonly id: "review_structure";
|
|
35
35
|
readonly name: "Review workspace structure (MANDATORY for pyramid placement)";
|
|
36
|
-
readonly action: "You MUST call ALL FOUR tools in sequence — do not skip any: (1) Call tacit_pyramid_list_portfolios to see all portfolios. Pick the best fit. (2) Call tacit_pyramid_list_value_streams — if value streams exist, identify which one aligns with the content. (3) Call tacit_pyramid_list_programs with the portfolio_id. Pick the best-fit program. (4) Call tacit_pyramid_list_dossiers with that program_id. Pick the best-fit dossier. If
|
|
36
|
+
readonly action: "You MUST call ALL FOUR tools in sequence — do not skip any: (1) Call tacit_pyramid_list_portfolios to see all portfolios. Pick the best fit. (2) Call tacit_pyramid_list_value_streams — if value streams exist, identify which one aligns with the content. (3) Call tacit_pyramid_list_programs with the portfolio_id. Pick the best-fit program. After selecting the target program, check its value_stream_id in the list response. If value_stream_id is null or missing, the program is an orphan — it is not linked to any value stream. In step 4, include this in your proposal: \"Note: [program] is not linked to a value stream. I'd recommend linking it to [VS name] — should I do that too?\" If the user approves, call tacit_pyramid_assign_program_to_value_stream before tacit_gm_approve. (4) Call tacit_pyramid_list_dossiers with that program_id. Pick the best-fit dossier. If tacit_pyramid_list_dossiers returns zero results for the selected program, you MUST propose creating a new dossier. Derive the dossier name from the content title (e.g., for a research report titled \"AI Agents for SMB Operations\", propose a dossier called \"AI Agents for SMB Operations\" or similar). The user can override the proposed name or decline the dossier, but the GM must always propose one — never silently skip it. Do NOT proceed to step 4 without either an existing dossier ID or a new dossier name to propose. You MUST drill down to the dossier level — placing at the program level without a dossier creates an orphan. For a KB surface: call tacit_kb_list_collections and pick the best-fit collection.";
|
|
37
37
|
readonly tools: readonly ["tacit_pyramid_list_portfolios", "tacit_pyramid_list_value_streams", "tacit_pyramid_list_programs", "tacit_pyramid_list_dossiers"];
|
|
38
38
|
readonly signal: "You have identified a specific portfolio → value stream (if any) → program → dossier, or determined a new dossier name is needed.";
|
|
39
39
|
readonly skip_when: "User chose lake-only.";
|
|
40
40
|
}, {
|
|
41
41
|
readonly id: "propose";
|
|
42
42
|
readonly name: "Propose and WAIT for approval";
|
|
43
|
-
readonly action: "Present a specific proposal and STOP. Do not call tacit_gm_approve yet. For pyramid, say: \"I'd file this under [portfolio] → [value stream] → [program] → [dossier] — [one sentence reason]. Should I go ahead?\" (Omit value stream only if the workspace has none.) If
|
|
43
|
+
readonly action: "Present a specific proposal and STOP. Do not call tacit_gm_approve yet. Your proposal MUST include a dossier. For pyramid, say: \"I'd file this under [portfolio] → [value stream] → [program] → [dossier] — [one sentence reason]. Should I go ahead?\" (Omit value stream only if the workspace has none.) If no existing dossier fits, propose a new one: \"I'd file this under [portfolio] → [VS] → [program] → **new dossier: [name]**. Good?\" For KB: \"I'd add this to your [collection] knowledge base as a draft article you can publish anytime. Approve?\" If the selected program has no value_stream_id (flagged in step 3), include: \"Note: [program] is not linked to a value stream. I'd recommend linking it to [VS name] — should I do that too?\" CRITICAL: You MUST wait for the user to say yes, approve, or confirm BEFORE proceeding to the next step. Do NOT interpret ANY of these as approval of a specific location: \"place it\", \"add it to the workspace\", \"you decide\", \"pyramid\", \"KB\", \"knowledge base\", \"workspace structure\". Those are SURFACE choices — the user still needs to see and approve the SPECIFIC portfolio → value stream → program → dossier path (or specific collection for KB) that you are proposing. If the classifier's suggestion does not fit, propose a better location; never place it yourself instead of asking.";
|
|
44
44
|
readonly tools: readonly [];
|
|
45
45
|
readonly signal: "User explicitly approves (\"yes\", \"approve\", \"do it\", \"go ahead\"), redirects to a different location, or declines.";
|
|
46
46
|
}, {
|
|
47
47
|
readonly id: "place";
|
|
48
48
|
readonly name: "Execute approved placement";
|
|
49
|
-
readonly action: "ONLY after the user explicitly approved the proposal in step 4: For pyramid — if a new dossier
|
|
50
|
-
readonly tools: readonly ["tacit_gm_approve", "tacit_kb_promote_from_artifact", "tacit_pyramid_create_dossier"];
|
|
49
|
+
readonly action: "PRECONDITION: You MUST have a dossier_id before calling tacit_gm_approve for pyramid placement. If you reach this step without a dossier_id, STOP and go back to step 4 to propose one. ONLY after the user explicitly approved the proposal in step 4: For pyramid — if a new dossier was approved, call tacit_pyramid_create_dossier first to get the dossier_id. If the user also approved linking the program to a value stream (flagged in step 3), call tacit_pyramid_assign_program_to_value_stream first. Then call tacit_gm_approve with the catalog_id from step 1, surface=\"pyramid\", collection_or_program set to the program UUID, and dossier_id set to the dossier UUID. NEVER call tacit_gm_approve without a dossier_id for pyramid placement. For KB: call tacit_kb_promote_from_artifact with the artifact_id from step 1, the collection UUID, and status \"DRAFT\" — the article lands as a draft the user can publish anytime (tacit_gm_approve does not place KB content). For both: pyramid first, then KB (two separate calls). For lake-only: no call needed.";
|
|
50
|
+
readonly tools: readonly ["tacit_gm_approve", "tacit_kb_promote_from_artifact", "tacit_pyramid_create_dossier", "tacit_pyramid_assign_program_to_value_stream"];
|
|
51
51
|
readonly signal: "tacit_gm_approve or tacit_kb_promote_from_artifact returns success.";
|
|
52
52
|
readonly skip_when: "User chose lake-only.";
|
|
53
53
|
}, {
|
package/dist/prompts.js
CHANGED
|
@@ -176,7 +176,7 @@ export const GM_WORKFLOW = {
|
|
|
176
176
|
{
|
|
177
177
|
id: 'review_structure',
|
|
178
178
|
name: 'Review workspace structure (MANDATORY for pyramid placement)',
|
|
179
|
-
action: 'You MUST call ALL FOUR tools in sequence — do not skip any: (1) Call tacit_pyramid_list_portfolios to see all portfolios. Pick the best fit. (2) Call tacit_pyramid_list_value_streams — if value streams exist, identify which one aligns with the content. (3) Call tacit_pyramid_list_programs with the portfolio_id. Pick the best-fit program. (4) Call tacit_pyramid_list_dossiers with that program_id. Pick the best-fit dossier. If
|
|
179
|
+
action: 'You MUST call ALL FOUR tools in sequence — do not skip any: (1) Call tacit_pyramid_list_portfolios to see all portfolios. Pick the best fit. (2) Call tacit_pyramid_list_value_streams — if value streams exist, identify which one aligns with the content. (3) Call tacit_pyramid_list_programs with the portfolio_id. Pick the best-fit program. After selecting the target program, check its value_stream_id in the list response. If value_stream_id is null or missing, the program is an orphan — it is not linked to any value stream. In step 4, include this in your proposal: "Note: [program] is not linked to a value stream. I\'d recommend linking it to [VS name] — should I do that too?" If the user approves, call tacit_pyramid_assign_program_to_value_stream before tacit_gm_approve. (4) Call tacit_pyramid_list_dossiers with that program_id. Pick the best-fit dossier. If tacit_pyramid_list_dossiers returns zero results for the selected program, you MUST propose creating a new dossier. Derive the dossier name from the content title (e.g., for a research report titled "AI Agents for SMB Operations", propose a dossier called "AI Agents for SMB Operations" or similar). The user can override the proposed name or decline the dossier, but the GM must always propose one — never silently skip it. Do NOT proceed to step 4 without either an existing dossier ID or a new dossier name to propose. You MUST drill down to the dossier level — placing at the program level without a dossier creates an orphan. For a KB surface: call tacit_kb_list_collections and pick the best-fit collection.',
|
|
180
180
|
tools: ['tacit_pyramid_list_portfolios', 'tacit_pyramid_list_value_streams', 'tacit_pyramid_list_programs', 'tacit_pyramid_list_dossiers'],
|
|
181
181
|
signal: 'You have identified a specific portfolio → value stream (if any) → program → dossier, or determined a new dossier name is needed.',
|
|
182
182
|
skip_when: 'User chose lake-only.',
|
|
@@ -184,15 +184,15 @@ export const GM_WORKFLOW = {
|
|
|
184
184
|
{
|
|
185
185
|
id: 'propose',
|
|
186
186
|
name: 'Propose and WAIT for approval',
|
|
187
|
-
action: 'Present a specific proposal and STOP. Do not call tacit_gm_approve yet. For pyramid, say: "I\'d file this under [portfolio] → [value stream] → [program] → [dossier] — [one sentence reason]. Should I go ahead?" (Omit value stream only if the workspace has none.) If
|
|
187
|
+
action: 'Present a specific proposal and STOP. Do not call tacit_gm_approve yet. Your proposal MUST include a dossier. For pyramid, say: "I\'d file this under [portfolio] → [value stream] → [program] → [dossier] — [one sentence reason]. Should I go ahead?" (Omit value stream only if the workspace has none.) If no existing dossier fits, propose a new one: "I\'d file this under [portfolio] → [VS] → [program] → **new dossier: [name]**. Good?" For KB: "I\'d add this to your [collection] knowledge base as a draft article you can publish anytime. Approve?" If the selected program has no value_stream_id (flagged in step 3), include: "Note: [program] is not linked to a value stream. I\'d recommend linking it to [VS name] — should I do that too?" CRITICAL: You MUST wait for the user to say yes, approve, or confirm BEFORE proceeding to the next step. Do NOT interpret ANY of these as approval of a specific location: "place it", "add it to the workspace", "you decide", "pyramid", "KB", "knowledge base", "workspace structure". Those are SURFACE choices — the user still needs to see and approve the SPECIFIC portfolio → value stream → program → dossier path (or specific collection for KB) that you are proposing. If the classifier\'s suggestion does not fit, propose a better location; never place it yourself instead of asking.',
|
|
188
188
|
tools: [],
|
|
189
189
|
signal: 'User explicitly approves ("yes", "approve", "do it", "go ahead"), redirects to a different location, or declines.',
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
id: 'place',
|
|
193
193
|
name: 'Execute approved placement',
|
|
194
|
-
action: 'ONLY after the user explicitly approved the proposal in step 4: For pyramid — if a new dossier
|
|
195
|
-
tools: ['tacit_gm_approve', 'tacit_kb_promote_from_artifact', 'tacit_pyramid_create_dossier'],
|
|
194
|
+
action: 'PRECONDITION: You MUST have a dossier_id before calling tacit_gm_approve for pyramid placement. If you reach this step without a dossier_id, STOP and go back to step 4 to propose one. ONLY after the user explicitly approved the proposal in step 4: For pyramid — if a new dossier was approved, call tacit_pyramid_create_dossier first to get the dossier_id. If the user also approved linking the program to a value stream (flagged in step 3), call tacit_pyramid_assign_program_to_value_stream first. Then call tacit_gm_approve with the catalog_id from step 1, surface="pyramid", collection_or_program set to the program UUID, and dossier_id set to the dossier UUID. NEVER call tacit_gm_approve without a dossier_id for pyramid placement. For KB: call tacit_kb_promote_from_artifact with the artifact_id from step 1, the collection UUID, and status "DRAFT" — the article lands as a draft the user can publish anytime (tacit_gm_approve does not place KB content). For both: pyramid first, then KB (two separate calls). For lake-only: no call needed.',
|
|
195
|
+
tools: ['tacit_gm_approve', 'tacit_kb_promote_from_artifact', 'tacit_pyramid_create_dossier', 'tacit_pyramid_assign_program_to_value_stream'],
|
|
196
196
|
signal: 'tacit_gm_approve or tacit_kb_promote_from_artifact returns success.',
|
|
197
197
|
skip_when: 'User chose lake-only.',
|
|
198
198
|
},
|