Skip to content

chore(release): promote rust-preview to main (0.3.0) - #7157

Merged
M4n5ter merged 2824 commits into
mainfrom
release/switch-main-to-rust
Nov 22, 2026
Merged

M4n5ter merged 2824 commits into
mainfrom
release/switch-main-to-rust

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 22, 2026

Copy link
Copy Markdown
Member

Summary

Promotes the Rust 0.3.0 codebase from rust-preview (19e6a11cc) to main, replacing the legacy TypeScript 0.2.x codebase per community consensus in Discussion #6366.

Caution

Merge method: MUST use "Create a merge commit" (gh pr merge --merge). DO NOT squash!
Squashing would discard the rust-preview commit graph and contributor attribution. Once merged, .asf.yaml on main (merge: false) automatically restores squash-only merges.

Pre-flight Checklist

Post-merge Actions

  1. Confirm ASF .asf.yaml automation restores allow_merge_commit: false on main.
  2. Retarget open rust-preview PRs to main.
  3. Trigger the first 0.3.0-nightly build on main to publish the first nightly release and seal capsule-first-nightly.tar.gz.

sunrioa and others added 30 commits November 13, 2026 20:03
Preserve the latest missed occurrence when a schedule resumes or the Host reopens. Reuse an already claimed fire and its admission identity.

Keep due deadlines visible across a scheduler tick. Apply dispatch backoff to the failed fire so unrelated session activity can wake the scheduler without retrying it early.

Fixes #6827

Generated-by: OpenAI Codex
Co-authored-by: kesonm <[email protected]>
Keep the request encoder's large async state in a pinned heap allocation owned by emit. Counting, in-memory builds and backed encoding await the same statically dispatched codec future directly.

Verified with 29 model unit tests, 8 integration tests, target-crate Clippy and formatting checks, plus isolated text/tool-media preparation and wire replay on 512 KiB and 2 MiB thread stacks.

Generated-by: OpenAI Codex
Co-authored-by: M4n5ter <[email protected]>
Add time and JavaScript triggers for conversation automations, with steering and follow-up delivery and a sidebar for managing rules.

Generated-by: OpenAI Codex
Run automation scripts in the embedded Deno runtime with npm, JSR, and Node imports. Reuse the conversation's process sandbox and share Maka's SQLite dependency.

Generated-by: OpenAI Codex
Add a shared desktop and terminal Subagents settings page for creating, editing, enabling, disabling, and deleting the presets already available through conversation tools. The form provides full-width name, description, and role-instruction fields, localized example placeholders, and a searchable model dropdown. Updates send only changed fields; conflicts preserve the draft, and unresolved writes use the existing settings journal and receipt recovery.

Show the applied role, complete instruction, and initial model in session details, separately from the current model. Details read the session's creation snapshot, so later changes to the source preset do not change that display. No new service schema or database migration is required.



Generated-by: OpenAI Codex
…ordinary Chat (#6881)

Show ordinary Chat activity before the turn header appears, including provider retry waits.

Generated-by: Claude Code
Split long recorded tool text into bounded pieces and include the truncation note in the width budget at the largest supported text size. Copy actions preserve the full original text.

Generated-by: Claude Code
…de lines, and Bot workers under Maka Bot (#6882)

List child conversations under their parent on desktop and active Bot workers under Maka Bot. Preserve Bot workers in the attention inbox and archived list on both clients.

Validation: 12 focused nesting, grouping and browsing tests; Biome formatting and git diff checks.

Generated-by: Claude Code
Generated-by: OpenAI Codex
…p dimmer (#6883)

Wrap recorded Shell commands and stdout/stderr on desktop, position copy actions beside their text, and preserve the final working-directory components. Keep PTY output on its terminal grid and copy the complete original text.

Use the measured text-container width and a word-wrap row bound when splitting long text. The former overflowing reproduction now peaks at 7,956 px per piece at 314 pt, below the 16,384 px layer limit.

Validation: 8 code-piece tests, ToolReader bundle compilation and focused type checks, plus 20 CoreText layout cases at 130% font size and 2x scale (maximum height 9,464 px). Full window interaction was not exercised. The broader sidebar type check encountered pre-existing source/declaration mismatches and missing worktree dependencies; it is not counted as passing.

Generated-by: Claude Code
Generated-by: OpenAI Codex
…ure the reason (#6885)

Show Code Mode script output and readable failure reasons from both typed observations and model-facing replies. Preserve access to the complete original reply.

Validation: 11 focused presentation tests and changed-file formatting pass locally. Existing CI has baseline formatting, scheduling, configuration and native-test failures; it is not all green.

Generated-by: Claude Code
Render expanded messages from another Agent as Markdown, including separately fetched full text. Automation prompts remain plain text and copy retains the original source.

Validation: real MessageRow bundle compilation, changed-file formatting and a combined bundle with #6887 pass locally. The native incoming-message test fails on its collapsed preview before the new rendering branch, with the same failure also present without this change. Full window interaction was not rerun locally.

Generated-by: Claude Code
…h warning, Goal divider, empty provider list, diagram source block (#6887)

Align Retry and empty-provider text, show failed model discovery as a warning, normalize multiline Goal labels for their divider, and share reply code-block styling with diagram source views.

Validation: changed-file formatting and real MessageRow bundles, independently and combined with #6886, pass locally. Relevant provider, model-settings, Goal and Mermaid desktop cases pass in CI. CI retains other failures and full window interaction was not rerun locally.

Generated-by: Claude Code
…edit (#6889)

Wait for the edited textblock's render, text frame and laid-out lines before consuming a caret-reveal request. This keeps a newly split or wrapped bottom row visible in a capped-height editor.

Validation: both new rich_editor::sizing regression tests pass in the successful NSH CI job. Other CI jobs retain existing failures or incomplete validation; the desktop wrapping interaction was not rerun locally.

Generated-by: Claude Code
…#6892)

A conversation that created three or more conversations now shows one
"N created conversations" row under it in the desktop sidebar. The row
starts open; pressing it folds the family behind it. While folded, the
row shows whether any of them is working, waiting for you or unread.
Opening a folded one from search or a notice unfolds its family once.
Stepping between conversations skips folded ones, and a project's
six-row limit counts only the rows it shows. The inbox and archive do
not fold.
…ation action names itself (#6895)

Generated-by: Claude Code (Claude Opus 5.5)
Retain original Model and external Executor cleanup observers until Root custody can be released, and drain owned worker/continuation joins before the final shutdown check. Keep missing, failed and unconfirmed cleanup as visible errors. Classify malformed tool image MIME as InvalidImage so model preparation terminates the Run.

Repair validation fixtures by seeding connections before startup catalog refresh, using a valid model input limit, observing timer completion before rearming, and awaiting both SessionSend deliveries before sidebar navigation. Sample related Trajectory bounds from one frame after model request readiness. Preserve credential ownership, sharing, preview, recovery and cleanup assertions. Resolve the NSH Undo executable from Cargo workspace metadata and reconcile the reviewed license inventory with the current runtime graph.

Generated-by: OpenAI Codex
M4n5ter and others added 25 commits November 21, 2026 18:15
* test(transport): delete the empty integration target

No tests used the transport fixture module, including the CLI integration test that imported it. Remove both unused entry points and the dev-only dependencies.

Generated-by: Maka (OpenAI)

* fix: clean up workspace compiler and Clippy warnings

Keep native preview producers behind their actual feature gates. Simplify redundant data and arguments, bound enum payload sizes without changing wire schemas, and make the AppKit shell observe its exit status. Keep test support reachable from the harnesses that share it.

Generated-by: Maka (OpenAI)

* test(computer): account for AppKit registration of test processes

An unbundled CLI test process may have no NSRunningApplication at all. Check the exact refusal for the actual AppKit precondition; either way the window remains unbindable and its inventory identity is preserved.

Generated-by: Maka (OpenAI)

* fix(lint): cover Linux desktop and computer-use targets

Remove the unreferenced X11 wheel fixture left after its tests were retired, initialize the Linux desktop test policy directly, and keep the macOS Host shell dependency off other platforms.

Generated-by: Maka (OpenAI)

* fix(process): limit isolated-task Unix code to its consumers

Windows does not use Unix closure records or directory descriptor readers. Keep their existing Unix implementations and the Windows unsupported symlink path, without compiling unreachable code or unused state.

Generated-by: Maka (OpenAI)

* fix(lint): scope Unix filesystem and Host code to its callers

Keep publication validation available on Windows, compile the existing Unix publication and ACP execution helpers only where consumed, and exclude reconnect fields from the Direct2D shell.

Generated-by: Maka (OpenAI)

* fix(computer-use): clean up strict Windows desktop lints

Use the existing Windows owner directly without the unused embedded-session wrappers. Carry the native coordinate frame together with its expected generation and preserve the existing admission and settlement order.

Generated-by: Maka (OpenAI)
* fix(agent): reopen an mcp.json server whose connection retired

A call that ends with an unknown result retires its MCP connection, and the
cached layer kept handing that connection to every later turn and Session,
so each one failed before its model request until the Host restarted.

A cached file layer is now used only while all of its connections, and
those of the file layers below it, are available. Otherwise the next
preparation reopens the layer under the same revision, as a new protocol
session with new binding generations; the call itself is never replayed.
The startup gate keeps concurrent preparations to one reopen. The replaced
layer stays valid for Runs that already hold it and closes once nothing
references it, or when the Projects close. A client composition over a
replaced layer is rebuilt. If reopening fails, the cached layer stays in
use as before.

Servers from the installation configuration are unchanged: their tools
and bindings belong to the activation's tool basis and change only by
reactivation.

Refs #7112

Generated-by: Claude Code (Claude Opus 5.5)

* fix(agent): report the real error when a retired MCP server cannot restart

A failed reopen no longer falls back to the retired layer. The send is
rejected with the server's startup error, as for a first open, so one
message starts the broken server once and the cleanup-failure gate holds
again.

Generated-by: Claude Code (Claude Opus 5.5)

* fix(agent): reopen only the MCP server whose connection retired

The other servers of the same mcp.json layer keep their connection and
authority generation, so Runs that use them continue.

* fix(agent): check server connections directly in MCP layers_available

---------

Co-authored-by: “M4n5ter” <[email protected]>
…cell Read paging (#7125)

Implements the Code Mode output budgeting, tail preview, in-cell workspace
Read paging, and wait tuning design discussed in #7108:

- Collapse inner Cell clip() into a single outer archive budget frozen per
  return (default 10,000 tokens / 40,000 UTF-16 chars, max 20,000 tokens /
  80,000 chars, honoring small/zero budgets via PageBudget::DisplayBody and
  top-level cellStatus without leaking optional body text).
- Add single-pass O(1) TailRing trailing preview with exact JSON-escaped
  UTF-16 accounting across pure-text, mixed text+media (preserving media
  order with one shared event locator), and asynchronous Cell notifications
  / RecoveredCell reports (shared 40,000-char JSON-cost budget).
- Preserve incremental prior_output on synchronous exec/wait interruptions
  without duplicating previously yielded output.
- Enforce a whole-Cell-lifetime 16 MiB Host output cap (accounting for
  per-item slot overhead without double-charging transferred external
  notifications).
- Expand ordinary in-Cell workspace text Read pages (including continuations)
  to 65,536 UTF-16 units while keeping direct Read and archive/attachment/
  session reads at 7,500.
- Raise wait default yield_time_ms from 10s to 30s and clarify exec pragma
  guidance.

Refs #7108

Generated-by: Google Antigravity
* refactor(host): open application channels over supplied streams

Generated-by: Maka

* refactor(host): separate supplied channels from WebSocket framing

Generated-by: Maka

* test(host): verify supplied local and remote channel authority

Generated-by: Maka

* feat(desktop): connect Windows to WSL Host over stdio mux

Generated-by: Maka

* fix(build): account for the WSL mux distribution dependencies

Generated-by: Maka

* fix(host): separate remote pairing from channel admission

Generated-by: Maka

* chore(build): preserve upstream notice ordering

Generated-by: Maka

* fix(desktop): reconnect WSL Direct2D in-place, guard folder picker, drop 128 cap

---------

Co-authored-by: “M4n5ter” <[email protected]>
* fix(workbench): omit empty activity headers from direct replies

Generated-by: OpenAI Codex

* fix(workbench): keep imported conversation replies outside folded work

Generated-by: OpenAI Codex

* fix(conversation): show reply usage on hover and retain quick reply measurements

Generated-by: OpenAI Codex

* fix(workbench): keep sidebar actions in a single trailing slot

Generated-by: OpenAI Codex
…self-updater (#7123)

Add a clean, manually dispatched nightly build & delivery pipeline targeting
darwin-arm64, linux-x64-gnu, linux-arm64-gnu, and win32-x64, and integrate
channel-isolated self-updates built on nsh-updater with durable Host restart
recovery.

- Add .github/workflows/nightly.yml (manual workflow_dispatch on ubuntu-latest,
  ubuntu-26.04-arm, macos-latest, and windows-latest; pre-build Ed25519 keypair
  validation; x64 cross-compiled Linux ARM64 V8 prebuilt stage when unpinned;
  rolling nightly + nightly-previous pre-releases with non-ASF developer
  warnings, DISCLAIMER, and per-platform notices; optional @nightly npm publish).
- Make Maka.app self-contained on macOS (bundling maka and maka-python-worker
  inside Contents/MacOS with Developer ID inside-out signing, allow-jit
  entitlement, post-sign V8 smoke test, DMG packaging, and notarization/stapling).
- Add per-user Windows Inno Setup packaging (UninstallFilesDir outside {app},
  no elevation, user PATH management), Linux archives with install.sh, and
  packages/maka-agent as a thin alias for @maka-agent/cli.
- Add products/maka/updater and wire channel-isolated nsh-updater checks,
  signed latest.json verification, desktop banner/settings UI, atomic session-safe
  Host retirement, RootLease + launch-lock fencing across finish_with_guard,
  SwapFence shutdown draining, and CLI `maka update`.

Generated-by: Maka (Gemini)
…ggle in nightly.yml (#7129)

- Switch publish-npm to tokenless npm Trusted Publishing (OIDC) with
  --provenance, removing registry-url and empty NODE_AUTH_TOKEN so npm
  uses GitHub Actions OIDC directly.
- Add publish_release workflow_dispatch input (default true) so nightly
  builds and V8 prebuilt warmup runs can be executed dry-run without
  mutating GitHub Releases.

Generated-by: Maka (Gemini)
…and align quick reply details (#7130)

Follow-up to #7126:
- Remove the redundant style on the sidebar conversation <Menu> that disabled NSH lay_out_through and collapsed the actions button from 32 pt to 16 pt tall (regressing #6973 while #7068 had already fixed the width). Assert more.size.height == title.size.height in the desktop regression test.
- Fold non-empty thinking rows in imported turns consistently with native turns even when a turn has no tool calls, keeping imported reply text visible outside folded work.
- Scope the -8 left offset and Show message source button in MessageRow to icon-led action rows so Quick Question replyDetails aligns flush with the reply text without adding a stray source-toggle button on hover.

Refs #7126

Generated-by: Maka (Antigravity)
…re (#7135)

#7125 unified Code Mode output budgeting so external exec calls honor display_budget_chars (default 10,000 tokens / 40,000 UTF-16 chars) instead of always archiving at 7,500 chars. Because readArchivedResult() in external_codex_cli.mjs emitted 30,000 chars without setting max_output_tokens, exec returned inline output, JSON.parse threw a SyntaxError, and the worker exited without replying to session/prompt, causing antigravity_can_continue_after_host_restarts_during_a_prompt to hang until the 45s follow-up deadline.

Set max_output_tokens: 1000 with a 12,000-char payload so archive continuation is exercised deterministically regardless of default budget changes, surface non-JSON archive replies clearly, and fail pending ACP session/prompt requests immediately when the fixture aborts.

Refs #7125

Generated-by: Maka (Gemini)
…#7128)

* feat(workbench): open Mermaid diagrams in full-screen zoomable viewer

Allow expanding rendered Mermaid diagrams from the header button or by clicking the diagram (preserving click-to-edit in editable Markdown files), re-render light-mode diagrams with the dark palette for contrast inside the dark viewer, add wheel/pinch/double-click/plain-key zoom-out and zoom-in controls with bounds, and keep the viewer's close button clear of Windows/Linux top-right window caption controls.

Generated-by: Maka

* fix(workbench): isolate trackpad pinch handling

Move trackpad pinch listening inside the native touch viewport so macOS and Linux cannot apply the same gesture twice. Cover pinch, wheel, and double-click zoom restoration, remove the viewport's dead Tab stop, and simplify the reviewed styles and palette assertions.

Generated-by: Maka
…put (#7144)

* feat(workbench): show session history in the quick conversation panel

Generated-by: OpenAI Codex

* feat(workbench): surface session replies and share dictation input across panels

Generated-by: OpenAI Codex
…bservation (#7134)

* fix(skills): allow verified managed subagent worktrees in workspace observation

* refactor(skills): reuse workspace-support validation and isolate worktree test

Address review feedback on #7134:
- Extract open_workspace_observation_sync in maka-workspace-support and reuse it from maka-skills-native so managed worktree validation cannot drift while preserving skills' stricter private-root deny and read-only policy.
- Isolate git config and index env vars in the worktree test fixture so host global excludes or commit signing cannot break test setup.
- Write wt-skill only inside the child worktree after ensure() and assert prepare's metadataPrompt contains it, proving skills are scanned from the worktree rather than binding.source().
- Drop the redundant Unix symlink assertion already covered by skills core ReadRoot containment tests.

Generated-by: Maka (Antigravity)
…7147)

* feat(recall): retrieve effective memories with suppression guards

A corrected or deleted memory could still turn up in a search through an old conversation or tool result. This change makes the current assertion discoverable and applies its evidence restrictions when the model follows a historical reference.

- Extend `agent.recall` and the model-facing `Recall` tool with a separately paginated `facts` result. Each fact includes its scope, record revision, assertion version and readable sources. Existing title and passage matches remain available.
- Resolve personal and project scope at read time. Search an FTS5 index of current assertions, check their validity window, and fetch a bounded page of evidence. Corrections and deletions update the index in the same transaction as the write.
- Apply evidence restrictions to history search, source expansion, archive reads, copied attachments, tool replay and delegated-run excerpts. Live, snapshot and imported history readers share an indexed lookup for restricted ranges. History reads derive masking from the caller’s identity. Masking a quote preserves unrelated text and its original byte offsets. A stale tool result can require a fresh read.
- Stop formatting the model-facing Recall text when the page is full. The next page resumes at the UTF-8 byte offset in `output_offset`. The tool still returns the full structured result for the query.
- In Workbench, changing the query or conversation scope clears the previous result list immediately. The user's original conversation remains available for direct inspection.

Generated-by: OpenAI Codex
…7117)

Keep active and incomplete Markdown syntax visible in the composer and Markdown file editor while preserving #6951's preview design:

- Check closed caret bounds (`owner.start <= pos && pos <= owner.end`) against `selection().head()` for syntax and Mermaid diagram reveal, keeping active markers visible at trailing carets without expanding the whole document on `Cmd+A`, and removing the `+ 1` workaround in `list_marker`.
- Only conceal fenced code block delimiters and register Mermaid diagrams when both fences satisfy CommonMark's 0..=3 leading-space rule, a matching closing fence exists, and parsed `Code.value` has non-empty content.
- Only conceal blockquote `>` prefixes on lines with non-empty content after the quote markers.

Refs #6951

Generated-by: Antigravity (Gemini)
The composer usage indicator summarized the hottest window across the
whole account. Antigravity reports separate quota groups ("Gemini
Models", "Claude and GPT models"), so with Gemini selected the
indicator showed the Claude/GPT weekly window instead of Gemini's.

Usage windows now carry the display names of the models that share
them, parsed from agy's group description; an empty list keeps the
account-wide meaning for every other provider and is omitted from the
wire format. The composer prefers windows that apply to the selected
model's label (unscoped, listing it, or listing it followed by a
parenthesized variant such as "GPT-OSS 120B (Medium)") and falls back
to all windows when none apply.

Matching on display names is deliberate: agy /usage only exposes names,
so resolving them to model IDs in the Host would still join on names
while adding catalog-readiness edge cases.

Generated-by: Claude Code (claude-opus-5-5)
…es (#7151)

* fix(desktop): await pasted drafts before pane switches and submission

Restore desktop.type_text(...) at four call sites in desktop_new_session.rs
that immediately press an already-visible submit/close button or switch pane
focus after pasting, eliminating the Windows CI paste/focus race.

Closes #7067

Generated-by: Maka (Gemini)

* test(ci): fix witness JSON fixture, SessionRead suppression expectation, and retire lock race

Fix the three remaining CI failures on rust-preview:

- `maka-agent-engine` (`driver::witness::tests::*`): supply valid JSON
  `{"services": []}` for `RunSpec.tool_selection` instead of empty non-JSON
  bytes so the `agent_memory_read_alias_insert` trigger added in #7147 does
  not fail with SQLite `malformed JSON`.
- `maka-agent-native` (`ax_session_tools::universal_read_and_human_symmetric_session_tools_coordinate_rooms_and_workers`):
  align Step 7 with #7147's history-reader suppression guard—assert that the
  parent's history-resource `Read("maka://...")` omits `resultPath`/`status`
  for Agent callers, and assert via Agent `SessionRead({ sessionId: child_id })`
  that an ordinary workspace `Read("checklist.txt")` retains `resultPath`.
- `maka-cli::integration` (`initialize::public_init_persists_settings_from_stdin_and_rejects_reconfiguration`):
  wait until the retired host actually releases the `RootOwner` lock before
  testing reconfiguration rejection and reopening the store.

Generated-by: Maka (Gemini)
…kbench UX (#7127)

* feat(room): overhaul multi-agent Room architecture, AX tools, and workbench UX

* feat(room): refine Room layout, Telegram-style reactions, motion, and backend fixes

* refactor(room): keep migration 0052 schema-only without legacy data backfill

* fix(room): address review findings across removal SQL, watch/reaction races, layout, and motion

* fix(room): subscribe-before-read sync, O(1) plain-post watch, idle breathing unmount, and prose context-menu/double-click split

* fix(room): keep watch watermark bound to loaded tail and fail loudly on initial roomState error

* fix(room): reconcile paged tail against concurrent watch updates in newer, latest, and focusMessage

* refactor(room): serialize all timeline reads and watch updates via createSerialQueue

* refactor(room): remove stale snapshot patching in saveEdit, deleteMessage, and saveTopic
…oc updates (#7152)

* feat(compat): add forward-upgrade shield, time-capsule harness, and doc updates

Establish forward in-place upgrade guarantees ahead of the first nightly on main:

- Add atomic Rust data-migration hook (`Migration::with_data`) inside
  `maka_event_log::migration` so schema and persisted JSON payloads evolve
  in place within the migration `SAVEPOINT` without legacy read-time branches
  or external migration scripts.
- Add SHA-384 immutable migration ledger verification
  (`scripts/rust/migration-lock.mjs` + `scripts/rust/migrations.lock.json`),
  wired into `just migrations`, `just check`, and always-run PR `tooling` CI.
- Add full-scenario Time Capsule upgrade compatibility harness
  (`products/maka/cli/tests/upgrade_compat.rs` + `scripts/rust/compat-capsule.mjs`)
  exercising Settings, encrypted Vault, Preferences, Sessions/Attachments,
  Code Mode `SessionData`, Fork, Room, Subagent Presets, Personal Memory/Recall,
  and Workspace Checkpoints (including portable export/open).
- Add post-merge replay workflow (`.github/workflows/compat-post-merge.yml`)
  and wire hard `compat-gate` + post-release `seal-capsule` jobs into
  `.github/workflows/nightly.yml`.
- Align `AGENTS.md`, `CONTRIBUTING*.md`, `README*.md`, PR template, and
  Copilot review instructions; remove redundant `.github/skills/code-review/SKILL.md`.

Generated-by: Maka (Gemini)

* chore(github): remove unused copilot-instructions.md

Generated-by: Maka (Gemini)

* docs(agents): rewrite AGENTS.md in English

Generated-by: Maka (Gemini)

* fix(compat): address review findings on migration lock, capsule safety, deployment upgrades, and verify assertions

- Enforce sealed migrations in `migration-lock.mjs check` (`pendingCount > 0`
  now fails until `seal` is committed) while keeping `seal` validating
  locked history before appending.
- Harden `compat-capsule.mjs`: validate archive `baseDir` matches
  `CANONICAL_CAPSULE_DIR` before touching any path (never pass archive-supplied
  paths to `rmSync`), create the `compat-capsules` release atomically with
  both rolling and `capsule-first-nightly.tar.gz` assets, and require the
  permanent baseline asset during `verify-release`.
- Fix `deployment/store.rs` pre-migration schema validation so writer opens
  accept a verified historical prefix before running `migrate()` and enforce
  the complete ledger afterward (with v1->v2 regression test).
- Tighten `upgrade_compat.rs`: deduplicate Host lifecycle via
  `tests/support/host.rs`, assert pre-upgrade conversation context strictly on
  the first post-upgrade request before emitting any tool call, verify exact
  `agent.memory` ID/body, `receipts.read` operation persistence, and online
  `maka checkpoint export` + `open` on the upgraded Root, and fix Vault wording.

Generated-by: Maka (Gemini)

* fix(deployment): unify update schema prefix validation and atomic user_version

- Advance PRAGMA user_version atomically inside store::migrate_with's savepoint
  and require PRAGMA user_version to match the latest applied _sqlx_migrations
  version in validate_schema_with so writers and strict readers share one rule.
- Route lease-held host update/reconcile reads through store::read_for_update
  and allow verified historical prefixes when opening the update writer, keeping
  schema migration and pending-intent insertion atomic in updates::prepare.
- Add an end-to-end v1 -> v2 deployment update regression test covering failed
  prepare rollback and strict post-migration reopen, and tighten upgrade_compat
  personal memory assertions to exact id/body equality.

Generated-by: Maka (Gemini)

* fix(deployment): allow older scheduled updater to hand off newer migrated stores

- Add store::read_handoff so an older scheduled auto-update executable can still
  locate and validate the newer pending/active executor when updates::prepare has
  already migrated deployment.sqlite (e.g. after returning ActiveTasks), without
  ever writing to the newer schema.
- Validate the known historical migration prefix and package path bounds before
  handing off, and keep HandoffRecord tolerant of forward-added JSON fields.
- Pin both v1 -> v2 upgrade regression tests to an explicit v1 catalog so future
  production migrations do not break the baseline fixture, and extend coverage to
  v1 scheduler handoff recovery.

Generated-by: Maka (Gemini)
#7127 merged onto rust-preview right before #7152, adding
plugins/agent/state/migrations/0052_room_overhaul.sql without the new
Migration::data field or migrations.lock.json entry introduced in #7152.

- Initialize data: None on migration 52 in plugins/agent/state/src/lib.rs.
- Seal 0052_room_overhaul.sql into scripts/rust/migrations.lock.json.

Generated-by: Maka (Gemini)
…in switch (#7131)

- Sync missing GitHub environments (release, nightly, product-release) and the
  desktop repository label from main's .asf.yaml.
- Remove the duplicate target-branch: rust-preview GitHub Actions entry in
  .github/dependabot.yml.
- Carry over the published Apache Maka 0.2.2 (incubating) source release
  download links and machine-readable site entry points (robots.txt,
  sitemap.xml, llms.txt) into website/ so switching main does not regress
  maka.apache.org.

Refs: #6366

Generated-by: Maka (Gemini)
…7156)

Bump the Cargo workspace, npm packages, lockfiles, Rust dependency
inventory, and Harbor agent metadata from 0.2.0 to 0.3.0 so the first
nightly published from main ships as 0.3.0-nightly.* instead of reusing
the legacy 0.2.* series.

Also read the workspace CLI version dynamically in release-cli.test.mjs
so future version bumps do not break launcher packaging tests.

Generated-by: Maka (Gemini)
Switch the default branch from the legacy 0.2.x TypeScript codebase
(archived on branch 0.2.x) to the Rust 0.3.0 implementation from
rust-preview, preserving both commit histories and contributor records.

Per Discussion #6366 and PR #7132, this PR must be landed via
Create a merge commit (--merge), after which .asf.yaml automatically
restores squash-only merges on main.

Generated-by: Maka (Gemini)
@github-actions github-actions Bot added the effort/XXL Over 2500 readable lines label Nov 22, 2026

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Let's do it!

@M4n5ter
M4n5ter merged commit ac52d48 into main Nov 22, 2026
24 checks passed
@M4n5ter
M4n5ter deleted the release/switch-main-to-rust branch November 22, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/XXL Over 2500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.