feat(manifest): add knowledge/graph computed artifacts to remaining unit types

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>
This commit is contained in:
Mikael Hugo 2026-05-15 19:09:47 +02:00
parent c718bd605b
commit 30f1cca984

View file

@ -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,
},