Inject pre-flight launch logs into the launched agent context #1407
No reviewers
Labels
No labels
burndown-2026-06
pressure-test
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/ward!1407
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-1335"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a launch-only preflight artifact to the seed given to launched agents. The host-side broker log stays on stderr, while the launched container now starts with a structured launch preflight block that includes the resolved run context and the preflight read.
Tests:
go test ./cmd/ward -run 'TestReservationSeedContextRender|TestLaunchPreflightSeedContext|TestRunPreflightGooseNeverRunsHostOneShot|TestBuildReservationSeedContextPartition|TestAgentSeedPromptWorkflow|TestReviewGateClauseInSeed|TestDockerCreateArgvSeedsAgentArgs'golangci-lint run ./cmd/wardcloses #1335
ward.workflow: pull-request-and-merge
QA BLOCK: do not merge this PR yet for #1335.
Inspection of head
44504ae999found that the launched-agent pre-flight seed block reportsreservation re-check: passedbefore that result is actually known. The block is composed inlaunchAgentContainerbeforereserveIssueruns the remote reservation re-check, and--skip-preflightexplicitly skips that re-check while the seed still says it passed.That misses #1335's requirement that the launched artifact show what was checked and whether relevant gates passed, deferred, or refused. I filed follow-up #1417 with identical headless/P2 milestone queueing and attempted dispatch; dispatch is currently capacity-blocked at 3 active engineers. Merge #1407 only after #1417 or an equivalent update makes the reservation re-check status truthful.
QA BLOCK persists on updated head
f7de5c4c87.I re-inspected the current PR diff after the CI retry commit. The launch pre-flight seed still renders
reservation re-check: passedunconditionally inlaunchPreflightSeedContext, and the seed is still composed beforereserveIssueruns the actual remote reservation re-check. The skipped path also remains inaccurate because--skip-preflightskips the re-check while the seed says passed.Focused local tests still pass, but they pin the inaccurate string rather than correcting it. #1417 remains the captured follow-up and is dispatch-deferred due repo capacity. Keep #1407 unmerged even if run 8527 turns green unless #1417 or equivalent changes land on this branch first.