Skip to content

🤖 fix: refresh the parent's Costs tab when a sub-agent's usage changes - #7867

Merged
ThomasK33 merged 11 commits into
mainfrom
fix/costs-usage-revision
Nov 1, 2026
Merged

ThomasK33 merged 11 commits into
mainfrom
fix/costs-usage-revision

Conversation

@ThomasK33

@ThomasK33 ThomasK33 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

The Costs tab of a parent now follows its sub-agents' spend while they run, after their last stream, and when a roll-up delta never reaches the parent's chat. Every write to a workspace's usage files sends a usage-changed event for that workspace on the activity subscription. The store refetches the usage it shows for each event, and keeps at most one projection fetch in flight per parent plus one trailing fetch. Refs #7862 (items 1, 3 and 4).

Background

After #7861 the parent's total can stay low, because nothing tells the parent's view that a descendant's usage changed:

  1. A running sub-agent's spend reached the parent only when its stream ended (refreshAncestorsWhenStreamEnds, on the streaming true->false activity transition).
  2. A sub-agent's headless spend after its last stream (status titles, bash AI proxy) sent session-usage-delta to the sub-agent's own chat only, and never refreshed the ancestors.
  3. The roll-up session-usage-delta on sub-agent removal is emitted only when the parent has a live AgentSession, and the store gets it only while it is subscribed to the parent's chat.

Implementation

Data shape. workspace.activity.subscribe gets a third event type, { type: "usage-changed", workspaceId } (src/common/orpc/schemas/api.ts). It carries no number and no snapshot. The VS Code activity pump already skips event types other than activity; its client type now lists the new one.

Backend.

  • SessionUsageService.onUsageChanged(listener) fires at the end of every write that changes a workspace's totals: recordUsage (a stream's settle and every headless record, which goes through it), recordInFlightUsage (each finished step), discardInFlightUsage, rollUpUsageIntoParent (on the parent), resetSessionUsage and rebuildFromMessages. Reads and the orphan fold in getSessionUsage do not fire (totals unchanged).
  • WorkspaceService emits usage-changed from that listener, and subscribeWorkspaceActivity forwards it. There is no snapshot read and no per-workspace state. Earlier rounds of this PR put a revision number on activity snapshots. The review found that a usage-triggered snapshot read could land after a newer activity emit and resend older activity, that a failed read dropped the move, and that a clock-seeded revision could collide across a restart. The plain event removes all three.

Store (src/browser/stores/WorkspaceStore.ts).

  • refreshUsageAfterChange replaces refreshAncestorsWhenStreamEnds. For each usage-changed event of a workspace: (a) if its usage is on screen or subscribed, refetch its session usage (which also refreshes its projection); (b) refresh the projection of every on-screen or subscribed ancestor.
  • (a) waits while the store shows that workspace's own stream live (isOwnStreamLive: chat subscribed and an active stream in the aggregator). Its stream-end adds the stream's usage locally, and a usage-change refetch before it could already hold the settled stream and count it twice. Every terminal event (finalizeUsageStats for stream-end and stream-abort, and stream-error) now refetches the ledger after the local merge, so a change skipped during the stream lands there. (b) never waits.
  • refreshSubagentUsage keeps one fetch per workspace in flight. A refresh asked while one runs sets a trailing flag, and one trailing fetch runs when it settles. Each fetch has a 30 s deadline (AbortSignal.timeout), and a client change or removal frees the slot, so a fetch that never settles cannot block later fetches. A response applies only while the slot still holds its own fetch, which replaces the per-workspace request version (a removed-then-re-added workspace restarted that version).
  • addWorkspace refreshes the shown ancestors' projections when it registers a workspace: a new sub-agent changes their open sub-agent count, and its usage can change before its parent link reaches the store.
  • A self session-usage-delta (headless spend) now changes nothing in the store. The headless write also sent usage-changed, and the refetch for it shows the spend. A local add could count it twice (that refetch can land first), and a second refetch could supersede it.
  • A resubscribed activity subscription does not replay the events it missed. So every activity list after the first one (refreshShownUsageAfterResubscribe) refetches each shown workspace's usage: its ledger and projection, or only the projection while its own stream is live here. The first list needs none, because registration and activation fetch. A usage-changed event does not count as an activity delta for a running list retry (activityDeltaTouchesDuringRetry): it carries no activity.

Guards from #7861. All stay: the rolledUpFrom filter at read time, the delta skip-dup for child sources, the refetch after a (child) delta, and the ancestor refresh in removeWorkspace (it also updates the open sub-agent count when a sub-agent without usage is removed, which sends no event). The stream-end refresh is removed: every settle and discard sends usage-changed, so it was redundant (the model below holds without it).

Validation

Live check (scratch XUM_ROOT built from a real 45-workspace task tree: root solid-sheep-post, 44 open sub-agents, depth 2; every workspace {"type":"local"} on a scratch git repo, no providers.jsonc, provider env vars unset, XUM_DISABLE_AGENT_TOOLS/TERMINALS/PROJECT_AUTOMATION=1). No model is available there, so a --require preload in the sandbox xum server calls that server's own SessionUsageService.recordInFlightUsage / recordUsage / recordHeadlessUsage, the calls UsageLedger and the headless callers make. Everything from the usage write to the Costs tab is the shipped code. The parent's Stats tab stayed open the whole time; I did not switch workspaces.

Step (driver call) Parent total in the Stats tab Seen after getSubagentUsage calls
baseline $743.12 (includes $625.42 from 44 open sub-agents)
grandchild in-flight step, 20M input tokens (+$100) $843.12 ≤ 155 ms 1
same stream, second step, 40M cumulative (+$100) $943.12 ≤ 152 ms 1
that stream settles (ledger +40M, in-flight file deleted) $943.12 (unchanged, as expected) 1
direct child headless record, 10M (+$50) $993.12 ≤ 405 ms 1

(Numbers from head a410b21, which sends usage-changed. Heads 7717376 and 00032bf, which used revision numbers, gave the same totals and call counts. Three more in-flight writes on this head showed in 189 to 411 ms, measured by polling the tab label through agent-browser. The first three screenshots are from an earlier commit with the same sequence. No step caused a getSessionUsage call.)

Before this change (the same driver on the base commit 645e7f8): an in-flight step (+$100) and a headless record (+$50) left the tab at $743.12, with zero getSessionUsage / getSubagentUsage calls.

Baseline: Stats tab at $743.12
After two in-flight steps of a grandchild: $943.12
After a child's headless record: $993.12
Base commit: still $743.12 after +$150

Request cost of a burst (one on-screen parent):

  • Unit test (coalesces a burst of 50 sub-agent usage changes into one fetch and one trailing fetch): 50 usage-changed events from 50 sub-agents while one fetch runs cost 2 getSubagentUsage and 0 getSessionUsage.
  • Live sandbox on head a410b21, one browser page: 50 concurrent in-flight step writes from 44 sub-agents cost 5 getSubagentUsage and 0 getSessionUsage (counted in the server), never more than one in flight. The tab showed the exact $1,243.12 (+$250).
  • Before: in-flight writes cost 0 calls and left the total stale; each sub-agent stream end cost one getSubagentUsage (50 ends, 50 calls, not coalesced).
  • New cost: each stream end (or abort or error) of the on-screen workspace's own stream refetches its ledger once (1 getSessionUsage plus 1 coalesced getSubagentUsage). Its own finished steps still send usage-changed for its ancestors, but they do not refetch its own ledger while the stream is live. Each activity resubscribe refetches every shown workspace's usage once.

Mutation checks (scratch script; each mutation applied alone, the named tests run, then restored): 31 of 31 killed on head a410b21. They cover every notify call, the listener wiring, the router forwarding and its unsubscribe, the event path in the store, (a), (a)'s "shown" condition, (a)'s wait for a live own stream, the stream-end and stream-error refetches, (b), the single flight, the trailing fetch, the fetch deadline, slot ownership, the client-change and removal slot release, the response-to-fetch binding, the ancestor refresh on registration, the self-delta path (restoring either the add or the refetch), and the resubscribe refresh (its call, its first-list skip, its "shown" filter, and its two branches for a live own stream).

Formal model (TLA+, scratch only, not in the repo). I extended the #7861 model (parent R, child C, grandchild G) with: a per-workspace usage-changed signal that a usage write marks sent and a delivery marks seen (rev[w]), R's own streams (live usage from chat, stream-end local add), headless records, lost session-usage-deltas, the single-flight projection with a trailing fetch, and the self delta that only refetches. The store refetches for every event with no dedup, so a delivery may also run when nothing is pending (a late event of an earlier write). This over-approximates one event per write. With feature lostRev the subscription drops undelivered events, and a Relist step stands for the resubscribe refresh. facts.py reads every guard from the source (whitespace-insensitive), so a removed guard becomes a model break; on head a410b21 it finds all 16 parts (Breaks = {}). ExactWhenQuiet needs every signal delivered or re-listed (rev[w] = "seen" for all w). With liveStreams it holds while sub-agent streams run (R's own ledger catches up when R's own stream ends, so quiescence needs R idle). The #7861 fetch paths keep the ordering assumption below. This PR's refetches (sessOrigin = "rev") get none, only "a ledger read issued before R starts a stream runs before that stream settles". Invariants: TypeOK, NoOvercount (never more than spent, per source), ExactWhenQuiet.

Run Design Features Result
code-full this PR (guards read from source) liveStreams, headless, lostDelta, parent, removal (1 unit of spend) no error, 58,103,136 distinct states
code-kids this PR liveStreams, headless (2 units) no error, 1,131,404 states
code-relist this PR liveStreams, headless, lostRev no error, 2,664,560 states
code-relistParent this PR parent, lostRev no error, 73,260,352 states
code-removal this PR lostDelta, removal no error, 27,838,950 states
code-parent this PR parent, lostDelta no error, 20,912,048 states
v2-baseline #7861 removal no error, 1,173,618 states
v2-item1 #7861 liveStreams ExactWhenQuiet violated (item 1)
v2-item3 #7861 headless ExactWhenQuiet violated (item 3)
v2-item4 #7861 lostDelta, removal ExactWhenQuiet violated (item 4)
v2-parent #7861 parent NoOvercount violated (the self-delta add, see below)

Model mutants (one guard removed each): 14 of 16 fail an invariant (filter, deltaSkipDup, backendSkip, selfDeltaIgnored, liveSkip: NoOvercount; bumpRecord, bumpInFlight, bumpRollUp, revOverlay, relistRefresh, revSelf, revAncestors, projTrailing, endRefetch: ExactWhenQuiet). Two survive, both #7861 guards that usage-changed makes redundant for totals: the refetch after a child delta (the roll-up sends the parent's event) and the ancestor refresh in removeWorkspace (kept for the open sub-agent count, which the model does not track). The model does not track activity snapshot contents, so it could not show the stale-snapshot defect of round 4; the plain event removed that path.

Gates on head a410b21: make static-check, make lint-eslint, make dry-check (pass), make crap-check COVERAGE=<lcov of the touched tests> (pass, 1 crap-tax warning on untouched hotspot size), and the touched test files (WorkspaceStore, sessionUsageService, workspaceService.usageChanged, workspaceService.remove and .fork, routerSubscriptions, VS Code activity pump: 435 pass).

Risks

  • Low to medium, Costs tab only. A wrong event handler can only add fetches (bounded by the single flight) or miss a refresh. Every number still comes from getSessionUsage / getSubagentUsage, so it cannot invent spend.
  • The event is per backend process. A second backend on the same root (XUM_ALLOW_MULTIPLE_INSTANCES) does not notify this one's renderers, as before.
  • A client change refetches the shown workspaces' usage in setClient, and its activity re-list refetches them again (one extra getSessionUsage per shown workspace per reconnect).
  • Every usage write sends one small usage-changed event to each connected renderer: one per finished stream step, settle and headless record. Like every activity event, it goes through the subscription's unbounded FIFO (streamBridge.ts, buffer "all").
  • While the parent's own stream is live here, a roll-up delta lost in a chat reconnect gap reaches its ledger only at that stream's end (the projection still updates at once). Before this PR it waited for the next activation.
  • The 🤖 fix: include open sub-agent spend in the Costs tab #7861 paths (an activation fetch, the refetch after a child delta) can still race the parent's own stream-end add if their read lands after the settle and before stream-end is processed; the backend pushes stream-end right after the settle write, so this needs a reordered delivery. Unchanged by this PR.

Follow-ups (not in this PR).

  • refreshSessionUsage keeps a latest-wins request version, not a single flight like the projection fetch. Many usage writes on one shown workspace whose chat is not subscribed here (for example a burst of headless records) cost one getSessionUsage each. A shown workspace normally has its chat subscribed, so its own stream steps skip this refetch. Trigger: a profile that shows getSessionUsage bursts.
  • When recordHeadlessUsage has an analyticsSource and its ledger write fails, it still emits the self delta, but no usage-changed goes out, and the store now drops that delta. The tab then matches the ledger. Before this PR it showed spend that the next ledger fetch removed. Note only.
  • A usage-changed refetch that fails is logged and not retried. The next usage change of that workspace or a descendant, an activation, a Costs tab open, or a resubscribe refetches. Tracked in 🤖 Costs tab: follow-ups for open sub-agent spend #7862.
Out of scope / found on the way

Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh • Cost: $51.03

@ThomasK33

Copy link
Copy Markdown
Member Author

Live check recording (parent Stats tab open; sub-agent usage driven through the sandbox server's own SessionUsageService):

live-check.webm

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 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-11-01T19:28:52.011042Z a410b21 Manual request
🔒 Security Review ✅ Completed 2026-11-01T19:29:14.524666Z a410b21 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 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: 7717376878

ℹ️ 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 src/browser/stores/WorkspaceStore.ts Resolved
Comment thread src/browser/stores/WorkspaceStore.ts Resolved
Comment thread src/browser/stores/WorkspaceStore.ts Resolved
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e stories (Haiku): 14 passed

22 agent steps · 7 replayed from cache · 15 model calls · 47.3k tokens (23% cached)
Spend: $0.09 of the $1.00 cap (proxy ledger)

All 14 tests in 9 files
Test Agent Time
🟢 chatRestart.e2e.ts · 1 passed 1 step · 1 call 5.4s
🟢 a chat survives a restart of the server 1 step · 1 call 5.4s
🟢 compaction.e2e.ts · 1 passed 1 step · 1 call 7.8s
🟢 /compact replaces the old chat with a summary 1 step · 1 call 7.8s
🟢 pluginTrustRestart.e2e.ts · 1 passed 4 steps · 2 calls 9.4s
🟢 a trusted plugin hook stays trusted after the server restarts 4 steps · 2 calls 9.4s
🟢 settingsRoundTrip.e2e.ts · 1 passed 2 steps · 1 call 8.5s
🟢 a chat survives trips through Settings 2 steps · 1 call 8.5s
🟢 sidebarPerWorkspace.e2e.ts · 1 passed 4 steps · 1 call 4.5s
🟢 a new workspace starts with its right sidebar collapsed while another keeps it open 4 steps · 1 call 4.5s
🟢 smoke.e2e.ts · 1 passed 2 steps · 1 call 2.8s
🟢 the agent opens the playground workspace 2 steps · 1 call 2.8s
🟢 streamErrors.e2e.ts · 1 passed 1 step · 1 call 6.8s
🟢 stream errors show in the chat, and the chat recovers 1 step · 1 call 6.8s
🟢 todoNudge.e2e.ts · 1 passed 1 step · 1 call 2.7s
🟢 the agent finishes open TODO items after the turn-end nudge 1 step · 1 call 2.7s
🟢 touchAlignment.e2e.ts · 6 passed 6 steps · 6 calls 22.6s
🟢 the Settings close button is level with the title on a touch screen 390px wide 1 step · 1 call 3.8s
🟢 the Settings close button is level with the title on a touch screen 768px wide 1 step · 1 call 4.5s
🟢 Backup settings checkboxes are small and level with their labels on a touch phone 1 step · 1 call 4.8s
🟢 the heartbeat checkbox is small and level with its label on a touch phone 1 step · 1 call 3.0s
🟢 a reply's model and time stay on one line on a touch phone 1 step · 1 call 3.6s
🟢 the workspace actions menu stays on the title row on a touch phone 1 step · 1 call 2.9s

e2e 0.20.0 · 1m 14s · web · run artifacts

🟢 e2e Electron stories (Haiku): 3 passed

3 agent steps · 3 model calls · 8.0k tokens (22% cached)
Spend: $0.02 of the $1.00 cap (proxy ledger)

All 3 tests in 3 files
Test Agent Time
🟢 electron/deepLink.e2e.ts · 1 passed 1 step · 1 call 5.6s
🟢 a deep link of a second launch starts a chat in the running app 1 step · 1 call 5.6s
🟢 electron/menuBar.e2e.ts · 1 passed 1 step · 1 call 9.1s
🟢 the workspace menu bar is the desktop title bar 1 step · 1 call 9.1s
🟢 electron/smoke.e2e.ts · 1 passed 1 step · 1 call 6.7s
🟢 Xum Electron opens the playground workspace 1 step · 1 call 6.7s

e2e 0.20.0 · 23.6s · electron · run artifacts

🟢 e2e agent repros (Haiku): no tests selected

Spend: $0.00 of the $1.00 cap (proxy ledger)

e2e 0.20.0 · 5.8s · 2 targets (web, phone) · run artifacts

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

Head: 1db8c82

@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: 1db8c82f60

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: 1db8c82f60

ℹ️ 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 src/browser/stores/WorkspaceStore.ts Resolved

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

ℹ️ 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 src/browser/stores/WorkspaceStore.ts Resolved
Comment thread src/browser/stores/WorkspaceStore.ts Resolved
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

Head: 3cdf74c

@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: 3cdf74cc58

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: 3cdf74cc58

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

A usage move re-read and rebroadcast the activity snapshot. That read could
resolve after a newer activity emit and resend older activity (streaming=true
after the stop), and a failed read dropped the move. The activity subscription
now carries a usage-revision event with no snapshot read. activity.list still
carries each workspace's revision, so a resubscribe sees moves it missed.
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

Head: 00032bf

@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: 00032bf3b3

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: 00032bf3b3

ℹ️ 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 src/browser/stores/WorkspaceStore.ts Resolved
Comment thread src/browser/stores/WorkspaceStore.ts Resolved
Comment thread src/node/orpc/routerSubscriptions.ts Resolved
…ge on resubscribe

Drop the usage revision: its clock seed, its activity.list overlay and the
UsageRevisionActivity module. Each usage write sends usage-changed on the
activity subscription. A resubscribe does not replay missed events, so the
re-list refetches every shown workspace's usage (projection only while its
own stream is live here).
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

Head: a410b21

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: a410b210f9

ℹ️ 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: a410b210f9

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.

@ThomasK33
ThomasK33 added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 96a0916 Nov 1, 2026
32 of 34 checks passed
@ThomasK33
ThomasK33 deleted the fix/costs-usage-revision branch November 1, 2026 21:30
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