Canary — post-JIT-fixes verify (full end-to-end)
Proves the full JIT path is live end-to-end after the ship of:
- cloud#3214 — widen fleet-provisioning gate to accept
source: "relayfile" bearers
- cloud#3218 — replace scope check with signed-identity match (
sub === 'agent_agent-relay-factory' AND wks === 'rw_7ccfea89')
- cloud#3219 — revert cloud#3216 (mint-side scope now dead)
- cloud#3215 — flush-failure fatal (Fix B)
- relaycast#360 — tag preservation (Fix C)
- factory-cloud#82 — closed (grant-side scope obsolete under identity auth)
Expected path
- factory sweep picks this issue up (labels:
factory, factory-ready, agent:single).
RelayFleetClient.spawn() invokes the provisionSandbox hook.
container/sandbox-provisioner.mjs POSTs to /cloud/api/v1/fleet/nodes/sandbox/ensure with repos: ["AgentWorkforce/factory"].
- Cloud's
requireFleetProvisioningAuth/isFleetProvisioningServiceAuth admits the factory JWT by signed identity (not by scope).
- Cloud provisions a fresh Daytona sandbox, mounts Relayfile, clones the repo into
/srv/agent-workforce/factory.
- The enrolled sandbox comes online with a
cloud:node-type:*-jit tag (visible in query_nodes).
- Placement lands the spawn on that node.
- Broker resolves
worker_cwd: /srv/agent-workforce/factory, cds into the fresh clone, spawns the harness.
- Agent opens a branch, drafts a PR, and posts a writeback comment back to this issue (kjgbot).
Definition of done
Trivial task for the agent
Append one line to README.md:
Canary — post-JIT-fixes verify — <ISO-8601 timestamp>
Open a PR titled chore: post-JIT-fixes canary targeting main. Don't merge — leaving the PR open is the signal.
Canary — post-JIT-fixes verify (full end-to-end)
Proves the full JIT path is live end-to-end after the ship of:
source: "relayfile"bearerssub === 'agent_agent-relay-factory' AND wks === 'rw_7ccfea89')Expected path
factory,factory-ready,agent:single).RelayFleetClient.spawn()invokes theprovisionSandboxhook.container/sandbox-provisioner.mjsPOSTs to/cloud/api/v1/fleet/nodes/sandbox/ensurewithrepos: ["AgentWorkforce/factory"].requireFleetProvisioningAuth/isFleetProvisioningServiceAuthadmits the factory JWT by signed identity (not by scope)./srv/agent-workforce/factory.cloud:node-type:*-jittag (visible inquery_nodes).worker_cwd: /srv/agent-workforce/factory,cds into the fresh clone, spawns the harness.Definition of done
cloud:node-type:*-jitnode appears inquery_nodeswhen dispatch firesAgentWorkforce/factoryfor this canarykjgbotwriteback comment lands on this issue linking the PRreadinessReconcilestall; step metadatastepStatus.errorfield is either absent or well-formed (no wedge)Trivial task for the agent
Append one line to
README.md:Open a PR titled
chore: post-JIT-fixes canarytargetingmain. Don't merge — leaving the PR open is the signal.