85 lines
3.9 KiB
Markdown
85 lines
3.9 KiB
Markdown
# Task: Integrate model reasoning capabilities
|
|
|
|
## Identity
|
|
|
|
- Task ID: 20260901-integrate-model-capabilities-9b3e7c1a
|
|
- Mode: Integration
|
|
- Branch: main
|
|
- Worktree: D:\Datas\OthersProjects\makelore
|
|
- Base commit: a30053c30e48a0da8639f13e117168f5afd7532e
|
|
- Owner: codex
|
|
- Status: Completed
|
|
|
|
## Scope
|
|
|
|
- Merge exact source commit `ae7936174208a1d13cdfd260d5c6f2b70b450b60`
|
|
into local `main` without changing the reviewed product behavior.
|
|
- Promote the paired Works-to-Main capability normalization and Pi precedence
|
|
contract into canonical architecture/current state memory.
|
|
- Do not package, deploy, push, change Pi/one-api dependencies, or add a second
|
|
runtime or compatibility layer.
|
|
|
|
## Intent And Constraints
|
|
|
|
- Electron Main remains the sole owner of Works model config, Provider metadata,
|
|
credentials, and Pi wire values; Renderer receives only product-neutral levels.
|
|
- Server capability metadata overrides the verified local reasoning map when present;
|
|
an older server falls back locally, and persisted user choice remains intact.
|
|
- Integrate only the reviewed source commit. Any merge conflict or semantic conflict
|
|
with current `main` stops integration for explicit reconciliation.
|
|
- Pair the client merge with Works Square source
|
|
`9e1b6886b360175f1ca1596fb07f71e3bf86c894`; no one-api change is required.
|
|
|
|
## Plan
|
|
|
|
1. Verify source identity, worktree cleanliness, and a conflict-free merge tree.
|
|
2. Merge the exact source branch into `main` with a merge commit.
|
|
3. Promote the Main-owned capability normalization/precedence boundary into canonical
|
|
project memory.
|
|
4. Run focused serializer/UI/contract tests, typecheck, lint, Vite build, diff checks,
|
|
and documentation drift checks.
|
|
5. Commit the integration record, complete the task, and release ownership only from
|
|
a clean `main` worktree.
|
|
|
|
## Outcome
|
|
|
|
- Merged exact reviewed source `ae7936174208a1d13cdfd260d5c6f2b70b450b60`
|
|
into local `main` as merge commit
|
|
`6a8ebe1b671ca24150c2226b9111b9d07174e37b`; the merge was conflict-free.
|
|
- Promoted the Main-owned Works capability normalization/persistence/precedence and
|
|
Pi wire boundary into canonical current-state and architecture memory.
|
|
- Confirmed paired Works Square source
|
|
`9e1b6886b360175f1ca1596fb07f71e3bf86c894` is merged into local server `master` as
|
|
`ef73b9c97997942996ddd3ed3cd3bf4e29120bd0`.
|
|
- Kept the reviewed scope: Pi remains `0.84.2`; no one-api, dependency, package,
|
|
deployment, push, second runtime, or compatibility layer was added.
|
|
|
|
## Verification
|
|
|
|
- `git merge-tree --write-tree` returned conflict-free tree
|
|
`94c573f77dd11931750a255d537c800c6f5d09c9` before merge.
|
|
- Focused merged-tree Vitest run: 8 files / 111 tests passed, covering Works
|
|
capability import and cleanup, model/profile precedence, project/Snapshot/route/UI
|
|
`max` propagation, Pi runtime behavior, and actual off/low/high/max serializer output.
|
|
- `pnpm run typecheck`: passed.
|
|
- `pnpm run lint:check`: passed with zero errors and the repository's existing five
|
|
warnings.
|
|
- `pnpm run build:vite`: passed for Renderer, Electron Main, Preload, and utility
|
|
output; existing Browserslist, dynamic-import, and chunk-size warnings remain.
|
|
- `git diff --check`: passed.
|
|
- Paired server merged-tree verification passed 11 focused tests and focused Ruff.
|
|
|
|
## Follow-ups
|
|
|
|
- Release the paired Works Square API and Makelore client when release owners are
|
|
ready. Deployment order remains tolerant: an older server uses the local DeepSeek
|
|
profile and an older client ignores the optional server field. Real Provider and
|
|
final installed-package acceptance remain separate release evidence.
|
|
|
|
## Promotion Candidates
|
|
|
|
- Resolved: promoted the safe Works-to-Provider metadata contract, missing-field
|
|
cleanup/fallback, server-over-local precedence, and Pi `off`/enabled wire behavior
|
|
into `.project-docs/20-architecture/system-overview.md`; recorded the integration
|
|
in `.project-docs/30-worklog/current-state.md`.
|