Skip to content

Normalize /statusline & /title items#18886

Merged
canvrno-oai merged 3 commits intomainfrom
canvrno/18162-status-title-normalization
Apr 21, 2026
Merged

Normalize /statusline & /title items#18886
canvrno-oai merged 3 commits intomainfrom
canvrno/18162-status-title-normalization

Conversation

@canvrno-oai
Copy link
Copy Markdown
Contributor

@canvrno-oai canvrno-oai commented Apr 21, 2026

This change aligns the /statusline and /title UIs around the same normalized item model so both surfaces use consistent ids, labels, and preview semantics. It keeps the shared preview work from #18435 , tightens the remaining mismatches by standardizing item naming, expands title/status item coverage where appropriate, and makes /title preview use the same title-specific formatting path as the real rendered terminal title.

  • Normalizes persisted item ids and keeps legacy aliases for compatibility
  • Aligns status-line and terminal-title items with the shared preview model
  • Routes terminal-title preview through title-specific formatting and truncation
  • Updates the affected status/title setup snapshots

Added to /statusline:

  • status
  • task-progress

Normalized in /statusline:

  • model-name -> model
  • project-root -> project-name

Added to /title:

  • current-dir
  • context-remaining
  • context-used
  • five-hour-limit
  • weekly-limit
  • codex-version
  • used-tokens
  • total-input-tokens
  • total-output-tokens
  • session-id
  • fast-mode
  • model-with-reasoning

Normalized in /title:

  • project -> project-name
  • thread -> thread-title
  • model-name -> model

@canvrno-oai canvrno-oai force-pushed the canvrno/18162-status-title-normalization branch from 86e5979 to 4fbb9dd Compare April 21, 2026 20:44
@canvrno-oai canvrno-oai changed the title Normalize status/title items Normalize /statusline & /title items Apr 21, 2026
@canvrno-oai
Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

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

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

@canvrno-oai canvrno-oai marked this pull request as ready for review April 21, 2026 21:41
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai left a comment

Choose a reason for hiding this comment

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

Overall, looks good.

My one concern is about the "status" item; I think the name is too general. Perhaps use "run-state" or "activity-state" or "work-state" or "execution-state" instead.

I built locally and manually tested. Worked great!

@canvrno-oai canvrno-oai merged commit 2202675 into main Apr 21, 2026
25 checks passed
@canvrno-oai canvrno-oai deleted the canvrno/18162-status-title-normalization branch April 21, 2026 23:13
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants