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
Merge branch 'main' into core/1013-local-first
Corey Olson40cd7b82eb5c
diff --cc src/relay.jsindex 6139fd3f,39c9ee20..ac947bb5--- a/src/relay.js+++ b/src/relay.js@@@ -1048,17 -1012,14 +1056,17 @@@ async function catchUp(root, file, statif (pendingRefusal) throw refusalFromReceipt(pendingRefusal);}-/** Finish a durable executable send; a collision reseals its unchanged id after applying the winner. */-async function sendPending(root, file, state, io) {+/**+ * Post one sealed move to the relay as its actor, renewing an expired seat token once and taking the next free seat+ * name for a registration the relay already gave out. Network only: it applies nothing, so the outbox can send a+ * move while this machine's board still shows its queued moves on top (#1013).+ */+async function postPending(root, file, state, pending, io) {let renewedAgentToken = false;- for (let tries = 0; state.pending && tries < 100; tries += 1) {- const pending = state.pending;+ for (let tries = 0; tries < 100; tries += 1) {const actor = credentialActor(pending.move);try {- const transport = await actorTransport(root, file, state, actor, io);+ const transport = await conflictRecords.transport(root, pending.move, localRecords, () => actorTransport(root, file, state, actor, io));const reply = await request(transport, '/api/v1/boards/' + state.board + '/moves', { method: 'POST',body: { sequence: pending.sequence, sealed: pending.sealed, ...(pending.registration ? { registration: pending.registration } : {}) } }, io);if (reply.event?.event_id !== pending.sequence || reply.event.sealed !== pending.sealed) throw new Refused('RELAY_RESPONSE', 'the relay acknowledgement differs from this executable send; fetch the configured relay');