Feedback
The installed ~/.agents/skills/estack-drive-cli-agent copy must not be edited directly. Improvements need to be recorded in the E-Stack source workflow so they survive reinstall/update.
Context
On Windows, a delegated codex exec --sandbox workspace-write run uses the restricted sandbox identity and cannot read the host Windows Credential Manager. gh can therefore report an invalid token even when host-side gh auth status and gh api user succeed for the signed-in account.
--approve-for-me only changes approval handling inside the sandbox; it does not give the delegated run host-keyring access. danger-full-access and --yolo should not be prescribed as an authentication workaround.
Requested skill guidance
Document a durable pattern for delegated work:
- Set sandbox, approval, and working directory explicitly per
codex exec invocation.
- Keep delegated coding work sandboxed (
read-only or workspace-write).
- Perform authenticated GitHub reads and mutations in the parent host session or a connected GitHub integration, before or after delegation.
- Have the delegated agent return the exact GitHub action needed rather than running
gh itself.
- Treat updates to the installed skill copy as feedback for the E-Stack source, not as a persistent fix.
Feedback
The installed
~/.agents/skills/estack-drive-cli-agentcopy must not be edited directly. Improvements need to be recorded in the E-Stack source workflow so they survive reinstall/update.Context
On Windows, a delegated
codex exec --sandbox workspace-writerun uses the restricted sandbox identity and cannot read the host Windows Credential Manager.ghcan therefore report an invalid token even when host-sidegh auth statusandgh api usersucceed for the signed-in account.--approve-for-meonly changes approval handling inside the sandbox; it does not give the delegated run host-keyring access.danger-full-accessand--yoloshould not be prescribed as an authentication workaround.Requested skill guidance
Document a durable pattern for delegated work:
codex execinvocation.read-onlyorworkspace-write).ghitself.