You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
[factory] Canary — Fix B flush-failure fatal invariant (cloud#3215) #417
Canary — proves Fix B (cloud#3215) holds under a real flush failure
RelayfileFlushError should now fail the step outright (was: silent stall lasting ~68 min in readinessReconcile.state: stalled with no lastError). This canary triggers a deliberate flush failure to prove:
The step lands in stepStatus: failed with lastError: RelayfileFlushError.
The error field on step metadata reads relayfile flush failed after command exit 0: ....
No 68-minute readinessReconcile stall — the sweep either retries or reports failed within one cycle.
Reproduction (write past the ~10 MiB flush cap)
Run this as a deterministic step so the flush is invoked at end-of-step:
# Deterministic push over the ~10 MiB flush body cap.# Provider mount is at $RELAYFILE_MOUNT (mounts under /relayfile).
mkdir -p "$RELAYFILE_MOUNT/factory/canary/flush-oversize/$(date -u +%s)"cd"$RELAYFILE_MOUNT/factory/canary/flush-oversize/$(date -u +%s)"# 12 MiB of incompressible content — safely past the 10551296-byte cap.
head -c 12582912 /dev/urandom > payload.bin
ls -la payload.bin
Cloud responds with http 413 payload_too_large: <bytes> > 10551296, flushRelayfileMount rejects, the executor now throws RelayfileFlushError (Fix B), and the step is reported failed.
Definition of done
/evidence payload for this step shows:
stepStatus: failed
lastError.type: RelayfileFlushError (or the message contains relayfile flush failed after command exit 0)
stepStatus.error includes payload_too_large or Failed to flush
No readinessReconcile.state: stalled with lastError: null for this run.
Sweep observes the failure within one cycle, not after ~68 min.
Canary result posted to #engineering AND factory#372.
Agent: ar-417-impl-factory
Issue: 417
Question: Can this canary be restarted in a worker with RELAYFILE_MOUNT set to the real provider mount under /relayfile so the required 12 MiB end-of-step flush failure can be triggered and observed?
Agent: ar-417-impl-factory
Issue: 417
Question: The required one-time factory.lifecycle completion invocation returned action_not_found; can Factory register/restore that action and re-run completion handling for pushed branch factory/417-agentworkforce-factory-4105afa5 at 75e433a?
Agent: ar-417-impl-factory
Issue: 417
Question: The required factory.lifecycle action is not registered in Agent Relay (the single invocation returned action_not_found); can Factory accept or reissue the completion signal for commit 89b2be54d6d1711e410b9402c080b132b3a18e05?
Agent: ar-417-impl-factory
Issue: 417
Question: The required one-time factory.lifecycle completion invocation is unavailable (Tool invoke_action not found); can Factory restore or accept the completion signal for pushed commit 89b2be54d6d1711e410b9402c080b132b3a18e05?
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore the factory.lifecycle Agent Relay action for this workspace and confirm how completion should be retried, since the required one-time invoke_action call returned Tool invoke_action not found.
Agent: ar-417-impl-factory
Issue: 417
Question: Can the Factory lifecycle action factory.lifecycle be exposed to this Agent Relay session so I can send the required completed control signal?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you re-dispatch this canary as a deterministic relayfile-mounted step with access to the deployed /evidence endpoint/token, since this assigned runtime has no $RELAYFILE_MOUNT or /relayfile mount and therefore cannot trigger or verify the required flush failure?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the Agent Relay invoke_action tool with the factory.lifecycle action so I can send the required durable completion signal?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the required Agent Relay invoke_action tool with the factory.lifecycle action for this workspace so completion can be recorded for pushed branch factory/417-agentworkforce-factory-f76fa137 at commit 8f2c6f657915d8fcf127bfe1a8e46baebcc149c1?
Agent: ar-417-impl-factory
Issue: 417
Question: Can this canary be re-dispatched on a worker that exposes the provider-mounted $RELAYFILE_MOUNT (under /relayfile), since the current worker has neither the environment variable nor the mount required to trigger and observe the deliberate end-of-step flush failure?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you restore/register the factory.lifecycle Relay action for this workspace and re-dispatch completion? The implementation is already pushed at factory/417-agentworkforce-factory-f76fa137 commit 8f2c6f6, but Relay returned action_not_found for the required completion signal.
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the required Agent Relay invoke_action tool with the factory.lifecycle action for this workspace so the validated implementation on branch factory/417-agentworkforce-factory-f76fa137 at commit 8f2c6f657915d8fcf127bfe1a8e46baebcc149c1 can send its durable completion signal?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you register or restore the factory.lifecycle Agent Relay action for this workspace so the required completed lifecycle signal can be accepted?
Removed from the Software Garden dispatch pool (gate label dropped) — 2026-09-06.
This canary was being re-dispatched in a loop. Each run provisioned a JIT sandbox, the agent reached a point where it needed human input, posted a question here, waited, and was reaped by the orphan reaper at the 300s placement timeout — then re-dispatched and asked again.
Across the canary set that produced 34 unanswered human input requests in three days (this issue is one of seven), and 13 sandboxes provisioned in a single recent window. The questions had no reply path and no notification to a human, so none was ever answered.
Nothing here says the work is wrong — the loop is a dispatch-lifecycle defect, not a defect in this issue. Re-add the gate label once agents park correctly on a question instead of spinning.
The fix is in progress: on a human input request the agent should be released immediately, the issue parked in awaiting-clarification, the thread subscribed, and the work re-dispatched with the answer in context when a human replies.
Agent: ar-417-impl-factory
Issue: 417
Question: Can you register or restore the factory.lifecycle Agent Relay action for this workspace so the required completed lifecycle signal can be accepted for branch factory/417-agentworkforce-factory-1b89dd5f at remote tip 8a0aa3f9e776e5b8cf42aa623172b6ec2e128540?
Agent: ar-417-impl-factory
Issue: 417
Question: Can you restore the factory.lifecycle Agent Relay action and accept completion for remote branch factory/417-agentworkforce-factory-1b89dd5f at 8a0aa3f, since the required one-time invocation returned Action "factory.lifecycle" not found?
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore the required factory.lifecycle Relay action and completion routing; the implementation is pushed at be136e0bc0493bf53504aa9bbf071ba8fb73989b, but the mandated exactly-once invocation returned Action "factory.lifecycle" not found.
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore or accept the required factory.lifecycle completion action for pushed branch factory/417-agentworkforce-factory-1b89dd5f at f2c90cb16b21c38f25562818cacce4d0202ef68e; the mandated exactly-once invocation returned Tool invoke_action not found.
Activity
khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can this canary be restarted in a worker with RELAYFILE_MOUNT set to the real provider mount under /relayfile so the required 12 MiB end-of-step flush failure can be triggered and observed?
khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: The required one-time
factory.lifecyclecompletion invocation returnedaction_not_found; can Factory register/restore that action and re-run completion handling for pushed branchfactory/417-agentworkforce-factory-4105afa5at75e433a?khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: The required
factory.lifecycleaction is not registered in Agent Relay (the single invocation returnedaction_not_found); can Factory accept or reissue the completion signal for commit89b2be54d6d1711e410b9402c080b132b3a18e05?khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: The required one-time
factory.lifecyclecompletion invocation is unavailable (Tool invoke_action not found); can Factory restore or accept the completion signal for pushed commit89b2be54d6d1711e410b9402c080b132b3a18e05?khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore the
factory.lifecycleAgent Relay action for this workspace and confirm how completion should be retried, since the required one-timeinvoke_actioncall returnedTool invoke_action not found.khaliqgant commentedon Sep 4, 2026
Factory human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can the Factory lifecycle action
factory.lifecyclebe exposed to this Agent Relay session so I can send the required completed control signal?khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you re-dispatch this canary as a deterministic relayfile-mounted step with access to the deployed
/evidenceendpoint/token, since this assigned runtime has no$RELAYFILE_MOUNTor/relayfilemount and therefore cannot trigger or verify the required flush failure?khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the Agent Relay
invoke_actiontool with thefactory.lifecycleaction so I can send the required durable completion signal?khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the required Agent Relay
invoke_actiontool with thefactory.lifecycleaction for this workspace so completion can be recorded for pushed branchfactory/417-agentworkforce-factory-f76fa137at commit8f2c6f657915d8fcf127bfe1a8e46baebcc149c1?khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can this canary be re-dispatched on a worker that exposes the provider-mounted
$RELAYFILE_MOUNT(under/relayfile), since the current worker has neither the environment variable nor the mount required to trigger and observe the deliberate end-of-step flush failure?khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you restore/register the
factory.lifecycleRelay action for this workspace and re-dispatch completion? The implementation is already pushed atfactory/417-agentworkforce-factory-f76fa137commit8f2c6f6, but Relay returnedaction_not_foundfor the required completion signal.khaliqgant commentedon Sep 5, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you expose the required Agent Relay
invoke_actiontool with thefactory.lifecycleaction for this workspace so the validated implementation on branchfactory/417-agentworkforce-factory-f76fa137at commit8f2c6f657915d8fcf127bfe1a8e46baebcc149c1can send its durable completion signal?khaliqgant commentedon Sep 6, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you register or restore the
factory.lifecycleAgent Relay action for this workspace so the required completed lifecycle signal can be accepted?kjgbot commentedon Sep 6, 2026
Removed from the Software Garden dispatch pool (gate label dropped) — 2026-09-06.
This canary was being re-dispatched in a loop. Each run provisioned a JIT sandbox, the agent reached a point where it needed human input, posted a question here, waited, and was reaped by the orphan reaper at the 300s placement timeout — then re-dispatched and asked again.
Across the canary set that produced 34 unanswered human input requests in three days (this issue is one of seven), and 13 sandboxes provisioned in a single recent window. The questions had no reply path and no notification to a human, so none was ever answered.
Nothing here says the work is wrong — the loop is a dispatch-lifecycle defect, not a defect in this issue. Re-add the gate label once agents park correctly on a question instead of spinning.
The fix is in progress: on a human input request the agent should be released immediately, the issue parked in
awaiting-clarification, the thread subscribed, and the work re-dispatched with the answer in context when a human replies.fix(clarification): park the team when a human-input request comes fr…
khaliqgant commentedon Sep 6, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you register or restore the
factory.lifecycleAgent Relay action for this workspace so the required completed lifecycle signal can be accepted for branchfactory/417-agentworkforce-factory-1b89dd5fat remote tip8a0aa3f9e776e5b8cf42aa623172b6ec2e128540?khaliqgant commentedon Sep 6, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Can you restore the
factory.lifecycleAgent Relay action and accept completion for remote branchfactory/417-agentworkforce-factory-1b89dd5fat8a0aa3f, since the required one-time invocation returnedAction "factory.lifecycle" not found?khaliqgant commentedon Sep 6, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore the required
factory.lifecycleRelay action and completion routing; the implementation is pushed atbe136e0bc0493bf53504aa9bbf071ba8fb73989b, but the mandated exactly-once invocation returnedAction "factory.lifecycle" not found.khaliqgant commentedon Sep 6, 2026
Software Garden human input request
Agent: ar-417-impl-factory
Issue: 417
Question: Please restore or accept the required
factory.lifecyclecompletion action for pushed branchfactory/417-agentworkforce-factory-1b89dd5fatf2c90cb16b21c38f25562818cacce4d0202ef68e; the mandated exactly-once invocation returnedTool invoke_action not found.