Skip to content
Source
Sign inSign up
pingdotgg/t3code

docs: explain how to enable the context window indicator #21678

Mergedbirosrichard(GitHub profile, opens in a new tab)merged 4 commits intomain fromrefs/pull/21678/headmerged by maria-rcks View on GitHub

Problem

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.ts and the Legacy features section in SettingsPanels.tsx.
  • Confirmed the default is false in packages/contracts/src/settings.ts and that ChatComposer.tsx gates 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 --check passed. 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

    2. Approvability

      Verdict: Approved at 7364e14

      Macroscope'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).
    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      Commits

      Reviewing files that changed from the base of the PR and between 7364e1436d541c097ae5a7597b0da05b31c66624 and 93050d50ee79eb6a74eebc06ee34e3055326ec5d.

      Files selected for processing: 3
      • docs/user/composer.md
      • docs/user/providers-acp.md
      • docs/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.md
      The 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 /compact command.
      • pingdotgg/t3code#19572: Adds ACP /compact handling, relevant to the documented provider compaction support.

      Suggested reviewers: juliusmarminge

      Merge Risk: Minimal · up to 93050

      The documentation clarifies how to enable the context meter and when it appears. No merge-blocking issue is established.

      Architecture risk: Low · up to 7364e

      The change affects 1 system.

      Changed systems: docs

      Architecture 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 /compact guidance 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: Passed 4
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the main documentation change: explaining how to enable the context window indicator.
      Description checkPassedThe 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 checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck 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
    4. Note

      Written by gpt-6.1-sol on behalf of Maria

      kept 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/main passed on the Blacksmith worker against main 80a2351fcb90 (four documentation files; formatting passed, no applicable typechecks or tests). git diff --check passed. two independent source reviews approved head 93050d50ee, 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.

    5. maria-rckscommented

      Note

      Written by gpt-6.1-sol on behalf of Maria

      Verified in a real dev environment

      verified documentation head 93050d50ee79eb6a74eebc06ee34e3055326ec5d as-is on this Linux Boat VM. no code changes or pushes were needed.

      • checked out github/main (6d46336476) in /home/user/main, ran vp i, and started the real dev app in the background. created a project for /home/user/t3code through the folder picker, selected Codex gpt-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/.t3 state copied from the stopped baseline. drove the web client with repository Playwright and /usr/bin/google-chrome at 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-skills heading. git diff --check github/main...HEAD passed. 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-OK

      main with default settings, after a real provider reply:

      main: provider reply with the context meter hidden by default

      pr: the documented setup path:

      pr: labs legacy setting, off by default

      pr: the same conversation after enabling the indicator:

      pr: real Codex context usage and compact context action

      pr: slash compaction completes while the meter is hidden

      pr: a real Codex reply retains both markers after compaction

      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.

    6. maria-rcks merged this9b1802d

    7. maria-rcks closed this

Sign in to join this conversation.