Skip to content

docs: correct adaptive-thinking troubleshooting guidance - #3552

Closed
eneekoruiz wants to merge 2 commits into
affaan-m:mainfrom
eneekoruiz:codex/fix-troubleshooting-effort
Closed

eneekoruiz wants to merge 2 commits into
affaan-m:mainfrom
eneekoruiz:codex/fix-troubleshooting-effort

Conversation

@eneekoruiz

Copy link
Copy Markdown
Contributor

What Changed

Replace the fixed thinking-budget recommendation in both troubleshooting guides with supported effort controls for adaptive-reasoning models, retaining the fixed-budget distinction.

Why This Change

Refs #3422. The canonical English performance rule has been updated, but these two guides still recommend lowering MAX_THINKING_TOKENS without noting that positive budgets are ignored on adaptive models. This contribution addresses these English troubleshooting examples; the issue's translated-rule follow-up remains separate.

Verified against Claude Code model configuration and environment variables.

Validation

  • Markdown lint passed for both changed files.
  • git diff --check passed.
  • Documentation review passed; no runtime behavior changes.

@eneekoruiz
eneekoruiz requested a review from affaan-m as a code owner October 13, 2026 09:35
@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: b1523ea23f5d29511398ee7006f37248f61c04d3

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 2 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: b1523ea23f5d29511398ee7006f37248f61c04d3

PR taxonomy clear (success)

Scanned 2 changed file(s). No taxonomy bucket signals were detected.

Scanned 2 changed file(s).

No PR taxonomy bucket signals were detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: b1523ea23f5d29511398ee7006f37248f61c04d3

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 2 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: b1523ea23f5d29511398ee7006f37248f61c04d3

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 2 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository: affaan-m/ECC/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c1520b4a-5a6a-41d9-9144-5e877f7184a7
📥 Commits

Reviewing files that changed from the base of the PR and between b1523ea and 04146fb.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: affaan-m/ECC/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: b99547ec-eb60-4149-adbf-d039013e4ee1
📥 Commits

Reviewing files that changed from the base of the PR and between b92f181 and b1523ea.

📒 Files selected for processing (2)
  • docs/TROUBLESHOOTING.md
  • docs/hook-bug-workarounds.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Greptile Review
🧰 Additional context used
📚 Code guidelines (2)
.cursor/rules/common-hooks.md — auto-discovered
.cursor/rules/typescript-hooks.md — auto-discovered
📓 Path-based instructions (2)
Source excerpt: Use with caution: Source excerpt: Use with caution: Enable for trusted, well-defined plans Source excerpt: Use with caution: Disable for exploratory work Source excerpt: Use with caution: Never use dangerously-skip-permissio...

📄 CodeRabbit inference engine (.cursor/rules/common-hooks.md)

Files:

  • docs/hook-bug-workarounds.md
  • docs/TROUBLESHOOTING.md
Source excerpt: **console.log audit**: Check all modified files for `console.log` before session ends

📄 CodeRabbit inference engine (.cursor/rules/typescript-hooks.md)

Files:

  • docs/hook-bug-workarounds.md
  • docs/TROUBLESHOOTING.md
🔇 Additional comments (2)
docs/TROUBLESHOOTING.md (1)

65-65: LGTM!

docs/hook-bug-workarounds.md (1)

64-64: LGTM!

📝 Summary

Summary by CodeRabbit

  • Documentation
    • Updated guidance for handling repeated 529 Overloaded errors: use a lower effort level for routine tasks with adaptive-reasoning models.
    • Clarified that MAX_THINKING_TOKENS applies only to fixed-budget thinking.

The 529 overload workaround in both troubleshooting guides now recommends lowering the effort level for routine work on adaptive-reasoning models. The guides clarify that MAX_THINKING_TOKENS caps fixed-budget thinking.

Changes: 529 overload guidance

Layer / File(s) Summary
Update the 529 workaround
docs/TROUBLESHOOTING.md, docs/hook-bug-workarounds.md
Both guides replace the recommendation to lower MAX_THINKING_TOKENS with guidance to lower the supported effort level for routine work on adaptive-reasoning models. They clarify that MAX_THINKING_TOKENS caps fixed-budget thinking.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to b1523

The troubleshooting guides now direct adaptive-reasoning users to supported effort controls while retaining the fixed-budget distinction. No concrete merge risk remains.

Architecture risk: 🔵 Low · up to b1523

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; 2 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in docs/TROUBLESHOOTING.md: The workaround replaces lowering MAX_THINKING_TOKENS with lowering the supported effort level for routine work on adaptive-reasoning models, and clarifies that MAX_THINKING_TOKENS only caps fixed-budget thinking.
  • observed — Modified behavior in docs/hook-bug-workarounds.md: Replaces the general recommendation to lower MAX_THINKING_TOKENS with lowering the supported effort level for routine work on adaptive-reasoning models, clarifying that MAX_THINKING_TOKENS only caps fixed-budget thinking.
Pre-merge checks: Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the documentation correction for adaptive-thinking troubleshooting guidance.
Description check Passed The description directly explains the documentation changes, rationale, scope, and validation.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] Safe to merge. No blocking findings or outstanding previous findings remain.

Summary

Both troubleshooting guides replace the fixed thinking-budget recommendation with supported effort controls for adaptive-reasoning models.

  • Both troubleshooting guides now match thinking advice to model type.

Reviews (2) · Last reviewed commit: "Merge branch 'main' into codex/fix-troub..." · Reviewed by Greptile

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 04146fb83de25514c574d78ddb022cfc85268b52

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 2 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 04146fb83de25514c574d78ddb022cfc85268b52

PR taxonomy clear (success)

Scanned 2 changed file(s). No taxonomy bucket signals were detected.

Scanned 2 changed file(s).

No PR taxonomy bucket signals were detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 04146fb83de25514c574d78ddb022cfc85268b52

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 2 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 04146fb83de25514c574d78ddb022cfc85268b52

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 2 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@haelyra

haelyra commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Thank you for correcting adaptive-thinking troubleshooting guidance. We carried your contribution into #3654 with attribution and the related follow-up fixes. That integration merged as e494799, and the resulting main passed CI, CodeQL, and Supply-Chain Watch. I’m closing this source PR as delivered. We appreciate your work and hope you’ll keep contributing.

@haelyra haelyra closed this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants