Capture M16 gap execution artifacts
This commit is contained in:
@@ -11,7 +11,7 @@ verifyTaskIndex();
|
||||
const bundle = buildTaskContext(task);
|
||||
const report = contextSizeReport(bundle);
|
||||
const { context } = bundle;
|
||||
const governance = validateContextBundle(bundle);
|
||||
const governance = validateContextBundle(bundle, { current: task === undefined });
|
||||
assert.equal(report.withinBudget, true, `task context exceeds budget: ${JSON.stringify(report)}`);
|
||||
assert.deepEqual(governance.violations, [], `task context governance failed: ${JSON.stringify(governance.violations)}`);
|
||||
if (task) assert.equal(context.task, task);
|
||||
|
||||
Reference in New Issue
Block a user