Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(matrix): document the owned failure control [H5,H17,N26]

Corey Olson0181e9c36f84
diff --git a/test/hosted-shapes.test.js b/test/hosted-shapes.test.js
index ed119ba5..2ddf6464 100644
--- a/test/hosted-shapes.test.js
+++ b/test/hosted-shapes.test.js
@@ -928,10 +928,14 @@ test('a forced hosted cell failure captures its final page state without raising
const cell = cells().find(entry => entry.id === 'board-view/signed-in/paired/approval/fresh');
assert.ok(cell, 'the control selects one actual committed matrix cell');
// Only this control's fresh contexts hide the seeded chain: the real page, relay and local view still run.
- const forced = { name: engine.name, async newContext() {
+ const forced = { name: engine.name,
+ /** Open a genuine fresh browser context with only this control's display fault. */
+ async newContext() {
const context = await engine.newContext();
const open = context.newPage.bind(context);
- return { ...context, newPage(options) {
+ return { ...context,
+ /** Keep the real browser page and add the owned chain-hiding bootstrap. */
+ newPage(options) {
const hide = `document.addEventListener('DOMContentLoaded', () => {
const style = document.createElement('style');
style.textContent = '#chain { display: none !important; }';