Skip to content

feat(judgment): ground execution evidence and progress feedback - #880

Merged
XuPeng-SH merged 5 commits into
matrixorigin:mainfrom
XuPeng-SH:experiment/judgment-top1-cost-boundary
Sep 25, 2026
Merged

XuPeng-SH merged 5 commits into
matrixorigin:mainfrom
XuPeng-SH:experiment/judgment-top1-cost-boundary

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Consolidate typed judgment validation, invocation-scoped execution evidence, Explain provenance, memory selection cost reporting, and evidence-based harness scoring.
  • Ground optional progress feedback in observed provider boundaries, without unsupported claims about what the model received or ignored.
  • Make long-running execution more robust across CLI deadlines, child/delegated runs, cancellation, terminal settlement, and harness evidence collection. Preserve in-flight terminal COMMIT resolution instead of dropping its future at a local lease deadline.
  • Remove superseded tool-result-selection paths and update the corresponding design and testing contracts.
  • Address the deep review: preserve UTF-8/SSE fragments through consecutive Edge tool windows and coalescing, return a durable competing terminal winner after timeout, and report validated context input independently of complete billing lanes.

Related issue

Refs #862

Change type

  • Feature
  • Bug fix
  • Documentation
  • Refactor or performance improvement
  • Test

User and compatibility impact

Explain and usage output distinguish primary and auxiliary judgment work. Harness outcomes reject unsupported or incomplete evidence. Long tasks receive explicit deadlines and safer cancellation/cleanup behavior. Jev remains optional; no-Jev and ordinary-LLM paths use the shared runtime contract. The CLI now preserves a known physical input measurement when pricing lanes are incomplete. Exact session cost remains unpriced when persisted records do not establish per-request model attribution; the last model of a turn is insufficient evidence to price all requests.

Architecture and complexity delta

  • Shared turn/runtime judgment, usage, deadline, terminal settlement, and evidence types remain the canonical owners; the harness consumes typed observations.
  • CLI, runtime, services, SDK, and harness callers were checked for the affected contracts.
  • The dormant tool-result selector and redundant paths were removed. Jev and ordinary LLMs remain optional capacity choices, not separate lifecycle owners.
  • The follow-up fix adds no table or normal-path SQL transaction. On a timed-out owner terminal race, it reuses the durable row already loaded for receipt reconciliation instead of reading full run history again. Repeated tool invocations may execute more often after the intentional removal of cross-invocation read caching; per-task cost has not been benchmarked.

Verification

  • Current head c8b85e0bd: focused stream/terminal/CLI regressions and neighboring controls passed, 10/10.
  • Affected astra-runtime, astra-turn-core, and astra-cli library suites passed 14,780/14,780; 97 ignored tests were skipped by this command.
  • make format-check, make check (Clippy, format, Rust compile, Web typecheck), and make test-contract (16/16) passed.
  • GPT-6 Astra high independently reviewed the final follow-up diff, including the successive tool and coalescing fixes, and found no remaining confirmed P1/P2. This is a scoped review, not a claim that every path in the 199-file PR was exhaustively audited.
  • No fresh live-provider end-to-end or live MatrixOne lane was completed on this head. Normal-path SQL/transaction counts, physical I/O, and base/head per-completed-task cost and latency have not been measured; CI status is not substituted for those measurements.
  • Terminal DB settlement intentionally retains in-flight COMMIT and its lost-ack handling. A database request that never responds still needs an explicit phase-aware recovery design; this PR does not claim a strict end-to-end database stall bound.

Final checklist

  • Tests added or updated at the owning layer.
  • Public/design documentation updated for contract changes.
  • Committed paths checked for credentials, private configuration, generated files, and sensitive artifacts; local .models.yaml was not committed.
  • PR title follows Conventional Commit format.

Consolidate typed judgment validation, invocation-scoped evidence, Explain provenance, memory selection cost, and truthful harness scoring. Ground progress feedback in observed provider boundaries and make long-running child/delegation deadlines, cancellation, terminal settlement, and harness evidence handling robust.

Refs matrixorigin#862
@XuPeng-SH
XuPeng-SH force-pushed the experiment/judgment-top1-cost-boundary branch from 16db278 to ec23f5e Compare September 24, 2026 18:27

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Deep review of 66750ec..c648622 (full PR, not only the CI-fix commit).

结论:建议 Request changes。两个阻塞性问题见 inline comments,均已在独立 worktree 用确定性回归复现,未修改 PR 分支。

  • P1:durable terminal 已提交,等待 store 返回/投影刷新时本地 lease deadline 到期,调用方仍收到错误并被取消。
  • P2:provider 已报告的 inclusive prompt 用量因计费分项不全被丢弃,依赖实测输入量的预算保护失效。

数据库/性能:

  1. 本次检查没有发现新增数据库表或为每次 judgment 新增的独立 SQL 查询;qualified usage 汇总使用内存中的 attempt facts,deadline 计算也不需要 DB。移除 tool-result selector 还消除了该路径的辅助推理/相关读取。
  2. 但不能据此断言总读写负担不增加:跨调用结果复用改为 invocation-scoped replay,新的 invocation 会重新执行;重复 validation 的固定上限也被移除。相同任务可能产生更多实际工具执行及相关记录;取消 selector 后,保留的工具上下文也可能增加模型输入。需要按相同工作负载比较,而不是只数新增 SQL。
  3. 新增 session_success_ledger_cost_probe 仍输出 pending_external_trace_validation 和 physical_write_bytes=null,不是前后对照性能结果。此次 review 未启动真实数据库、未调用 live provider,也未测物理写入量,不能保证无吞吐/P95 回退。

修改意图:
真实区分 native probability/discrete decision、unknown usage 不伪装为 0、观察证据绑定 invocation、为父任务预留终态时间,这些方向有设计及单测支撑。但终态确定性和输入预算保护是这些目标必须保住的基础约束,目前两个复现表明实现证据不足以支持直接合并。建议修复后补充提交成功但响应延迟/丢失、投影阻塞、部分 usage、重试及 child timeout/cancel 的合同覆盖,并在独立测试库做单轮成功、多轮重复观察、失败重试/并发子任务的 base/head 对照,记录 SQL 次数、事务/锁等待、写入量、provider/tool 调用数和端到端延迟。

验证:24 项现有相关终态/lease/usage 测试通过;新增的两项不变量回归均失败并复现上述问题,表明现有覆盖缺少这两个边界。具体触发与修复建议在对应 inline comment。未等待 CI。

注:当前账号是 PR 作者,不能对自己的 PR 提交 GitHub REQUEST_CHANGES 状态,因此提交 COMMENT review,审查结论仍为需要修改。

Comment thread crates/runtime/src/server/run/engine.rs Outdated
Some(expected_owner_generation),
);
let terminal_committed = match terminal_operation.as_ref() {
Some(operation) => tokio::time::timeout_at(operation.deadline(), terminal_transition)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P1] Preserve authoritative terminal results across the lease timeout

这里 timeout_at 包住的不只是未提交的事务,也包括已提交之后的工作。实际 DatabaseRunStateStore::transition_run_status 在 crates/services/src/runs.rs:10961 执行 COMMIT,随后 await repair_run_projection_after_status_for_user,最后才返回 applied=true。只要投影锁等待/返回延迟超过剩余 local lease window,timeout 就会 drop 整个 try_transition future;它内部的 lost-ack reconciliation 根本没有机会执行,operation.retire() 也不会发生。持有 operation mutex 期间 heartbeat 不能续租,最终把已经完成的执行标记 lease_lost 并取消。ServerSubRunExecutor::persist_durable_subrun_status 的 .await? 会把这个错误传给上层,而不是交付已完成的终态结果。

已复现:在现有 FlakyBatchTransitionStore 测试替身中先写入 completed,再延迟 40 秒返回,使用 30 秒 lease 和 Tokio paused time;先确认 durable row 为 completed,再推进时钟,得到 Err("owner-fenced terminal transition exceeded the lease deadline"),lease_lost=true、cancelled=true。这是“提交后返回慢”,不是现有测试覆盖的“提交前一直卡住”。

修复:把权威提交回执与 best-effort projection 分离,确认 exact-generation commit 后立即 retire,再有界刷新投影。COMMIT 响应不确定时必须核对 durable status/event receipts 或交给有界 settlement owner,不能直接将 deadline 当成未提交;提交前等待仍应有界。主路径 persistence.rs:1028 已说明同一 lost-ack 风险,通用 owner-fenced terminal/cancel 路径也需要一致处理。补充 post-commit delay、commit-ack loss 和 pre-commit stall 三类回归。

@@ -18473,14 +17683,15 @@ impl ServerAgenticLoopHost {
has_usage: !result.usage.is_empty()
|| aggregate_usage.is_some_and(|usage| !usage.is_empty()),
usage_is_run_total: false,
current_request_usage: (!result.usage.is_empty()).then_some(
astra_turn_types::RequestTokenUsage {
current_request_usage: (crate::turn::llm::client::provider_usage_status_from_presence(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P2] Keep measured prompt occupancy separate from complete billing evidence

ProviderExact 要求 fresh/read/creation/output 四项都存在,不能用它来决定“是否知道本次请求的输入总量”。例如 OpenAI-dialect 响应 {"prompt_tokens":100000,"completion_tokens":20,"prompt_tokens_details":{"cached_tokens":90000}} 已明确报告 inclusive prompt=100000,但 parse_openai_usage 会因缺少 cache_creation_input_tokens 将 presence.cache_creation_tokens 置 false。这里因此输出 current_request_usage=None;turn_ingest/execution_phase 随后将 last_measured_prompt_tokens 清空,handle_token_budget (execution_phase.rs:8613) 的 ? 直接跳过实测 max_turn_input_tokens 检查。即使 provider 已证明超额,也失去该保护。已有请求前估算不等价于保留这份实测证据。

已用上述原始 usage fixture 经 parse_usage -> LlmCallResult -> result_to_accum_with_usage 复现:期望保留 100000 的请求输入量,实际只有 None。这个问题也影响缺失 output、但 input 总量已知的响应。

修复:单独携带经过校验、属于最后一个物理请求的 inclusive input/context-occupancy evidence,让预算/校准使用它;完整计费分项仍保持 partial/unknown,不能把缺失缓存字段补成 0,也不能使用包含重试或辅助推理的累计 usage 代替。补充缺 cache creation、缺 output、retry aggregate 与 latest physical request 分离的预算回归。

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Deep review — 当前不建议合并

审查范围:base 66750ec53 → head a5b6027b8,重点追踪 SSE/Edge 执行、owner lease/终态收敛、usage→CLI、工具调用去重及数据库持久化边界。整个 PR 涉及 199 个文件;以下是有具体代码路径和最小复现的发现,不把静态检查等同于所有部署路径已验证。

发现 1 个 P1、2 个 P2,详见 inline comments,每项均给出修复方式。在隔离 worktree 中新增诊断用例,三个预期行为均在当前 head 上复现失败;没有修改或提交 PR 分支的代码。

数据库读写与性能

  • 在检查的持久化调用链中未发现新增表,也未发现正常成功路径新增一套独立数据库事务。不能据此推断整体数据库负载不变。
  • 终态响应超时会增加 receipt reread,必要时补事件/修复 projection;generic receipt 路径使用完整 load_run,因此成本随事件历史增长。5 秒等待上限不是扫描量或数据库实际执行时间的上限。
  • 只保留同一 invocation 的 replay,删除跨 invocation 读缓存和重复验证抑制,有利于避免陈旧证据,但相同 read/search/build/test 可以重新执行。单位完成任务的工具次数、耗时、相关日志/ledger 写入及 token 消耗可能增加,尚无 base/head 同任务测量支持净优化结论。
  • 建议对普通成功、重复读取/验证、长历史、取消竞态、COMMIT 回执丢失五类工作负载记录:每个完成任务的 SQL/事务数、读写行数/字节、pool wait、锁等待、p95/p99 收尾耗时、工具执行次数和 provider tokens。当前未运行 live MatrixOne 或 live-provider 对照,不声称零回归。

卡住与异常边界

canonical terminal settlement 为保留 in-flight COMMIT 的 lost-ack 处理而不使用简单总 timeout,这有正确性理由;但其数据库事务/回执恢复仍不能据此获得严格总时限。数据库请求长期无响应时,收尾可能继续等待。需要分别验证 acquire/BEGIN/锁等待、COMMIT 已发送、回执核对阶段;不能靠丢弃 COMMIT future 来修复。这是剩余验证边界,不作为已证实的新死锁。

修改意图是否充分支撑

按调用隔离证据、未知 token 分项不补零、让持久化终态优先于本地超时,方向合理。但实现与可观测结果还未闭环:CLI 仍丢弃有效 input measurement;session_turn_cost_sample_from_row 对所有持久化样本设置 model_attributed: false,目前 session cost 汇总会全部不可计价。保守地不误算费用可以接受,但必须明确这是功能退化/证据尚不完整,而非完整的准确计费实现。PR 描述的验证段仍停留于 ec23f5ec9,应更新到实际 head,并区分已通过测试与未测性能/线上边界。

提交方式为 COMMENT:当前认证账户也是 PR 作者,不能对自己的 PR 提交 REQUEST_CHANGES;此 review 的工程结论仍为先修复再合并。未等待 CI。

Comment on lines +105 to +107
self.framing.extend_from_slice(bytes);
let blocks = drain_complete_sse_event_blocks(&mut self.framing)
.map_err(|error| format!("invalid UTF-8 in SSE read-ahead: {error}"))?;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P1] Edge 预读必须继承主 framer 尚未完成的事件字节

framer.push_bytes 可能同时产出一个完整 tool_request 并保留下一事件的前半段,但执行工具时后续网络字节被交给这里的独立 framing。如果 UTF-8 字符跨越该边界,预读器从 continuation byte 开始解码,会把合法流判成 StreamTransport;随后取消 physical stream(存在 token 时)并清空已积累文本。

已复现:第一 chunk = 完整 bash tool_request + text_delta("中文") 到“中”的第一个字节;工具执行期间送入剩余字节与 [DONE]。review_edge_read_ahead_preserves_utf8_split_before_execution 预期正常完成,实际返回 Some(StreamTransport)。网络 chunk 边界不受应用控制,因此正常中文/其他多字节输出也会触发。

修复:整个物理流保持一个 framing owner,或在进入/退出 Edge 预读时完整移交未完成的原始字节,确保只对从已知 SSE 边界开始的完整事件解码。保留 live-event 丢弃策略时也必须先正确完成 framing;补充 UTF-8、分隔符以及进入/退出工具执行窗口的分片回归测试。

Comment thread crates/runtime/src/server/run/engine.rs Outdated
Comment on lines +2622 to +2623
Ok(Ok(true)) => Ok((true, true)),
Ok(Ok(false)) => Err(deadline_error.to_string()),

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P2] 超时回执核对不能丢掉已经胜出的另一种终态

reconcile_terminal_transition_after_store_error 对 run.status != requested_status 返回 false,即使已经读到同一 owner generation 的有效 terminal winner。这里把它直接转换为 deadline Err,使外层 .await? 绕过 Superseded(durable) 和 operation.retire();原本的正常 CAS-loss 路径会正确保留该终态。终态 operation 被直接 Drop 后,heartbeat 还可能把已完成收敛当作 lease loss;调用者必须再次读取才能恢复已知结果。

已复现:同一 generation 的 durable row 已 Cancelled,Completed 转换的 store 调用延迟 40s,lease policy 为 renewal 10s / lease 30s。review_terminal_timeout_preserves_concurrent_cancellation_winner 预期 Superseded(Cancelled),实际 Err("owner-fenced terminal transition exceeded the lease deadline")。这不代表数据库取消被覆盖,而是成功收敛的结果被误报为失败。

修复:有界 receipt lookup 应返回明确的 Committed / Superseded(durable) / Unresolved,对同代已终态的 winner 退休本地 lease authority 并直接返回 authoritative row;不同 generation 只作为 superseded,不补写本次事件。不要简单把 false 改为普通 CAS loss 后再使用已经过期的原 deadline 读取。补充 Completed-vs-Cancelled/Failed 和 generation replacement 的超时竞态测试。

Comment on lines +4807 to +4810
let request_usage = request_token_usage_from_accum(accum);
if request_usage != self.last_request_token_usage {
if let Some(usage) = request_usage {
self.try_emit_stream_event(chat_stream::StreamEvent::RequestTokenUsage(usage));
}
self.last_request_token_usage = request_usage;
if Some(request_usage) != self.last_request_token_usage {
let measured = request_usage.and_then(|usage| {
usage

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P2] 上下文输入量应独立于完整计费分项传播

当前 ContextWindowMeasured 仍从 current_request_usage 计算,并与其共用去重状态。PR 已允许保留可信 current_request_input_tokens 而将不完整 billing lanes 留为 None(例如已知 inclusive input、cached input,但缺少 cache-creation 分项)。此时 runtime 的 accum.measured_request_input_tokens() 有真实占用量,CLI 却发送 ContextWindowMeasured(None);若 billing lanes 一直为 None,后续 measurement 更新也不会发送。

已复现:current_request_input_tokens = Some(100_000)、current_request_usage = None,canonical measurement 返回 100,000,但 review_partial_physical_input_is_visible_in_context_observers 观察不到 ContextWindowMeasured(Some(100_000)),TUI 会清掉已知占用量。

修复:直接使用 canonical accum.measured_request_input_tokens(),分别跟踪 measured-input 和完整 RequestTokenUsage 的变化。继续保留冲突/未知为 None,不伪造缺失计费分项;补充 partial-only 更新以及 known→unknown→known 的 observer/TUI 回归测试。

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Deep review against c8b85e0bd0a781ae9d16ba3c31ac37ab55161691 (base 66750ec5), emphasizing provider-dialect boundaries, deadlines/cancellation, database amplification, performance, and strength of evidence.

Recommendation

Fix the new P2 finding below before merge. This is a COMMENT review because the authenticated reviewer is also the PR author; it is not an approval. Previously reported issues fixed by c8b85e0 are not being re-reported.

Confirmed finding

[P2] Disjoint OpenAI-compatible usage is incorrectly advertised as an inclusive context measurement. The parser still supports proxies where top-level cache fields are disjoint from prompt_tokens, but assigns measured_input_tokens = prompt for that shape too. The inline comment includes the reproducible input, downstream effect, and repair.

Validation: a temporary Rust test harness imports the unchanged current token_usage.rs directly and links the existing turn-types/turn-core build artifacts. All 43 existing parser tests pass. Three added regression probes fail: complete disjoint input reports 100 rather than 350; partial disjoint input incorrectly reports a complete measurement; passing the complete sample through ChatTurnSseAccum::measured_request_input_tokens() returns None rather than 350. No production source changes were made.

Other review angles / remaining limits

  • Database I/O: No new schema/migration or new unconditional per-round SQL transaction was found in the reviewed usage/judgment paths. Qualified attempt usage is an in-memory snapshot; the observer releases its state lock before persistence awaits. Removal of tool-result selection also removes its auxiliary inference path. However, terminal timeout/error reconciliation still performs a full run read and may repair events/projections, and distinct repeated tool invocations now execute again. Therefore fixed query shape is not proof that per-completed-task read/write load decreases. This review did not run a live MatrixOne SQL-count/rows/connection-pressure comparison.
  • Hangs / cancellation: Child deadlines are narrowed from the same absolute authority; admission retries shrink the advertised budget and CLI admission is externally deadline-bounded. Receipt lookup and projection repair are bounded. The canonical terminal transaction intentionally preserves in-flight COMMIT/lost-ack resolution and still has no end-to-end database-stall bound; the confirmed-commit path also awaits a final run load. This is a residual safety/latency boundary, not a newly reproduced deadlock finding. No real database outage/slow-COMMIT fault injection was performed.
  • Performance / resource amplification: Removing cross-invocation result reuse and validation suppression improves freshness, but can increase repeated read/search/build/test work, prompt bytes, and associated existing ledger writes. Removing optional selection calls can offset some cost; the net effect is not established. Before claiming a top-1/cost/latency improvement, compare base/head on repeated reads, write-then-observe, multi-child work, and slow dependencies, collecting task success, actual tool executions, provider input, SQL work, and p50/p95 latency.
  • Intent and product behavior: Separating unknown usage from zero, durable facts from advisory judgments, and physical context occupancy from accounting aggregates is well motivated. However, persisted session cost is deliberately unavailable while model attribution is absent; current-rate scenarios must not be presented as actual billing. Old checkpoints lacking the newly required nullable usage fields are explicitly rejected by the documented contract. These are intentional limitations, not proof of end-to-end performance gains.

Prior validation on this same head (14,780 affected-library tests; format/check and 16 contract tests) is reused, not claimed as rerun in this review. CI was not awaited. The new dialect probes expose a gap despite those passing gates.

Comment thread crates/runtime/src/turn/token_usage.rs Outdated
Comment on lines +485 to +486
measured_input_tokens: prompt
.filter(|_| !input_invalid && !partition_conflict && !alias_conflict),

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[P2] Respect the disjoint proxy dialect when reporting measured input

This assignment treats every prompt_tokens value as inclusive, although the !inclusive branch above and the existing openai_disjoint_shape_keeps_prompt_as_fresh test explicitly support top-level cache aliases where it is fresh input only. For {"prompt_tokens":100,"completion_tokens":20,"cache_read_input_tokens":200,"cache_creation_input_tokens":50}, the normalized lanes correctly total 350 input tokens, but this field reports 100. ChatTurnSseAccum::measured_request_input_tokens() then sees 100 != 350 and discards the complete measurement (None); handle_token_budget() skips its measured-input guard when that value is absent. If a cache lane is missing, there is no complete partition to cross-check and the underestimated 100 is accepted instead. This affects supported cache-heavy proxy deployments, not just malformed provider responses.

Reproduced on this head with three failing regression probes; all 43 existing parser tests pass. Fix by distinguishing an explicitly disjoint top-level-cache shape from a native inclusive prompt total: use a checked fresh + read + creation sum when all disjoint lanes are known, otherwise leave the measurement unknown; continue using the validated provider prompt total for inclusive shapes. Cover both direct and cumulative-stream parsing, then assert the measurement survives the SSE/context projection and drives the input-budget guard.

@XuPeng-SH
XuPeng-SH merged commit 9f119e4 into matrixorigin:main Sep 25, 2026
26 checks passed
@XuPeng-SH
XuPeng-SH deleted the experiment/judgment-top1-cost-boundary branch September 25, 2026 01:15
@loveRhythm1990 loveRhythm1990 mentioned this pull request Sep 28, 2026
5 tasks done
mergify Bot pushed a commit that referenced this pull request Sep 28, 2026
## Summary

Synchronize the workspace version from `0.2.9` to `0.2.10`. This pull request only updates release metadata. It does not change runtime behavior, create a tag, publish container images, or create a GitHub Release.

`main` already contains the fixes and features that this version names:

- Run-lifecycle 409 conflicts carry stable, structured error codes, and the pre-admission rejection contract is complete for session-slot conflicts (#886).
- Bounded session recovery is hardened (#883).
- Explain artifact recovery and introspection scope is clarified (#885).
- Client-owned skills are routed with the server catalog (#881).
- Execution evidence and progress feedback are grounded for judgment (#880).
- MCP bindings are preserved across chat turns (#887).
- The composer no longer goes stale after a coalesced resize (#889).
- Next-turn assessments are persisted for observability (#888).
- Live run observation load is reduced (#891).
- Partial usage summary output is simplified (#890).
- Web dependency patch/minor updates (#895).

Pinned MatrixOne and Memoria image digests are unchanged.

MOI publishes the client from the selected Astra commit. After this change is on `matrixorigin/Astra`, a MOI source build can set `astra_version` to `0.2.10` and check it against this commit's `Cargo.toml`. Publishing the GitHub Release is a separate step: after merge, run `make release-publish VERSION=0.2.10` from a clean `main` checkout. This pull request does not do that.

## Related issue

No related issue.

## Change type

- [x] Build, CI, or maintenance

## User and compatibility impact

Installed clients do not change until a bundle or GitHub Release is built from this commit. There is no configuration migration. The source version becomes `0.2.10`.

## Architecture and complexity delta

N/A

- Canonical owner changed or extended: none
- Existing implementations and callers searched: the version surfaces covered by `make release-prepare`
- Superseded code, states, tables, shims, or self-only tests removed: none
- If parallel implementations remain, their boundary and retirement condition: none

## Verification

- Commands and results: `make release-prepare VERSION=0.2.10` succeeded. `LC_ALL=C make release-check VERSION=0.2.10` passed.
- Public entrypoint exercised: not published.
- Unhappy paths exercised: `validate-release-version.sh` confirmed the `0.2.10` version surfaces are internally consistent.
- Database verification: not applicable. `make check` and `make test-offline` were not run because this change only rewrites version metadata.

## Final checklist

- [x] I added or updated tests at the layer that owns the behavior, or explained why no test is needed.
- [x] I updated public or design documentation for contract changes, or the change needs no documentation update.
- [x] I checked the diff for credentials, private URLs, customer data, generated files, and other sensitive information.
- [x] The PR title follows the repository's Conventional Commit format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Approved-by: XuPeng-SH <[email protected]>
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.

1 participant