Skip to content

fix(frontdoor): carry a route's model choice back through the headroom hop - #510

Merged
Mearman merged 1 commit into
mainfrom
fix/model-choice-across-hop
Oct 18, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/model-choice-across-hop

Conversation

@Mearman

@Mearman Mearman commented Oct 18, 2026

Copy link
Copy Markdown
Member

fix(frontdoor): carry a route's model choice back through the headroom hop

A choice a route noted while serving behind the headroom hop (the
antigravity tier alias above all) never reached the usage record, so the
statusline showed the virtual name alone with no arrow: the route notes
the choice on the response of the direct listener that served it, and
the direct pipeline deliberately runs no response observers, so the
choice died with the head it was noted before.

The direct pipeline now exposes the noted choice on its response head as
an internal header, whose only consumer is this door's own hop: the hop
reads it off the daemon's relayed head, notes the choice on the
client-facing response before that response's head is written (which is
where the usage middleware observes it), and leaves the header out of
what the client receives. A header value that is not the exact shape
this door writes is dropped rather than trusted.

…m hop

A choice a route noted while serving behind the headroom hop (the
antigravity tier alias above all) never reached the usage record, so the
statusline showed the virtual name alone with no arrow: the route notes
the choice on the response of the direct listener that served it, and
the direct pipeline deliberately runs no response observers, so the
choice died with the head it was noted before.

The direct pipeline now exposes the noted choice on its response head as
an internal header, whose only consumer is this door's own hop: the hop
reads it off the daemon's relayed head, notes the choice on the
client-facing response before that response's head is written (which is
where the usage middleware observes it), and leaves the header out of
what the client receives. A header value that is not the exact shape
this door writes is dropped rather than trusted.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 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
🔒 Security Review ✅ Completed 2026-10-18T13:23:03.699784Z 23ed89e 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.

@Mearman
Mearman merged commit f530087 into main Oct 18, 2026
32 checks passed
@Mearman
Mearman deleted the fix/model-choice-across-hop branch October 18, 2026 13:25
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