Skip to content

chore(release): prepare v1.6.0 knowledge bases and stable Gateway - #2783

Merged
hidb4ai merged 8 commits into
oceanbase:masterfrom
hidb4ai:codex/release-v1.6.0
Nov 23, 2026
Merged

hidb4ai merged 8 commits into
oceanbase:masterfrom
hidb4ai:codex/release-v1.6.0

Conversation

@hidb4ai

@hidb4ai hidb4ai commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Which issue or RFC does this PR close?

Prepares PowerContext 1.6.0 from origin/main, synchronized through 7b1e78ac. Release scope: closed PRs labeled 1.6.0. Related: #2570, #2658, #2435, #2775, #2776 and #2713.

Rationale for this change

Publish the first knowledge-base release and promote the Gateway to stable, with cache-aware memory extraction as its token-cost story. The release copy explains how reusing the Agent conversation prefix reduces uncached input, the default-enabled Gateway prefix extraction and Responses cost guidance, opt-in capture and required Server callback configuration, Codex protection restrictions and the absence of a fixed savings guarantee.

What changes are included in this PR?

  • Synchronize release references to 1.6.0 with make version-bump: installation guides, three README languages, OpenAPI, generated Python metadata and the upgrade policy. Regenerate Desktop contract identities and the Dify contract.
  • Add matching English/Chinese GitHub Release notes and website changelog, with knowledge bases and the stable Gateway first; cover one-pass memory processing, plugin reload, Source runners, integrations and diagnostics.
  • Name the unpublished Source collection migration v1_5_0_006 and freeze the cumulative 000 migration as v1_6_0, keeping all published revisions and checksums unchanged. The baseline validator remains unchanged: comparison against the PR base rejects the unpublished rename with Frozen migration history changed. This known CI failure is retained. Synchronize native/SQLite resources, source registrations, the persistence digest, compatibility rationale, bilingual migration guides and target-revision assertions.
  • Add exact-wheel Desktop protocol evidence for the new contract. Independent plugin, Desktop and Cargo package versions retain their own versioning.

Release scope also includes Gateway defaults (#2774), Codex session-id forwarding (#2782), and subscription setup documentation (#2789). #2646/#2621 already shipped in 1.5.2; #2651/#2652/#2655 merged into feature branches rather than the release base, and #2661 closed without merging. These excluded changes are not advertised as new release features.

Are there any user-facing changes?

The knowledge-base plugin is optional and requires its dependencies and installation; its initial scope covers Markdown and PNG/JPEG/WebP, not PDF/Office or generated answers. Prefix extraction and Responses cost guidance are enabled by default on the Gateway. Capture remains opt-in and extraction requires the Server callback URL and generation model. With that URL configured, the Server defaults to one_pass unless a mode is explicitly supplied; other Server deployments and direct SDK use retain per_candidate. Cached input is still input, and actual cost depends on hits, session size and fallback calls.

The schema head is v1_6_0, after v1_5_0_006. Existing managed storage needs explicit maintenance. Development databases and recovery plans using the former PR-based Source collection identity or unpublished 000 must be rebuilt; there is no runtime alias. Retained legacy plugin registrations/data still have no supported in-place upgrade path. The upgrade-required policy and all twelve native installed-release acceptance profiles remain mandatory.

How was this change tested?

  • After merging origin/main at 7b1e78ac: Server generation/settings and release-version tests: 33 passed; make release-check VERSION=1.6.0 and all prek hooks/type checks passed. Release notes and all three READMEs reflect the merged Gateway defaults.

  • Migration rename checks: 104 migration/release/E2E tests passed. All 47 migration scripts and schema resources in the official 1.5.2 tag remain byte-identical. make release-check VERSION=1.6.0 passed; this command does not compare with the PR base. The temporary baseline-normalization helper and its tests are absent from the final change.

  • make version-bump VERSION=1.6.0, make schema-freeze VERSION=1.6.0, and make release-check VERSION=1.6.0: passed.

  • uv run python scripts/schema_release.py check --release --base-ref origin/main: expected failure (Frozen migration history changed: server) because the unchanged validator protects the old unpublished identity in the PR base.

  • make check: passed. The first CI preflight found quote formatting in the two newly frozen migration files; fixed in c33a83a6, refreshed the persistence digest, and reran all prek hooks/type checks and baseline schema validation successfully. Final freeze/diagnostic-migration regression: 35 passed.

  • make contract-test: 69 passed. Desktop generate:check and Dify contract check passed.

  • Focused release/migration suites: 297 passed, 81 skipped (including unavailable native backend probes). Migration end-to-end suites: 5 passed.

  • Desktop native protocol module suite: 39 passed, 2 ignored. The exact built-wheel/product ConnectionManager run passed all four SQLite connection modes. The first run hit Provider-fixture readiness timeout; a local wrapper with a 60-second startup wait passed without changing request timeouts or business assertions. See desktop/VALIDATION.md for commit, artifact and contract hashes and platform limits.

  • make docs-test: passed, including lint, 37 website tests, link validation, production compilation, TypeScript and static export. Verified 1,134 public pages and their internal links.

The full native installed-release upgrade matrix and final tagged artifact acceptance remain release gates in CI; local source checks and the SQLite Desktop protocol run do not certify them. No tag, package publication or production deployment is performed by this PR.

AI usage statement

OpenAI Codex assisted with the release inventory, bilingual documentation, generated contracts, schema freeze and validation.

@hidb4ai hidb4ai added the 1.6.0 v1.6.0 release tracking label Nov 23, 2026
@Zxf-xufeng

Copy link
Copy Markdown
Member

[P1] Migration rename breaks the required CI baseline check

Renaming v1_5_2_pr2639 to v1_5_0_006 changes migration history already present in the PR base. CI preflight fails with Frozen migration history changed: server, causing downstream upgrade acceptance jobs to be skipped. Documenting this as an expected failure leaves the release without the required CI validation.

@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.

LGTM

@hidb4ai
hidb4ai merged commit 95bc573 into oceanbase:master Nov 23, 2026
40 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6.0 v1.6.0 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants