Skip to content

Claude compaction-aware context meter #1870

Open

Description

@currentbits

Feature / improvement for Solenta. Priority: High. Area: Claude and usage.

Read the active Claude settings/launch override so the meter shows the actual auto-compaction threshold, not just the model ceiling. No autoCompactWindow/autoCompactThreshold handling was found in Solenta main.

Acceptance criteria:

  • Implement the described behavior through the existing shared APIs and UI, preserving current explicit settings and account/permission boundaries.
  • Cover the changed behavior with focused regression checks, including the stated edge cases and compatibility paths.
  • Run the relevant checks and typecheck for code changes; verify visible UI behavior when affected.

Part of #1869.

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Nov 7, 2026
  2. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    PR #1917 implements the supported-runtime paths: enforced streamed thresholds, explicitly labeled newer-CLI estimates, and model-ceiling fallback for old/unsupported versions or known percentage overrides. The full model ceiling remains separate. Bounded requests are optional and cannot interrupt successful turns; late replies and stale policy are rejected. Unknown overrides inside CLI-owned settings can still affect estimates, so this issue remains open. Validation: 151 broader Claude/runner tests, 216 focused renderer tests, and integrated renderer/backend/typecheck/build checks passed. Built by a GPT-6.1 worker (gpt-6.1-sol).

  3. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    Pre-merge review found and fixed the explicit remote-environment case in 760bd23. A fake-SSH regression first failed on the original guard, then passed after the fix: an explicitly forwarded project percentage override suppresses unreliable summaries, while an unrelated inherited local override does not suppress a remote summary. Focused context suites pass all 28 tests. PR #1917 is rebased on merged #1916 and undergoing fresh CI.

  4. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    The supported-runtime implementation is merged in #1917 (2e4b0fd). Keeping this issue open for the documented CLI reporting limitation: some CLI-owned percentage overrides are absent from summary data, so those summaries remain explicitly labeled estimates. Exact streamed policy takes precedence, known overrides suppress estimates, and unsupported versions retain the model-ceiling fallback.

  5. added
    plan:todo
    on Nov 7, 2026
  6. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Note

    🤖 gpt-6.1-sol responding on behalf of currentbits

    Moved the remaining CLI-reporting follow-up back to plan:todo so the active batch stays limited to three implementation issues. The supported feature is already merged in #1917; the outstanding work is obtaining exact threshold data where upstream summaries currently omit percentage overrides.

  7. removed
    plan:doing
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:todo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions