diff --git a/docs/product/releases/v2.4.0.md b/docs/product/releases/v2.4.0.md index 8f5f9942e5..829365a5fb 100644 --- a/docs/product/releases/v2.4.0.md +++ b/docs/product/releases/v2.4.0.md @@ -21,7 +21,7 @@ loopx doctor ### Highlights - **Create a Goal from Chat and search loaded history.** Review a draft and confirm once to create the Goal and open its conversation when runtime and permissions are ready; search loaded conversations back to original messages, keep saved Research answers intact across Desktop reopenings, recover interrupted answers or pre-dispatch requests, diagnose lost workers, and preserve readable quoted Markdown. [#8676](https://github.com/loopx-project/loopx/pull/8676), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8863](https://github.com/loopx-project/loopx/pull/8863), [#8868](https://github.com/loopx-project/loopx/pull/8868), [#8880](https://github.com/loopx-project/loopx/pull/8880), [#8892](https://github.com/loopx-project/loopx/pull/8892), [#8983](https://github.com/loopx-project/loopx/pull/8983), [#9120](https://github.com/loopx-project/loopx/pull/9120), [#9125](https://github.com/loopx-project/loopx/pull/9125) -- **Steward monitors, exact-head PR review signals, and protected merge confirmations.** Generic probe-gated `continuous_monitor` Todos support `context_handoff` and bounded `steward_user_actions`, scoped GitHub PR signal monitors aggregate per-monitor findings and deliver one readable report directly into bound App or Feishu `chat_root` sessions (`#9182`), exact-head PR review screening and queue model-coverage tracking power `/confirm` `pr.merge` previews with head/review drift checks, report/queue/pre-dispatch recovery (including stopped/saved candidate recovery and minor JSON delimiter glitch tolerance) hardens cross-endpoint Steward reliability, and opt-in `steward_memory` adds isolated OpenViking memory scoped strictly to verified owner private Steward chats. [#9014](https://github.com/loopx-project/loopx/pull/9014), [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9083](https://github.com/loopx-project/loopx/pull/9083), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182) +- **Steward monitors, exact-head PR review signals, and protected merge confirmations.** Generic probe-gated `continuous_monitor` Todos support `context_handoff` and bounded `steward_user_actions`, scoped GitHub PR signal monitors aggregate per-monitor findings and deliver one readable report directly into bound App or Feishu `chat_root` sessions (`#9182`), exact-head PR review screening and queue model-coverage tracking power `/confirm` `pr.merge` previews with head/review drift checks, bounded advancement evidence, inline autonomous replan settlement with isolated `native_result` sinks, and pre-host deferral retries (`#9187`, `#9188`, `#9191`) alongside report/queue/pre-dispatch recovery (including stopped/saved candidate recovery and minor JSON delimiter glitch tolerance) harden cross-endpoint Steward reliability, and opt-in `steward_memory` adds isolated OpenViking memory scoped strictly to verified owner private Steward chats. [#9014](https://github.com/loopx-project/loopx/pull/9014), [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9083](https://github.com/loopx-project/loopx/pull/9083), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182), [#9187](https://github.com/loopx-project/loopx/pull/9187), [#9188](https://github.com/loopx-project/loopx/pull/9188), [#9191](https://github.com/loopx-project/loopx/pull/9191) - **Recover original work with Complete Turn and `quota_settlement_plan_v2`.** Installed workspaces discover the Manager via the installed CLI and resume authorized Tasks on their original Turn, debit identity, and lazily rebound hard-lease fence (`#9183`); Complete Turn / native host callers compose `loopx_turn_envelope_v1` with runtime-owned `quota_settlement_plan_v2` (`--settle-turn --settlement-receipt`), while ordinary unhosted JSON `quota should-run` retains `quota_packet` as the qualified public default. [#8489](https://github.com/loopx-project/loopx/pull/8489), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8956](https://github.com/loopx-project/loopx/pull/8956), [#9030](https://github.com/loopx-project/loopx/pull/9030), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9084](https://github.com/loopx-project/loopx/pull/9084), [#9097](https://github.com/loopx-project/loopx/pull/9097), [#9111](https://github.com/loopx-project/loopx/pull/9111), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161), [#9183](https://github.com/loopx-project/loopx/pull/9183) - **Antigravity Carbon, per-endpoint preferences, and bidirectional Steward failover.** Registers Antigravity `Carbon` (`gemini-4-carbon-{high,medium,low}`) while keeping `Argon` as the product default, adds `endpoint_models` preferences in `steward_executor_machine_defaults_v1` (with JSON-mode editor guidance), enables bidirectional Codex/Antigravity flexible failover (`loopx-codex-provider-routing 0.15.9`) with Antigravity reasoning-effort capacity aliases and `flexible_primary_available` transitions, recovers Codex loopback relay `401` failures and Steward active-cascade `resume_failed` states, prevents truncated Codex API relay traffic, and preserves Codex session history across model switches. [#8713](https://github.com/loopx-project/loopx/pull/8713), [#8977](https://github.com/loopx-project/loopx/pull/8977), [#8984](https://github.com/loopx-project/loopx/pull/8984), [#9134](https://github.com/loopx-project/loopx/pull/9134), [#9141](https://github.com/loopx-project/loopx/pull/9141), [#9145](https://github.com/loopx-project/loopx/pull/9145), [#9147](https://github.com/loopx-project/loopx/pull/9147), [#9167](https://github.com/loopx-project/loopx/pull/9167), [#9170](https://github.com/loopx-project/loopx/pull/9170) - **Multi-agent collaboration and hardened Lark group/private channels.** Peers read pending results via `read_peer_returns` and `consume_peer_result` without reopening the Manager Inbox, Goal lifetime guard locks batch per Goal, and Lark gains reconnect queue recovery, read-only Steward shortcuts, Turn-scoped native images, shared card callbacks, single-pass card escaping, international setup URL recognition, and input-aware noop backoff reset. [#8668](https://github.com/loopx-project/loopx/pull/8668), [#8695](https://github.com/loopx-project/loopx/pull/8695), [#8741](https://github.com/loopx-project/loopx/pull/8741), [#8871](https://github.com/loopx-project/loopx/pull/8871), [#8921](https://github.com/loopx-project/loopx/pull/8921), [#8990](https://github.com/loopx-project/loopx/pull/8990), [#9027](https://github.com/loopx-project/loopx/pull/9027), [#9085](https://github.com/loopx-project/loopx/pull/9085), [#9114](https://github.com/loopx-project/loopx/pull/9114), [#9117](https://github.com/loopx-project/loopx/pull/9117), [#9119](https://github.com/loopx-project/loopx/pull/9119) @@ -72,20 +72,20 @@ loopx authority-archive upgrade --all-known --require-current - **Personal Workspace & Research continuity:** Conversational Goal creation uses a single draft confirmation with runtime readiness and workspace checks ([#8780](https://github.com/loopx-project/loopx/pull/8780)), loaded conversation search jumps back to original messages ([#8676](https://github.com/loopx-project/loopx/pull/8676)), long conversation headers wrap cleanly on narrow phone viewports ([#9121](https://github.com/loopx-project/loopx/pull/9121)), review materials restore keyboard focus ([#8913](https://github.com/loopx-project/loopx/pull/8913)), manager read views disclose omitted records and recover oversized Todo details through bounded pages ([#8954](https://github.com/loopx-project/loopx/pull/8954), [#8959](https://github.com/loopx-project/loopx/pull/8959), [#8962](https://github.com/loopx-project/loopx/pull/8962)), saved Research results, case links, interrupted answers, lost-worker diagnostics, pre-dispatch requests, and quoted Markdown stay recoverable across Desktop and Lark channels ([#8863](https://github.com/loopx-project/loopx/pull/8863), [#8868](https://github.com/loopx-project/loopx/pull/8868), [#8880](https://github.com/loopx-project/loopx/pull/8880), [#8892](https://github.com/loopx-project/loopx/pull/8892), [#8983](https://github.com/loopx-project/loopx/pull/8983), [#9120](https://github.com/loopx-project/loopx/pull/9120), [#9125](https://github.com/loopx-project/loopx/pull/9125)). - **Steward monitors, exact-head PR review signals, and protected `pr.merge`:** - *User outcome:* Owners can declare natural-language `continuous_monitor` Todos over arbitrary portfolio/repository signals, aggregate scoped GitHub PR signal monitors without cross-monitor wakeups and receive one readable report directly in bound App or Feishu `chat_root` sessions (`#9182`), triage exact-head GitHub PR reviews (including author-owned `COMMENTED` fallback verdicts and conflict detection), and confirm protected `pr.merge` previews with `/confirm` bound to PR head, approval URL, and bypassed gates. - - *Shipped layer:* TypeScript admission & probe gates (`steward_managed_mode.ts`), `github_pr_evidence.py`, `steward_pr_merge.py`, `steward_monitor.py`, and `steward_turn.py` (`#9074`, `#9081`, `#9093`, `#9143`, `#9182`), plus report validator drift/Python-upgrade tolerance, frozen/stopped report contract recovery (`#9157`, `#9164`), minor JSON delimiter glitch tolerance in `host_candidate.py` (`#9164`), observation monitor queue preservation, pre-dispatch endpoint failure recovery with bounded receipt discovery (`#9159`), and mid-turn failed report cancellation (`#9155`). - - *Last-mile boundary:* Merge confirmations still require explicit owner `/confirm` and authorized repository scope; unavailable external probes fail closed without overwriting the last verified hash. [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182) + - *Shipped layer:* TypeScript admission & probe gates (`steward_managed_mode.ts`), `github_pr_evidence.py`, `steward_pr_merge.py`, `steward_monitor.py`, and `steward_turn.py` (`#9074`, `#9081`, `#9093`, `#9143`, `#9182`), plus bounded advancement evidence items, inline autonomous replan settlement with isolated `native_result` sinks, and pre-host deferral retries (`#9187`, `#9188`, `#9191`), report validator drift/Python-upgrade tolerance, frozen/stopped report contract recovery (`#9157`, `#9164`), minor JSON delimiter glitch tolerance in `host_candidate.py` (`#9164`), observation monitor queue preservation, pre-dispatch endpoint failure recovery with bounded receipt discovery (`#9159`), and mid-turn failed report cancellation (`#9155`). + - *Last-mile boundary:* Merge confirmations still require explicit owner `/confirm` and authorized repository scope; unavailable external probes fail closed without overwriting the last verified hash. [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182), [#9187](https://github.com/loopx-project/loopx/pull/9187), [#9188](https://github.com/loopx-project/loopx/pull/9188), [#9191](https://github.com/loopx-project/loopx/pull/9191) - **Isolated OpenViking Steward memory (`steward_memory`):** - *User outcome:* Private owner Steward conversations can recall standing preferences and past exchanges without leaking memory into group chats, project conversations, or worker Agents. - *Shipped layer:* Default-off `steward_memory` machine configuration namespace (`steward_memory_machine_defaults_v0`), TypeScript policy/normalization owner (`steward_memory.ts`), host adapter (`loopx/capabilities/steward_memory/`), Dashboard Settings UI, and `OPENVIKING_*` worker env scrubbing. - *Last-mile boundary:* Explicitly opt-in (`enabled: false` by default); requires operator-configured OpenViking CLI/credentials on the Chat host and excludes project chats, group channels, monitor/report/review turns, and unverified senders. [#9083](https://github.com/loopx-project/loopx/pull/9083) -- **LooChat workbench (experimental):** Imports the Calli TypeScript/web workbench (`apps/workbench/`, `@loopx/loochat`) next to the existing dashboard as an optional conversation layer with Goal creation, task/acceptance views, and `/api/loopx/*` proxying to Core; automatic LoopX continuation remains owned by Core rather than the workbench UI. [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9113](https://github.com/loopx-project/loopx/pull/9113) +- **LooChat workbench (experimental):** Imports the Calli TypeScript/web workbench (`apps/workbench/`, `@loopx/loochat`) next to the existing dashboard as an optional conversation layer with Goal creation, task/acceptance views, recoverable cross-directory local session discovery (`LOOCHAT_HIDDEN_SESSION_DIRS` and explicit import workdirs), and `/api/loopx/*` proxying to Core; automatic LoopX continuation remains owned by Core rather than the workbench UI. [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9063](https://github.com/loopx-project/loopx/pull/9063), [#9113](https://github.com/loopx-project/loopx/pull/9113) - **Material lifecycle & Explore / Context cleanup:** Material lifecycle adds stateless wave-based rerank previews (`plan-wave-rerank`) while keeping ranking application owner-authorized ([#8579](https://github.com/loopx-project/loopx/pull/8579)); Yardstick evaluation defers until explicitly selected and empty Todo queues stay out of ordinary worker context ([#9034](https://github.com/loopx-project/loopx/pull/9034), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060)); and the unqualified compaction working memory experiment is retired ([#8928](https://github.com/loopx-project/loopx/pull/8928)). ## Quality & Testing - **SQLite reliability & ENOSPC matrix:** Expanded regression coverage across lagging persisted-cursor consumers, backup/restore lineage, concurrent CAS and lost-response retries, and disk-full injection (`SQLITE_FULL` and real macOS `ENOSPC` sparse volume fail-closed recovery). [#8367](https://github.com/loopx-project/loopx/pull/8367), [#8482](https://github.com/loopx-project/loopx/pull/8482), [#8498](https://github.com/loopx-project/loopx/pull/8498), [#9126](https://github.com/loopx-project/loopx/pull/9126) -- **Type safety, CLI modularization & test isolation:** Eliminated `Any` annotations with ratchet baselines across control-plane, quota, Lark, reward-memory, benchmark, and domain-pack modules (`#8971`–`#8993`, `#8013`), modularized large CLI, `issue-fix`, and Lark/Chat modules (`#8897`, `#8909`, `#8911`, `#8920`, `#8925`, `#8929`, `#8931`, `#8933`, `#8939`), pruned ceremonial/obsolete smoke stacks (`#8883`, `#8884`, `#9073`), pinned C1/Complete Turn output budgets, CLI help catalogs, architecture import guards, onboarding gates, UTF-8 host transports, and settlement tests (`#8940`, `#8994`, `#9010`, `#9019`, `#9025`, `#9042`, `#9044`, `#9048`, `#9052`, `#9102`, `#9104`, `#9152`, `#9154`, `#9156`, `#9158`, `#9160`, `#9161`), and bound `doctor` package update readback to its owning Python environment (`#9009`). [#8013](https://github.com/loopx-project/loopx/pull/8013), [#8897](https://github.com/loopx-project/loopx/pull/8897), [#8933](https://github.com/loopx-project/loopx/pull/8933), [#8940](https://github.com/loopx-project/loopx/pull/8940), [#8971](https://github.com/loopx-project/loopx/pull/8971), [#8994](https://github.com/loopx-project/loopx/pull/8994), [#9009](https://github.com/loopx-project/loopx/pull/9009), [#9044](https://github.com/loopx-project/loopx/pull/9044), [#9102](https://github.com/loopx-project/loopx/pull/9102), [#9104](https://github.com/loopx-project/loopx/pull/9104), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9156](https://github.com/loopx-project/loopx/pull/9156), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161) -- **Canary & release qualification gates:** Strengthened base/head CLI probe and budget-baseline isolation (`#8948`, `#9103`), complete C1 input routing for external-wait host prompt probes (`#8981`), peer-runtime controller-ownership classification in canary checks (`#9092`), runtime snapshot qualification (`#8919`, `#8922`, `#8952`, `#9018`), canary timeout/incomplete diagnostics (`#9001`), Git pathname preservation (`#8426`, `#8429`, `#8558`, `#8585`, `#8645`, `#8678`), unified local-path URL vs `path:` verdicts across presentation and public-output guards (`#9080`), and local-first verification and public smoke workflows (`#9040`, `#9152`), alongside `--max-workers` concurrent live portfolio qualification, an `8 KiB` host-tool error output cap preserving deep-path replan context recovery, digest consumer manifest & multi-goal bootstrap smoke alignment, standalone `test_effect_turn_live_quota_decision` import qualification (`#9168`), `--settle-turn` vision-closeout receipt / creation-allowance wakeup race hardening (`#9178`), and lazy resumed task-lease rebinding plus goal-frontier maintainability extraction (`#9183`). [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8919](https://github.com/loopx-project/loopx/pull/8919), [#8922](https://github.com/loopx-project/loopx/pull/8922), [#8948](https://github.com/loopx-project/loopx/pull/8948), [#8952](https://github.com/loopx-project/loopx/pull/8952), [#8981](https://github.com/loopx-project/loopx/pull/8981), [#9001](https://github.com/loopx-project/loopx/pull/9001), [#9018](https://github.com/loopx-project/loopx/pull/9018), [#9040](https://github.com/loopx-project/loopx/pull/9040), [#9080](https://github.com/loopx-project/loopx/pull/9080), [#9092](https://github.com/loopx-project/loopx/pull/9092), [#9103](https://github.com/loopx-project/loopx/pull/9103), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9168](https://github.com/loopx-project/loopx/pull/9168), [#9178](https://github.com/loopx-project/loopx/pull/9178), [#9183](https://github.com/loopx-project/loopx/pull/9183) +- **Type safety, CLI modularization & test isolation:** Eliminated `Any` annotations with ratchet baselines across control-plane, quota, Lark, reward-memory, benchmark, and domain-pack modules (`#8971`–`#8993`, `#8013`), modularized large CLI, `issue-fix`, and Lark/Chat modules (including internal typed `loopx/chat/` action grouping `#9056`), pruned ceremonial/obsolete smoke stacks (`#8883`, `#8884`, `#9073`), reclaimed completed and read-only pytest temporary trees cleanly (`#9070`, `#9189`), pinned C1/Complete Turn output budgets, CLI help catalogs, architecture import guards, onboarding gates, UTF-8 host transports, and settlement tests (`#8940`, `#8994`, `#9010`, `#9019`, `#9025`, `#9042`, `#9044`, `#9048`, `#9052`, `#9102`, `#9104`, `#9152`, `#9154`, `#9156`, `#9158`, `#9160`, `#9161`), and bound `doctor` package update readback to its owning Python environment (`#9009`). [#8013](https://github.com/loopx-project/loopx/pull/8013), [#8897](https://github.com/loopx-project/loopx/pull/8897), [#8933](https://github.com/loopx-project/loopx/pull/8933), [#8940](https://github.com/loopx-project/loopx/pull/8940), [#8971](https://github.com/loopx-project/loopx/pull/8971), [#8994](https://github.com/loopx-project/loopx/pull/8994), [#9009](https://github.com/loopx-project/loopx/pull/9009), [#9044](https://github.com/loopx-project/loopx/pull/9044), [#9056](https://github.com/loopx-project/loopx/pull/9056), [#9070](https://github.com/loopx-project/loopx/pull/9070), [#9102](https://github.com/loopx-project/loopx/pull/9102), [#9104](https://github.com/loopx-project/loopx/pull/9104), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9156](https://github.com/loopx-project/loopx/pull/9156), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161), [#9189](https://github.com/loopx-project/loopx/pull/9189) +- **Canary & release qualification gates:** Strengthened base/head CLI probe and budget-baseline isolation (`#8948`, `#9103`), complete C1 input routing for external-wait host prompt probes (`#8981`), peer-runtime controller-ownership classification in canary checks (`#9092`), runtime snapshot qualification (`#8919`, `#8922`, `#8952`, `#9018`), canary timeout/incomplete diagnostics (`#9001`), Git pathname preservation (`#8426`, `#8429`, `#8558`, `#8585`, `#8645`, `#8678`), unified local-path URL vs `path:` verdicts across presentation and public-output guards (`#9080`, preserving bare-root inline code examples in `#9190`), and local-first verification and public smoke workflows (`#9040`, `#9152`), alongside `--max-workers` concurrent live portfolio qualification, an `8 KiB` host-tool error output cap preserving deep-path replan context recovery, digest consumer manifest & multi-goal bootstrap smoke alignment, standalone `test_effect_turn_live_quota_decision` import qualification (`#9168`), `--settle-turn` vision-closeout receipt / creation-allowance wakeup race hardening (`#9178`), lazy resumed task-lease rebinding plus goal-frontier maintainability extraction (`#9183`), and unmanaged Lark poll retirement / `generic-cli` validator lease gating fixes (`#9190`). [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8919](https://github.com/loopx-project/loopx/pull/8919), [#8922](https://github.com/loopx-project/loopx/pull/8922), [#8948](https://github.com/loopx-project/loopx/pull/8948), [#8952](https://github.com/loopx-project/loopx/pull/8952), [#8981](https://github.com/loopx-project/loopx/pull/8981), [#9001](https://github.com/loopx-project/loopx/pull/9001), [#9018](https://github.com/loopx-project/loopx/pull/9018), [#9040](https://github.com/loopx-project/loopx/pull/9040), [#9080](https://github.com/loopx-project/loopx/pull/9080), [#9092](https://github.com/loopx-project/loopx/pull/9092), [#9103](https://github.com/loopx-project/loopx/pull/9103), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9168](https://github.com/loopx-project/loopx/pull/9168), [#9178](https://github.com/loopx-project/loopx/pull/9178), [#9183](https://github.com/loopx-project/loopx/pull/9183), [#9190](https://github.com/loopx-project/loopx/pull/9190) ## Benchmarks & Integrations @@ -107,7 +107,7 @@ loopx authority-archive upgrade --all-known --require-current - [@2430468136](https://github.com/2430468136) (first merged contribution) — Unified report, semantics, and actor-result testing field ownership. [#8629](https://github.com/loopx-project/loopx/pull/8629), [#8832](https://github.com/loopx-project/loopx/pull/8832), [#8833](https://github.com/loopx-project/loopx/pull/8833) - [@BigDataDZ](https://github.com/BigDataDZ) — Handled Windows clock skew in source leases and stabilized lease inventory ordering. [#8761](https://github.com/loopx-project/loopx/pull/8761), [#8762](https://github.com/loopx-project/loopx/pull/8762) - [@cf3901646](https://github.com/cf3901646) (first merged contribution) — Exposed the underlying SQLite error in authority-store status diagnostics. [#8459](https://github.com/loopx-project/loopx/pull/8459) -- [@cocolord](https://github.com/cocolord) — Retired legacy Goal pause metadata with backed-up upgrades, delivered one-confirmation Goal creation, prepared missing leases on first declared `generic-cli` Turns and routed stateless capture selection through the TypeScript owner, qualified standalone Core packaging and installed Manager discovery, retired experimental compaction memory, deferred Yardstick/benchmark discovery, and refined replan/research/acceptance paths. [#8372](https://github.com/loopx-project/loopx/pull/8372), [#8374](https://github.com/loopx-project/loopx/pull/8374), [#8431](https://github.com/loopx-project/loopx/pull/8431), [#8433](https://github.com/loopx-project/loopx/pull/8433), [#8443](https://github.com/loopx-project/loopx/pull/8443), [#8456](https://github.com/loopx-project/loopx/pull/8456), [#8466](https://github.com/loopx-project/loopx/pull/8466), [#8474](https://github.com/loopx-project/loopx/pull/8474), [#8478](https://github.com/loopx-project/loopx/pull/8478), [#8481](https://github.com/loopx-project/loopx/pull/8481), [#8531](https://github.com/loopx-project/loopx/pull/8531), [#8544](https://github.com/loopx-project/loopx/pull/8544), [#8545](https://github.com/loopx-project/loopx/pull/8545), [#8565](https://github.com/loopx-project/loopx/pull/8565), [#8578](https://github.com/loopx-project/loopx/pull/8578), [#8582](https://github.com/loopx-project/loopx/pull/8582), [#8590](https://github.com/loopx-project/loopx/pull/8590), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8624](https://github.com/loopx-project/loopx/pull/8624), [#8652](https://github.com/loopx-project/loopx/pull/8652), [#8658](https://github.com/loopx-project/loopx/pull/8658), [#8661](https://github.com/loopx-project/loopx/pull/8661), [#8665](https://github.com/loopx-project/loopx/pull/8665), [#8669](https://github.com/loopx-project/loopx/pull/8669), [#8671](https://github.com/loopx-project/loopx/pull/8671), [#8673](https://github.com/loopx-project/loopx/pull/8673), [#8686](https://github.com/loopx-project/loopx/pull/8686), [#8687](https://github.com/loopx-project/loopx/pull/8687), [#8691](https://github.com/loopx-project/loopx/pull/8691), [#8699](https://github.com/loopx-project/loopx/pull/8699), [#8736](https://github.com/loopx-project/loopx/pull/8736), [#8738](https://github.com/loopx-project/loopx/pull/8738), [#8740](https://github.com/loopx-project/loopx/pull/8740), [#8743](https://github.com/loopx-project/loopx/pull/8743), [#8744](https://github.com/loopx-project/loopx/pull/8744), [#8746](https://github.com/loopx-project/loopx/pull/8746), [#8747](https://github.com/loopx-project/loopx/pull/8747), [#8749](https://github.com/loopx-project/loopx/pull/8749), [#8764](https://github.com/loopx-project/loopx/pull/8764), [#8769](https://github.com/loopx-project/loopx/pull/8769), [#8774](https://github.com/loopx-project/loopx/pull/8774), [#8777](https://github.com/loopx-project/loopx/pull/8777), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8788](https://github.com/loopx-project/loopx/pull/8788), [#8790](https://github.com/loopx-project/loopx/pull/8790), [#8792](https://github.com/loopx-project/loopx/pull/8792), [#8793](https://github.com/loopx-project/loopx/pull/8793), [#8795](https://github.com/loopx-project/loopx/pull/8795), [#8798](https://github.com/loopx-project/loopx/pull/8798), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8805](https://github.com/loopx-project/loopx/pull/8805), [#8807](https://github.com/loopx-project/loopx/pull/8807), [#8813](https://github.com/loopx-project/loopx/pull/8813), [#8818](https://github.com/loopx-project/loopx/pull/8818), [#8820](https://github.com/loopx-project/loopx/pull/8820), [#8821](https://github.com/loopx-project/loopx/pull/8821), [#8822](https://github.com/loopx-project/loopx/pull/8822), [#8824](https://github.com/loopx-project/loopx/pull/8824), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8840](https://github.com/loopx-project/loopx/pull/8840), [#8846](https://github.com/loopx-project/loopx/pull/8846), [#8872](https://github.com/loopx-project/loopx/pull/8872), [#8915](https://github.com/loopx-project/loopx/pull/8915), [#8928](https://github.com/loopx-project/loopx/pull/8928), [#9034](https://github.com/loopx-project/loopx/pull/9034), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060), [#9072](https://github.com/loopx-project/loopx/pull/9072), [#9073](https://github.com/loopx-project/loopx/pull/9073), [#9142](https://github.com/loopx-project/loopx/pull/9142) +- [@cocolord](https://github.com/cocolord) — Retired legacy Goal pause metadata with backed-up upgrades, delivered one-confirmation Goal creation, prepared missing leases on first declared `generic-cli` Turns and routed stateless capture selection through the TypeScript owner, qualified standalone Core packaging and installed Manager discovery, grouped internal chat action modules and reclaimed completed pytest temporary directories, retired experimental compaction memory, deferred Yardstick/benchmark discovery, and refined replan/research/acceptance paths. [#8372](https://github.com/loopx-project/loopx/pull/8372), [#8374](https://github.com/loopx-project/loopx/pull/8374), [#8431](https://github.com/loopx-project/loopx/pull/8431), [#8433](https://github.com/loopx-project/loopx/pull/8433), [#8443](https://github.com/loopx-project/loopx/pull/8443), [#8456](https://github.com/loopx-project/loopx/pull/8456), [#8466](https://github.com/loopx-project/loopx/pull/8466), [#8474](https://github.com/loopx-project/loopx/pull/8474), [#8478](https://github.com/loopx-project/loopx/pull/8478), [#8481](https://github.com/loopx-project/loopx/pull/8481), [#8531](https://github.com/loopx-project/loopx/pull/8531), [#8544](https://github.com/loopx-project/loopx/pull/8544), [#8545](https://github.com/loopx-project/loopx/pull/8545), [#8565](https://github.com/loopx-project/loopx/pull/8565), [#8578](https://github.com/loopx-project/loopx/pull/8578), [#8582](https://github.com/loopx-project/loopx/pull/8582), [#8590](https://github.com/loopx-project/loopx/pull/8590), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8624](https://github.com/loopx-project/loopx/pull/8624), [#8652](https://github.com/loopx-project/loopx/pull/8652), [#8658](https://github.com/loopx-project/loopx/pull/8658), [#8661](https://github.com/loopx-project/loopx/pull/8661), [#8665](https://github.com/loopx-project/loopx/pull/8665), [#8669](https://github.com/loopx-project/loopx/pull/8669), [#8671](https://github.com/loopx-project/loopx/pull/8671), [#8673](https://github.com/loopx-project/loopx/pull/8673), [#8686](https://github.com/loopx-project/loopx/pull/8686), [#8687](https://github.com/loopx-project/loopx/pull/8687), [#8691](https://github.com/loopx-project/loopx/pull/8691), [#8699](https://github.com/loopx-project/loopx/pull/8699), [#8736](https://github.com/loopx-project/loopx/pull/8736), [#8738](https://github.com/loopx-project/loopx/pull/8738), [#8740](https://github.com/loopx-project/loopx/pull/8740), [#8743](https://github.com/loopx-project/loopx/pull/8743), [#8744](https://github.com/loopx-project/loopx/pull/8744), [#8746](https://github.com/loopx-project/loopx/pull/8746), [#8747](https://github.com/loopx-project/loopx/pull/8747), [#8749](https://github.com/loopx-project/loopx/pull/8749), [#8764](https://github.com/loopx-project/loopx/pull/8764), [#8769](https://github.com/loopx-project/loopx/pull/8769), [#8774](https://github.com/loopx-project/loopx/pull/8774), [#8777](https://github.com/loopx-project/loopx/pull/8777), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8788](https://github.com/loopx-project/loopx/pull/8788), [#8790](https://github.com/loopx-project/loopx/pull/8790), [#8792](https://github.com/loopx-project/loopx/pull/8792), [#8793](https://github.com/loopx-project/loopx/pull/8793), [#8795](https://github.com/loopx-project/loopx/pull/8795), [#8798](https://github.com/loopx-project/loopx/pull/8798), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8805](https://github.com/loopx-project/loopx/pull/8805), [#8807](https://github.com/loopx-project/loopx/pull/8807), [#8813](https://github.com/loopx-project/loopx/pull/8813), [#8818](https://github.com/loopx-project/loopx/pull/8818), [#8820](https://github.com/loopx-project/loopx/pull/8820), [#8821](https://github.com/loopx-project/loopx/pull/8821), [#8822](https://github.com/loopx-project/loopx/pull/8822), [#8824](https://github.com/loopx-project/loopx/pull/8824), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8840](https://github.com/loopx-project/loopx/pull/8840), [#8846](https://github.com/loopx-project/loopx/pull/8846), [#8872](https://github.com/loopx-project/loopx/pull/8872), [#8915](https://github.com/loopx-project/loopx/pull/8915), [#8928](https://github.com/loopx-project/loopx/pull/8928), [#9034](https://github.com/loopx-project/loopx/pull/9034), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9056](https://github.com/loopx-project/loopx/pull/9056), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060), [#9070](https://github.com/loopx-project/loopx/pull/9070), [#9072](https://github.com/loopx-project/loopx/pull/9072), [#9073](https://github.com/loopx-project/loopx/pull/9073), [#9142](https://github.com/loopx-project/loopx/pull/9142) - [@Duang777](https://github.com/Duang777) — Rejected invalid quota clocks and calendar timestamps, preserved same-second recovery, handled torn multibyte history rows, fenced historical ACK admission and writeback by GoalRef, hardened ingress/migration/glob/botmux checks, and reset Lark noop recovery backoff when Turn or session inputs change. [#8371](https://github.com/loopx-project/loopx/pull/8371), [#8632](https://github.com/loopx-project/loopx/pull/8632), [#8679](https://github.com/loopx-project/loopx/pull/8679), [#8680](https://github.com/loopx-project/loopx/pull/8680), [#8681](https://github.com/loopx-project/loopx/pull/8681), [#8682](https://github.com/loopx-project/loopx/pull/8682), [#8683](https://github.com/loopx-project/loopx/pull/8683), [#8684](https://github.com/loopx-project/loopx/pull/8684), [#8731](https://github.com/loopx-project/loopx/pull/8731), [#8804](https://github.com/loopx-project/loopx/pull/8804), [#8907](https://github.com/loopx-project/loopx/pull/8907), [#8975](https://github.com/loopx-project/loopx/pull/8975), [#9119](https://github.com/loopx-project/loopx/pull/9119) - [@eltociear](https://github.com/eltociear) (first merged contribution) — Added the Japanese README and linked it from the existing public entrypoints. [#8839](https://github.com/loopx-project/loopx/pull/8839) - [@gcl-coder](https://github.com/gcl-coder) — Preserved exact Git paths across Issue Fix, canary, Integration Branch, and Change Quality, unified local-path verdicts across presentation and public-output guards, and fenced Python follow-ups on superseded heartbeat receipts. [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8429](https://github.com/loopx-project/loopx/pull/8429), [#8558](https://github.com/loopx-project/loopx/pull/8558), [#8585](https://github.com/loopx-project/loopx/pull/8585), [#8603](https://github.com/loopx-project/loopx/pull/8603), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8647](https://github.com/loopx-project/loopx/pull/8647), [#8678](https://github.com/loopx-project/loopx/pull/8678), [#9080](https://github.com/loopx-project/loopx/pull/9080) @@ -117,7 +117,7 @@ loopx authority-archive upgrade --all-known --require-current - [@LIHUA919](https://github.com/LIHUA919) — Covered SQLite consumer, lineage, CAS/retry, and disk-full ENOSPC recovery boundaries, cleaned unused workspace UI props, rejected superseded heartbeat receipts, and added single-pass Lark operation card text escaping. [#8367](https://github.com/loopx-project/loopx/pull/8367), [#8414](https://github.com/loopx-project/loopx/pull/8414), [#8482](https://github.com/loopx-project/loopx/pull/8482), [#8498](https://github.com/loopx-project/loopx/pull/8498), [#8708](https://github.com/loopx-project/loopx/pull/8708), [#9114](https://github.com/loopx-project/loopx/pull/9114), [#9126](https://github.com/loopx-project/loopx/pull/9126) - [@Luoluoluo0110](https://github.com/Luoluoluo0110) (first merged contribution) — Unified issue-close events, project-ID grammar, and backlog bullet parsing. [#8636](https://github.com/loopx-project/loopx/pull/8636), [#8637](https://github.com/loopx-project/loopx/pull/8637), [#8638](https://github.com/loopx-project/loopx/pull/8638) - [@lurenxiao1998](https://github.com/lurenxiao1998) (first merged contribution) — Preserved intentional watches in replan history. [#8672](https://github.com/loopx-project/loopx/pull/8672) -- [@maxliux5](https://github.com/maxliux5) — Brought the Calli workbench into `apps/workbench/` as the experimental LooChat conversation layer with LoopX Goal conversations. [#8843](https://github.com/loopx-project/loopx/pull/8843) +- [@maxliux5](https://github.com/maxliux5) — Brought the Calli workbench into `apps/workbench/` as the experimental LooChat conversation layer with LoopX Goal conversations and cross-directory local session discovery. [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9063](https://github.com/loopx-project/loopx/pull/9063) - [@mojunzi](https://github.com/mojunzi) (first merged contribution) — Enabled owner closeout of an exact linked user gate for a single-agent Goal and recognized international Lark setup URLs. [#8844](https://github.com/loopx-project/loopx/pull/8844), [#8871](https://github.com/loopx-project/loopx/pull/8871) - [@psychologister](https://github.com/psychologister) (first merged contribution) — Routed recall hashes and Issue-Fix maintainer/reviewer vocabularies through canonical owners. [#8611](https://github.com/loopx-project/loopx/pull/8611), [#8613](https://github.com/loopx-project/loopx/pull/8613), [#8826](https://github.com/loopx-project/loopx/pull/8826) - [@Seyamalam](https://github.com/Seyamalam) (first merged contribution) — Repaired Issue-Fix reviewer protocol links and pinned host-selection, user-gate `item_patch`, and heartbeat-prompt smokes to shipped contracts. [#8834](https://github.com/loopx-project/loopx/pull/8834), [#8867](https://github.com/loopx-project/loopx/pull/8867), [#8951](https://github.com/loopx-project/loopx/pull/8951), [#8996](https://github.com/loopx-project/loopx/pull/8996) @@ -429,7 +429,7 @@ loopx doctor ### 主要变化 - **一次确认创建 Goal 与对话历史检索。** 在 Chat 审核并确认一次草稿即可创建 Goal 并打开原会话;支持在已载入会话中搜索并跳回原消息,桌面重开后保留已保存研究回答、恢复中断回答及派发前请求、诊断失联 worker 与清晰引用 Markdown。 [#8676](https://github.com/loopx-project/loopx/pull/8676), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8863](https://github.com/loopx-project/loopx/pull/8863), [#8868](https://github.com/loopx-project/loopx/pull/8868), [#8880](https://github.com/loopx-project/loopx/pull/8880), [#8892](https://github.com/loopx-project/loopx/pull/8892), [#8983](https://github.com/loopx-project/loopx/pull/8983), [#9120](https://github.com/loopx-project/loopx/pull/9120), [#9125](https://github.com/loopx-project/loopx/pull/9125) -- **管家通用监控、精确 Head PR 审查信号与受保护合并确认。** 原生管家支持基于探针门控的自然语言 `continuous_monitor`(含 `context_handoff` 与受控 `steward_user_actions`),支持作用域隔离的 GitHub PR 信号监控内部聚合并在触发后向绑定 App 或飞书 `chat_root` 会话投递单篇可读汇报(`#9182`),支持精确 Head PR 审查筛选与队列模型覆盖追踪(`#9014`)及 `/confirm` `pr.merge` 合并预览、跨端点派发前失败与报告/队列恢复(含已停止或已保存报告候选恢复及轻微 JSON 分隔符容错)、以及默认关闭的独立 OpenViking 管家长期记忆(仅限本人私聊)。 [#9014](https://github.com/loopx-project/loopx/pull/9014), [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9083](https://github.com/loopx-project/loopx/pull/9083), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182) +- **管家通用监控、精确 Head PR 审查信号与受保护合并确认。** 原生管家支持基于探针门控的自然语言 `continuous_monitor`(含 `context_handoff` 与受控 `steward_user_actions`),支持作用域隔离的 GitHub PR 信号监控内部聚合并在触发后向绑定 App 或飞书 `chat_root` 会话投递单篇可读汇报(`#9182`),支持精确 Head PR 审查筛选与队列模型覆盖追踪(`#9014`)及 `/confirm` `pr.merge` 合并预览、推进证据有界化、一次提交前重试、主结果分离的自治重规划内联结算及宿主演前 deferral 重试(`#9187`, `#9188`, `#9191`)、跨端点派发前失败与报告/队列恢复(含已停止或已保存报告候选恢复及轻微 JSON 分隔符容错)、以及默认关闭的独立 OpenViking 管家长期记忆(仅限本人私聊)。 [#9014](https://github.com/loopx-project/loopx/pull/9014), [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9083](https://github.com/loopx-project/loopx/pull/9083), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182), [#9187](https://github.com/loopx-project/loopx/pull/9187), [#9188](https://github.com/loopx-project/loopx/pull/9188), [#9191](https://github.com/loopx-project/loopx/pull/9191) - **Complete Turn 与 `quota_settlement_plan_v2` 原任务恢复。** 已安装工作台经 CLI 发现 Manager 并沿原 Turn、扣额身份与惰性重绑定硬租约护栏恢复已授权任务;Complete Turn 与原生宿主组合 `loopx_turn_envelope_v1` 与 `quota_settlement_plan_v2`(`--settle-turn --settlement-receipt`),普通未托管 JSON `quota should-run` 继续保留 `quota_packet` 公开默认。 [#8489](https://github.com/loopx-project/loopx/pull/8489), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8956](https://github.com/loopx-project/loopx/pull/8956), [#9030](https://github.com/loopx-project/loopx/pull/9030), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9084](https://github.com/loopx-project/loopx/pull/9084), [#9097](https://github.com/loopx-project/loopx/pull/9097), [#9111](https://github.com/loopx-project/loopx/pull/9111), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161), [#9183](https://github.com/loopx-project/loopx/pull/9183) - **Antigravity Carbon、每端点模型偏好与双向容灾切换。** 注册 Antigravity `Carbon`(`gemini-4-carbon-{high,medium,low}`)并保留 `Argon` 默认,在 `steward_executor_machine_defaults_v1` 增加 `endpoint_models` JSON 模式配置说明,支持 Codex 与 Antigravity 双向 `flexible` 切换(配合 `loopx-codex-provider-routing 0.15.9`、`reasoning_effort` 容量别名与 `flexible_primary_available` 状态转换)及原生监控/周报回退对齐,修复 Codex API relay 请求/响应截断、回环中继 401 故障与管家主动级联 `resume_failed` 恢复(`#9170`),并在切换模型时保留 Codex 原会话历史。 [#8713](https://github.com/loopx-project/loopx/pull/8713), [#8977](https://github.com/loopx-project/loopx/pull/8977), [#8984](https://github.com/loopx-project/loopx/pull/8984), [#9134](https://github.com/loopx-project/loopx/pull/9134), [#9141](https://github.com/loopx-project/loopx/pull/9141), [#9145](https://github.com/loopx-project/loopx/pull/9145), [#9147](https://github.com/loopx-project/loopx/pull/9147), [#9167](https://github.com/loopx-project/loopx/pull/9167), [#9170](https://github.com/loopx-project/loopx/pull/9170) - **多 Agent 协作与飞书群聊/私聊加固。** 对等体可通过 `read_peer_returns` 与 `consume_peer_result` 直接读回协作结果而无需重开 Manager Inbox,并按 Goal 批量加锁和缓存扫描;飞书连接器支持重连排队保留、只读管家快捷卡片、Turn 作用域原生图片、共享卡片回调、单趟卡片转义、国际版 Lark 配置识别及按输入重置退避。 [#8668](https://github.com/loopx-project/loopx/pull/8668), [#8695](https://github.com/loopx-project/loopx/pull/8695), [#8741](https://github.com/loopx-project/loopx/pull/8741), [#8871](https://github.com/loopx-project/loopx/pull/8871), [#8921](https://github.com/loopx-project/loopx/pull/8921), [#8990](https://github.com/loopx-project/loopx/pull/8990), [#9027](https://github.com/loopx-project/loopx/pull/9027), [#9085](https://github.com/loopx-project/loopx/pull/9085), [#9114](https://github.com/loopx-project/loopx/pull/9114), [#9117](https://github.com/loopx-project/loopx/pull/9117), [#9119](https://github.com/loopx-project/loopx/pull/9119) @@ -465,16 +465,16 @@ loopx doctor ### 能力与工作流 - **个人工作台与研究连续性:** 打包工作台交付一次确认创建 Goal、已载入消息搜索、手机端窄屏会话标题自然换行(`#9121`)、审阅材料键盘焦点恢复、截断记录披露及 Todo 分页读回;桌面与飞书通道下可保留并恢复原研究答案、中断回答、失联 worker 诊断、派发前请求、案例链接与清晰引用 Markdown。 [#8676](https://github.com/loopx-project/loopx/pull/8676), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8863](https://github.com/loopx-project/loopx/pull/8863), [#8868](https://github.com/loopx-project/loopx/pull/8868), [#8880](https://github.com/loopx-project/loopx/pull/8880), [#8892](https://github.com/loopx-project/loopx/pull/8892), [#8913](https://github.com/loopx-project/loopx/pull/8913), [#8954](https://github.com/loopx-project/loopx/pull/8954), [#8959](https://github.com/loopx-project/loopx/pull/8959), [#8962](https://github.com/loopx-project/loopx/pull/8962), [#8983](https://github.com/loopx-project/loopx/pull/8983), [#9120](https://github.com/loopx-project/loopx/pull/9120), [#9121](https://github.com/loopx-project/loopx/pull/9121), [#9125](https://github.com/loopx-project/loopx/pull/9125) -- **管家通用监控、精确 Head PR 审查与受保护合并:** 用户成果为在私聊管家统一承接自然语言 `continuous_monitor`、作用域隔离 GitHub PR 信号监控聚合与 App/飞书 `chat_root` 单篇直达汇报(`#9182`)、精确 Head PR 审查判定与 `/confirm` 受保护合并;已交付 `steward_managed_mode.ts`、`github_pr_evidence.py`、`steward_pr_merge.py` 与 `steward_monitor.py`,并补齐跨 Python 升级的周报选择与冻结/已停止报告候选恢复(含 `host_candidate.py` 轻微 JSON 分隔符容错 `#9164`)、观察监控队列防误杀、失败取消及跨端点派发前恢复(含回执检索降噪 `#9159`);最终合并仍需明确授权与精确 Head 一致性。 [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182) +- **管家通用监控、精确 Head PR 审查与受保护合并:** 用户成果为在私聊管家统一承接自然语言 `continuous_monitor`、作用域隔离 GitHub PR 信号监控聚合与 App/飞书 `chat_root` 单篇直达汇报(`#9182`)、精确 Head PR 审查判定与 `/confirm` 受保护合并;已交付 `steward_managed_mode.ts`、`github_pr_evidence.py`、`steward_pr_merge.py` 与 `steward_monitor.py`,并补齐推进证据有界化、一次提交前重试、主结果分离的自治重规划内联结算及宿主演前 deferral 重试(`#9187`, `#9188`, `#9191`)、跨 Python 升级的周报选择与冻结/已停止报告候选恢复(含 `host_candidate.py` 轻微 JSON 分隔符容错 `#9164`)、观察监控队列防误杀、失败取消及跨端点派发前恢复(含回执检索降噪 `#9159`);最终合并仍需明确授权与精确 Head 一致性。 [#9074](https://github.com/loopx-project/loopx/pull/9074), [#9077](https://github.com/loopx-project/loopx/pull/9077), [#9081](https://github.com/loopx-project/loopx/pull/9081), [#9093](https://github.com/loopx-project/loopx/pull/9093), [#9143](https://github.com/loopx-project/loopx/pull/9143), [#9155](https://github.com/loopx-project/loopx/pull/9155), [#9157](https://github.com/loopx-project/loopx/pull/9157), [#9159](https://github.com/loopx-project/loopx/pull/9159), [#9164](https://github.com/loopx-project/loopx/pull/9164), [#9182](https://github.com/loopx-project/loopx/pull/9182), [#9187](https://github.com/loopx-project/loopx/pull/9187), [#9188](https://github.com/loopx-project/loopx/pull/9188), [#9191](https://github.com/loopx-project/loopx/pull/9191) - **独立 OpenViking 管家长期记忆(`steward_memory`):** 用户成果为在本人私聊管家按说话人隔离召回与记忆偏好而不外泄到群聊、项目对话或 worker 进程;已交付默认关闭的 `steward_memory` 机器配置命名空间、TS 策略/规范化 owner、宿主适配与环境剥离;默认关闭且需由操作者在宿主环境配置 OpenViking 凭据。 [#9083](https://github.com/loopx-project/loopx/pull/9083) -- **LooChat 工作台(试验):** 将 Calli 工作台迁入 `apps/workbench/`(`@loopx/loochat`)提供可选会话层、Goal 页面与 `/api/loopx/*` 代理;自动推进仍由 LoopX Core 负责。 [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9113](https://github.com/loopx-project/loopx/pull/9113) +- **LooChat 工作台(试验):** 将 Calli 工作台迁入 `apps/workbench/`(`@loopx/loochat`)提供可选会话层、跨目录本地会话发现与可恢复显式导入目录(`LOOCHAT_HIDDEN_SESSION_DIRS`)、Goal 页面与 `/api/loopx/*` 代理;自动推进仍由 LoopX Core 负责。 [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9063](https://github.com/loopx-project/loopx/pull/9063), [#9113](https://github.com/loopx-project/loopx/pull/9113) - **材料分波排序与实验退役:** 材料生命周期提供无状态分波排序预览(`plan-wave-rerank`),应用排序仍需材料 owner 授权;Yardstick 延迟至显式启用,空队列不再进入普通 Worker 上下文,未通过验收的压缩工作记忆实验已退役(旧配置保留兼容读取且不生效)。 [#8579](https://github.com/loopx-project/loopx/pull/8579), [#8928](https://github.com/loopx-project/loopx/pull/8928), [#9034](https://github.com/loopx-project/loopx/pull/9034), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060) ### 质量与测试 - SQLite 回归矩阵覆盖落后消费者、备份 lineage、并发 CAS/响应丢失重试以及 `SQLITE_FULL` / 真实 macOS `ENOSPC` 磁盘满 fail-closed 与恢复。 [#8367](https://github.com/loopx-project/loopx/pull/8367), [#8482](https://github.com/loopx-project/loopx/pull/8482), [#8498](https://github.com/loopx-project/loopx/pull/8498), [#9126](https://github.com/loopx-project/loopx/pull/9126) -- 控制面、配额、Lark、奖励记忆、基准与领域包消除 `Any` 并建立基线护栏,大体积 CLI、`issue-fix` 与 Lark/Chat 模块完成拆分,补齐 C1 规划/交付/结算与 UTF-8 传输/扩展/工作台回归,加固 CLI help 目录、架构导入守卫与新手引导选标门禁,精简冗余示例,并使 `doctor` 升级读回绑定所属 Python 环境。 [#8013](https://github.com/loopx-project/loopx/pull/8013), [#8897](https://github.com/loopx-project/loopx/pull/8897), [#8933](https://github.com/loopx-project/loopx/pull/8933), [#8940](https://github.com/loopx-project/loopx/pull/8940), [#8971](https://github.com/loopx-project/loopx/pull/8971), [#8994](https://github.com/loopx-project/loopx/pull/8994), [#9009](https://github.com/loopx-project/loopx/pull/9009), [#9044](https://github.com/loopx-project/loopx/pull/9044), [#9102](https://github.com/loopx-project/loopx/pull/9102), [#9104](https://github.com/loopx-project/loopx/pull/9104), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9156](https://github.com/loopx-project/loopx/pull/9156), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161) -- 加固 base/head CLI 差分与预算基线隔离(`#8948`、`#9103`)、外部等待宿主提示词探针走完整 C1 输入(`#8981`)、canary 对等运行时检查正确识别 controller 归属(`#9092`)、统一展示与公开输出边界对本地路径 URL 与 `path:` 的判定(`#9080`)、runtime snapshot 默认契约校验、canary 超时诊断与 Git 原始路径保留,并沉淀本地优先验证规范与公开 smoke 门禁修复(`#9152`),同时支持 `--max-workers` 并发真实模型行为评估、深路径重规划上下文恢复的 `8 KiB` 宿主工具错误输出上限、对齐摘要消费者清单、多 Goal 引导 smoke 契约与 `test_effect_turn_live_quota_decision` 独立导入(`#9168`)、修复 `--settle-turn` 视觉结案回执读取及 `creation_allowance` 测试唤醒竞态(`#9178`),并实现按需惰性重绑定恢复租约以保全已提交 Turn 重放与已退役租约结案恢复、收敛 goal-frontier 投影可维护性圈复杂度(`#9183`)。 [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8919](https://github.com/loopx-project/loopx/pull/8919), [#8922](https://github.com/loopx-project/loopx/pull/8922), [#8948](https://github.com/loopx-project/loopx/pull/8948), [#8952](https://github.com/loopx-project/loopx/pull/8952), [#8981](https://github.com/loopx-project/loopx/pull/8981), [#9001](https://github.com/loopx-project/loopx/pull/9001), [#9018](https://github.com/loopx-project/loopx/pull/9018), [#9040](https://github.com/loopx-project/loopx/pull/9040), [#9080](https://github.com/loopx-project/loopx/pull/9080), [#9092](https://github.com/loopx-project/loopx/pull/9092), [#9103](https://github.com/loopx-project/loopx/pull/9103), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9168](https://github.com/loopx-project/loopx/pull/9168), [#9178](https://github.com/loopx-project/loopx/pull/9178), [#9183](https://github.com/loopx-project/loopx/pull/9183) +- 控制面、配额、Lark、奖励记忆、基准与领域包消除 `Any` 并建立基线护栏,大体积 CLI、`issue-fix` 与 Lark/Chat 模块完成拆分(含内部 `loopx/chat/` typed action 分组 `#9056`),及时回收已通过与只读的 pytest 临时目录树(`#9070`, `#9189`),补齐 C1 规划/交付/结算与 UTF-8 传输/扩展/工作台回归,加固 CLI help 目录、架构导入守卫与新手引导选标门禁,精简冗余示例,并使 `doctor` 升级读回绑定所属 Python 环境。 [#8013](https://github.com/loopx-project/loopx/pull/8013), [#8897](https://github.com/loopx-project/loopx/pull/8897), [#8933](https://github.com/loopx-project/loopx/pull/8933), [#8940](https://github.com/loopx-project/loopx/pull/8940), [#8971](https://github.com/loopx-project/loopx/pull/8971), [#8994](https://github.com/loopx-project/loopx/pull/8994), [#9009](https://github.com/loopx-project/loopx/pull/9009), [#9044](https://github.com/loopx-project/loopx/pull/9044), [#9056](https://github.com/loopx-project/loopx/pull/9056), [#9070](https://github.com/loopx-project/loopx/pull/9070), [#9102](https://github.com/loopx-project/loopx/pull/9102), [#9104](https://github.com/loopx-project/loopx/pull/9104), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9154](https://github.com/loopx-project/loopx/pull/9154), [#9156](https://github.com/loopx-project/loopx/pull/9156), [#9158](https://github.com/loopx-project/loopx/pull/9158), [#9160](https://github.com/loopx-project/loopx/pull/9160), [#9161](https://github.com/loopx-project/loopx/pull/9161), [#9189](https://github.com/loopx-project/loopx/pull/9189) +- 加固 base/head CLI 差分与预算基线隔离(`#8948`、`#9103`)、外部等待宿主提示词探针走完整 C1 输入(`#8981`)、canary 对等运行时检查正确识别 controller 归属(`#9092`)、统一展示与公开输出边界对本地路径 URL 与 `path:` 的判定(`#9080`,并在 `#9190` 保留行内代码根路径示例与同步 DSH 插件观察器规则)、runtime snapshot 默认契约校验、canary 超时诊断与 Git 原始路径保留,并沉淀本地优先验证规范与公开 smoke 门禁修复(`#9152`),同时支持 `--max-workers` 并发真实模型行为评估、深路径重规划上下文恢复的 `8 KiB` 宿主工具错误输出上限、对齐摘要消费者清单、多 Goal 引导 smoke 契约与 `test_effect_turn_live_quota_decision` 独立导入(`#9168`)、修复 `--settle-turn` 视觉结案回执读取及 `creation_allowance` 测试唤醒竞态(`#9178`),并实现按需惰性重绑定恢复租约以保全已提交 Turn 重放与已退役租约结案恢复、收敛 goal-frontier 投影可维护性圈复杂度(`#9183`)以及修复非托管飞书轮询清理与 `generic-cli` 独立校验器租约门控(`#9190`)。 [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8919](https://github.com/loopx-project/loopx/pull/8919), [#8922](https://github.com/loopx-project/loopx/pull/8922), [#8948](https://github.com/loopx-project/loopx/pull/8948), [#8952](https://github.com/loopx-project/loopx/pull/8952), [#8981](https://github.com/loopx-project/loopx/pull/8981), [#9001](https://github.com/loopx-project/loopx/pull/9001), [#9018](https://github.com/loopx-project/loopx/pull/9018), [#9040](https://github.com/loopx-project/loopx/pull/9040), [#9080](https://github.com/loopx-project/loopx/pull/9080), [#9092](https://github.com/loopx-project/loopx/pull/9092), [#9103](https://github.com/loopx-project/loopx/pull/9103), [#9152](https://github.com/loopx-project/loopx/pull/9152), [#9168](https://github.com/loopx-project/loopx/pull/9168), [#9178](https://github.com/loopx-project/loopx/pull/9178), [#9183](https://github.com/loopx-project/loopx/pull/9183), [#9190](https://github.com/loopx-project/loopx/pull/9190) ### 基准与集成 @@ -496,7 +496,7 @@ loopx doctor - [@2430468136](https://github.com/2430468136)(首次获合并) — 统一报告 schema、可见范围与测试字段的 owner。 [#8629](https://github.com/loopx-project/loopx/pull/8629), [#8832](https://github.com/loopx-project/loopx/pull/8832), [#8833](https://github.com/loopx-project/loopx/pull/8833) - [@BigDataDZ](https://github.com/BigDataDZ) — 处理 Windows 来源租约时钟偏差,固定租约清单排序。 [#8761](https://github.com/loopx-project/loopx/pull/8761), [#8762](https://github.com/loopx-project/loopx/pull/8762) - [@cf3901646](https://github.com/cf3901646)(首次获合并) — 在 authority store 状态诊断中呈现底层 SQLite 错误。 [#8459](https://github.com/loopx-project/loopx/pull/8459) -- [@cocolord](https://github.com/cocolord) — 迁移旧 Goal 暂停元数据、交付一次确认创建 Goal、支持声明完整 v1 的首次 `generic-cli` Turn 自动准备缺失租约并将无状态捕获选择委托给 TypeScript owner、完成独立 Core 打包与安装环境 Manager 发现、退役压缩工作记忆实验、延迟 Yardstick 与基准发现,并完善重规划/研究/验收路径。 [#8372](https://github.com/loopx-project/loopx/pull/8372), [#8374](https://github.com/loopx-project/loopx/pull/8374), [#8431](https://github.com/loopx-project/loopx/pull/8431), [#8433](https://github.com/loopx-project/loopx/pull/8433), [#8443](https://github.com/loopx-project/loopx/pull/8443), [#8456](https://github.com/loopx-project/loopx/pull/8456), [#8466](https://github.com/loopx-project/loopx/pull/8466), [#8474](https://github.com/loopx-project/loopx/pull/8474), [#8478](https://github.com/loopx-project/loopx/pull/8478), [#8481](https://github.com/loopx-project/loopx/pull/8481), [#8531](https://github.com/loopx-project/loopx/pull/8531), [#8544](https://github.com/loopx-project/loopx/pull/8544), [#8545](https://github.com/loopx-project/loopx/pull/8545), [#8565](https://github.com/loopx-project/loopx/pull/8565), [#8578](https://github.com/loopx-project/loopx/pull/8578), [#8582](https://github.com/loopx-project/loopx/pull/8582), [#8590](https://github.com/loopx-project/loopx/pull/8590), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8624](https://github.com/loopx-project/loopx/pull/8624), [#8652](https://github.com/loopx-project/loopx/pull/8652), [#8658](https://github.com/loopx-project/loopx/pull/8658), [#8661](https://github.com/loopx-project/loopx/pull/8661), [#8665](https://github.com/loopx-project/loopx/pull/8665), [#8669](https://github.com/loopx-project/loopx/pull/8669), [#8671](https://github.com/loopx-project/loopx/pull/8671), [#8673](https://github.com/loopx-project/loopx/pull/8673), [#8686](https://github.com/loopx-project/loopx/pull/8686), [#8687](https://github.com/loopx-project/loopx/pull/8687), [#8691](https://github.com/loopx-project/loopx/pull/8691), [#8699](https://github.com/loopx-project/loopx/pull/8699), [#8736](https://github.com/loopx-project/loopx/pull/8736), [#8738](https://github.com/loopx-project/loopx/pull/8738), [#8740](https://github.com/loopx-project/loopx/pull/8740), [#8743](https://github.com/loopx-project/loopx/pull/8743), [#8744](https://github.com/loopx-project/loopx/pull/8744), [#8746](https://github.com/loopx-project/loopx/pull/8746), [#8747](https://github.com/loopx-project/loopx/pull/8747), [#8749](https://github.com/loopx-project/loopx/pull/8749), [#8764](https://github.com/loopx-project/loopx/pull/8764), [#8769](https://github.com/loopx-project/loopx/pull/8769), [#8774](https://github.com/loopx-project/loopx/pull/8774), [#8777](https://github.com/loopx-project/loopx/pull/8777), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8788](https://github.com/loopx-project/loopx/pull/8788), [#8790](https://github.com/loopx-project/loopx/pull/8790), [#8792](https://github.com/loopx-project/loopx/pull/8792), [#8793](https://github.com/loopx-project/loopx/pull/8793), [#8795](https://github.com/loopx-project/loopx/pull/8795), [#8798](https://github.com/loopx-project/loopx/pull/8798), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8805](https://github.com/loopx-project/loopx/pull/8805), [#8807](https://github.com/loopx-project/loopx/pull/8807), [#8813](https://github.com/loopx-project/loopx/pull/8813), [#8818](https://github.com/loopx-project/loopx/pull/8818), [#8820](https://github.com/loopx-project/loopx/pull/8820), [#8821](https://github.com/loopx-project/loopx/pull/8821), [#8822](https://github.com/loopx-project/loopx/pull/8822), [#8824](https://github.com/loopx-project/loopx/pull/8824), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8840](https://github.com/loopx-project/loopx/pull/8840), [#8846](https://github.com/loopx-project/loopx/pull/8846), [#8872](https://github.com/loopx-project/loopx/pull/8872), [#8915](https://github.com/loopx-project/loopx/pull/8915), [#8928](https://github.com/loopx-project/loopx/pull/8928), [#9034](https://github.com/loopx-project/loopx/pull/9034), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060), [#9072](https://github.com/loopx-project/loopx/pull/9072), [#9073](https://github.com/loopx-project/loopx/pull/9073), [#9142](https://github.com/loopx-project/loopx/pull/9142) +- [@cocolord](https://github.com/cocolord) — 迁移旧 Goal 暂停元数据、交付一次确认创建 Goal、支持声明完整 v1 的首次 `generic-cli` Turn 自动准备缺失租约并将无状态捕获选择委托给 TypeScript owner、完成独立 Core 打包与安装环境 Manager 发现、分组内部 Chat action 模块并及时回收已通过 pytest 临时目录、退役压缩工作记忆实验、延迟 Yardstick 与基准发现,并完善重规划/研究/验收路径。 [#8372](https://github.com/loopx-project/loopx/pull/8372), [#8374](https://github.com/loopx-project/loopx/pull/8374), [#8431](https://github.com/loopx-project/loopx/pull/8431), [#8433](https://github.com/loopx-project/loopx/pull/8433), [#8443](https://github.com/loopx-project/loopx/pull/8443), [#8456](https://github.com/loopx-project/loopx/pull/8456), [#8466](https://github.com/loopx-project/loopx/pull/8466), [#8474](https://github.com/loopx-project/loopx/pull/8474), [#8478](https://github.com/loopx-project/loopx/pull/8478), [#8481](https://github.com/loopx-project/loopx/pull/8481), [#8531](https://github.com/loopx-project/loopx/pull/8531), [#8544](https://github.com/loopx-project/loopx/pull/8544), [#8545](https://github.com/loopx-project/loopx/pull/8545), [#8565](https://github.com/loopx-project/loopx/pull/8565), [#8578](https://github.com/loopx-project/loopx/pull/8578), [#8582](https://github.com/loopx-project/loopx/pull/8582), [#8590](https://github.com/loopx-project/loopx/pull/8590), [#8615](https://github.com/loopx-project/loopx/pull/8615), [#8624](https://github.com/loopx-project/loopx/pull/8624), [#8652](https://github.com/loopx-project/loopx/pull/8652), [#8658](https://github.com/loopx-project/loopx/pull/8658), [#8661](https://github.com/loopx-project/loopx/pull/8661), [#8665](https://github.com/loopx-project/loopx/pull/8665), [#8669](https://github.com/loopx-project/loopx/pull/8669), [#8671](https://github.com/loopx-project/loopx/pull/8671), [#8673](https://github.com/loopx-project/loopx/pull/8673), [#8686](https://github.com/loopx-project/loopx/pull/8686), [#8687](https://github.com/loopx-project/loopx/pull/8687), [#8691](https://github.com/loopx-project/loopx/pull/8691), [#8699](https://github.com/loopx-project/loopx/pull/8699), [#8736](https://github.com/loopx-project/loopx/pull/8736), [#8738](https://github.com/loopx-project/loopx/pull/8738), [#8740](https://github.com/loopx-project/loopx/pull/8740), [#8743](https://github.com/loopx-project/loopx/pull/8743), [#8744](https://github.com/loopx-project/loopx/pull/8744), [#8746](https://github.com/loopx-project/loopx/pull/8746), [#8747](https://github.com/loopx-project/loopx/pull/8747), [#8749](https://github.com/loopx-project/loopx/pull/8749), [#8764](https://github.com/loopx-project/loopx/pull/8764), [#8769](https://github.com/loopx-project/loopx/pull/8769), [#8774](https://github.com/loopx-project/loopx/pull/8774), [#8777](https://github.com/loopx-project/loopx/pull/8777), [#8780](https://github.com/loopx-project/loopx/pull/8780), [#8788](https://github.com/loopx-project/loopx/pull/8788), [#8790](https://github.com/loopx-project/loopx/pull/8790), [#8792](https://github.com/loopx-project/loopx/pull/8792), [#8793](https://github.com/loopx-project/loopx/pull/8793), [#8795](https://github.com/loopx-project/loopx/pull/8795), [#8798](https://github.com/loopx-project/loopx/pull/8798), [#8802](https://github.com/loopx-project/loopx/pull/8802), [#8805](https://github.com/loopx-project/loopx/pull/8805), [#8807](https://github.com/loopx-project/loopx/pull/8807), [#8813](https://github.com/loopx-project/loopx/pull/8813), [#8818](https://github.com/loopx-project/loopx/pull/8818), [#8820](https://github.com/loopx-project/loopx/pull/8820), [#8821](https://github.com/loopx-project/loopx/pull/8821), [#8822](https://github.com/loopx-project/loopx/pull/8822), [#8824](https://github.com/loopx-project/loopx/pull/8824), [#8830](https://github.com/loopx-project/loopx/pull/8830), [#8840](https://github.com/loopx-project/loopx/pull/8840), [#8846](https://github.com/loopx-project/loopx/pull/8846), [#8872](https://github.com/loopx-project/loopx/pull/8872), [#8915](https://github.com/loopx-project/loopx/pull/8915), [#8928](https://github.com/loopx-project/loopx/pull/8928), [#9034](https://github.com/loopx-project/loopx/pull/9034), [#9047](https://github.com/loopx-project/loopx/pull/9047), [#9056](https://github.com/loopx-project/loopx/pull/9056), [#9059](https://github.com/loopx-project/loopx/pull/9059), [#9060](https://github.com/loopx-project/loopx/pull/9060), [#9070](https://github.com/loopx-project/loopx/pull/9070), [#9072](https://github.com/loopx-project/loopx/pull/9072), [#9073](https://github.com/loopx-project/loopx/pull/9073), [#9142](https://github.com/loopx-project/loopx/pull/9142) - [@Duang777](https://github.com/Duang777) — 拒绝异常额度时钟与非法日历时间,保留同秒恢复,处理截断的多字节历史行,按 GoalRef 护栏历史 ACK 准入与写回,加固入站/迁移/glob/botmux 校验,并在输入变化时重置飞书空转恢复退避。 [#8371](https://github.com/loopx-project/loopx/pull/8371), [#8632](https://github.com/loopx-project/loopx/pull/8632), [#8679](https://github.com/loopx-project/loopx/pull/8679), [#8680](https://github.com/loopx-project/loopx/pull/8680), [#8681](https://github.com/loopx-project/loopx/pull/8681), [#8682](https://github.com/loopx-project/loopx/pull/8682), [#8683](https://github.com/loopx-project/loopx/pull/8683), [#8684](https://github.com/loopx-project/loopx/pull/8684), [#8731](https://github.com/loopx-project/loopx/pull/8731), [#8804](https://github.com/loopx-project/loopx/pull/8804), [#8907](https://github.com/loopx-project/loopx/pull/8907), [#8975](https://github.com/loopx-project/loopx/pull/8975), [#9119](https://github.com/loopx-project/loopx/pull/9119) - [@eltociear](https://github.com/eltociear)(首次获合并) — 新增日文 README,并接入已有公开入口。 [#8839](https://github.com/loopx-project/loopx/pull/8839) - [@gcl-coder](https://github.com/gcl-coder) — 让 Issue Fix、canary、Integration Branch 和 Change Quality 保留准确的 Git 路径,统一展示与公开输出边界的本地路径判定,并在 Python 后续路径拦截被替换的 heartbeat 回执。 [#8426](https://github.com/loopx-project/loopx/pull/8426), [#8429](https://github.com/loopx-project/loopx/pull/8429), [#8558](https://github.com/loopx-project/loopx/pull/8558), [#8585](https://github.com/loopx-project/loopx/pull/8585), [#8603](https://github.com/loopx-project/loopx/pull/8603), [#8645](https://github.com/loopx-project/loopx/pull/8645), [#8647](https://github.com/loopx-project/loopx/pull/8647), [#8678](https://github.com/loopx-project/loopx/pull/8678), [#9080](https://github.com/loopx-project/loopx/pull/9080) @@ -506,7 +506,7 @@ loopx doctor - [@LIHUA919](https://github.com/LIHUA919) — 覆盖 SQLite 消费、lineage、并发 CAS 与磁盘满 ENOSPC 恢复边界,清理无用工作台 UI 键,拒绝被替换的 heartbeat 回执,并实现 Goal Channel 卡片单趟文本转义。 [#8367](https://github.com/loopx-project/loopx/pull/8367), [#8414](https://github.com/loopx-project/loopx/pull/8414), [#8482](https://github.com/loopx-project/loopx/pull/8482), [#8498](https://github.com/loopx-project/loopx/pull/8498), [#8708](https://github.com/loopx-project/loopx/pull/8708), [#9114](https://github.com/loopx-project/loopx/pull/9114), [#9126](https://github.com/loopx-project/loopx/pull/9126) - [@Luoluoluo0110](https://github.com/Luoluoluo0110)(首次获合并) — 统一 issue 关闭事件、project ID 规则和 backlog 条目语法。 [#8636](https://github.com/loopx-project/loopx/pull/8636), [#8637](https://github.com/loopx-project/loopx/pull/8637), [#8638](https://github.com/loopx-project/loopx/pull/8638) - [@lurenxiao1998](https://github.com/lurenxiao1998)(首次获合并) — 在重规划历史中保留主动监控。 [#8672](https://github.com/loopx-project/loopx/pull/8672) -- [@maxliux5](https://github.com/maxliux5) — 将 Calli 工作台迁入 `apps/workbench/`,作为连接 LoopX Goal 对话的实验性 LooChat 会话层。 [#8843](https://github.com/loopx-project/loopx/pull/8843) +- [@maxliux5](https://github.com/maxliux5) — 将 Calli 工作台迁入 `apps/workbench/`,作为连接 LoopX Goal 对话的实验性 LooChat 会话层并支持跨目录本地会话发现。 [#8843](https://github.com/loopx-project/loopx/pull/8843), [#9063](https://github.com/loopx-project/loopx/pull/9063) - [@mojunzi](https://github.com/mojunzi)(首次获合并) — 让 owner 可以收口单 Agent Goal 中精确关联的用户门禁,并识别国际版 Lark 配置 URL。 [#8844](https://github.com/loopx-project/loopx/pull/8844), [#8871](https://github.com/loopx-project/loopx/pull/8871) - [@psychologister](https://github.com/psychologister)(首次获合并) — 将召回摘要与 Issue-Fix 维护者/评审词汇交回对应的 canonical owner。 [#8611](https://github.com/loopx-project/loopx/pull/8611), [#8613](https://github.com/loopx-project/loopx/pull/8613), [#8826](https://github.com/loopx-project/loopx/pull/8826) - [@Seyamalam](https://github.com/Seyamalam)(首次获合并) — 修复 Issue-Fix 的评审协议链接,并将宿主选择、门禁 `item_patch` 与心跳提示 smoke 固定到现行契约。 [#8834](https://github.com/loopx-project/loopx/pull/8834), [#8867](https://github.com/loopx-project/loopx/pull/8867), [#8951](https://github.com/loopx-project/loopx/pull/8951), [#8996](https://github.com/loopx-project/loopx/pull/8996) diff --git a/loopx/chat.py b/loopx/chat.py index 57824e0176..0e82f79807 100644 --- a/loopx/chat.py +++ b/loopx/chat.py @@ -11,7 +11,6 @@ from .control_plane.coordination.local_authority import ( LocalCoordinationAuthorityUnavailable, ) -from .public_safe_text import LOCAL_PATH_SURFACE_PATTERN from .control_plane.work_items.governed_transition_proposal import ( STEWARD_TEAM_PLAN_PREVIEW_KIND, ) @@ -54,6 +53,18 @@ _ABSOLUTE_LOCAL_PATH = re.compile( r"(?]+|[A-Za-z]:[\\/][^\s`'\"<>]+)" ) +# Display redaction only hides paths that carry a descendant segment, so inline +# code examples such as ``C:\`` or ``/Users/`` stay readable while the public-safe +# validator keeps using ``public_safe_text.LOCAL_PATH_SURFACE_PATTERN``. +_CHAT_LOCAL_PATH_SURFACE_PATTERN = re.compile( + r"(?]+|" + r"[A-Za-z]:[\\/][^\s`'\"<>]+|" + r"\\\\[A-Za-z0-9_.-]+\\[^\s`'\"<>]+" + r")", + re.IGNORECASE, +) def _protected_path_replacements( @@ -112,7 +123,7 @@ def _root_character_atoms( def _local_path_pattern(replacements: list[tuple[str, str]]) -> re.Pattern[str]: if not replacements: - return LOCAL_PATH_SURFACE_PATTERN + return _CHAT_LOCAL_PATH_SURFACE_PATTERN separator = r"(?:[/\\]|%2[fF]|%5[cC])" def component_pattern(component: str, *, is_windows: bool) -> str: @@ -141,7 +152,7 @@ def component_pattern(component: str, *, is_windows: bool) -> str: + r"[^\s`'\"<>()\[\]{},。!?]*)?" + r"|(?()\[\]{},。!?]+)" + "|(?i:" - + LOCAL_PATH_SURFACE_PATTERN.pattern + + _CHAT_LOCAL_PATH_SURFACE_PATTERN.pattern + ")" ) @@ -327,7 +338,7 @@ def replace_absolute_path(match: re.Match[str]) -> str: # The broad absolute-path candidate lets a protected root be recognized # after harmless dot-segment aliases. Preserve unrelated custom paths; # the shared classifier still redacts its canonical machine-local set. - if LOCAL_PATH_SURFACE_PATTERN.fullmatch(candidate): + if _CHAT_LOCAL_PATH_SURFACE_PATTERN.fullmatch(candidate): return f"[local-path]{suffix}" return matched diff --git a/loopx/cli_commands/turn.py b/loopx/cli_commands/turn.py index 06ed815709..5388d04477 100644 --- a/loopx/cli_commands/turn.py +++ b/loopx/cli_commands/turn.py @@ -103,9 +103,10 @@ def project_preparation_effects(value: dict[str, Any]) -> None: execution_preparer is None and args.turn_command == "run-once" and bool(getattr(args, "execute", False)) - and (args.host != "generic-cli" or getattr(args, "validation_command_json", None)) and uses_effect_bound_start_identity( - args.host, getattr(args, "host_adapter_request_schema", None), + args.host, + getattr(args, "host_adapter_request_schema", None), + getattr(args, "validation_command_json", None), ) ): from ..control_plane.turn_driver.codex_execution_preparation import ( diff --git a/loopx/cli_commands/turn_cadence.py b/loopx/cli_commands/turn_cadence.py index f0440a9ec2..c392147160 100644 --- a/loopx/cli_commands/turn_cadence.py +++ b/loopx/cli_commands/turn_cadence.py @@ -22,10 +22,16 @@ class ManagedCadenceStart(NamedTuple): confirm: Callable[[], None] -def uses_effect_bound_start_identity(host: str, adapter_request_schema: str | None) -> bool: +def uses_effect_bound_start_identity( + host: str, + adapter_request_schema: str | None, + validation_command_json: str | None = None, +) -> bool: """These Host routes can reserve the same start before a Turn plan exists.""" return host == "codex-cli" or ( - host == "generic-cli" and adapter_request_schema == COMPLETE_TURN_HOST_REQUEST_SCHEMA + host == "generic-cli" + and adapter_request_schema == COMPLETE_TURN_HOST_REQUEST_SCHEMA + and bool(validation_command_json) ) diff --git a/loopx/cli_commands/turn_run_once.py b/loopx/cli_commands/turn_run_once.py index 6ca3fbe1aa..d8d9be8cd9 100644 --- a/loopx/cli_commands/turn_run_once.py +++ b/loopx/cli_commands/turn_run_once.py @@ -869,7 +869,9 @@ def on_managed_start_admitted() -> None: manual_reason=args.manual_interval_bypass_reason, on_admitted=on_managed_start_admitted, request_id=settlement_identity.effect_id if uses_effect_bound_start_identity( - args.host, getattr(args, "host_adapter_request_schema", None), + args.host, + getattr(args, "host_adapter_request_schema", None), + getattr(args, "validation_command_json", None), ) else None, ) diff --git a/loopx/extensions/lark/goal_topic_runtime_service.py b/loopx/extensions/lark/goal_topic_runtime_service.py index 25a8016974..d05ab5c3fe 100644 --- a/loopx/extensions/lark/goal_topic_runtime_service.py +++ b/loopx/extensions/lark/goal_topic_runtime_service.py @@ -137,7 +137,9 @@ def __init__( self._listener_snapshot_at = 0.0 self._listener_snapshot_generation = 0 self._workers: dict[str, ProfileWorker] = {} + self._retiring_workers: set[threading.Thread] = set() self._message_consumers: dict[str, MessageConsumer] = {} + self._default_home = Path.home() self._health: dict[str, Payload] = {} self._closed = threading.Event() self._delivery_wakeup = threading.Event() @@ -497,6 +499,29 @@ def _consumer_lease_key(profile: str, config: Mapping[str, str]) -> str: identity = config.get("bot_app_id") or profile return str(config.get("consumer_ref") or hashlib.sha256(identity.encode("utf-8")).hexdigest()[:32]) + def _consumer_lease_dir(self) -> Path: + """Keep unpatched consumer lease paths scoped to construction HOME.""" + home_func = getattr(Path.home, "__func__", None) + unpatched = ( + home_func is not None + and home_func.__module__.startswith("pathlib") + and home_func.__name__ == "home" + ) + home = self._default_home if unpatched else Path.home() + return home / ".loopx" / "lark-consumers" + + @staticmethod + def _stop_consumer_process(consumer: MessageConsumer | None) -> None: + if consumer is None: + return + consumer_stop, process, _requested = consumer + consumer_stop.set() + if process.poll() is None: + try: + process.terminate() + except OSError: + pass + def _listener_configs(self, snapshot: PayloadView) -> tuple[dict[str, dict[str, str]], set[str]]: from . import goal_topic_runtime as runtime @@ -756,8 +781,9 @@ def start_consumer(args: list[str]) -> Popen[str]: # A legacy/shared consumer holds both identities: wait for # the old process and fence new aliases on other servers. with ExitStack() as leases: + lease_dir = self._consumer_lease_dir() acquired = [leases.enter_context(try_exclusive_file_lock( - Path.home() / ".loopx" / "lark-consumers" / key, + lease_dir / key, operation="lark_event_consumer")) for key in sorted(digests)] if any(lease is None for lease in acquired): self._update_health(profile, status="standby", error_code="lark_event_consumer_owned_elsewhere") @@ -853,7 +879,8 @@ def register_callback_stream(stream: TeamPlanReviewCallbackStream) -> None: worker = self._workers.get(profile) if worker is not None and worker[1] is current_thread: self._workers.pop(profile, None) - if not self._closed.is_set(): + self._retiring_workers.discard(current_thread) + if managed_worker and not self._closed.is_set(): try: reconfigured = profile in runtime._active_profile_configs( self.snapshot_provider() @@ -938,7 +965,11 @@ def _refresh_profile_workers(self, *, resume_queues: bool = True) -> bool: self._workers[profile] = (stop, thread, next_fingerprint) continue self._workers.pop(profile) + if thread.is_alive(): + self._retiring_workers.add(thread) stop.set() + if consumer is not None and consumer[0] is stop: + self._stop_consumer_process(consumer) missing = set(desired) - set(self._workers) for profile in sorted(missing): stop = threading.Event() @@ -993,15 +1024,29 @@ def close(self) -> None: self._closed.set() self._invalidate_listener_snapshot() self._delivery_wakeup.set() + current_thread = threading.current_thread() with self._lock: if self._refresh_retry is not None: self._refresh_retry.cancel() self._refresh_retry = None workers = list(self._workers.values()) self._workers.clear() + retiring = list(self._retiring_workers) + self._retiring_workers.clear() + consumers = list(self._message_consumers.values()) for stop, _thread, _fingerprint in workers: stop.set() - for _stop, thread, _fingerprint in workers: + for consumer in consumers: + self._stop_consumer_process(consumer) + threads = [ + thread + for thread in ( + *(thread for _stop, thread, _fingerprint in workers), + *retiring, + ) + if thread is not None and thread is not current_thread + ] + for thread in threads: thread.join(timeout=3) self._delivery_worker.close(timeout=3) diff --git a/packages/dsh-loopx-plugin/src/observer.ts b/packages/dsh-loopx-plugin/src/observer.ts index c6a1a00c40..91393a4590 100644 --- a/packages/dsh-loopx-plugin/src/observer.ts +++ b/packages/dsh-loopx-plugin/src/observer.ts @@ -71,10 +71,10 @@ export const RUN_IDENTITY_FIELDS = [ const IDENTITY_TOKEN = /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,120}$/u const SUMMARY_TOKEN = /^[A-Za-z0-9][A-Za-z0-9_./:-]{0,79}$/u const LOCAL_PATH_SURFACES = [ - /(?]+/iu, - /(?]+/iu, + /(?]+)?/iu, + /(?]+)?/iu, /(?]+/iu, - /(?]+/iu, + /(?]+)?/iu, /(?]+/iu, /\bfile:\/+/iu, ] as const diff --git a/packages/dsh-loopx-plugin/tests/observer.spec.ts b/packages/dsh-loopx-plugin/tests/observer.spec.ts index abb9a4f292..1d1325ef27 100644 --- a/packages/dsh-loopx-plugin/tests/observer.spec.ts +++ b/packages/dsh-loopx-plugin/tests/observer.spec.ts @@ -343,6 +343,8 @@ describe('shadow observer envelopes', () => { ['password_label', 'pass' + 'word:abcdefghijkl'], ['secret_label', 'sec' + 'ret:abcdefghijkl'], ['windows_drive_outside_user_profile', drivePath], + ['bare_unix_root_in_summary_token', 't_' + '/' + 'Users/'], + ['bare_drive_root_in_summary_token', 'C' + ':/'], ] for (const [label, value] of refused) { const { appended, observer } = observerWithCapture() diff --git a/tests/extensions/test_lark_realtime_dispatch.py b/tests/extensions/test_lark_realtime_dispatch.py index 9c0956e491..28a50ddb8d 100644 --- a/tests/extensions/test_lark_realtime_dispatch.py +++ b/tests/extensions/test_lark_realtime_dispatch.py @@ -676,25 +676,30 @@ def fake_stream(*, profile: str, stop: threading.Event, **_kwargs: object) -> di runtime_root=tmp_path / "runtime", runtime_controller=object(), ) - direct_stop = threading.Event() - service._poll_profile("mew", direct_stop) - assert entered == ["mew"] - - entered.clear() - other_stop = threading.Event() - fingerprint = ProfileWorkerFingerprint( - transport=ProfileTransport( - cli_bin="fake-lark", - app_id="", - consumer_lease_key="mew", - callback_chats=(), - other_binding_id="", + try: + direct_stop = threading.Event() + service._poll_profile("mew", direct_stop) + assert entered == ["mew"] + assert service.active_profiles() == [] + + entered.clear() + other_stop = threading.Event() + fingerprint = ProfileWorkerFingerprint( + transport=ProfileTransport( + cli_bin="fake-lark", + app_id="", + consumer_lease_key="mew", + callback_chats=(), + other_binding_id="", + ) ) - ) - with service._lock: - service._workers["mew"] = (threading.Event(), threading.current_thread(), fingerprint) - service._poll_profile("mew", other_stop) - assert entered == [] + with service._lock: + service._workers["mew"] = (threading.Event(), threading.current_thread(), fingerprint) + service._poll_profile("mew", other_stop) + assert entered == [] + assert service.active_profiles() == [] + finally: + service.close() worker_started = threading.Event() seen_stop: list[threading.Event] = [] @@ -710,10 +715,17 @@ def managed_poller(_profile: str, stop: threading.Event) -> None: runtime_controller=object(), profile_poller=managed_poller, ) - managed_service.refresh() - assert worker_started.wait(5) - worker_stop = seen_stop[0] - managed_service.close() + try: + managed_service.refresh() + assert worker_started.wait(5) + worker_stop = seen_stop[0] + finally: + managed_service.close() assert worker_stop.is_set() with managed_service._lock: assert managed_service._workers == {} + assert [ + thread.name + for thread in threading.enumerate() + if thread.name.startswith("loopx-lark-") and thread.is_alive() + ] == [] diff --git a/tests/test_chat_path_redaction.py b/tests/test_chat_path_redaction.py index c5f3dfecdf..d3ee6f9b67 100644 --- a/tests/test_chat_path_redaction.py +++ b/tests/test_chat_path_redaction.py @@ -729,3 +729,18 @@ def test_acp_stdio_stream_hides_encoded_windows_unicode_case_alias(tmp_path): for kind, payload in events if kind == "answer.final" ] == ["[local-path]"] + + +def test_redact_local_paths_preserves_bare_root_examples(): + samples = [ + r"A path ending with a slash, `C:\`, is code.", + "A Unix prefix example, `/Users/`, is code.", + ] + for sample in samples: + for protected in ((), ["/custom/project"]): + assert redact_local_paths(sample, protected_paths=protected) == sample + assert redact_response_markdown(sample, protected_paths=protected) == sample + stream = VisibleResponseStreamFilter(protected_paths=protected) + assert stream.feed(sample[:12]) + stream.feed(sample[12:]) + stream.finish() == sample + assert redact_local_paths(r"Real path C:\Users\alice\repo") == "Real path [local-path]" + assert redact_local_paths("Real path /Users/alice/repo") == "Real path [local-path]" diff --git a/tests/test_loopx_turn_driver.py b/tests/test_loopx_turn_driver.py index 88acff531d..f52f067306 100644 --- a/tests/test_loopx_turn_driver.py +++ b/tests/test_loopx_turn_driver.py @@ -4950,3 +4950,15 @@ def test_claim_effect_remains_visible_when_codex_is_unavailable(tmp_path, monkey code = cli_main([*prefix, "task-lease", "inspect", "--goal-id", "loopx-turn-fixture", "--todo-id", "todo_fixture0001"]) assert code == 0 and json.loads(output.getvalue())["active"] is True assert result["effects"]["quota_spent"] is False + + +def test_uses_effect_bound_start_identity_requires_validator_for_generic_cli() -> None: + from loopx.cli_commands.turn_cadence import uses_effect_bound_start_identity + from loopx.control_plane.quota.turn_envelope import COMPLETE_TURN_HOST_REQUEST_SCHEMA + + assert uses_effect_bound_start_identity("codex-cli", None) is True + assert uses_effect_bound_start_identity("generic-cli", COMPLETE_TURN_HOST_REQUEST_SCHEMA, None) is False + assert uses_effect_bound_start_identity("generic-cli", COMPLETE_TURN_HOST_REQUEST_SCHEMA, "") is False + assert uses_effect_bound_start_identity( + "generic-cli", COMPLETE_TURN_HOST_REQUEST_SCHEMA, '["python3", "-c", "pass"]', + ) is True diff --git a/tests/test_registry_git_probe.py b/tests/test_registry_git_probe.py index 20fd9e1170..d0441a3df4 100644 --- a/tests/test_registry_git_probe.py +++ b/tests/test_registry_git_probe.py @@ -180,6 +180,9 @@ def test_registry_git_probe_retires_the_process_tree_on_timeout( fake_git.chmod(0o755) monkeypatch.setenv("PATH", f"{bin_dir}{os.pathsep}{os.environ['PATH']}") monkeypatch.setenv("GIT_DIR", str(tmp_path / "fake.git")) + # Under heavy parallel test contention, spawning /bin/sh and writing the + # grandchild PID can exceed the default 1.5s probe deadline before line 3 runs. + monkeypatch.setattr(registry_module, "_GIT_PROBE_TIMEOUT_SECONDS", 4.0) observed = registry_module._registry_git_probe(probe / "registry.json") assert observed["probe_status"] == "git_unavailable"