Skip to content

Prepare Agents session runtime - #396

Draft
saioai wants to merge 34 commits into
mainfrom
codex/f10-agents-runtime-20261008
Draft

saioai wants to merge 34 commits into
mainfrom
codex/f10-agents-runtime-20261008

Conversation

@saioai

@saioai saioai commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

This draft prepares Agents stream handling and readable summaries for a later command update. The helpers remain dormant until generated commands activate them.

What changes

  • Confirm root-turn outcomes from matching embedded status and unambiguous identity fields.
  • Ignore ambiguous failure types while preserving genuine errors and unfinished work.
  • Render reasoning summaries incrementally without repeating unchanged deltas, completed parts, or item snapshots.
  • Retain nullable reasoning statuses and opaque metadata, including streams without earlier deltas.
  • Preserve trailing events, subagent activity, partial output, and explorer browsing.
  • Retain incomplete assistant status and unfamiliar content, with lossless fallback for ambiguous records.
  • Commit assistant snapshot state only after successful projection; ambiguous attribution cannot erase pending work.
  • Summarize resources with one omission hint, including agents with required updated_at fields.
  • Summarize known image slots across streams and persisted items, including repeated keys and containers.
  • Summarize subagent instructions while retaining identity, status, and parent attribution.
  • Preserve full results through explicit formats, extraction, and unknown-field fallback.
  • Retain SDK retries for nonempty message-only batches with a supported effective Idempotency-Key.
  • Keep other event submissions, agent creation, and session creation at one SDK attempt.
  • Accept confirmed idle self_hosted creation at clean EOF when final input was omitted or null.

Creation acknowledgement does not report completed agent work. Supplied inputs, including [], and GET observation retain normal turn-outcome checks. Failures, unfinished work, conflicting identities, transport errors, and cancellation remain errors.

Commands

No commands or flags are added. A separate generated command update must activate these helpers before users can invoke Agents operations.

Explicit formats and extraction retain complete results. Retries preserve the same session, key, body, and SDK retry settings. Observation does not reconnect or resubmit input.

Code

pkg/custom owns request policy, lifecycle handling, explorer adaptation, help decoration, and diagnostics. pkg/transformers owns projections and outcome tracking.

This prerequisite stacks on the Output foundation, head d5ca5b4. It adds no generated commands, packages, dependencies, or startup changes.

Image validation processes percent escapes incrementally and checks cancellation. Request classification uses finalized headers and input without retaining prompt data.
Reasoning events and item snapshots use the existing stream assembler and bounded identity tracking.

Tested

Candidate 846ac7a passed 130 Agents race-test groups, totaling 1,254 entries, on macOS arm64. No tests failed or skipped.
The trusted-main custom-code check passed at 21 lines against a 1,000-line limit.

A separate local generated-command preview passed all 118 new public reasoning subtests.
It also passed 21 existing public groups, totaling 295 entries, including assistant, image, lifecycle, cancellation, and closed-pipe checks.
The five changed files match this candidate; the preview retains older shared foundations. Its generated commands remain outside this PR.

Independent process review passed 64 cases, including 32 exact JSONL controls.
Public checks also passed a producer/consumer handshake and a near-32-MiB reasoning delta with its final snapshot.
A separate exact-source audit passed six groups and nine entries. Capacity, cancellation, and malformed-part rollback checks passed.

The focused native comparison passed two commands and two identical synthetic requests, with checked fixture shutdown.
The candidate shows one reasoning summary and retains incomplete and completed status. Both final images are readable and unclipped.
All eight existing-demo artifacts remained byte-identical. A recorder preflight failure and its corrected successful run remain documented separately.

Current-head CI passed all executed jobs; queue signals skipped.
Code review reported no major issues.
Security review reported no findings.
Native Windows and Linux explorer execution remain untested. No live API workflow was exercised.
The separate command update still needs approved source publication, generated checkpoints, and a compatible SDK release.

Demo

This dormant prerequisite adds no public commands, so it has no standalone user-visible demo. Full Agents workflow evidence belongs with later command activation.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 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-08T17:08:10.445556Z 6bac987 Manual request
🔒 Security Review ✅ Completed 2026-10-08T17:09:40.212351Z 6bac987 Manual request
ℹ️ 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

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 02cb183a40

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@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: 02cb183a40

ℹ️ 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 on lines +17 to +18
if transform := SelectAgentsTransformer(route); transform != nil {
return transform

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the omission signal for Agents summaries

When a supported Agents create/retrieve/update/list command uses default or --format text output, this transformer removes fields such as instructions, tools, and metadata before writeReadableResource runs. That presenter obtains its hidden flag only from SummarizeResource, which does not recognize Agents and now receives the already-reduced object, so it never emits the usual Summary; use --format json for full data. hint. Carry the omission state into presentation or perform this projection through the existing summary-and-hint path so users are told that the displayed result is incomplete.

Useful? React with 👍 / 👎.

Comment on lines +64 to +65
default:
return readable.StreamEvent{}, false, false, nil

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Summarize computer-use items before readable rendering

When an Agents stream emits a computer_use_call, this fallback leaves the item unprojected, so showReadableStream sends the complete record to WriteValue. The published ComputerUseCallItemResource permits output.image_url to contain a complete JPEG as a base64 data URL, meaning default text output can dump a very large screenshot into the terminal while the other known tool types omit bulky output. Add explicit computer-use handling that retains identifying/status/title fields and summarizes the screenshot while preserving the complete event in explicit JSON/JSONL formats.

AGENTS.md reference: AGENTS.md:L105-L110

Useful? React with 👍 / 👎.

Comment on lines +55 to +56
func (s *agentsStream[T]) Err() error {
err := errors.Join(s.err, s.failure, s.source.Err())

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Defer Agents failure errors until the explorer finishes reading

When --format explore is used on a terminal and an Agents failure occurs before the explorer's 20-record preload boundary, Err exposes the failure while Next can still return trailing records. ExploreJSONStreamWithOutput interprets that non-nil error after preloading as a terminal iterator failure, writes only the preloaded records, and returns, so any later usage, trace, or diagnostic events are dropped even though this wrapper was introduced specifically to preserve records after a terminal turn failure. Keep the observed failure latent for the explorer until EOF, while still retaining it when a local limit or output error actually stops iteration.

AGENTS.md reference: AGENTS.md:L51-L57

Useful? React with 👍 / 👎.

Comment thread pkg/transformers/summarize_agents.go Outdated
Comment on lines +23 to +25
case "beta.agents":
object, fields = "agent", "id name model"
omitted = "object created_at instructions tools reasoning text service_tier multi_agent metadata"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Account for updated_at in Agent summaries

Every valid AgentResource contains the required updated_at field, but it is absent from both the retained and omitted field lists here. Since summarizeResourceFields deliberately rejects any unlisted field, normal create/retrieve/update/list results fall back to the complete object instead of the intended ID/name/model summary, exposing full instructions and tool configuration in default text output. Add updated_at to either the retained or explicitly omitted set and cover it in the Agent fixture.

Useful? React with 👍 / 👎.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 6647e0806c

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

The follow-up at ac55ef3 adds persisted-item image summaries and subagent resource summaries.
It also requires matching terminal status and rejects ambiguous outcome evidence.
Please review the complete handwritten diff against the Output dependency.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: ac55ef33ab

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@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: ac55ef33ab

ℹ️ 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".

default:
return gjson.Result{}, false, nil
}
event, _, hidden, err := summarizeAgentsInputImages(ctx, value, content)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Sanitize every duplicate persisted-image slot

When a persisted message or function_call_output contains a syntactically valid object with duplicate image_url keys, summarizeAgentsInputImages receives only the first value returned by GJSON. The first data URL is replaced, but subsequent duplicates remain verbatim, so default/text item-list output can still print an arbitrarily large base64 image while reporting that the record was summarized. Detect duplicate semantic keys and sanitize every matching image slot, or otherwise prevent raw encodings from reaching human output; add a malformed-input regression case.

AGENTS.md reference: AGENTS.md:L76-L82

Useful? React with 👍 / 👎.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

The follow-up at ae88dd1 handles repeated known image keys and containers without losing later records.
It preserves exact machine data and uses full fallback for conflicting or unsupported discriminators.
Please review the complete handwritten diff against the Output dependency.

@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: ae88dd1318

ℹ️ 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".

if hasResidual {
remaining = gjson.Parse(residual.String())
}
itemDetails := streamResidual(item, map[string]gjson.Result{"content": remaining}, "id", "type", "role", "status")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve incomplete assistant-message status

When an agent.session.turn.item.done event contains a valid assistant message whose status is incomplete, this unconditional omission renders the text as if it completed normally. OutputItemStatusResource explicitly defines incomplete as an item that stopped before completing (api_reference/openapi.transformed.yml:80593-80603), and the event kind only indicates that no more item updates follow. Retain non-success statuses, while continuing to suppress routine in_progress/completed values.

Useful? React with 👍 / 👎.

Comment on lines +233 to +235
itemDetails := streamResidual(item, map[string]gjson.Result{"content": remaining}, "id", "type", "role", "status")
event.Details = streamResidual(value, map[string]gjson.Result{"item": itemDetails},
"type", "event_id", "session_id", "turn_id", "output_index")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fall back on duplicate assistant content containers

When an assistant message contains duplicate content keys, item.Get("content") projects only the first array, and this replacement is then applied to every occurrence, so later output-text or unfamiliar parts disappear from default/text output. Detect repeated content containers and fall back to the complete event instead of projecting the first value; add a malformed-input regression case alongside the duplicate-image coverage.

AGENTS.md reference: AGENTS.md:L79-L82

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: ae88dd1318

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

The follow-up at a3e5e84 retains incomplete assistant status, unfamiliar fields, and repeated content without corrupting cached state.
Ambiguous nonterminal attribution preserves pending work and established ownership.
Please review the complete handwritten diff against the Output dependency.

@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: a3e5e8460d

ℹ️ 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 pkg/transformers/agents_stream_state.go Outdated
if !IsAgentsStream(route) || !value.IsObject() {
return ""
}
switch value.Get("type").String() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reject ambiguous event types before recording failures

When an Agents stream from a configurable endpoint contains valid JSON with duplicate or case-ambiguous type keys, such as {"type":"error","type":"future.event"}, GJSON's first-match lookup lets this switch record a permanent stream failure. The wrapper then exits nonzero even if subsequent events confirm successful root completion. Validate the event type with agentsUniqueFields before classifying lifecycle failures, consistent with the terminal-outcome path.

AGENTS.md reference: AGENTS.md:L76-L82

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: a3e5e8460d

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

The follow-up at e70da6e rejects ambiguous failure types at the shared lifecycle classifier.
It preserves genuine failures, pending work, no-input creation validation, and existing SDK decoding errors.
Please review the complete handwritten diff against the Output dependency.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: e70da6e916

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@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: e70da6e916

ℹ️ 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".

var err error
var messageState *AgentsStreamProjector
switch kind {
case "agent.session.turn.output_text.delta", "agent.session.turn.output_text.done":

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Project reasoning-summary events in readable streams

When reasoning summaries are enabled, the API emits the four agent.session.turn.reasoning_summary_* event types defined at api_reference/openapi.transformed.yml:86793-87020, but this switch handles only ordinary output-text events. Those known events therefore fall through to WriteValue, making default/text output print every structured delta and then the complete summary snapshot, even though the later reasoning item deliberately omits its summary. Project the reasoning delta/done and part events through the bounded text assembler (while retaining an incomplete status) so large summaries are rendered incrementally and are not duplicated; explicit JSON/JSONL should remain complete.

AGENTS.md reference: AGENTS.md:L105-L110

Useful? React with 👍 / 👎.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

The follow-up at 846ac7a renders reasoning-summary events and item snapshots through the bounded stream assembler.
It preserves nullable statuses, opaque fields, identity fallback, and complete machine data.
Please review the complete handwritten diff against the Output dependency.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 846ac7ae17

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 846ac7ae17

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@saioai

saioai commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

This naming-only follow-up merges the reviewed Output parent at cd1449a into Agents at 6bac987.
It renames one help test file and four test functions. The Agents feature diff and PR body remain byte-identical.
Please check the renamed test discovery and this unchanged feature boundary.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 6bac9879f7

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 6bac9879f7

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the Agents runtime changes against the recorded Output base, including request retry/idempotency policy, creation acknowledgement, root/subagent turn attribution, terminal failures, incremental reasoning, image summaries, and lossless fallbacks. No blocking findings in this prerequisite.

Verified on the exact head: go test ./pkg/custom ./pkg/transformers -run Agents -count=1 and go vet ./... pass; changed Go sources are gofmt-clean. A temporary mutation of terminal-status recognition failed the pending-turn tests as expected, and the restored tests passed. Hosted checks pass.

This approves the dormant runtime scope only: no public Agents commands are activated by this PR. I did not exercise live API calls or native Windows/Linux explorer behavior.

Base automatically changed from codex/universal-output-20261008 to main October 9, 2026 16:26
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Castiron custom code

Evaluated main: 866d8770c00c331bf3630b05f2a76870110d2896.

✅ No new custom-code files detected.

2 mixed files remain; 0 existing customizations changed.

Compared d32b3ae1d3fb → 6bac9879f7fe. Generated baselines verified.

2 existing customizations unchanged
  • pkg/cmd/adminorganizationcertificate.go
  • pkg/cmd/audiovoice.go

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 37959129410 --repo openai/openai-cli \
  --name castiron-custom-code-37959129410-1 --dir /tmp/castiron-custom-code-37959129410-1
git apply --stat /tmp/castiron-custom-code-37959129410-1/custom-code.patch
cat /tmp/castiron-custom-code-37959129410-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin 866d8770c00c331bf3630b05f2a76870110d2896 6bac9879f7fef4d9e76baa0df6a109c21c89c8c3
python3 scripts/castiron/custom_code_report.py report \
  --base 866d8770c00c331bf3630b05f2a76870110d2896 \
  --head 6bac9879f7fef4d9e76baa0df6a109c21c89c8c3 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-6bac9879f7fe
cat /tmp/castiron-custom-code-6bac9879f7fe/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

This branch has not been deployed

No deployments
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