Skip to content

Commit 101eb5d

Browse files
author
CodeAI Hub Bot
committed
docs(session): record claude effort settings release
1 parent c471e35 commit 101eb5d

2 files changed

Lines changed: 51 additions & 3 deletions

File tree

doc/Sessions/Session030.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Session 030 — Claude Thinking Effort Settings Release
2+
3+
**Date:** 2026-04-04 10:17 (CEST)
4+
**Branch:** main
5+
**Version:** 1.1.880
6+
7+
---
8+
9+
# 1. Work Done in This Session
10+
11+
## Work summary
12+
- Replaced Claude `thinking.maxTokens` with explicit effort-based settings across extension storage, UI state, Core applied turn config, and Claude SDK runtime options, while preserving legacy snapshot migration.
13+
- Fixed Claude model-sync semantics so Session UI can reflect the selected effort through runtime identity instead of treating Claude thinking as a plain on/off toggle, and repaired the missing `thinkingDisplaySyncEnabled` path in Core provider settings snapshots.
14+
- Resolved the release-gate regression triggered by `Object.hasOwn(...)` under the root TypeScript target, then rebuilt the `1.1.880` core artefact and refreshed the tracked core manifest checksum before packaging.
15+
- Completed the final release cycle and produced `codeai-hub-1.1.880.vsix`.
16+
17+
## Verification
18+
- `npx tsc -p . --noEmit`
19+
- `npm run build --workspace @codeai-hub/core`
20+
- `./scripts/build-core.sh --version 1.1.880`
21+
- `./scripts/build-release.sh --use-current-version`
22+
- confirmed `Step 7: Verifying SDK exclusions`
23+
- confirmed `Removing dev dependencies before packaging`
24+
- confirmed `✅ Package created`
25+
- confirmed `✅ VSIX runtime package surface verified`
26+
27+
## Git commits
28+
- `f7a0bb2a fix(claude-thinking): replace max tokens with effort settings`
29+
- `2206d00c build(release): assemble claude effort settings release`
30+
- `730030b0 fix(release): restore hasown compile compatibility`
31+
- `c471e357 build(core): refresh 1.1.880 manifest after compatibility fix`
32+
33+
---
34+
35+
# 2. Instructions for Next Session
36+
37+
## Required documents to review before work
38+
1. `doc/SolidWorks-WorkFlow/README.md`
39+
2. `doc/SolidWorks-WorkFlow/Docs_Index.md`
40+
3. `doc/SolidWorks-WorkFlow/System/SystemArchitecture.md`
41+
4. `doc/TODO/todo-plan.md`
42+
5. `doc/Sessions/Session030.md` (THIS REPORT)
43+
44+
> Next: open `doc/SolidWorks-WorkFlow/Modules/Claude.md`, `doc/SolidWorks-WorkFlow/Contracts/EffectiveModelIdentity_And_Settings_SSOT.md`, and `doc/SolidWorks-WorkFlow/Plans/Claude_Thinking_Effort_Settings.md` before changing Claude settings/runtime behavior again.
45+
46+
## Plans for next session
47+
- Manually validate release `1.1.880` in the packaged UI: switch Claude effort levels, confirm Session model sync reflects the selected effort, and verify visible thinking remains localized according to `Messages for the User`.
48+
- If Claude upstream changes effort semantics again, keep using explicit applied-turn config fields instead of numeric token heuristics and update SSOT/docs in the same change.

doc/TODO/todo-plan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
151. [DONE] Git Commit: `fix(release): restore hasown compile compatibility` (hash: `730030b0`)
230230

231231
### Stream: Packaging And Session Closure
232-
152. [TODO] Rebuild the affected `codeai-hub-core` `1.1.880` artefact after the compile-compatibility hotfix and refresh the tracked core manifest so packaging validates the correct runtime checksum. Scope: `assets/core/manifest.json`, `doc/TODO/todo-plan.md`. Target commit: `build(core): refresh 1.1.880 manifest after compatibility fix`
233-
153. [TODO] Git Commit: `build(core): refresh 1.1.880 manifest after compatibility fix` (hash: TBD)
234-
154. [TODO] Rerun `./scripts/build-release.sh --use-current-version`, confirm the packaged patch release shows Claude effort-based thinking settings, preserves localized visible thinking, and keeps Claude runtime model sync aligned with the selected effort, then record the full hotfix chain in a new session report. Scope: `doc/Sessions/Session030.md`, `doc/TODO/todo-plan.md`. Target commit: `docs(session): record claude effort settings release`
232+
152. [DONE] Rebuild the affected `codeai-hub-core` `1.1.880` artefact after the compile-compatibility hotfix and refresh the tracked core manifest so packaging validates the correct runtime checksum. Scope: `assets/core/manifest.json`, `doc/TODO/todo-plan.md`. Target commit: `build(core): refresh 1.1.880 manifest after compatibility fix`
233+
153. [DONE] Git Commit: `build(core): refresh 1.1.880 manifest after compatibility fix` (hash: `c471e357`)
234+
154. [DONE] Rerun `./scripts/build-release.sh --use-current-version`, confirm the packaged patch release shows Claude effort-based thinking settings, preserves localized visible thinking, and keeps Claude runtime model sync aligned with the selected effort, then record the full hotfix chain in a new session report. Scope: `doc/Sessions/Session030.md`, `doc/TODO/todo-plan.md`. Target commit: `docs(session): record claude effort settings release`
235235
155. [TODO] Git Commit: `docs(session): record claude effort settings release` (hash: TBD)

0 commit comments

Comments
 (0)