Advance WBV2 through native engine module matrix
This commit is contained in:
@@ -5,8 +5,8 @@ import { buildTaskContext, compactTaskContext, contextSizeReport, CONTEXT_LIMITS
|
||||
test("current task context is bounded and follows the parent pointer", () => {
|
||||
const bundle = buildTaskContext();
|
||||
const report = contextSizeReport(bundle);
|
||||
assert.match(bundle.context.task, /^(?:M\d+-GAP-\d{5}|WBV2-P\d-\d{3})$/);
|
||||
assert.match(bundle.context.parentTask, /^(?:M\d+-GAP-\d{5}|WBV2-(?:BASELINE|P\d-\d{3}))$/);
|
||||
assert.match(bundle.context.task, /^(?:M\d+-GAP-\d{5}|WBV2-P\d+-\d{3})$/);
|
||||
assert.match(bundle.context.parentTask, /^(?:M\d+-GAP-\d{5}|WBV2-(?:BASELINE|P\d+-\d{3}))$/);
|
||||
assert.equal(bundle.context.parent.manifest.nextTask, bundle.context.task);
|
||||
assert.ok(bundle.context.commands.length >= 1);
|
||||
assert.equal(bundle.context.sourceDocuments.taskCard, `docs/tasks/${bundle.context.task}.md`);
|
||||
|
||||
Reference in New Issue
Block a user