test(manifest): cover computed context declarations
This commit is contained in:
parent
30f1cca984
commit
ce169ddc22
1 changed files with 15 additions and 0 deletions
|
|
@ -25,3 +25,18 @@ test("unit_manifest_promptParts_when_legacy_boolean_shape_is_used_rejects_it", (
|
|||
["promptParts must be an array of canonical part names"],
|
||||
);
|
||||
});
|
||||
|
||||
test("unit_manifest_computed_context_when_execution_or_project_planning_units_need_memory_declares_it", () => {
|
||||
const expected = {
|
||||
"execute-task": ["knowledge", "graph"],
|
||||
"reactive-execute": ["knowledge", "graph"],
|
||||
"discuss-project": ["knowledge", "graph"],
|
||||
"discuss-requirements": ["knowledge", "graph"],
|
||||
"research-project": ["knowledge", "graph"],
|
||||
"workflow-preferences": ["knowledge"],
|
||||
};
|
||||
|
||||
for (const [unitType, computed] of Object.entries(expected)) {
|
||||
assert.deepEqual(resolveManifest(unitType).artifacts.computed, computed);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue