Repository navigation
feat(locomo): add Codex subscription evaluator - #382
Merged
Merged
Conversation
fazpu
force-pushed
the
feat/locomo-codex-subscription
branch
from
September 6, 2026 22:06
9128915 to
421d511
Compare
fazpu
force-pushed
the
feat/locomo-codex-subscription
branch
from
September 7, 2026 07:50
421d511 to
f817584
Compare
1 task done
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.
Problem
LoCoMo answer generation and judging could only use API-backed provider credentials. We want an opt-in path that can use an existing ChatGPT Codex subscription without copying OAuth material, reading the Codex auth file, issuing an API key, or replacing the existing retrieval loop.
Scope
openai-codexPython SDK and pinned runtimefull-v22-codex-subscriptionprotocol for answer and judgeImportant decisions
The LoCoMo runner remains the only retrieval agent. Codex receives one schema-constrained prompt at a time and no native RememberStack tools. Every call uses a new empty working directory, an ephemeral thread, deny-all approvals, and the pinned read-only policy whose wire form has
networkAccess=false; any agent-action item still fails the call. Authentication remains inside Codex app-server and the adapter accepts ChatGPT account type only.The variant pins
gpt-5.6-luna, reasoninglow, andtemperature=null. It retains v22 prompts, schemas, call limits, tools, judge rubric, and scoring, but is intentionally a distinct protocol because provider controls differ.ChatGPT provides token counts but no per-turn USD charge, so usage records carry turn-total tokens and
cost_usd=0as the reported marginal amount. This is not a claim that the subscription seat is free.Sources inspected
c07e3ab4b33018649e4f4ba6c79174da246ab973; its auth-file and private-endpoint approach was not reusedValidation
note.mdasapplication/octet-streaminstead oftext/markdownconv-42/qa/0001answer and independent judge integration against the processed Hetzner PostgreSQL/P3 store: both stages completed, retrieval and token accounting worked; the generated answer was incomplete and the judge correctly returnedWRONGAPPROVEwith no remaining actionable findings.Limitations
Follow-up
Measure answer quality, latency, and subscription quota consumption over a larger smoke slice before considering publication use. If unattended publication is desired, add a supported cancellation deadline or a bounded
codex execsubprocess fallback.