Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/product/release-readiness.md
Original file line number Diff line number Diff line change
Expand Up @@ -1085,11 +1085,25 @@ After the individual lanes pass, bind their compact receipts to the exact clean
release checkout before tagging or moving `stable`:

```bash
python3 scripts/qualify_release_commit.py \
--repo-root . \
--output-dir .local/release-qualification \
--preflight-since v2.3.0 \
--resume
loopx canary release-qualification \
--manifest-json release-qualification.json \
--repo-root .
```

For clean full-suite release runs, `scripts/qualify_release_commit.py` runs an
optional changed-file preflight first (`--preflight-since`), then executes
hardware-sized single-wave isolated pytest shards (defaulting to
two-thirds of host CPUs capped at 12, with optional `--durations-path`,
`--durations-out`, and fail-closed exact-commit/tree `--resume`) and reduces
the shards into `receipt-pytest.json` with no local paths. Keep
`scripts/qualify-doubao-model-behavior-live.py` (`--max-workers 6` by default)
concurrent with network/CPU lanes without mutating the clean candidate tree.

The `exact_release_commit_qualification_manifest_v0` contract requires the
same Git commit, Git tree id, package version, and version tag across pytest,
Ruff, mypy, risk-based canary, full-public, install/upgrade/host,
Expand Down
4 changes: 2 additions & 2 deletions docs/product/releases/v2.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ loopx authority-archive upgrade --all-known --require-current

- **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 (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)
- **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`), plus pruned pytest directory discovery, parallel-default live model qualification, and single-wave clean-checkout pytest sharding (`#9193`). [#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), [#9193](https://github.com/loopx-project/loopx/pull/9193)

## Benchmarks & Integrations

Expand Down Expand Up @@ -474,7 +474,7 @@ loopx doctor

- 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 模块完成拆分(含内部 `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)
- 加固 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`)并收敛 pytest 目录发现、并发默认真实模型评估与单波干净检出分片验收(`#9193`)。 [#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), [#9193](https://github.com/loopx-project/loopx/pull/9193)

### 基准与集成

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ include = ["loopx*"]
[tool.pytest.ini_options]
markers = ["stage2c_e2e: real process Stage 2C correctness and recovery acceptance"]
# Private snapshots and packaging copies are not source tests; optional provider suites have dedicated workflows.
norecursedirs = [".local", "build", "dist", "deprecate", "packages/loopx-ark-turn", "packages/loopx-memt-turn"]
norecursedirs = [".*", "*.egg", ".local", "build", "dist", "deprecate", "node_modules", "venv", "packages/loopx-ark-turn", "packages/loopx-memt-turn"]

[tool.coverage.run]
source = ["loopx"]
Expand Down
2 changes: 1 addition & 1 deletion scripts/qualify-doubao-model-behavior-live.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _parser() -> argparse.ArgumentParser:
parser.add_argument("--timeout-seconds", type=float, default=90.0)
parser.add_argument("--required-vision-timeout-seconds", type=float, default=180.0)
parser.add_argument("--repo-root", type=Path, default=Path.cwd())
parser.add_argument("--max-workers", type=int, default=1)
parser.add_argument("--max-workers", type=int, default=6)
return parser


Expand Down
Loading
Loading