Agent-aware branding + workspace writability defense#6
Merged
Conversation
profile/.bashrc:
- Drove the prompt, banner header, and help hint off ${AGENT} instead
of hardcoding "codex@". Claude pod no longer shows codex branding.
- Identity banner reads ~/.${AGENT}-identity (matches what entrypoint
writes).
bin/entrypoint.sh:
- Defensive workspace bootstrap: mkdir -p ~/workspace, chmod u+rwX if
we own it. If not writable (stale PVC ownership from a prior root-
owned pod), warn and fall back to /tmp/workspace so the agent can
still operate. Real fix is fsGroupChangePolicy=Always on the
HelmRelease securityContext (separate apk8s PR) — this block is
defense-in-depth.
Picks up claude's review of WOVED-41 (P3): the pod was running the
new image but inheriting codex branding from the static profile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes:
${AGENT}instead of hardcodedcodex@. Claude pod no longer shows codex branding (claude flagged this as P3 on WOVED-41).mkdir -p ~/workspace+chmod u+rwXso the agent can write there even if PVC ownership got stale from a prior root-owned pod. Real fix isfsGroupChangePolicy=Alwayson the HelmRelease (separate apk8s PR follows).