Skip to content

fix(agent): refresh mounted Codex credentials - #49

Merged
Cvv9 merged 1 commit into
mainfrom
codex/refresh-agent-auth
Aug 11, 2026
Merged

fix(agent): refresh mounted Codex credentials#49
Cvv9 merged 1 commit into
mainfrom
codex/refresh-agent-auth

Conversation

@Cvv9

@Cvv9 Cvv9 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

What changed

  • treat the mounted Codex auth file as authoritative on every agent-container start
  • overwrite stale auth cached in persistent per-agent volumes
  • fail closed when the mounted auth path is empty or not a regular file
  • preserve 0600 permissions and node ownership without logging credential contents

Why

Production acceptance showed all nine hidden tasks were correctly routed and all agents were channel members, but seven services retained expired auth.json copies while Oracle and Lina had fresh copies.

Verification

  • agent entrypoint syntax checked inside the production agent image
  • root-to-node stale credential refresh passed with 0600 node:node ownership
  • empty mounted credential fail-closed test passed
  • git diff --check

Signed-off-by: Cvv9 <Varun.cumbamangalam@oralens.com>
@Cvv9
Cvv9 merged commit 226ced0 into main Aug 11, 2026
16 of 17 checks passed
@Cvv9
Cvv9 deleted the codex/refresh-agent-auth branch August 11, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant