hq: prefer API-key codex auth and run the assistant on gpt-5.6-terra #25
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
key-store/key.store!25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hq-codex-apikey-and-models"
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?
HQ carries its own copy of the codex-login unit rather than importing the forge module — so it carried its own copy of the bug too. Caught live during today's HQ deploy:
install_auth_seed_if_newersucceeds whenever the seed merely exists (so the API-key branch was unreachable), and an api-keyauth.jsonhas nolast_refresh— so the expired ChatGPT seed always compared "newer" and reinstated itself. That is what left the assistant identity dead from 2026-05-28.The live host is currently held together by a
last_refreshtimestamp I stamped by hand to defeat that comparison; this replaces the workaround with the samecodexPreferApiKeyswitch the forge uses.Also: the assistant runs on HQ, not the forge, so this file decides its model — it was still pinned to
gpt-5.4-miniat low effort while the forge had moved togpt-5.6-terraat medium. Now aligned.🤖 Generated with Claude Code