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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
test(inbox): answer through the real phone protocol [E9,E18,N26]
Corey Olson874cd3807f74
diff --git a/test/inbox-key-fixture.js b/test/inbox-key-fixture.jsindex 296245a2..ea0d5583 100644--- a/test/inbox-key-fixture.js+++ b/test/inbox-key-fixture.js@@ -21,12 +21,16 @@ function cursor(box) {}/** Create a genuine answered decision through the authenticated public CLI before hiding its key. */-export async function prepareKeylessInbox(box) {+export async function prepareKeylessInbox(box, { phoneRequest, receivedRequests }) {const asked = await box.cli('shout', 'person', 'May this session read without recording delivery?', '--decision');assert.equal(asked.code, 0, 'the fixture asks a real decision');- const answer = await box.cli('answer', String(asked.document.id), 'Read without acknowledging until the key returns.', '--as', 'person');- assert.equal(answer.code, 0, 'the fixture person answers through ordinary authentication');- return { answer: answer.document.id };+ const request = await phoneRequest(box, (await box.phoneSession()).token,+ { verb: 'answer', item: asked.document.id, args: { text: 'Read without acknowledging until the key returns.' } });+ assert.equal((await receivedRequests(box))[request].status, 'done', 'the signed-in phone answers through ordinary authentication');+ const exported = await box.cli('export');+ const answer = exported.document.tables.shout.find(row => row.shout_answers === asked.document.id);+ assert.ok(answer, 'the actual phone answer is recorded on the board');+ return { answer: answer.shout_id };}/** Preserve both cursors while displaying a real obligation and refusing explicit acknowledgement. */diff --git a/test/team.test.js b/test/team.test.jsindex 16ed3037..74e802af 100644--- a/test/team.test.js+++ b/test/team.test.js@@ -846,7 +846,7 @@ test('every session reads and moves: terminal, SSH, agent, job or CI [E9,E18]',// S6b: a session that cannot read the key (SSH, a scheduled job, a locked keychain) still reads the whole board.assert.equal((await box.cli('add', box.lane, 'Read from any session')).code, 0);- const inbox = await prepareKeylessInbox(box);+ const inbox = await prepareKeylessInbox(box, { phoneRequest, receivedRequests });renameSync(keys, keys + '.parked');try {for (const command of [['list'], ['show', '1'], ['inbox'], ['whoami'], ['status'], ['resume'], ['log']]) {