Skip to content

Include session and turn IDs in CLI setup - #1

Merged
aamir merged 2 commits into
mainfrom
codex/setup-session-turn-ids
Oct 20, 2026
Merged

aamir merged 2 commits into
mainfrom
codex/setup-session-turn-ids

Conversation

@aamir

@aamir aamir commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Application setup currently explains workload attribution and response request-ID storage but does not establish which model calls belong to one session or logical turn. Workload creation also omits the request-header recipe, so setup can leave related calls ungrouped.

  • Print project/workload headers and session, turn, and tag guidance after workloads create, including an additive integration object in JSON output. These remain application-supplied request headers, not workload creation fields.
  • Add session/turn discovery, planning, propagation, and verification to setup-understudy, with a shared SDK reference covering retries, continuations, resumed jobs, concurrency, ID constraints, and per-request header examples.
  • Bundle the new reference in installed CLI skills and extend synthetic command, bundle, and isolated-distribution coverage. Preserve application protocol, model, streaming behavior, and the separate request-ID storage decision.

Validation: npm run check passed (685 tests, build, public tracked/packed-content check); git diff --check passed. No live inference or release publication.

The header contract was checked against the current gateway implementation: it parses both IDs, carries them into event/export metadata, and passes session ID to experiment selection. This is source verification, not a claim about deployed capture persistence; the setup guide explicitly distinguishes local header checks from hosted verification.

Final validation: CI passed on 7491f09, including all source checks, the macOS arm64 build, and standalone execution with Node and Bun absent from PATH. The accepted review finding about the standalone binary's expected skill-file list is fixed in that commit; the review thread is resolved. The 13 focused bundle/distribution tests also passed locally.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T16:42:31.801083Z 0746669 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 07466694a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/bundle-skills.mjs Resolved
@aamir
aamir merged commit 53b30d4 into main Oct 20, 2026
4 checks passed
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.

1 participant