Repository navigation
Conversation
|
Follow-up: For UserMessage events with a turn ID, the transcript reader now matches both the turn ID and the text. Earlier injected text from outside that turn no longer consumes the match. Events without a turn ID retain text-based matching. The new regression failed on the previous PR head (the synthetic flags were reversed) and passed after the fix. All four Codex fixture tests and targeted type-aware lint passed locally. Real-CLI verification is still pending. |
|
|
Addressed the three blocking findings in 35b82b0:
Local results: 5 focused tests passed; typecheck, targeted type-aware lint, and |
Resolved: both earlier code findings—legacy/scoped double consumption and fallback when response turn metadata is absent—are fixed in the current diff. |
Resolved in the current diff: legacy/scoped double consumption, fallback when response turn metadata is absent, and preservation of separate scoped and unscoped completed-event allowances. No additional confident code findings. |
|
Addressed both remaining blockers in c7eb177:
Typecheck, targeted type-aware lint, and |
|
CI triage for c7eb177: the failing fork-safe E2E shard reports an outdated unsupported-MR-URL assertion (the CLI now also lists GitCode) and a source manifest isolation case where the second removal exits 1. The same two test files are flagged in the main CI run. The aggregate E2E check also fails because the shard failed. #2114 already updates both test files, so I am leaving those unrelated changes out of this Codex PR. Once the upstream fix lands, the next step is to update this branch from main and check the E2E result again. |
|
No confident findings in the current diff. Resolved:
Review was read-only; no PR code was run, built, or installed. |
Summary
Codex rollouts can record both human input and injected context as user-role messages. This change distinguishes them for scoring and task extraction without removing any transcript content.
Behavior and scope
user_messageevents and neweritem_completedevents with aUserMessageitem.Test Plan
npx vitest run src/__tests__/session-codex-title.test.ts --retry 0The regressions cover duplicated legacy/scoped events, missing response turn metadata, and separate scoped + unscoped completed prompts with identical text.
npm run typecheckTargeted type-aware lint and whitespace validation
Representative real-CLI verification on Debian Linux, Node v24.22.3, 2026-11-27.
Verdict: VERIFIED: Codex × git × project scope via
teamai session show --source codex.The world was then cleaned successfully with
npm run -s verify -- cleanup 20261127T011401-473893.Refs #1989