Capture M16 gap execution artifacts
This commit is contained in:
@@ -56,3 +56,10 @@ test("governance reports a serialized context envelope that exceeds its reserved
|
||||
const result = validateContextBundle(oversized);
|
||||
assert.ok(result.violations.some(({ code }) => code === "CONTEXT_ENVELOPE_OVER_BUDGET"));
|
||||
});
|
||||
|
||||
test("explicit task handoff remains auditable after the queue advances", () => {
|
||||
const bundle = buildTaskContext("M16-GAP-00145");
|
||||
const result = validateContextBundle(bundle, { current: false });
|
||||
assert.deepEqual(result.violations, []);
|
||||
assert.equal(bundle.context.nextTask, "M16-GAP-00146");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user