Repair WARD_CONFIG_REF propagation for read-only director containers #427
Labels
No labels
burndown-2026-06
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/agentic-os#427
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
PR
agentic-os#426improves host shell rc behavior foragentic-os#422, but it misses the surface where the bug was observed.Current evidence from the read-only director surface:
Commands still need the manual prefix:
The PR only changes
shell/bashrc,shell/zshrc, andshell/common.sh. It does not change the ward/container entrypoint or any startup path that creates the read-only director surface session, so childwardedinvocations launched from that surface still do not inherit the config ref.A secondary bug in the PR:
_siren_aos_repo_rootfalls back togit rev-parse --show-toplevelbefore the canonical aos checkout, so a direct source ofcommon.shfrom another repo can construct an agentic-os config ref using the wrong repo's commit SHA.Acceptance criteria
WARD_CONFIG_REF=forgejo.coilysiren.me/coilyco-flight-deck/agentic-os@<current aos commit>//.wardwithout a manual inline prefix.warded list --jsonworks from that surface without settingWARD_CONFIG_REFinline.warded engineer coilyco-flight-deck/<repo>#N --harness codex --details ...inherits the same ref without setting it inline.shell/common.shsourced in a unit test.WARD-RESERVATION: held 🔒
reservation details
Holder: container
engineer-codex-agentic-os-427on hostkais-macbook-pro-2.local.Reserved by
ward agent --harness codex(reserved 2026-07-10T09:47:27Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (1h TTL).--forceoverrides.Do not comment on or edit this issue to steer the run while it is reserved. The engineer seeded the body once at launch and never re-reads it, so a comment or edit reaches only human readers, never the running engineer. A correction goes to a new issue, dispatched fresh. That is the only channel that reaches a run in flight. Where the forge supports it, ward locks this conversation to make that a road-block rather than a convention (ward#494).
run seed context — what this run is carrying (ward#609)
coilyco-flight-deck/agentic-os#427· branchissue-427· harnesscodex· workflowpull-requests-and-mergeengineer-codex-agentic-os-427· wardv0.569.0· dispatched2026-07-10T09:47:27ZStatic container doctrine and seed boilerplate are identical every run and omitted here (they ride ward v0.569.0).
— Codex, via
ward agentWARD-OUTCOME: merge-ready
details
workflow: pull-requests-and-merge; review summary: skipped (review gate skipped by ~/.ward/config.yaml default)
felt: small, cross-cutting seam fix.
confidence: high
surprises: Forgejo Actions reported no runs for the PR.
follow-ups: none