docs: explain how to enable the context window indicator #21678
main fromrefs/pull/21678/head·merged by maria-rcks View on GitHubProblem#
The user guides point readers to the context meter for usage details and manual compaction, but omit that it is off by default and where to enable it. A reader following those instructions cannot find the meter or its Compact context action with default settings.
Change#
Document the setting path and the requirement for provider-reported usage in the shared composer guide. Link the existing Claude, Pi, and ACP meter guidance to that section. Clarify that /compact and Claude's automatic compaction work with the meter hidden.
Scope and approval#
This is a small correction to existing user instructions for an established workflow, submitted under the focused-fix exception without a separate issue. All four files address the same missing setup prerequisite; application behavior and defaults are unchanged.
Verification#
- Checked the documented setting label and General settings destination against
settingsSearch.tsand the Legacy features section inSettingsPanels.tsx. - Confirmed the default is false in
packages/contracts/src/settings.tsand thatChatComposer.tsxgates the meter on this setting, separately from compaction availability. - Verified all three provider links target the existing Commands and skills section in
composer.md. git diff --checkpassed. No application tests or browser verification were run for this documentation-only change.
Written with gpt-6.1-sol through the Codex harness in T3 Code.
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
Approvability#
Verdict: Approved at
7364e14Macroscope's review found this PR approvable — This PR only clarifies how to enable an existing context-window indicator across four user documentation pages. It does not change application behavior, product defaults, or any production configuration.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: 80a2351
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d74d60ce-904c-434c-8154-abb41be1bebb
Commits-
Reviewing files that changed from the base of the PR and between 7364e1436d541c097ae5a7597b0da05b31c66624 and 93050d50ee79eb6a74eebc06ee34e3055326ec5d.
Files selected for processing: 3-
docs/user/composer.mddocs/user/providers-acp.mddocs/user/providers-pi.md
Files skipped from review as they are similar to previous changes: 3-
- docs/user/providers-acp.md
- docs/user/composer.md
- docs/user/providers-pi.md
Limit details: You’ve used all 10 included reviews currently available.
-
Walkthrough
-
The documentation clarifies that the context meter is off by default and explains how to enable it. Composer and provider pages describe compaction availability and when usage information appears.
Changes: Context meter and compaction guidance
Layer / File(s) Summary Context meter and compaction guidance
docs/user/composer.md,docs/user/providers-claude.md,docs/user/providers-acp.md,docs/user/providers-pi.mdThe pages explain that the context meter is off by default and link to instructions for enabling it. The composer and Claude guidance clarifies compaction behavior. The composer and Pi guidance retains usage-reporting details. Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Other
Possibly related PRs
- pingdotgg/t3code#27363: Changes the context meter and keeps the legacy composer indicator separate, which is relevant to the documented indicator.
- pingdotgg/t3code#24138: Changes explicit compaction behavior, relevant to the documented
/compactcommand. - pingdotgg/t3code#19572: Adds ACP
/compacthandling, relevant to the documented provider compaction support.
Suggested reviewers:
juliusmarminge
Merge Risk:
Minimal · up to93050-
The documentation clarifies how to enable the context meter and when it appears. No merge-blocking issue is established.
Architecture risk:
Low · up to7364e-
The change affects 1 system.
Changed systems:
docsArchitecture concerns No architecture-level concerns identified.
Review details
-
Systems and components
- observed — docs (service) was modified; 4 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in docs/user/composer.md: The
/compactguidance now includes use with the context meter turned off. The former statement that web and desktop offer compaction from the context meter is replaced with instructions to enable the legacy indicator; it is off by default, appears after usage is reported, and offers Compact context when the provider supports compaction. - observed — Modified behavior in docs/user/providers-acp.md: The Native sessions guidance adds that the context meter is off by default and links to instructions for enabling it on web and desktop.
- observed — Modified behavior in docs/user/providers-claude.md: The Compact context guidance adds that the context meter is off by default, links to instructions for enabling it, and states that automatic compaction occurs regardless of the meter setting. The existing description of when the Compact chip appears is retained.
- observed — Modified behavior in docs/user/providers-pi.md: The context-meter troubleshooting note now says the meter is off by default and links to instructions for enabling it on web and desktop; the existing usage-reporting and first-reply caveats remain.
-
Pre-merge checks:
4-
Check name Status Explanation Title check The title clearly and concisely describes the main documentation change: explaining how to enable the context window indicator. Description check The description includes all required sections. It explains the problem, documents the change and scope, identifies the focused-fix exception, and provides specific verification steps and limitations. Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request.
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
-
Note
Written by
gpt-6.1-solon behalf of Mariakept
birosrichard's original commit and all four guide corrections. merged current main, preserving its newer Pi trust instructions, and corrected the setting path to Settings → Labs → Legacy → Context window indicator (legacy). default-off, provider usage reporting, slash-command compaction, and automatic compaction guidance are preserved.verification:
vp run check:changed refs/remotes/github/mainpassed on the Blacksmith worker against main80a2351fcb90(four documentation files; formatting passed, no applicable typechecks or tests).git diff --checkpassed. two independent source reviews approved head93050d50ee, including settings routing, defaults, compaction behavior, and guide anchors.unverified: live provider/client interaction and rendered guides. no application code changed, so no UI captures were taken. CI and automatic reviews are pending on the pushed head.
Note
Written by
gpt-6.1-solon behalf of MariaVerified in a real dev environment#
verified documentation head
93050d50ee79eb6a74eebc06ee34e3055326ec5das-is on this Linux Boat VM. no code changes or pushes were needed.- checked out
github/main(6d46336476) in/home/user/main, ranvp i, and started the real dev app in the background. created a project for/home/user/t3codethrough the folder picker, selected Codexgpt-6.1-sol, and sent a real provider turn. the reply arrived while the context meter remained hidden. Settings → Labs → Legacy showed Context window indicator (legacy) switched off. main's composer guide omitted this prerequisite. - stopped main before starting the exact pr head, ran
vp i, and used isolated/home/user/t3code/.t3state copied from the stopped baseline. drove the web client with repository Playwright and/usr/bin/google-chromeat 1440×1000. followed the pr's documented settings path, enabled the switch, reloaded the conversation, and opened the meter. it showed real Codex usage: 8.6% · 22k/258k, plus Compact context. - sent another real Codex turn on the pr head. clicked Compact context and observed Compacting context → Context compacted. turned the indicator off and sent
/compact; compaction still completed with no meter in the composer. another Codex turn then recalled both earlier success markers, confirming conversation continuity. repeated hidden-meter compaction for the recording. - all three provider-guide links target the existing
commands-and-skillsheading.git diff --check github/main...HEADpassed. current GitHub checks report 18 passed, 10 skipped, 0 failed or pending. no local test, lint, typecheck, or build suite was run for this documentation-only verification.
short runtime transcript from the Playwright checks against the running app:
main real Codex reply: CONTEXT-METER-OK legacy indicator aria-checked: false pr indicator after click: true meter: Context Window / 8.6% · 22k/258k / Compact context pr real Codex reply: PR-HEAD-OK meter action: Compacting context → Context compacted indicator after disabling: false; composer meter count: 0 slash compaction started; compacted markers: 2 post-compaction real Codex reply: CONTEXT-METER-OK PR-HEAD-OKmain with default settings, after a real provider reply:

pr: the documented setup path:

pr: the same conversation after enabling the indicator:



Not verified#
native iOS/Android and Electron desktop were not exercised on this Linux web-client pass. Claude, Pi, and ACP provider turns were not exercised; this verification used the requested Codex proxy path. Claude automatic threshold/cache-expiry compaction and Pi/ACP usage-reporting timing remain unverified. provider-guide wording was inspected against source, but those provider-specific behaviors need their own authenticated runtime pass. hosted documentation rendering and remote/relay connections were not exercised.
screenshots were inspected and the uploaded recording was played through and seeked in T3's browser. the pr changes documentation only; enabling the existing setting accounts for the visible meter difference.
- checked out
maria-rcks merged this9b1802d
maria-rcks closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes