From 30f1cca98490e1e360573c9e5a3bf0d3bdc944df Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Fri, 15 May 2026 19:09:47 +0200 Subject: [PATCH] feat(manifest): add knowledge/graph computed artifacts to remaining unit types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit M004 S01: Update manifests to support knowledge and graph artifacts. Adds computed: ["knowledge", "graph"] to manifests that did not yet declare them, matching the actual behavior of their prompt builders: - execute-task, reactive-execute - discuss-project, discuss-requirements, research-project - workflow-preferences (knowledge only — no graph scope) These unit types already inline knowledge/graph via their builder functions in auto-prompts.js; the manifest declarations were missing. This brings the manifest schema into sync with real dispatch behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/resources/extensions/sf/unit-context-manifest.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/resources/extensions/sf/unit-context-manifest.js b/src/resources/extensions/sf/unit-context-manifest.js index 8f1e69884..02d6ea46d 100644 --- a/src/resources/extensions/sf/unit-context-manifest.js +++ b/src/resources/extensions/sf/unit-context-manifest.js @@ -460,6 +460,7 @@ export const UNIT_MANIFESTS = { inline: ["task-plan", "slice-plan", "prior-task-summaries", "templates"], excerpt: [], onDemand: ["slice-research"], + computed: ["knowledge", "graph"], }, maxSystemPromptChars: COMMON_BUDGET_LARGE, }, @@ -474,6 +475,7 @@ export const UNIT_MANIFESTS = { inline: ["slice-plan", "prior-task-summaries", "templates"], excerpt: [], onDemand: ["slice-research"], + computed: ["knowledge", "graph"], }, maxSystemPromptChars: COMMON_BUDGET_LARGE, }, @@ -536,6 +538,7 @@ export const UNIT_MANIFESTS = { inline: ["project", "templates"], excerpt: [], onDemand: [], + computed: ["knowledge", "graph"], }, maxSystemPromptChars: COMMON_BUDGET_MEDIUM, }, @@ -550,6 +553,7 @@ export const UNIT_MANIFESTS = { inline: ["project", "requirements", "templates"], excerpt: [], onDemand: [], + computed: ["knowledge", "graph"], }, maxSystemPromptChars: COMMON_BUDGET_MEDIUM, }, @@ -564,6 +568,7 @@ export const UNIT_MANIFESTS = { inline: ["project", "requirements", "decisions", "templates"], excerpt: [], onDemand: [], + computed: ["knowledge", "graph"], }, maxSystemPromptChars: COMMON_BUDGET_LARGE, }, @@ -578,6 +583,7 @@ export const UNIT_MANIFESTS = { inline: ["templates"], excerpt: [], onDemand: [], + computed: ["knowledge"], }, maxSystemPromptChars: COMMON_BUDGET_MEDIUM, },