Advance WBV2 through native engine module matrix
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-28 00:46:58 +08:00
parent d436f268f0
commit b78e23b16c
50 changed files with 11906 additions and 26 deletions

View File

@@ -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`);