Skip to content

fix(cli,agent): ORUN_TOKEN_FILE outranks a frozen env copy; intake asks properly - #614

Merged
adampullely merged 1 commit into
mainfrom
fix/token-file-precedence
Aug 3, 2026
Merged

fix(cli,agent): ORUN_TOKEN_FILE outranks a frozen env copy; intake asks properly#614
adampullely merged 1 commit into
mainfrom
fix/token-file-precedence

Conversation

@adampullely

Copy link
Copy Markdown
Contributor
  • headlessToken prefers the FILE when both sources are set: the file
    refreshes for the process's whole life, an env copy is frozen at
    export time. A live bootstrap agent exported ORUN_TOKEN from the file
    (against its brief) and every call after the next 15-minute rotation
    would have died mid-build. Warns once on divergence.

  • bootstrapper allows AskUserQuestion: the intake IS a question to the
    operator, and the denied lane made agents fall back to prose
    (observed live — "AskUserQuestion denied by tool policy").

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

…ks properly

- headlessToken prefers the FILE when both sources are set: the file
  refreshes for the process's whole life, an env copy is frozen at
  export time. A live bootstrap agent exported ORUN_TOKEN from the file
  (against its brief) and every call after the next 15-minute rotation
  would have died mid-build. Warns once on divergence.

- bootstrapper allows AskUserQuestion: the intake IS a question to the
  operator, and the denied lane made agents fall back to prose
  (observed live — "AskUserQuestion denied by tool policy").

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@adampullely
adampullely merged commit 9a6e5b6 into main Aug 3, 2026
3 checks passed
@adampullely
adampullely deleted the fix/token-file-precedence branch August 3, 2026 18:32
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.

2 participants