Skip to content

chore: sync release/2026-11-12 back to main - #4873

Merged
Grapedge merged 18 commits into
mainfrom
chore/sync-release-2026-11-12-back-to-main
Nov 12, 2026
Merged

Grapedge merged 18 commits into
mainfrom
chore/sync-release-2026-11-12-back-to-main

Conversation

@kimi-agent-bot

Copy link
Copy Markdown
Collaborator

Requirement or Bug

Post-release back-sync for CLI 2.6.0 (release/2026-11-12, version PR #4835). Draft only: keep in Draft until Gate ⑥ (after CDN switch and release broadcast).

Brings the shipped release/2026-11-12 fixes, CLI 2.6.0 / internal package version bumps, generated CHANGELOG.md entries, consumed .changeset/*.md removals, and a refreshed Web UI bundle built from kimi-code-app main back into main while preserving all post-branch main commits and unconsumed changesets.

Bug Reproduction Steps

N/A — post-release back-sync.

Root Cause

N/A — post-release back-sync.

Code Changes

Behavior Changes and Affected Users

Behavior Before After Who relies on the old behavior Escape hatch
Release-branch fixes & server API docs Present on release/2026-11-12 only. Merged back to main (#4823, #4834, #4836, #4839, #4841, #4842, #4846, #4848, #4849, #4854, #4855, #4862, #4867). CLI, TUI, SDK, and Server API users. N/A — already shipped in CLI 2.6.0.
Package versions & changelogs CLI 2.5.3 with 70 consumed changesets still on main. CLI 2.6.0 (pi-tui 0.87.0, kimi-code-sdk 0.23.1), CHANGELOG.md updated, consumed changesets removed, 3 unreleased main changesets retained. Release tooling and downstream contributors. N/A — release bookkeeping.
Bundled Web UI (apps/kimi-code/dist-web) Built from code-app dc808dbd34 (#4859) at CLI 2.5.3. Rebuilt from code-app main 5835391dac against merged CLI 2.6.0. Web UI users. N/A — generated bundle synced from code-app main.

Verification

  • node apps/kimi-code/scripts/check-web-assets.mjs passed (639 entries, CLI 2.6.0 version markers present).
  • Full workspace pnpm run lint, pnpm run typecheck, and pnpm run build passed.
  • Focused test suites across all overlapping modules passed (@moonshot-ai/pi-tui, @moonshot-ai/kimi-code 405/405, @moonshot-ai/agent-core-v2 262/262, @moonshot-ai/kap-server sessions.test.ts 121/121).

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue (N/A — post-release back-sync for ci: release packages #4835).
  • I have added tests that prove my feature works. (Shipped changes include their test suites; focused regression suites passed.)
  • The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR.
  • Ran gen-changesets skill, or this PR needs no changeset. (Consumed 2.6.0 changesets removed; 3 unreleased main changesets preserved.)
  • Ran gen-docs skill, or this PR needs no doc update. (Dedicated docs changelog PR is docs(changelog): sync 2.6.0 from apps/kimi-code/CHANGELOG.md #4872.)

sailist and others added 18 commits November 11, 2026 18:46
* fix(kap-server): bind the main agent when a session is created

* fix(kap-server): reject a profile on prompt submissions

* fix(kap-server): reject a profile change through the session profile

* fix(kap-server): wait for model configuration before binding a new session
* fix(agent-core-v2): deduplicate restored task notifications

* chore: add notification replay fix changeset

* fix(agent-core-v2): preserve task notifications after prompt-only crashes

* fix(agent-core-v2): complete prompts before ending turns

* test: align lifecycle snapshots with prompt completion order

* fix(agent-core-v2): settle all prompts during turn finalization
…ates (#4842)

* fix(kap-server): drop reserved metadata keys from session profile updates

* fix(kap-server): keep stored reserved metadata keys on profile updates
* docs: split and rewrite the server API reference

* docs: redirect old server API anchors to the split pages

* docs: describe profile metadata as a replacement

* docs: mark question responses as answered-only
* fix(kap-server): avoid heartbeat timeout reaping after stalls or clock jumps

* fix(kap-server): grace heartbeat window for short scheduling stalls

* fix(kap-server): treat only clearly late heartbeats as scheduling stalls

* fix(kap-server): time heartbeats on a monotonic clock and drain queued input before reaping

---------

Co-authored-by: Kimi Code (Grok Bot) <[email protected]>
* docs: describe heartbeat stall handling

* docs: explain the monotonic clock in the heartbeat notes
* fix(agent-core-v2): acquire session lock before loop restoration

* chore: add session lock lifecycle changeset

* fix(agent-core-v2): hold session lock through loop restoration

- add an operation-scoped lease to the session run gate
- hold it across loop initialization, reset, and pending drains
- cover idle timeout and release ordering
* fix(agent-core-v2): dedupe historical tool schemas

* chore: add duplicate tool schema changeset

* fix(agent-core-v2): preserve first tool schema declaration

* fix(agent-core-v2): remind on changed tool schemas

* fix(agent-core-v2): block stale tool schema calls

* fix(agent-core-v2): normalize registry schemas in pending checks

* fix(agent-core-v2): import registry tool metadata type

* fix(agent-core-v2): preserve abort handling during validation

* fix(agent-core-v2): refine validation hook preparation

* fix(agent-core-v2): make validation hooks synchronous
* fix(agent-core-v2): preserve tool result notes on fork

* chore: add fork tool result note changeset

* fix(agent-core-v2): scope tool result note restoration to forks

* fix(agent-core-v2): normalize inherited tool result notes

* fix(agent-core-v2): isolate fork note restoration
code-app: 8ab17294e031323186d357d121c5360b8353900e

Co-authored-by: kimi-agent-bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
code-app: 5835391dac3a2b9e0c65ffbd418f0d6042a7adb2
@changeset-bot

changeset-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c1f9a6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kimi-agent-bot
kimi-agent-bot marked this pull request as ready for review November 12, 2026 11:19
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T11:23:56.009181Z c1f9a6b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Nov 12, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@c1f9a6b
npx https://pkg.pr.new/@moonshot-ai/kimi-code@c1f9a6b

commit: c1f9a6b

@Grapedge
Grapedge merged commit f407c52 into main Nov 12, 2026
29 of 30 checks passed
@Grapedge
Grapedge deleted the chore/sync-release-2026-11-12-back-to-main branch November 12, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants