Skip to content

chore(release): prepare PowerContext 1.6.1 - #2917

Merged
hidb4ai merged 5 commits into
oceanbase:masterfrom
hidb4ai:codex/release-1.6.1
Dec 1, 2026
Merged

hidb4ai merged 5 commits into
oceanbase:masterfrom
hidb4ai:codex/release-1.6.1

Conversation

@hidb4ai

@hidb4ai hidb4ai commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Which issue or RFC does this PR close?

Release preparation for PowerContext v1.6.1. Related schema workflow: #2713. No issue is closed.

Rationale for this change

Prepare consistent v1.6.1 version declarations, installation instructions and bilingual release notes against the current main branch, including the reversions in #2920 and #2935.

What changes are included in this PR?

  • Synchronize version references and generated Python, Desktop and Dify API metadata.
  • Add English/Chinese release notes, website changelog and README announcements describing the included Memory, Gateway, integration and processing improvements.
  • Preserve the main branch's migration chain and persistence digest. This release adds no schema revision: the managed schema head remains v1_6_0.
  • Cover the bilingual publication instructions in the version checker, with regressions for stale tags and historical-example preservation.
  • Record Desktop protocol qualification for the current contract against the exact wheel built from fb5d41b2, including both reversions. Anonymous, Bearer, HTTPS/base-path and enforced Provider modes passed. Name the profile after its tested source; retain the older record as historical evidence. Neither record qualifies a separately built publication artifact or installed GUI.
  • Set the planned release date to 2026-12-01, use consistent README News links, and document the configurable per-Artifact/per-query tag limits from feat(tags): make the per-Artifact and per-query tag limits configurable #2816.
  • Integrate origin/main at d426e2d67fbb77c480cb6ea6a9341978709a4153. Historical-alias recall and Core-approved upstream target binding are excluded from the release claims, matching the integrated implementation.

Are there any user-facing changes?

Installation and publication instructions target 1.6.1. Databases at earlier released schema revisions require explicit offline maintenance; databases created with unpublished migrations must be rebuilt. The 1.6.1 application version does not imply a new database revision. No package, tag or production deployment is published by this PR.

How was this change tested?

Validation of the merged tree is recorded below. Final installed-artifact upgrade acceptance and required CI must still pass before publication; earlier artifact qualification does not establish acceptance of the final release wheel.

Current documentation/qualification follow-up: e5403465b4727a9c9dadf9d8cf8780ed0ff7110e. Contract tests, release checks and pre-commit checks were repeated successfully. Runtime and migration implementation is unchanged from merge commit fb5d41b2469cb395461d5ccbfb7118c1bdc27fce; the 129-test focused suite and frozen-history check below were run on that merge commit.

  • Focused release-version, schema-freeze, full-Server migration, maintenance CLI, Atomic Memory one_pass and prefixed extraction tests: 129 passed.
  • make contract-test: 69 passed, including Desktop compatibility; generated Python/JavaScript checks passed.
  • make release-check VERSION=1.6.1: passed, including bilingual website/release-note consistency.
  • python scripts/schema_release.py check --release --base-ref origin/main: passed; frozen history is unchanged and the head is v1_6_0.
  • uv run prek run -a: passed, including Ruff and ty.
  • git diff --check: passed.

The new head's remote CI is pending. Full installed-artifact upgrade matrices, complete Gateway tests and a full website build were not repeated for this merge.

AI usage statement

OpenAI Codex assisted with release metadata, generated artifacts, documentation, conflict resolution and tests, and executed the validation commands reported above.

@hidb4ai
hidb4ai marked this pull request as ready for review November 30, 2026 07:12
@AlexStocks

Copy link
Copy Markdown
Contributor

the github ci flow failed.

Comment thread release/notes/powercontext-v1.6.1.md Resolved
@hidb4ai hidb4ai added the 1.6.1 v1.6.1 release tracking label Nov 30, 2026
@hidb4ai

hidb4ai commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

@AlexStocks Thanks for the review. Commit 50e4c2f addresses the publication-guide omission and the Desktop contract qualification failure:

  • Updated the English and Chinese publication instructions to powercontext-v1.6.1. The version checker now covers these instructions, with regressions verifying stale-tag detection and preservation of historical examples.
  • Added qualification for the current Desktop contract against the exact built 1.6.1 wheel. The native protocol probe passed anonymous, Bearer, HTTPS/base-path, and enforced Provider modes, including save/search/exact-read behavior. The evidence records the artifact hash and coverage limits; this does not claim GUI or installed-package acceptance.

Local validation: all 69 contract tests and 14 release-version tests passed, along with make release-check VERSION=1.6.1, frozen-history validation, and all pre-commit checks. CI for the new head is currently running; I am not claiming a green remote run yet.

The migration-order and Gateway-revert comments remain open for release-scope coordination. We must reconcile the cumulative migration and release notes against the final included commits before tagging. This update does not mark those two concerns as resolved.

@jasper-yl

Copy link
Copy Markdown
Contributor

Four notes from reading 50e4c2f43. The first two affect what the release says and records; the last two are small.

1. The lead release note depends on a decision about alias recall that is still open

The title ("Fewer duplicate memories"), the summary and the first bullet in release/notes/powercontext-v1.6.1.md, the matching entry in website/src/lib/releases.ts, and the News line in the three READMEs all present historical-alias matching during reconciliation as what 1.6.1 does.

Whether 1.6.1 ships that behaviour enabled is not settled yet. #2926 (same milestone, not merged) would change atomic_memory_alias_recall to default false, and the feature may end up disabled in this release. The outcomes need different text:

  • Stays on by default: the current wording holds.
  • Off by default (fix(atomic-memory): disable alias recall by default #2926): the notes should say it is opt-in and name POWERCONTEXT_SERVER_RUNTIME_ATOMIC_MEMORY_ALIAS_RECALL=true, and the title and summary probably should not lead with it.
  • Not part of 1.6.1: the title, summary, first bullet and the News lines need replacing.

Since the notes, releases.ts and the READMEs carry the same text, I would hold the final wording, and the tag, until that is decided. This is the same kind of dependency as the #2630 note that @AlexStocks raised against #2920.

2. The new Desktop qualification record cannot match the published artifact

sqlite-release-1-6-1-959aa29a-v1 records serverCommit 959aa29a (the second commit of this branch) and the SHA-256 of a wheel built from it. desktop/VALIDATION.md says all 843 packaged runtime source files match that source.

The 1.6.0 record has the same shape (98a9b1f7 is not an ancestor of the powercontext-v1.6.0 tag), so this follows existing practice rather than introducing something new, and the section itself says a separately built artifact needs its own verification. I am flagging it because the record is named as the 1.6.1 release qualification. Re-running the probe against the final tree once the 1.6.1 contents are settled, or naming the record after what it qualifies, would keep it accurate.

3. README News link uses a different URL form

The 1.6.1 entry links to /en/docs/changelog/#v1-6-1 (and /zh/docs/changelog/#v1-6-1); earlier entries use /en/changelog/v1.6.0/. Both forms resolve for 1.6.0 on the live site today, so this is only a consistency point.

4. The release date is fixed at 2026-11-30

It appears in website/src/lib/releases.ts and the three READMEs. It needs updating if the tag moves to another day.

For context, I merged this head with #2926 and #2920 locally: no conflicts, scripts/release_version.py --check, scripts/schema_release.py check --release and scripts/upgrade_release_gate.py pass, and 403 focused tests pass (release version, migration names, alias upgrade and recall, privacy, CI changes, remote-access docs). I did not run the full suite, cargo or the website tests.


基于 50e4c2f43 的四点说明,前两点影响发布说明和记录的准确性,后两点是小问题。

  1. 发布说明的头条取决于别名召回的去留,而这件事还没定。标题、摘要、第一条变更、releases.ts 和三份 README 的 News 都把“写入协调时匹配历史别名”作为 1.6.1 的效果。fix(atomic-memory): disable alias recall by default #2926(同一里程碑,尚未合并)会把 atomic_memory_alias_recall 改为默认 false,这个特性在本次发布中也可能被关掉。三种结果对应不同的文字:保持默认开启,现有表述成立;默认关闭,需写明要手动设置 POWERCONTEXT_SERVER_RUNTIME_ATOMIC_MEMORY_ALIAS_RECALL=true,标题和摘要不宜以它为主;不进 1.6.1,标题、摘要、第一条和 News 都要替换。建议在结论出来之前先不定稿、不打 tag。
  2. 新增的 Desktop 兼容性记录对不上正式发布产物。记录绑定的是本分支的中间提交 959aa29a 及其 wheel 哈希;之后本分支还有提交,fix(atomic-memory): disable alias recall by default #2926、revert(gateway): fully revert #2630 upstream target binding #2920 也会改 Server 源文件,desktop_candidate.py 按提交和 wheel 哈希匹配,这条记录不会被选中。1.6.0 的记录也是同样形态,属于沿用旧做法。建议内容确定后对最终的树重跑一次,或让记录名与实际验证对象一致。
  3. README 的 News 链接形式与之前的条目不同(/docs/changelog/#v1-6-1 与 /changelog/v1.6.0/),目前两种形式都能打开,仅是一致性问题。
  4. 发布日期写死为 2026-11-30,出现在 releases.ts 和三份 README 中,tag 改期时需要同步修改。

我在本地把本 head 与 #2926、#2920 合并:无冲突,三个发布检查脚本通过,403 个相关测试通过;未跑完整测试、cargo 和网站测试。

@jasper-yl

Copy link
Copy Markdown
Contributor

Follow-up on fb5d41b24, after #2935 and #2920 merged.

The first point of my earlier comment is resolved: the notes, releases.ts and the READMEs no longer describe alias recall or #2630 target binding, and the notes state that 1.6.1 adds no schema revision and the head stays v1_6_0. Thanks.

Three small points remain from that comment:

  1. Release date. website/src/lib/releases.ts and the News line in README.md, README_CN.md and README_JP.md still say 2026-11-30. They need the actual tag date.
  2. Desktop qualification record. sqlite-release-1-6-1-959aa29a-v1 is still tied to commit 959aa29a and the wheel built from it. revert(atomic-memory): withdraw historical alias recall (#2674) #2935 and revert(gateway): fully revert #2630 upstream target binding #2920 changed Server sources after that commit, so the record does not describe the tree that will be tagged. desktop/VALIDATION.md already says a separately built artifact needs its own verification, so this is about the record's name and scope, not a defect. Re-running the probe on the final tree would make it accurate.
  3. README News link form. The 1.6.1 entry uses /docs/changelog/#v1-6-1; earlier entries use /changelog/v1.6.0/. Consistency only.

One optional addition: #2816 (configurable per-Artifact and per-query tag limits) adds user-facing settings and is not in the notes.

I read the diff against master for this; I did not rerun the release checks or tests on this head.


针对 fb5d41b24 的跟进(#2935、#2920 合入之后)。

我上次评论的第 1 点已解决:发布说明、releases.ts 和 README 不再描述别名召回和 #2630,并写明 1.6.1 不新增迁移、schema head 保持 v1_6_0。

还剩三个小点:

  1. 发布日期:releases.ts 和三份 README 的 News 仍是 2026-11-30,需要改为实际打 tag 的日期。
  2. Desktop 兼容性记录 sqlite-release-1-6-1-959aa29a-v1 仍绑定提交 959aa29a 及其 wheel;之后 revert(atomic-memory): withdraw historical alias recall (#2674) #2935、revert(gateway): fully revert #2630 upstream target binding #2920 改过 Server 源码,这条记录对应的不是最终要打 tag 的树。文档已注明单独构建的产物需另行验证,所以这是记录命名和范围的问题,不是缺陷;对最终的树重跑一次即可。
  3. README 的 News 链接形式与之前条目不一致,仅一致性问题。

可选补充:#2816(标签上限可配置)新增了用户可见的配置项,发布说明里没有提到。

以上基于阅读本 head 与 master 的差异,没有重跑发布检查和测试。

@hidb4ai

hidb4ai commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@jasper-yl Addressed the follow-up in e5403465b4727a9c9dadf9d8cf8780ed0ff7110e:

  • Synchronized the website and all three README dates to 2026-12-01, the confirmed planned tag date.
  • Made the new README News links consistent with the existing /changelog/v1.6.1/ form; the website generates redirects from those routes to the documentation changelog anchors.
  • Added bilingual release notes for feat(tags): make the per-Artifact and per-query tag limits configurable #2816, including both tag-limit settings, their defaults/maximums and the restart requirement.
  • Built a new wheel from fb5d41b2469cb395461d5ccbfb7118c1bdc27fce, after both reversions, and reran the native Desktop protocol probe. All four modes passed: anonymous, Bearer, HTTPS/base-path and enforced Provider. The new record is named sqlite-server-fb5d41b2-v1, with the exact source and wheel identities. The older record retains its historical identity, with its heading and scope clarified as source-build protocol evidence.

This deliberately does not call either source-build record qualification of the eventual published wheel. As you noted, publication must match the actual Server commit and artifact hash; a separately built release still needs its own acceptance. The recorded probe covers native protocol behavior, not the installed GUI.

Validation: all 69 API/JS/Desktop contract tests passed, make release-check VERSION=1.6.1 passed, and all pre-commit checks passed. Remote CI for the new commit remains pending.

@Zxf-xufeng Zxf-xufeng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at e5403465b4727a9c9dadf9d8cf8780ed0ff7110e. No blocking defects found; two non-blocking design notes inline.

Comment on lines +2128 to +2149
{
"id": "sqlite-release-1-6-1-959aa29a-v1",
"serverCommit": "959aa29a8418a4c6cdc7a66c6db781bdb4662e59",
"contractSha256": "b2cd6734a32ba320e25d379b646be6fb07f39412cfbeb3af0168d51fbf2a3026",
"artifactSha256": "cf0e0964cacfe87a0949b5e17d450e177f834e2c375b182af4e710ea5c67c733",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-959aa29a-protocol-qualification"
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design note (non-blocking): sqlite-release-1-6-1-959aa29a-v1 (and its matching section in desktop/VALIDATION.md) was added by an earlier commit in this PR before #2920 and #2935 were merged, so it reflects a superseded draft commit carrying reverted features and the removed 000 schema revision. Because it was never merged to master, keeping it in the bundled compatibility.json adds a dead entry whose release-1-6-1 ID is easy to misread as a 1.6.1 release profile. Dropping it and keeping only sqlite-server-fb5d41b2-v1 would leave a cleaner final-state record.

Comment on lines +63 to +64
"docs/en/development/releasing.md": (r"(?<=and enter\n`)powercontext-v",),
"docs/zh/development/releasing.md": (r"(?<=在 `release_tag` 中填写 `)powercontext-v",),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design note (non-blocking): docs/en/docs/operate/install-gateway.md and docs/zh/docs/operate/install-gateway.md were updated manually to 1.6.1 in this PR (The example selects 1.6.1. / version=1.6.1 and the Chinese equivalents), but neither file is covered by REFERENCE_PREFIXES. Adding them here—similar to docs/{en,zh}/development/releasing.md—would prevent them from drifting on future releases.

@hidb4ai
hidb4ai merged commit 25f300a into oceanbase:master Dec 1, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6.1 v1.6.1 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants