Brokered launch should create missing launch-staging directory #1563

Closed
opened 2026-07-25 23:24:11 +00:00 by coilyco-ops · 0 comments
Member

Problem

A read-only Codex director dispatched ward agent engineer --harness codex coilyco-flight-deck/ward#1561 on 2026-07-25. The dispatch broker accepted the request, but the wrapper log shows launch failed before container creation:

ward: ward container: create assets dir: stat /root/.ward/launch-staging: no such file or directory

Raw artifact path reported by the broker was /root/.ward/agent-logs/dispatch/e4d481f9edb13a556f49e61d6be16f2b-director-codex-ts48-https-forgejo-coilysiren-me-coilyco-flight-deck-ward-issues-1561/console.log; direct file reads from the dropped director were denied, but ward agent logs https://forgejo.coilysiren.me/coilyco-flight-deck/ward/issues/1561 exposed the redacted wrapper log.

Acceptance

  • Brokered engineer launch creates or verifies the launch staging directory before writing launch assets.
  • A missing /root/.ward/launch-staging does not fail an otherwise valid dispatch before container creation.
  • The failure path remains clear and redacted if the staging directory cannot be created for a real permission or filesystem error.
  • Coverage exercises the missing-directory case.
  • Ward validation passes.

Observed while attempting to dispatch #1561 from a read-only director surface.

## Problem A read-only Codex director dispatched `ward agent engineer --harness codex coilyco-flight-deck/ward#1561` on 2026-07-25. The dispatch broker accepted the request, but the wrapper log shows launch failed before container creation: ``` ward: ward container: create assets dir: stat /root/.ward/launch-staging: no such file or directory ``` Raw artifact path reported by the broker was `/root/.ward/agent-logs/dispatch/e4d481f9edb13a556f49e61d6be16f2b-director-codex-ts48-https-forgejo-coilysiren-me-coilyco-flight-deck-ward-issues-1561/console.log`; direct file reads from the dropped director were denied, but `ward agent logs https://forgejo.coilysiren.me/coilyco-flight-deck/ward/issues/1561` exposed the redacted wrapper log. ## Acceptance * Brokered engineer launch creates or verifies the launch staging directory before writing launch assets. * A missing `/root/.ward/launch-staging` does not fail an otherwise valid dispatch before container creation. * The failure path remains clear and redacted if the staging directory cannot be created for a real permission or filesystem error. * Coverage exercises the missing-directory case. * Ward validation passes. ## Related Observed while attempting to dispatch #1561 from a read-only director surface.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward#1563
No description provided.