Make gh available in the dev-base surface used by warded directors #395
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#395
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?
Goal
Make
ghavailable by default in the aos dev-base surface thatwarded director/Codex director containers actually run, so GitHub auth can be debugged without ad hoc per-session installs.Why
During
coilysiren/website#70triage, the director needed to work through GitHub auth. Plain GitHub git reads worked, and the GitHub connector had API access, but localghwas missing:The agent installed
ghinto/scratch/binas a temporary workaround, but Kai clarified the desired fix is in the aos dev-base image.Evidence from the read-only surface
Environment:
/workspace/websiteWARD_CONTAINER_NAME=director-codex-hd68WARD_ROLE=directorWARD_AGENT=codexward version v0.540.0/home/ubuntu/.codex/tmp/...:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin/usr/local/bin/dockerexists, but Docker daemon/socket was unavailable from this surface./usr/local/bin/ghand/usr/bin/ghwere absent.Aos source already appears to expect
ghin dev-base:docker/dev-base/DockerfilehasARG GH_VERSION=2.96.0.dev-base-opsmapsGH_ARCHfor amd64/arm64.gh_${GH_VERSION}_linux_${GH_ARCH}.tar.gz, extractsbin/ghto/usr/local/bin/gh, and runsgh --version.docs/dev-base-image.mddocumentsgh + helm + kubectl + yq.scripts/dep-bump.pyandtests/test_dep_bump.pyassignGH_VERSIONtodev-base-ops.Likely shape
This may not be a missing Dockerfile install anymore. It may be one of:
warded directoris stale or not the expected target,dev-base-ops/dev-base-full,Acceptance criteria
warded directorCodex surface can rungh --versionwithout installing anything at runtime.ghbinary being present.Temporary workaround used in the blocked session
The agent downloaded GitHub CLI
v2.96.0forlinux_arm64, verified the official checksum, and symlinked it into the session PATH from/scratch/bin/gh. That proved the binary itself works in the current container architecture, but it is ephemeral and not a fix.WARD-RESERVATION: held 🔒
reservation details
Holder: container
engineer-codex-agentic-os-395on hostkais-macbook-pro-2.local.Reserved by
ward agent --harness codex(reserved 2026-07-09T23:08:36Z). 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#395· branchissue-395· harnesscodex· workflowdirect-mainengineer-codex-agentic-os-395· wardv0.540.0· dispatched2026-07-09T23:08:36ZStatic container doctrine and seed boilerplate are identical every run and omitted here (they ride ward v0.540.0).
— Codex, via
ward agentWARD-OUTCOME: done
details
workflow: direct-to-main; review summary: review gate skipped by ~/.ward/config.yaml default retrospective: this felt like a stale pin refresh, not a Dockerfile chase confidence: high surprises: gh was already baked into the image contract, but the consumed tag had drifted follow-ups: none