Skip to content

docs: lean prompt selector gives unrecognized sonnet/haiku names the shorter prompt (2.1.330) #17836

Description

@kyle-sexton

Refs: #17713

Context

Item 10 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: an edit item, for the issue lane.

Owner surface: docs/upstream/claude-code-lean-prompt-selector.md
Lens: correct
Items: 2.1.330-106
Range: 2.1.330..2.1.330

Required sentence: Record says the selector falls back to a legacy model-id list for a model with no lean_prompt capability, so unrecognized names containing sonnet or haiku could get the full prompt (false per 2.1.330); the release says such names now get the shorter prompt like other unrecognized names, and CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 gives every model the full prompt (true).

Why a handoff (too-large): Condition 4: owner surface is under docs/upstream, outside any plugin; the dependent lever plugins/context-budget/skills/audit/reference/levers.json:173-191 describes only =1. Condition 2: env-vars page documents =0 but not the unrecognized-name rule (changelog only). Condition 3: verification level light.

Repo evidence (unverified, verification: skipped (light)): claude-code-lean-prompt-selector.md:31-33 (recheck trigger :39-40 fires); levers.json:173-191
Recheck trigger: env-vars page CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT row; model-config page

Done when

  • docs/upstream/claude-code-lean-prompt-selector.md:31-33 states that unrecognized model names, including ones containing sonnet or haiku, get the shorter prompt, and that CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 gives every model the full prompt
  • plugins/context-budget/skills/audit/reference/levers.json:173-191 describes the =0 setting as well as =1

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: one upstream record under docs/upstream and one lever description in the context-budget audit reference; read by maintainers and the audit skill.
    Reversible: yes; revert the two text edits.
    Open questions: none
    Understood: the lean prompt selector record wrongly says unrecognized sonnet/haiku names may get the full prompt. Per 2.1.330 they get the shorter prompt, and CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 gives every model the full prompt. The record and the levers.json description of the =1 setting both need updating. The done-when is exact. I found no duplicate among open issues and no merged pull request that already fixes it. Related context: #17713.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b304f3980f5a43c869c06915c3dad85345625e08a42c100ceaa229131b9ad87b","body_sha256":"9767dc8cbe16cc52234517d88845f842ed920faf204f73a57dda53403406e6a2"}

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b304f3980f5a43c869c06915c3dad85345625e08a42c100ceaa229131b9ad87b","body_sha256":"9767dc8cbe16cc52234517d88845f842ed920faf204f73a57dda53403406e6a2"}

  6. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions