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: pass the signing request reader context [E22,C7]

Corey Olsonbda3a4e7d228
diff --git a/test/person-signing-case.js b/test/person-signing-case.js
index e0e4e853..406b2f43 100644
--- a/test/person-signing-case.js
+++ b/test/person-signing-case.js
@@ -13,7 +13,7 @@ import { executeMove } from '../src/api.js';
import { main } from '../src/cli.js';
/** Reuse the original test's paths, process helpers and request/credential assertions. */
-export async function personSigningCase(t, { CLI, TRUSTED_CLI, helpers, passkeyRequest, holdsNoPersonCredential, relayCall }) {
+export async function personSigningCase(t, { CLI, TRUSTED_CLI, helpers, passkeyRequest, holdsNoPersonCredential, relayCall, receivedRequests }) {
const box = await relayClientFixture(t);
// The shipped command, handed the loopback fixture relay as an explicit trusted parameter in this test's own call path:
// no environment variable or global can make the real CLI trust it (#408 rulings 38756cb3 and 28611).
diff --git a/test/team.test.js b/test/team.test.js
index 50ba4c6a..e215b438 100644
--- a/test/team.test.js
+++ b/test/team.test.js
@@ -1114,7 +1114,7 @@ function holdsNoPersonCredential(directory) {
}
test('person-only moves are signed [E22,B26,H16]', { timeout: relayWorkBudgetMs(60) }, async (t) => { // budget: hang ceiling for real CLI runs and relay calls; not a speed target.
- await personSigningCase(t, { CLI, TRUSTED_CLI, helpers, passkeyRequest, holdsNoPersonCredential, relayCall });
+ await personSigningCase(t, { CLI, TRUSTED_CLI, helpers, passkeyRequest, holdsNoPersonCredential, relayCall, receivedRequests });
});
/** Keep the initial-unpaired local-edit clause distinct from the post-pin trigger controls. */