Repository navigation
Conversation
hidb4ai
left a comment
There was a problem hiding this comment.
One installation-path issue remains: the published release selected by the guide does not contain the SeekDB compatibility fix or exact binding pin. See the inline comment.
| For seekdb, also install the optional dependencies. Replace `<version>` with the exact version reported by the newly installed `powercontext --version`, keeping it aligned with the Gateway: | ||
|
|
||
| ```bash | ||
| uv tool install --force "powercontext[cli,server,seekdb]==<version>" |
There was a problem hiding this comment.
[P2] Avoid selecting the known failing published release/binding pair
The new default currently selects the known failing release/binding combination on macOS ARM64. The installer still selects the latest published PowerContext 1.6.1; its published extra requires pylibseekdb>=1.4.0.post2,<2. Resolving this exact command for macOS 15 ARM64 / CPython 3.12 selects 1.4.1.post2, and the verified 1.6.1 wheel still dispatches the frozen zstd_1.3.8 DDL unchanged. This is the combination reported in #2985; the fixes and exact binding pin on master are not in that release. Please constrain the supported binding for the published release, or gate this default on a release containing the fix, in both languages and the wizard path. I reproduced dependency selection and checked the released SQL dispatch; I did not rerun the native macOS crash.
There was a problem hiding this comment.
@hidb4ai Addressed in 7f83ef8. For PowerContext 1.6.1, both guides now explicitly pin pylibseekdb==1.4.0.post2 with --with before opening the wizard. The Gateway, plugin, and single-host team paths share this step. Other releases require a confirmed compatible binding; a broad extra range is not treated as compatibility evidence.
I verified the published 1.6.1 package in isolated tool/data directories on macOS 26.2 ARM64 with CPython 3.12.7. The documented command installed exactly 1.6.1 / 1.4.0.post2, the released wizard's dependency detector returned ready with no installation plan, and a fresh Server returned /health/ready with both database and runtime ready. Local make docs-test and all pre-commit checks passed.
The detector was invoked directly; the interactive wizard, other platforms, existing-database upgrades, and model-backed memory workflows were not exercised. Current-head CI has passed docs-tests and Windows link validation, but is not yet complete: check-website is still running, and backend/native installation jobs are skipped.
Could you recheck the installation instructions when convenient?
Which issue or RFC does this PR close?
Refs #2985 and #3012.
Rationale for this change
The Agent installation guides currently choose SQLite even on platforms that support embedded seekdb. Make seekdb the default for new local installations in both languages, with SQLite for platforms without a compatible wheel. PowerContext 1.6.1's published extra can resolve to the incompatible 1.4.1.post2 binding, so its installation instructions explicitly constrain the binding to 1.4.0.post2.
What changes are included in this PR?
--with "pylibseekdb==1.4.0.post2"before opening the wizard, so it reuses the installed binding. For other releases, require a verified compatible binding instead of treating a broad extra range as proof of compatibility. Preserve the selected PowerContext version and distinguish dependency installation failures from unsupported platforms.Are there any user-facing changes?
Agents will guide new installations toward embedded seekdb on supported platforms. Native Windows and other unsupported environments use SQLite. The change only updates the English and Chinese guides; it does not change the CLI wizard's default or migrate existing data.
How was this change tested?
uv lock --lockeduv run --locked --python 3.12 prek run -amake docs-testgit diff --checkNative validation used the published PowerContext 1.6.1 package on macOS 26.2 ARM64 with CPython 3.12.7, isolated tool directories, and a fresh seekdb data directory:
uv tool install --force --with "pylibseekdb==1.4.0.post2" "powercontext[cli,server,seekdb]==1.6.1"command installed exactly those versions.ready, version1.4.0.post2, and no installation plan. This checks dependency reuse, not the interactive wizard UI./health/readywithstatus=ready,database=ready, andruntime=ready. The Server and embedded engine were stopped afterward.Other platforms, existing-database upgrades, and model-backed memory workflows were not exercised in this native check.
AI usage statement
OpenAI Codex (GPT-6) assisted with documentation updates, review, validation, and PR preparation.