Skip to content

Latest commit

 

History

History
1891 lines (1689 loc) · 119 KB

release-readiness.md

File metadata and controls

1891 lines (1689 loc) · 119 KB

Release Readiness

Status: stable maintainer contract.

LoopX can move quickly without making every merged PR feel like a product release. This note defines the small mental model maintainers should use before promoting a release snapshot, recommending an install path, or telling users which control-plane surfaces are safe to build on.

Supported Install And Update Paths

For a first-time user, prefer the canonical PyPI release:

python3 -m pip install --upgrade loopx
loopx workflow-skills --install
loopx doctor

Restart the agent host after this first install so the newly delivered workflow skills become active.

PyPI owns normal release acquisition and dependency resolution. loopx update apply uses that same owning environment and then refreshes LoopX host material and readbacks; it does not switch channels.

Use the same explicit intent flow for PyPI and archive installations:

loopx update check
loopx update plan
loopx update apply
loopx doctor
loopx extension doctor --all-enabled --execute

After loopx update apply, revalidate enabled extensions with loopx extension doctor --all-enabled --execute. Stale extension readiness is already revalidated during a successful apply; the explicit command above is an independent readback and recovery entry point. A provider that still fails remains closed until its per-extension doctor result is repaired and the command passes. See Extension lifecycle.

For an archive installed with custom directories, keep the same LOOPX_BIN_DIR and LOOPX_RELEASES_DIR overrides when rolling back. Unset or empty overrides use the default locations.

Do not collapse package acquisition, host-material delivery, core runtime activation, and enabled-extension readiness into one "installed" claim. The installation guide's active-layer checklist names the readback and recovery command for each layer.

For a pip or pipx distribution, apply delegates to that owner. For an archive snapshot, apply uses the public stable ref by default. Before replacing the launchers, loopx update --rollback previous checks that the selected release can read the current authoritative Todos for registered local File and SQLite Goals. Both the registry's configured runtime and an explicit runtime override participate in this check. Rollback switches loopx and an archive-managed loopx-apply-rrule to the selected release under the installer's promotion lock. A selected release must provide an executable scheduler helper if the helper is managed by that archive installation. The lock covers Todo checks, both replacements, Doctor and recovery. Rollback verifies each destination against its original inode immediately before replacing it. A changed destination, an interrupted or failed switch, or a failed core Doctor triggers recovery only for links still owned by the rollback. A failed extension Doctor leaves the selected release active so the extension can be repaired. Use a release with a matching state backup if older code cannot read the current data. Use loopx update plan --ref main and loopx update apply --ref main only for maintainer/dev archive qualification. Re-running the curl installer remains a repair path when an archive wrapper is too broken to run its own updater.

For pip and pipx, changes_applied reports an observed change to the installed package version or fingerprint. A successful apply can leave the package unchanged and still refresh host material or reconcile a stale service. execution.restarted_services records the services actually restarted. The updater rechecks the package after extension validation and inside the managed service handoff. If identity cannot be verified, the update retains the package-manager result and directs you to loopx doctor --installation-only in the owning Python environment before retrying. An unbound service can restart through its verified launcher and needs matching HTTP readiness before activation succeeds. A mismatched route or response leaves activation pending.

For contributors, keep the clone-plus-canary path:

git clone https://github.com/loopx-project/loopx ~/loopx
~/loopx/scripts/install-local.sh
loopx doctor
loopx-canary doctor

The PyPI path is the user default. The clone-plus-canary path is the maintainer validation path, and the no-clone archive is the recovery fallback.

Before promoting a stable install/update recommendation, maintainers must move the public stable ref to the release commit that passed this gate. Do not claim stable-channel readiness while stable is missing or stale.

Atomic Local Promotion Failure Matrix

Local clone installs promote through scripts/install-local.sh. Default executable swaps are atomic symlink replaces that run only after a candidate release directory passes deep loopx doctor validation and any required workflow-skill preflight. Contributors should treat the matrix below as the safe failure contract; do not invent a second promotion path or claim that a failed candidate became the live default.

Shipped coverage lives in examples/release/release-promotion-concurrency-smoke.py (lock, wait, and pre-swap rejection) and examples/release/local-install-promotion-boundary-smoke.py (canary-only boundary, explicit override, and skill preflight stop).

Case When it happens Before default symlink swap? Waiter / recovery behavior Contributor stop
Promotion guard held Another install holds releases/.install-guard Yes: waiter has not reserved or swapped yet Waiter polls the flock; it must not create a competing .install-lock while blocked. After the owner unlocks, the waiter acquires the guard and completes Retry is safe. Do not delete a live guard or force-promote around it
Live legacy lock owner releases/.install-lock names a live PID Yes: timed-out waiter never reaches candidate build or swap Waiter times out with timed out waiting for another local install; the live owner lock and PID file stay untouched Stop and wait for the live installer, or ask a maintainer. Do not reap a live owner's lock
Empty or dead legacy lock Lock directory has no valid live PID Yes: reaped before a new owner publishes its PID Waiter reaps the interrupted lock, then acquires ownership and continues Safe automatic recovery. No maintainer action required
Concurrent same-second install Two promoted installs race with a shared release-id seed Partial: each waiter serializes under the guard/lock before its own swap Each run gets a distinct release directory (id, id-2, …); one audited default symlink remains after both finish Treat distinct release ids as expected. Do not hand-edit release directory names mid-install
Incomplete candidate (doctor fail) Candidate package fails deep doctor or required package-root checks Yes: candidate directory is removed; previous default target is preserved No waiter swap occurs. Re-run only after the checkout is complete and doctor-clean Stop promoting. Fix the checkout; do not set LOOPX_PROMOTE_DEFAULT=1 to bypass doctor
Skill preflight blocked Exact-host entry skill cannot be materialized (for example a user-owned colliding skill) Yes: release candidate is removed; existing default binary stays unchanged Failure is local to the install attempt; no partial default promotion Stop. Resolve the skill ownership collision or install without that skill surface before retrying
Ambiguous authority upgrade route The authority upgrade sees state in both default runtime roots and has no explicit route, or a selected/discovered registry omits common_runtime_root Yes: authority upgrade runs before either launcher is switched The installer keeps the candidate and any upgrade backups. Inspect the selected registry, <runtime>/registry.global.json, and every discovered source_registry before retrying the same candidate Verify every discovered registry declares common_runtime_root and resolves to a single unique runtime root before --all-known preflight. Stop and inspect if uniqueness cannot be confirmed; leave both roots and backups in place
Untrusted checkout (auto mode) Checkout is dirty, not on the approved default ref, or otherwise untrusted Yes for default: installer never builds a promoted release snapshot Installer exits canary-only (promotion mode: canary_only_untrusted_checkout), leaves the existing default executable alone, and may refresh loopx-canary Use loopx-canary for validation. Do not set LOOPX_PROMOTE_DEFAULT=1 unless you are explicitly approving this checkout as a maintainer-owned default
Explicit override LOOPX_PROMOTE_DEFAULT=1 on an otherwise untrusted checkout No: this is the intentional swap path after candidate validation Promotion is auditable as explicit_override in release.json and doctor provenance Contributor boundary ends here. Explicit default promotion, moving public stable, tagging, and PyPI publish remain maintainer-only

Contributor-safe defaults:

  • Prefer canary-only installs from ordinary feature checkouts.
  • Treat any failure listed as "before default symlink swap" as proof that the previous default must still be live.
  • When a waiter times out on a live owner, stop; recovery belongs to that owner finishing or a maintainer reclaiming a truly dead lock.
  • Do not document, script, or smoke a contributor path that moves stable, publishes packages, or claims default promotion without LOOPX_PROMOTE_DEFAULT=1 plus an explicit maintainer approval.

For an ambiguous authority upgrade route, check the current default launchers first (loopx --format json doctor --deep --installation-only): another installer may already have promoted a build containing the intended fix.

Because scripts/install-local.sh runs "$release_dir/scripts/loopx" --format json authority-archive upgrade --all-known --execute before switching either launcher, preflight must match that full --all-known discovery path:

  • Under --all-known, authority-archive upgrade resolves the selected route with LOOPX_RUNTIME_ROOT / --runtime-root and then re-resolves without override both the selected LOOPX_REGISTRY and every existing absolute source_registry referenced in <runtime>/registry.global.json.
  • Setting LOOPX_REGISTRY and LOOPX_RUNTIME_ROOT alone does not clear dual-default-root ambiguity if either the selected registry (for example registry.global.json or a minimal project registry) or any discovered source_registry omits common_runtime_root. Either missing declaration re-triggers the ambiguous default-root failure with authority_changed: false.
  • Before running preflight, perform a read-only check on the selected project registry and <runtime>/registry.global.json (plus every existing source_registry in its goals[]) to verify that every source declares common_runtime_root and resolves to a single unique runtime root.
  • Run the retained candidate's full read-only --all-known preview (omit --execute so nothing is written; add --require-current when stores and registries are expected to need no migration):
LOOPX_REGISTRY=<verified-project-registry> \
LOOPX_RUNTIME_ROOT=<verified-runtime-root> \
<release-dir>/scripts/loopx --format json authority-archive upgrade --all-known
  • Stop-and-inspect path: If the selected registry or any discovered source_registry omits common_runtime_root, if any source_registry is not absolute or cannot be confirmed to resolve to one unique runtime root, or if --all-known still fails with the ambiguous default-root error, stop. Leave both default runtime roots, the retained candidate, and all upgrade backups in place. Inspect which registry lacks common_runtime_root (a read-only single-root authority-archive upgrade without --all-known may diagnose that single route, but it cannot substitute for a passing --all-known preflight), fix the missing route declaration, and confirm the full --all-known preview succeeds before an authorized installer retry with the same route.

After activation, verify the active default executable's manifest revision in JSON mode (--format json is required because Markdown output for --installation-only omits service_runtime_identity.source_revision):

loopx --format json doctor --deep --installation-only

Check ok: true and service_runtime_identity.source_revision (and service_runtime_identity.release_id) against the promoted candidate.

When activating a recovery change that touches an existing Turn's journal, durable writeback, or quota settlement, capture the original Turn's three read-only JSON receipts before switching the default executable (pre-switch) and repeat the exact same three commands after activation (post-switch) through the selected registry and runtime root:

# Run before switching the default executable (pre-switch), then repeat
# identically after activation (post-switch) and compare receipt identities.

# 1. Turn journal (validation, durable writeback, and quota-spend phases)
loopx --registry <verified-project-registry> --runtime-root <verified-runtime-root> \
  --format json turn inspect-journal \
  --goal-id <goal-id> --agent-id <agent-id> --turn-key <turn-key>

# 2. Quota heartbeat & settlement receipt (original Turn guard + completion settlement)
loopx --registry <verified-project-registry> --runtime-root <verified-runtime-root> \
  --format json quota receipt \
  --goal-id <goal-id> --agent-id <agent-id> --turn-instance-id <turn-id> \
  --include-settlement

# 3. Canonical Todo operation receipt (for Goals on promoted canonical authority)
loopx --registry <verified-project-registry> --runtime-root <verified-runtime-root> \
  --format json todo receipt \
  --goal-id <goal-id> --operation-id <operation-id>

Compare the pre-switch and post-switch captures to confirm continuity across the upgrade:

  • turn inspect-journal: matching journal_status, completed_phases, recorded_effects (host_invoked, state_written, quota_spent, scheduler_acknowledged), journal_consistent, and turn_key_matches;
  • quota receipt --include-settlement: on a normal active rollout log, verify continuity through the original Turn and verified completion-receipt fields: matching heartbeat_receipt.event_id, heartbeat_receipt.settlement_identity.effect_id, settlement_verified: true (settlement_conflict_reason: null), completion_receipt.todo_id, completion_receipt.completion_receipt_id, and completion_receipt.sha256 (the canonical digest of the completion event itself). If both pre-switch and post-switch captures lack completion_receipt (null) or report settlement_verified: false, continuity is not established — preserve any prior failure records and settlement_conflict_reason rather than treating matching failure payloads as continuity. Treat completion_receipt.source_ref.sha256 equality strictly as a diagnostic check for a frozen/quiescent rollout log: it hashes the entire current rollout log file (source_ref.path), so unrelated observations or later Turns appended between the two captures change source_ref.sha256 even when the original Turn and its verified completion receipt are unchanged;
  • todo receipt: matching status, operation_id, provider_revision, cursor, source_authority, and receipts.

Merged Is Not Runtime-Active

A post-merge check proves behavior on the tested source commit. It does not prove that an installed LoopX runtime contains that commit. This distinction matters when a fix reaches main after the latest named release: package versions may still match while the installed source commit is behind.

Use loopx update check --ref main for archive maintainer qualification. Its runtime_activation_qualification result compares the release-manifest source commit with the selected ref's current GitHub commit. source_commit_check records the bounded read; an unavailable lookup does not turn equal package versions or a locally cached ref into an up-to-date claim:

  • runtime_active means the installed commit is the target commit or contains it;
  • release_or_install_successor_required means the installed commit is behind or diverged, so a release/install successor must remain explicit;
  • activation_qualification_required means the selected commit differs without proven ancestry, the ref lookup is unavailable, or archive identity is not established; the runtime-active claim must fail closed until qualified.

A pinned full commit SHA is its own trusted target, so loopx update check --ref <40-hex-commit> qualifies against the installed manifest source commit without waiting for a branch lineage lookup. Installed and pinned commits match: the receipt is runtime_active. They differ: the receipt stays activation_qualification_required and names the installed commit difference instead of the generic lineage message.

Closing a PR monitor after latest-main validation is valid, but the closeout must not say the fix is active in the installed runtime unless this receipt is runtime_active. Publishing a release remains a separate maintainer action. When the qualification command itself runs from newer source code, pass a local snapshot from the older installed CLI with --installed-doctor-json; this option is read-only and accepted only by update check.

Named Version Contract

LoopX releases are tagged and built from GitHub. The release workflow publishes artifacts to GitHub Releases and, when its Trusted Publisher gate passes, PyPI; each stable promotion still needs one package version name. The version source is loopx.__version__, mirrored by pyproject.toml; the expected public tag is vX.Y.Z for that version.

Exact-source qualification reads both version declarations from the selected checkout without executing its package. Missing, malformed or conflicting build metadata refuses qualification even when the commit is clean and all supplied receipts agree. Release artifact tooling loads the shared static reader without bootstrapping the candidate package, including when the tool and candidate use the same checkout. Invalid metadata retains the artifact CLI's normal error output; inspection does not execute package initialization.

Before moving stable, maintainers should:

  • before freezing the candidate, fetch stable from the verified target repository and check that its released commit is an ancestor of the candidate with git merge-base --is-ancestor STABLE_COMMIT CANDIDATE_COMMIT. Inspect its exit status directly: only zero permits the fast-forward path; a later successful command does not make an earlier ancestry check pass. Resolve divergent history through a reviewed merge PR, retain current behavior, then qualify the new exact source. Never force-update the released ref;
  • run the complete packaged Personal Workspace journey against the exact candidate before publishing a release, including every catalog scenario and the companion flows in npm run smoke:personal-workspace-packaged; installation, upgrade and Host checks alone do not qualify the page. The install_upgrade_host result uses release_install_upgrade_host_summary_v1 and requires packaged_frontend_passed=true as well as the three existing checks. Missing, failed or skipped page validation holds release readiness;
  • bump loopx.__version__ and pyproject.toml together when user-visible release behavior changes;
  • before freezing the candidate, align the existing canonical help catalog, generated versioned manpage and current developer-book release checkpoint; run the documentation preflight below without changing historical examples;
  • create or verify the matching Git tag, for example v0.1.3;
  • for host Goal/prompt changes, explicitly run the release-only native Goal regression in a supported Codex environment; record an unavailable environment as skipped, not a live pass. Never enable paid model execution in default PR CI;
  • for conversational intake/routing changes, run the public intake evaluation on the release candidate for the default and newly advertised model profiles, with at least two repeats. Record the exact commit, model/settings, prompt/case hashes, usage, failures and skips. Paid calls belong to release qualification, never routine PR work, per-commit checks or heartbeats; ordinary development uses offline regressions and affected browser scenarios. A skipped profile is not qualified, and provider failures must remain visible;
  • fast-forward stable to that tagged commit after the release canary passes;
  • confirm release.json, loopx doctor, and loopx update check report the same package version and tag;
  • tell existing users to run loopx update check, then loopx update apply when the check recommends or when they want to refresh to the named stable release.

Run the existing documentation preflight from the candidate worktree:

uv run --extra test python scripts/render-manpage.py --output man/loopx.1
uv run --extra test python examples/cli-help-manpage-smoke.py
uv run --extra test python examples/dev-book-publication-smoke.py

The release workflow builds a wheel and source distribution from the tagged commit. Its release assets include a canonical SHA256SUMS file, and GitHub records build-provenance attestations for both packages and the checksum manifest. Verify a downloaded bundle before installation:

sha256sum --check SHA256SUMS
gh attestation verify loopx-X.Y.Z-py3-none-any.whl --repo loopx-project/loopx
gh attestation verify loopx-X.Y.Z.tar.gz --repo loopx-project/loopx

The checksum proves that the downloaded bytes match the release manifest. The attestation separately binds those bytes to the repository, workflow, commit, and build event; neither mechanism claims that the package is vulnerability free.

Wheel builds recreate the LoopX package subtrees in build_lib and wheel staging after verifying the frontend bundle. Reused build or retained staging directories must not carry modules, packages or resources deleted from current source. Current package data and the bundle's qualified previous asset generation remain included; unrelated build output and editable setup remain untouched. A build destination overlapping the source package is rejected. Explicit bdist_wheel --skip-build still packages the selected existing build; it is not a fresh-source qualification. Before qualifying retirement, inspect the built wheel and run its installed entry points outside the source checkout.

Before a recovery dispatch, inspect the existing pypi environment's allowed branch/tag refs as well as the Trusted Publisher and enabled variable:

gh api repos/loopx-project/loopx/environments/pypi/deployment-branch-policies
gh api repos/loopx-project/loopx/actions/variables/PYPI_PUBLISH_ENABLED

The workflow ref must satisfy that existing deployment policy. For a tag-only policy, use an explicitly labelled release-tooling tag pinned to the reviewed workflow commit, separately from the immutable product tag passed as tag. Retain the tooling ref for provenance verification; do not move the product tag, relax the environment policy, or replace Trusted Publishing with a token.

When a tagged build passed but publication stopped after a partial upload, dispatch the reviewed release workflow with the original product tag and its validated_run_id. This path reuses the successful release-event build without rebuilding packages or repeating qualification. It checks the repository, workflow, tag, source and successful build job, then verifies every recovered file's attestation against that tagged source. Existing Release assets must match downloaded bytes exactly before any missing file is uploaded; a mismatch or case-insensitive name collision stops publication without replacement. Trusted Publishing and the existing environment policy still apply.

Reserve qualification.json for the workflow's attested runtime qualification. Use RELEASE-QUALIFICATION.json for a separately maintained release overview; GitHub Release asset names must also be unique when compared ignoring case.

The main runtime publisher verifies its downloaded installation qualification against the source revision, channel, archive digest and byte count before any remote write. Every installation/recovery check must pass, and immutable metadata must match the candidate channel metadata. Missing, failed or mismatched evidence leaves the existing releases and channel untouched. Record supported-profile adoption, matched model outcomes and complete cost separately under RFC §9.

main 运行时发布器在任何远端写入前,将下载的安装资格与源码提交、渠道、归档摘要及 字节数逐项核对。安装和恢复检查必须全部通过,不可变元数据必须与候选渠道元数据一致。 证据缺失、失败或不匹配时,保留已有发布及渠道。按 RFC §9 单独记录受支持 profile 的 采用、匹配的模型成果和完整成本。

New public runtime descriptors carry the observed C1 contract in qualified_default_contract. The archive identity and qualification receipt retain default_contract. Existing v1 updaters can use the same ordinary loopx update flow to verify the source revision, archive digest and byte count. Current readers normalize the attestation and verify that it matches the archive identity. The builder probes the committed runtime before writing a descriptor. Qualification checks the installed candidate's ordinary quota writer in an isolated Goal with context delivery off. The publisher requires the compatibility descriptor and exact identity match before uploading a candidate. The main publishers offer engineering-qualified candidates as immutable prereleases for explicit verification. Test a Runtime candidate with loopx update check --ref <source-sha> and the corresponding apply command in a qualification installation. A signed Desktop candidate uses the immutable release for its exact build. The Runtime and Desktop main and stable channels require the Complete Turn contract in loopx/cli_commands/public_default_contract.json. The named release uploader verifies the stable Runtime archive and qualification against the release source before uploading any package assets. Failed qualification blocks the upload and its PyPI job. Desktop advances desktop-stable after uploading the qualified tagged build and its signed feed. Archive updaters shipped before this cutover resolve stable through GitHub Latest. The maintainer publishes a prepared, already tagged release through create-named-release after the final release body is approved. It passes --latest=false to GitHub at creation, keeping old stable installs on the previous complete release while the existing published-release workflow builds and uploads the new bundle.

python scripts/release_artifacts.py create-named-release --repo loopx-project/loopx \
  --title "$RELEASE_TITLE" --notes-file "$RELEASE_BODY"

From the tagged source, run python scripts/release_artifacts.py promote-latest --repo loopx-project/loopx --dist-dir dist with its validated bundle. The command reruns stable qualification and downloads the published assets to check their bytes against that bundle. When the maintainer authorizes the pointer move, rerun with --execute to update the exact release and verify GitHub Latest. If a write response is lost, read the release or Latest before retrying. Keep candidates on their immutable main revision while stable qualification is pending. Desktop packaging observes its actual archived source through the same probe. Runtime updates reject unsupported declared contracts before download or activation and bind the archive's contract identity to its metadata. macOS validates the same contract inside the signed archive before caching or applying a main or stable update. For rollback, use the previously installed release or the saved App backup. The immutable v2.4.0 tag remains available with its own quota-packet tooling. Record actual Host adoption and the matched single-session outcome and full-cost comparison under RFC §9.

新的公开 runtime 描述符将实测的 C1 契约写入 qualified_default_contract, 归档身份和资格回执使用 default_contract。已有 v1 更新器可沿原 loopx update 流程校验源码提交、归档摘要和字节数。当前读取端会归一化该声明,并核对归档身份。 构建器在写入描述符前探测已提交的 runtime。安装资格检查在隔离 Goal 中关闭上下文传输后 再次观察普通 quota writer。发布器上传候选前要求使用兼容描述符,并核对精确身份。 通过工程资格的 main 候选可从不可变预发布版本取得,供显式验证。用 loopx update check --ref <source-sha> 和对应的 apply 命令在资格验证安装中测试 Runtime 候选。签名 Desktop 候选使用其精确构建的不可变发布。 Runtime 与 Desktop 的 main 和 stable 渠道都要求 loopx/cli_commands/public_default_contract.json 中的 Complete Turn 契约。 正式版本先核对 stable Runtime 归档、安装资格回执与版本来源,再上传包制品。 资格校验失败时,停止上传和对应的 PyPI 任务。Desktop 上传通过资格校验的标签制品和 签名更新清单后,再推进 desktop-stable。 切换前已安装的归档更新器经 GitHub Latest 解析 stable。维护者确认最终发布正文后, 使用上面的 create-named-release 发布已打标签的版本。创建时显式传入 --latest=false,让旧客户端在现有发布工作流构建和上传制品期间继续使用上一完整版本。

在该标签的源码目录,用已验证的制品运行 python scripts/release_artifacts.py promote-latest --repo loopx-project/loopx --dist-dir dist。命令重新核验 stable 资格, 下载已发布的资产并核对字节。维护者授权切换后,为该命令加上 --execute, 更新精确发布记录并读回 Latest。如果写入响应丢失,先读回发布记录或 Latest,再决定 是否重试。stable 资格未就绪时,使用不可变的 main 提交验证候选。 桌面打包通过相同探测检查实际归档源码。Runtime 更新在下载或激活前拒绝 未支持的声明契约,并核对归档身份与元数据中的契约。macOS 在缓存或应用 main 和 stable 更新前,检查签名归档中的同一契约。本机可回退到已安装的上一版本或已保存的 App 备份。 不可变的 v2.4.0 标签保留自己的 quota-packet 工具。按 RFC §9 记录受支持 Host 的实际采用,并完成同单会话匹配成果和完整成本对照。

macOS preview upgrade across the C1 cutover

The quota-packet-only macOS updater rejects a C1 archive at the contract check. Once a compatible signed preview is published, use this one-time manual replacement path from the older App:

  1. Download LoopX.app.tar.gz and LoopX.app.tar.gz.sig from the same official desktop-main-* release for a C1-capable source revision. In a scratch directory, verify the archive against the already trusted updater key. The key is the base64 value of plugins.updater.pubkey in the installed version's trusted Tauri configuration.

  2. Decode the trusted key and the release signature and verify before unpacking. With the trusted configuration saved as trusted-tauri.conf.json, run:

    set -euo pipefail
    jq -er '.plugins.updater.pubkey' trusted-tauri.conf.json | base64 -D > updater.pub
    base64 -D -i LoopX.app.tar.gz.sig -o updater.minisig
    minisign -Vm LoopX.app.tar.gz -p updater.pub -x updater.minisig
    tar -xzf LoopX.app.tar.gz
    codesign --verify --deep --strict LoopX.app
  3. Quit LoopX and save the existing App bundle and a compatible state backup before replacing the App. Launch the verified replacement, then confirm the App version, the same Goal and original receipt, and the installed runtime's v1 default. If the checks fail, quit and restore the previous verified bundle with the compatible backup as needed. The standalone CLI has its own update and rollback path.

仅支持 quota-packet 的 macOS updater 会在契约校验处拒绝 C1 归档。兼容的签名预览版 发布后,首次跨越此边界时按上面的手动流程操作。从同一官方 desktop-main-* 发行版下载归档和签名, 用已信任的旧版 updater 公钥校验归档,再解包并校验 App 签名。退出 LoopX,备份旧 App 与兼容状态后再替换。启动后读回版本、同一 Goal、原回执及已安装 runtime 的 v1 默认值。检查失败时,退出并恢复已验证旧 App,需要时恢复兼容状态备份。独立 CLI 沿自己的更新与回退路径处理。

For a browser-fixture error discovered after an immutable tag was published, maintainers may dispatch the release workflow from reviewed tooling with tag set to that existing release and browser_fixture_commit set to a full, merged commit SHA. The workflow copies only the personal-workspace fixture, chat-recovery, typed-actions, goal-work-map, goal-workspace-m2, lark-cli-missing, pr-review-agent-order, and workspace-locale browser-smoke files from that commit. The workflow checks that every candidate file remains a regular source file before copying any correction. A deleted file or symlink rejects the entire correction. A non-default commit must contain at least one correction in these fixture owners. The wheel and sdist are built before those test corrections are applied; checksums are verified again after the browser and managed-runtime tests, and the fixtures are restored. An empty input uses the tagged fixtures. This does not skip browser validation, rebuild from main, move the tag, or authorize product changes.

RELEASE-SOURCES.json records the product tag/commit, browser fixture commit, workflow commit/ref, and package/checksum hashes. It is uploaded and attested alongside the packages. For a dispatched recovery, the attestation's build source identifies the workflow commit; the product source remains the tagged commit named in this separately attested record. Verify both, rather than assuming the builder and product commits are identical:

gh attestation verify RELEASE-SOURCES.json --repo loopx-project/loopx

PyPI publication is an explicit, fail-closed extension of the same build. The release workflow publishes only when maintainers have configured all of these:

  • a PyPI project named loopx with a Trusted Publisher for loopx-project/loopx and .github/workflows/release-artifacts.yml;
  • a protected GitHub environment named pypi that matches the Trusted Publisher configuration;
  • the repository variable PYPI_PUBLISH_ENABLED=true.

Do not add a long-lived PyPI token. Without the enabled variable, the PyPI job is skipped. With publication enabled, a disallowed workflow ref or invalid Trusted Publisher configuration fails closed; it does not become a successful or skipped publication. GitHub packages and PyPI publication retain separate readbacks.

Desktop Builder Publication Preflight

The Desktop Release Artifacts workflow has a default-off, read-only publication_probe mode. It measures whether an already admitted Windows builder can verify the complete release set without waiting for another runner. It does not publish assets or reserve organization capacity. Ordinary release events, PR/fork builds and manual dispatches with this input omitted or false retain the existing separate Ubuntu publisher, job permissions, signing, complete asset set, backup and manifest-last ordering.

Activate only from a reviewed workflow ref with an existing public Release tag:

gh workflow run desktop-release-artifacts.yml --ref <reviewed-workflow-ref> \
  -f tag=<existing-release-tag> -f publication_probe=true

The probe checks out immutable workflow tooling separately from the product tag. It records and attests each platform's actual product commit, workflow commit, run/attempt and artifact digests in isolated source artifacts. Windows requires a successful terminal Mac job and at least 10 minutes plus a 60-second margin within its existing 30-minute job. It performs bounded metadata reads without polling or holding a runner while another builder is queued. On a failed-jobs-only rerun, an earlier successful Mac attempt is usable only with matching attested source lineage; a later failed/unfinished Mac attempt cannot fall back to older success. The bounded probe supports at most ten attempts and ten metadata pages per attempt.

Read back the actual run and both build jobs, then download the report:

gh run view <run-id> --json headSha,event,status,conclusion,jobs
gh run download <run-id> -n desktop-publication-preflight-<attempt> -D preflight-result
cat preflight-result/report.json

The report distinguishes eligible, held and unavailable and always sets publicationAuthorized=false. An eligible report requires same-run downloads, verified source/binary attestations pinned to the workflow commit, the canonical four-asset/checksum owner, an unchanged Release inventory and a final budget check. It still precedes the Windows job's post-actions and final outcome. Missing Release, changed tag/source, incomplete or ambiguous jobs, failed downloads, API 403/429, timeouts, missing/extra/stale bytes and verification failures never qualify a writer. A green build or report is not permission to publish.

In probe mode, the existing upload-release job is disabled, including on manual dispatch: only CI artifacts, their provenance attestations and a job summary are produced. The builder retains contents:read and its existing attestation permissions. The probe grants no release-content, infrastructure, billing, credential or merge authority. Check the before/after Release asset inventory when qualifying a hosted pilot; synthetic metadata/local smokes do not establish Windows transport, signing, timing or cost. A writing fast path would change job-wide credentials and the two-build-terminal success condition and requires its own exact-head review and maintainer authorization.

Disable by omitting publication_probe or setting it to false; this restores the ordinary isolated publisher. Reverting the probe change removes the optional CI mode without modifying already published Release assets. Publication recovery keeps the existing backup, complete replacement, manifest-last and remote readback rules; never launch a second writer after a mutation's response is unknown. Standard runner reuse cannot guarantee the first admission or organization-wide release priority. See the versioned release contract for the published baseline; this probe remains unqualified until its reviewed workflow has actual hosted evidence. No hosted pilot or release mutation is part of a local validation run.

桌面发布只读预检默认关闭。仅在既有公开 Release tag 和已评审 workflow ref 上显式 传入 publication_probe=true 激活;该模式禁用原上传 job,不写 Release。通过真实 run/attempt 的完整 jobs、desktop-publication-preflight-<attempt> 制品及前后 Release 库存验收。eligible 只表示源码、四资产、证明和预算的只读条件满足,Windows 最终 job 结果仍待确认,publicationAuthorized 始终为 false。API/下载/校验失败、移动 tag、 不明 lineage 或预算不足都不能放行;不占槽轮询等另一平台。省略该输入或设为 false 恢复既有隔离 publisher;撤回代码不影响已发布资产。写入快路的权限、双 job 终态门、 实际 Windows 路径及发布恢复须独立评审和维护者授权;本机 smoke 不等于 hosted 采用, 复用 runner 也不构成组织级容量预留。

Multi-Surface Release Execution Pipeline

A complete LoopX release coordinates four deliverables: Core CLI/PyPI + stable ref, Desktop App / Tauri Updater, dsh-loopx-plugin (GitHub Release + npm + awesome-dsh-plugin), and Bilingual Release Notes + Personal Feishu Guide. Execute these stages concurrently where safe instead of waiting serially:

Stage 0: Fast Upfront Preflight (< 5s)

Run one static & online inventory command before starting long qualification runs so version skew, missing signing secrets, or npm bootstrap prerequisites surface immediately:

uv run --extra test python scripts/release_multi_surface_preflight.py --online

Stage 1: Four Concurrent Local Qualification Lanes

On one clean, frozen release commit (preserving origin/stable ancestry), fan out four independent qualification lanes in parallel:

  1. Lane A (Static, Boundary, Canary & Companion Packaging): loopx check --scan-root ., examples/release/*-smoke.py, manpage + dev-book smokes, dsh-loopx-plugin unit tests & registry smoke.
  2. Lane B (Low-Frequency Live Model Behavior): uv run --extra test python scripts/qualify-doubao-model-behavior-live.py --qualification-id <release-qual-id> --repo-root . against the exact commit (and optional DeepSeek/Ark smoke).
  3. Lane C (Wheel Install, Upgrade, Runtime Probe & Packaged UI): Build wheel/sdist, install in a clean environment, verify runtime_activation_qualification, upgrade from origin/stable, and run npm --prefix apps/presentation/dashboard run smoke:personal-workspace-packaged.
  4. Lane D (Single-Wave Sharded Pytest & Release Receipt): uv run --extra test python scripts/qualify_release_commit.py --repo-root . --output-dir .local/release-qualification --preflight-since <previous-tag> --resume (using single-wave shard concurrency via default_pytest_parallelism), then settle with uv run --extra test loopx canary release-qualification --manifest-json <release-qualification-manifest.json> --repo-root ..

Stage 2: Concurrent Tag Fan-Out & Reactive Waiting

  1. Fast-forward/push annotated tags (vX.Y.Z for Core + Desktop, and dsh-loopx-plugin-vA.B.C when the DSH plugin changed) to trigger release-artifacts.yml and desktop-release-artifacts.yml; once the non-draft vX.Y.Z and dsh-loopx-plugin-vA.B.C GitHub Releases are published, desktop-updater.yml runs on release publication (or workflow_dispatch) and dsh-plugin-publish.yml is dispatched via workflow_dispatch.
  2. Never busy-poll workflow runs with sleep loops. While GitHub Actions builds and notarizes binaries, immediately author the companion Personal Feishu Release Guide (using real post-upgrade screenshots) and open/update the awesome-dsh-plugin catalog PR.

Stage 3: npm Trusted Publisher Bootstrap (First-Time Package Setup)

npm OIDC Trusted Publishing (dsh-plugin-publish.yml) cannot create a package before it exists on registry.npmjs.org (HTTP 404 catch-22):

  1. Enable auth-and-writes 2FA on the owning npm account.
  2. Perform a one-time web-auth publish using the exact immutable GitHub Release tarball (npm publish dsh-loopx-plugin-VERSION.tgz --access public --tag latest --ignore-scripts), then immediately run npm logout so no long-lived CLI token remains on disk.
  3. On https://www.npmjs.com/package/<name>/access under Trusted Publisher, select GitHub Actions with Organization/User loopx-project, Repository loopx, Workflow filename dsh-plugin-publish.yml, blank Environment name, and Allow npm publish checked (the default npm stage publish only setting rejects direct npm publish --provenance). Re-dispatch dsh-plugin-publish.yml to verify OIDC provenance and readback.

Stage 4: Complete Cross-Surface Readback & stable Promotion

  1. Run end-to-end online readback:
    uv run --extra test python scripts/release_multi_surface_preflight.py --online --require-published
    node packages/dsh-loopx-plugin/scripts/verify-distribution.mjs --tarball <downloaded-dsh-tarball.tgz>
  2. Verify SHA256SUMS / DESKTOP-SHA256SUMS, GitHub artifact attestations, signed desktop-stable/desktop-updater.json, remote GitHub Release body hash (release-readiness-doc-smoke.py), and fast-forward origin/stable once all surfaces pass.

多端协同发布执行流水线(中文精要)

完整发布协同 Core CLI / PyPI 与 stable 分支、Desktop 应用与签名热更新、dsh-loopx-plugin(GitHub Release + npm + awesome-dsh-plugin) 及 双语 Release Notes 与个人飞书使用指南,按 5 个阶段并行推进:

  1. 阶段 0(5 秒前置巡检): 先跑 uv run --extra test python scripts/release_multi_surface_preflight.py --online,在耗时资格化前暴露版本漂移、桌面配置缺失或 npm 首包前置门禁。
  2. 阶段 1(本地四路并行资格化): 在同一冻结提交上并发执行静态/边界/文档/DSH smoke、低频模型行为门禁(scripts/qualify-doubao-model-behavior-live.py --qualification-id <release-qual-id>)、Wheel+Upgrade+Packaged UI(npm --prefix apps/presentation/dashboard run smoke:personal-workspace-packaged)全链路,以及单波多片 qualify_release_commit.py --resume,汇总至 loopx canary release-qualification。
  3. 阶段 2(远端并发触发与响应式等待): 并发推注核心 tag(vX.Y.Z)与插件 tag(dsh-loopx-plugin-vA.B.C)触发 release-artifacts.yml 与 desktop-release-artifacts.yml;非草稿 Release 发布后,desktop-updater.yml 按发布事件(或 workflow_dispatch)运行、dsh-plugin-publish.yml 经 workflow_dispatch 执行。等待构建/公证期间并行编写个人飞书指南与 awesome-dsh-plugin 目录 PR(禁止用轮询 sleep 干等)。
  4. 阶段 3(npm 首包建档与 Trusted Publisher 一次性引导): 若 registry.npmjs.org 尚无包档(404),先开启 auth-and-writes 2FA,取 GitHub Release 同字节 .tgz 经网页 2FA 执行一次 npm publish --access public --tag latest --ignore-scripts 后立即 npm logout;再到包 Access 页添加 GitHub Actions(loopx-project / loopx / dsh-plugin-publish.yml、Environment name 留空、必须勾选 Allow npm publish),随后重跑 dsh-plugin-publish.yml 验签。
  5. 阶段 4(全端回读与 stable 推广): 运行 release_multi_surface_preflight.py --online --require-published 与 verify-distribution.mjs,核对全部校验和/证明/更新清单/飞书链接/Release 正文哈希无误后推广 origin/stable。

Public Release Timeline

The public GitHub release timeline starts at v0.1.3. Earlier work should be treated as pre-public bootstrap for the local control plane, installer, update path, and canary route rather than as a user-facing release baseline.

  • v0.1.3 on 2026-07-02 14:45 +08:00: initial public stable-channel release at commit 10509b06. This release made LoopX explainable as a no-clone, local-first control plane for long-running AI agents: install, update, doctor, named version reporting, and the first public status/quota/todo/gate surfaces were ready to recommend together.

  • v0.1.4 on 2026-07-03 00:24 +08:00: fast-follow release at commit 07d0a753. This release tightened product-capability monitor projection, release-readiness checks, and canary evidence so the first public baseline was easier to diagnose and refresh.

  • v0.1.5 on 2026-07-03 13:28 +08:00: long-horizon execution hardening at commit c036d60e. This release improved quota/status/runtime routing, monitor and scheduler projection, release packaging coverage, and outcome-floor recovery for stuck or low-progress loops.

  • v0.1.6 on 2026-07-03 17:07 +08:00: visible multi-agent startup hardening at commit 1e3df9df. This release made auto-research startup easier to see and trigger, clarified decentralized pane routing, tightened monitor and scheduler projection, and expanded the Codex CLI first-run release checks.

  • v0.1.7 on 2026-07-04 12:52 +08:00: command-entry integration release at the matching v0.1.7 tag. This release made the supported entry layer explicit: Codex installs LoopX command-facade skills such as $loopx, Claude Code gets matching skill entries, legacy prompt shims are retired, and the rich workflow skills remain available for implicit LoopX behavior.

  • v0.1.8 on 2026-07-04 16:53 +08:00: deterministic host-loop activation release at the matching v0.1.8 tag. This release gives new agent hosts an explicit agent-onboard contract for choosing codex-app, codex-cli, claude-code, opencode, manual, or other-agent, rejects ambiguous inputs such as codex, and makes /loopx <task> activate or gate the correct host loop after todo writeback.

  • v0.1.9 on 2026-07-05 21:45 +08:00: real auto-research and agent-scoped evidence release at the matching v0.1.9 tag. This release removes fake auto-research demo metrics, makes the KNN preset use a real benchmark workspace with public-safe evidence writeback, exposes role-named visible research panes, wires agent-scoped evidence read hints into replan, and hardens successor/frontier recovery when completed advancement has no next executable todo.

  • v0.1.10 on 2026-07-06 11:50 +08:00: scoped user-gate and agent-management release at the matching v0.1.10 tag. This release makes blocking owner todos explicitly typed as user_gate or non-blocking user_action, scopes per-agent gates with blocks_agent, adds read-only live agent-management status projections, and continues moving quota, todo, scheduler, review packet, and handoff rules into bounded control-plane contexts with focused canary coverage.

  • v0.1.11 on 2026-07-06 19:38 +08:00: vision-replan and recovery-routing release at the matching v0.1.11 tag. This release makes goal-vision gaps participate in the quota/replan decision plane, preserves continuation audits in quota and interaction contracts, supersedes stale vision checkpoint gaps when newer evidence closes them, and adds judge guidance for when a vision gap is real work versus stale state. It also promotes the latest control-plane bounded-context cleanup, auto-research successor/evidence fixes, connector source-map packets, structured run-index classification, and Codex CLI/TUI recovery fixes.

  • v0.1.12 on 2026-07-08 02:05 +08:00: presentation/read-model and frontier recovery release at the matching v0.1.12 tag. This release moves large status, goal-channel, dashboard, and Lark rendering paths into bounded presentation/read-model modules, fixes monitor-only plus open-vision frontier replan gaps, makes installer reruns overwrite stale wrappers/files safely, exposes premerge canary progress earlier, and promotes auto-research visible worker/successor routing plus selected public benchmark route/profile and SkillsBench helper hardening.

  • v0.1.13 on 2026-07-08 18:15 +08:00: guided onboarding and multi-agent control-plane release at the matching v0.1.13 tag. This release makes new project setup more repairable with guided start-goal previews (#1631, #1633), non-destructive write-scope migration (#1636), delivery-scale aliases, and clearer refresh-state diagnostics (#1641); routes primary controllers toward subagent orchestration (#1622) behind an explicit default-off feature switch (#1643); improves scheduler ACK/backoff recovery and heartbeat migration (#1626, #1639); splits quota/status fixture hot paths, Lark projection row helpers, and content-ops markdown renderers into narrower modules (#1640, #1642, #1644, #1646); adds public-safe external ML task ledgers (#1627); hardens SkillsBench source/countability/launcher evidence (#1612, #1620, #1621, #1625); and relaxes local next_action / recommended_action text to allow local project routing references while still rejecting inline credentials (#1645).

  • v0.1.14 on 2026-07-09 11:49 +08:00: developer-contributed exploration topology and monitor/quota recovery release at the matching v0.1.14 tag. This release promotes the software exploration result layer (#1546): public explore node/edge/finding records, Lark presentation mapping, graph exports, router/load-profile planning primitives, and deny-by-default explore_harness worker/todo branch planners gated by each goal's spawn_policy. It also ships the monitor scheduler cadence repairs that keep quiet monitor polls from collapsing back to short intervals (#1699 and related scheduler fixes), plus quota/status/todo read-model hardening for user-gate counts, completed-todo successors, evidence-log counts, delivery lineage, and compact agent-lane status summaries (#1707-#1716).

  • v0.1.15 on 2026-07-10: actionable routing and long-run reliability release at the matching v0.1.15 tag. This release makes the agent-facing current action and quota-selected todo more explicit, centralizes primary-action resolution, and preserves replan acknowledgements, filtered resumes, vision lifecycle state, and due monitors across bounded progress (#1720, #1731, #1751, #1757, #1764-#1766, #1769-#1770). It hardens external monitor and multi-agent continuation through quiet-timeout handling, identity/capability gates, no-handoff lane fidelity, and typed continuation policies (#1722-#1724, #1745, #1747, #1754, #1773). Experimental issue-fix and SkillsBench routes gain feasibility, lifecycle, evidence, failure-attribution, cache/proxy, prewarm, and ledger-closeout improvements (#1726, #1734, #1738-#1744, #1748-#1750, #1753, #1756, #1759-#1763, #1767-#1768, #1771-#1772). The release also adds and repairs the parallel full-public smoke sweep, fixes direct-install doctor behavior, clarifies Explore's measurable-metric fit, and closes the todo CLI ownership-budget regression (#1721, #1725, #1727-#1730, #1735, #1743, #1752, #1774).

  • v0.1.16 on 2026-07-10: archive-install provenance hotfix at the matching v0.1.16 tag. This release isolates release-manifest generation from the caller's working directory and inherited Python path, so running an update from an older LoopX checkout cannot stamp that checkout's package version into the new stable snapshot. The no-clone release gate now covers this stale-checkout invocation directly (#1776). No product capability or state migration changes in this hotfix.

  • v0.2.0 on 2026-07-11: peer-agent runtime and issue-fix control-plane release at the matching v0.2.0 tag. This release completes the v0.2 runtime cutover from hierarchical agent ownership toward equal peer agents: task claims are soft routing signals, independent handoff uses continuation_policy=independent_handoff plus excluded_agents, and stale legacy review continuation paths are rejected or migrated. It also promotes the issue-fix capability from feasibility planning into a fuller public maintainer loop with caller-repo branch preparation, acceptance artifacts, reviewer request fallback, PR lifecycle observation, and domain-state writeback. Explore Harness and long-run benchmark projections gain stronger public result contracts, while install/update, release provenance, quota, todo, scheduler, and protocol-action smokes were swept under the full-public suite for the 0.2 release cut.

  • v0.2.1 on 2026-07-12: agent-facing quality and long-run reliability fast-follow at the matching v0.2.1 tag. This release makes bounded turn context explicit through TurnEnvelope contracts, adds trajectory-hygiene and packet-duplication measurements, and preserves action contracts while trimming repeated hot-path material. Issue-Fix gains repository snapshots, decision-useful memory, Explore projection, reviewer/CI receipts, impact metrics, and guarded promotion of newly discovered public defects. Optional Explore planning now preserves independent experiment lanes and supports resource-aware portfolio decisions. Peer routing is hardened across task lease validity, advisory agent profiles, deferred successor exclusions, and non-blocking user actions. The repository also establishes parallel pytest, Ruff, strict typing, import-boundary, coverage-floor, and release-promotion concurrency checks so these broader capabilities remain maintainable.

  • v0.2.2 on 2026-07-12: visible execution and projection reliability fast-follow at the matching v0.2.2 tag. Explore gains recoverable execution episodes and ReplayPoint-based counterfactual branches, plus an optional owner-facing visual sink and real graph examples in the public entry surfaces (#1892, #1962, #1965-#1966, #1971). Visible multi-agent runs now wake only lanes whose runnable state changed and freeze the newest compatible host Codex CLI before launch (#1967, #1973). Diagnose capability projection, terminal PR-gate reconciliation, and vision replanning under monitor load are repaired (#1963-#1964, #1969). Benchmark comparison, report, learning-ledger, and result read models move into their control-plane runtime owner while preserving compatibility imports and restoring the full-public smoke shard (#1961, #1968, #1970, #1972). No persisted-state migration is required; Explore execution and visual sinks remain explicit opt-ins.

  • v0.2.3 on 2026-07-13: control-plane truthfulness and maintainer-surface release at the matching v0.2.3 tag. LoopX adds a provider-neutral model-behavior qualification contract with public-safe corpus and decision receipts plus an optional direct provider actor (#1994, #1998-#1999, #2001, #2003). Optional capability discovery and the Lark event inbox/collector become clearer product surfaces without adding mandatory first-run configuration (#1978, #1986, #1997, #2000). Monitor, todo, quota, and vision routing now preserve capabilities and attribution, prefer advancement over stale monitor pressure, keep future waits quiet, and correlate material transition receipts (#1989-#1993, #2008, #2011, #2013-#2015). Explore graph activation now respects run-scoped sink authority (#1995, #2016), while deterministic update notes and project governance make the public repository easier to maintain (#1983, #1996, #2012). No persisted-state migration is required; optional provider, Lark, semantic-preference, and Explore surfaces remain opt-in.

  • v0.2.4 on 2026-07-14: Explore presentation and delivery-reliability release at the matching v0.2.4 tag. Explore board layout is now a first-class board_style product parameter with two supported values: auto_flow uses Mermaid's automatic graph layout for topology-oriented views, while semantic_lane_columns emits deterministic stage SVGs for operator boards with meaningful parallel lanes (#2062). The Lark visual sink can publish one managed board per evidence stage, project the selected style into every stage, keep labels inside lane nodes, retry eventual visual readback, and reconcile generated document sections so stale or duplicate stages do not accumulate (#2051, #2063, #2065-#2066, #2068). The same canonical Explore result graph remains authoritative for both styles, and existing Mermaid-only configs continue to resolve as auto_flow. This release also includes same-source canonical/executive views, explicit issue-fix semantic-preference call sites, provider diagnostics, and further monitor, scheduler, installer, onboarding, and public-smoke hardening (#2002, #2005-#2006, #2018-#2021, #2027-#2028, #2032, #2036, #2052-#2061). No persisted-state migration is required; Explore and its Lark visual sinks remain opt-in.

  • v0.2.5 on 2026-07-15: reward-memory and cross-runtime reliability release at the matching v0.2.5 tag. LoopX now ships a provider-neutral Reward Memory path from reviewed corpus and health contracts through candidate review, opt-in recall/application, evaluation, dogfood controls, and explicit actor-peer routing at the Issue-Fix planning boundary (#2076-#2085, #2096, #2100, #2103, #2128). Runtime projection routes become a first-class source of truth for material events, refreshes, and Explore commands across shared runtimes, with source-mirror ambiguity and compact diagnostics repaired (#2091, #2094, #2097, #2099, #2102, #2129). Issue-Fix gains stronger commit evidence, evidence-backed close counts, candidate dedupe, reviewer fallback, and delivery-window queuing (#2071, #2087, #2098, #2105, #2107, #2111). Monitor, scheduler, peer-replan, Lark inbox, Explore readback, and long-running SkillsBench paths are hardened against repeated host failures, scoped gates, transport loss, setup drift, and countability ambiguity (#2101, #2104, #2108-#2127, #2130-#2131). No persisted-state migration is required; Reward Memory and advanced fixer execution remain explicitly activated and bounded.

  • v0.2.6 on 2026-07-16: typed interaction authority and isolated Turn runtime release at the matching v0.2.6 tag. Scheduler decisions now follow the typed interaction contract, exact blocked successors can trigger bounded autonomous replanning, and user gates no longer deadlock unrelated agent lanes (#2136, #2177, #2187, #2188, #2198, #2203, #2204). LoopX Turn becomes a shipped isolated-headless route with executable envelopes, session recovery, independent validation, real CLI qualification, and a SkillsBench integration (#2158, #2166, #2169, #2171, #2173, #2193, #2199, #2202). New-user onboarding is protected by deterministic lifecycle canaries and repeated one-arm Doubao qualification of the actual default packet, while CLI output budgets and release outcome contracts make semantic regressions visible before promotion (#2144, #2148, #2153, #2157, #2159, #2167, #2168, #2201). Explore source reconciliation, optional Reward Memory experiments and reviewer gates, and Lark delivery are also hardened without making them first-run requirements (#2200). No persisted-state migration is required; advanced capabilities remain explicitly activated.

  • v0.2.7 on 2026-07-18: control-plane convergence and exact-release-evidence release at the matching v0.2.7 tag. Scheduler, quota, and todo decisions share one agent/runtime/capability/ACK scope; monitors converge independently without resetting one another; blocking user gates use one typed response plan; and Reward Memory v1 ships project corpus configuration with bounded Issue-Fix recall.

  • v0.2.8 on 2026-07-19: typed Codex App automation contract and periodic report control plane at the matching v0.2.8 tag. Agent-scoped scheduler, quota, todo, monitor, user-gate, and frontier decisions become typed runtime contracts, and a provider-neutral periodic-report control plane ships for scheduled or material-progress reports without granting external-write authority.

  • v0.2.9 on 2026-07-20: lane-isolated scheduling and OpenCode host support at the matching v0.2.9 tag. One agent lane can no longer consume or suppress another lane's frontier, OpenCode becomes a first-class Turn-backed host, and periodic reports gain a dense self-contained HTML presentation.

  • v0.2.10 on 2026-07-20: in-session weekly report quick start at the matching v0.2.10 tag. A normal project session can request a local report without profiles, RRULE, host Automation, providers, or external sinks; owner pause stays authoritative for monitor-only quota work.

  • v0.2.11 on 2026-07-20: packaged weekly report preset at the matching v0.2.11 tag. loopx periodic-report inspect-profile --preset weekly exposes the built-in provider-neutral preset; it creates no schedule, invokes no external sink, and grants no external-write authority.

  • v0.2.12 on 2026-07-24: heartbeat receipt and review-quality release at the matching v0.2.12 tag. One quota receipt is persisted per heartbeat turn, monitor/replan routing stays fresh, loopx pr-review gains a code-volume and simplification lens, and adaptive multi-turn live-worker lifecycle phases stay visible through compact run and ledger views.

  • v0.2.13 on 2026-07-24: monitor follow-through release at the matching v0.2.13 tag. Material monitor writeback resolves the exact todo before target-key fallback, exposes newly runnable successors immediately, and returns a structured stale-projection warning instead of reporting a failed write when only projection reload failed. Continuous-monitor todos may no longer carry resume_when.

  • v0.3.0 on 2026-07-30: capability and control-contract release at the matching v0.3.0 tag. LoopX promotes simplify-first change qualification, provider-neutral decision context, governed material lifecycle workflows, managed-project delivery, and Ark Managed Agent host support while ordering quota rules and making recoverable Turn stages explicit.

  • v0.4.0 on 2026-08-02: onboarding and turn-authority release at the matching v0.4.0 tag. Goal startup projects capability-owned admission routes, replan acknowledgements require canonical agent-visible evidence, the default quota should-run JSON stays inside a bounded model-facing budget, and the README foregrounds two inspectable 200+ hour loop trajectories.

  • v0.4.1 on 2026-08-04: durable work selection and Goal-host continuation release at the matching v0.4.1 tag. Capability-admitted Todo routes persist across turns, Goal hosts wake on the earliest material frontier transition, grouped Issue Fix PR monitors materialize explicitly, and default-off Agent Turn Recall ships with agent/goal/project/Todo/authority scoping.

  • v0.4.2 on 2026-08-07: host and workflow surface release at the matching v0.4.2 tag. Pi and TraeX become first-class host paths, adaptive child admission enforces domain/capability/repository/write-scope readiness, provider-neutral PR queue observation and PR program workflows ship, and Issue Fix pins work to an approved base snapshot.

  • v0.4.3 on 2026-08-09: effect-interpreter evolution release at the matching v0.4.3 tag. A second real EffectTurn interpreter consumes turn results, data-encoded execution and an ordered effect program shape land, the runtime plan is replacement-first, and a unified bilingual Dev Book adds an independent Control-Plane Course chapter.

  • v0.4.4 on 2026-08-09: M6 effect-program quality-gate completion at the matching v0.4.4 tag. Hot control-plane modules are bounded, EffectTurn/EffectProgram are consumed by real runtime paths, and the M6 RFC is marked Complete with audit evidence.

  • v0.4.5 on 2026-08-13: security-hardening and control-plane release at the matching v0.4.5 tag. LoopX fixes five privately reported security advisories, adds caller-approved completion validation, ships a durable-smoke review gate, and continues replan/evidence/settlement hardening with community contributions across 16 contributors.

  • v0.4.6 on 2026-08-13: replan and notification hardening release at the matching v0.4.6 tag. Replan closeout becomes semantic, quota/heartbeat notification correctness is repaired, refresh-state writeback guards land, and two architecture RFCs document the effect-program direction.

  • v0.4.7 on 2026-08-15: governed-host continuation release at the matching v0.4.7 tag. OpenCode 1/2 goal loops stop interrupting on user messages or task closeout, DeepSeek Harness connects through a managed Turn connector, per-goal handoff mode gates claim/lease authority in state files, and Explore can publish multiple Feishu visual boards in one automated step.

  • v0.4.8 on 2026-08-16: open-core packaging and qualification release at the matching v0.4.8 tag. LoopX adopts Apache-2.0 for the open core, ships as a first-class PyPI distribution, adds per-Todo validation budgets, and tightens benchmark integrity qualification and Content Ops presentation density.

  • v0.4.9 on 2026-08-19: cross-platform host and long-loop reliability release at the matching v0.4.9 tag. LoopX makes PyPI the default complete install path, adds native Windows PowerShell and KunlunCode Goal Pro support, ships an opt-in repository change-window provider with a durable pending-change ledger, and hardens heartbeat settlement, Todo validation, PR review scheduling, native Goal benchmark isolation, and public repository signal providers.

  • v0.5.0 on 2026-08-20: personal control-plane workspace release at the matching v0.5.0 tag. LoopX promotes the dashboard as the supported browser/PWA workspace, adds a source-built native desktop shell over the same local authority, makes Goal stop/resume and repository change windows operator-visible, and admits goal-bound external capability providers.

  • v0.5.1 on 2026-08-21: operator workflow and collaboration hardening at the matching v0.5.1 tag. LoopX adds downloadable macOS and Windows desktop previews, first-class DeepSeek Harness packaging, botmux Goal Channel turns, three Agent-scoped Lark ingress modes, and fixes Goal lifecycle, Todo defer, quota settlement, replan closeout, and event-sourced freshness paths.

  • v0.5.2 on 2026-08-23: transaction and multi-source workspace reliability release at the matching v0.5.2 tag. LoopX moves the core Turn settlement path behind typed effect transactions, makes local/SSH source changes generation-fenced, adds a native DeepSeek Harness Goal workspace and Agent-scoped external Connector providers, and hardens long Todo chains, prepared-effect recovery, benchmark admission, and public-smoke release gates.

  • v0.5.3 on 2026-08-27: host reach and autonomous-continuation reliability release at the matching v0.5.3 tag. LoopX adds ZCode and Antigravity CLI Goal surfaces, a bounded citation-led deep-research workflow, and an explicit Pi task-lease facade; it also strengthens Lark inbox routing and catch-up, typed Todo/quota/scheduler settlement, repository delivery admission, and runtime startup recovery.

  • v0.5.4 on 2026-09-03: typed control-plane and governed-workflow release at the matching v0.5.4 tag. LoopX moves more Todo, task-lease, quota, scheduler, Vision, and replan transactions behind TypeScript owners; advances staged file, PostgreSQL, and NoKV shared-authority providers; completes the periodic-report lifecycle; makes the DSH plugin one-step ready; and adds public-safe benchmark study projection without granting upload authority.

  • v1.0.0 on 2026-09-06 20:44 +08:00: the Workspace milestone release at the matching v1.0.0 tag (merge d6e8387e). The desktop companion gains signed in-app updates with a paired runtime and a recovery path for interrupted installs (#3994); Todo claim and update authority finishes its claim-neutral correction through the TypeScript transaction (#4005, with promoted claim retry identity from #3987); multi-agent Goal Channels ship with per-agent connection resolution (#3969); and reward-memory recall guides outbound messages behind a digest-bound review loop (#3968).

  • v1.0.1 on 2026-09-08 06:51 +08:00: post-1.0 reliability release at the matching v1.0.1 tag (7f2a020b). Goal Channels gain resumable multi-Agent onboarding and Agent-authorized typed report requests; Desktop recovery gains bounded diagnostics and verified signed updates; Todo ownership, projection recovery, and Stage 2C management use stronger typed transaction boundaries; and frozen bundles install the same version-bound workflow skills as package distributions. The exact-tag Python, PyPI, macOS, Windows, signed-update, public-smoke, and live-model gates passed before stable fast-forwarded.

  • v1.0.2 on 2026-09-09 11:22 +08:00: single-owner Todo authority and recovery release at the matching v1.0.2 tag (a5374d5b). Promoted Todo terminal transitions commit through one TypeScript-owned provider transaction; missing generated Todo projections recover without making Markdown authoritative; and long-history, Desktop, DSH, and managed-skill paths gain bounded reads and clearer recovery diagnostics. The published wheel, source distribution, macOS, Windows, checksum, update, and PyPI artifacts were verified against the exact release source before promotion.

  • v1.0.3 on 2026-09-11 11:53 +08:00: native monitor observation and consumer closure release at the matching v1.0.3 tag (0496975e). Native monitor observations and their successors commit atomically through one typed transaction, and completed history stays out of target-key selection (#4187); quota unifies typed scope selection without erasing user gates, and the scheduler hint accepts canonical Base64 transport; archived history preserves decision and resume semantics (#4184); the manager keeps concrete Core findings in progress reports behind scoped evidence reads (#4213, #4218); Goal Channels extract runtime command ownership (#4154) and deliver manager terminal failure receipts (#4217); and iteration-fresh host dispatch plus typed upstream terminal errors land through #4126 and #4215. The published wheel, source distribution, macOS, Windows, checksum, update, and PyPI artifacts were verified against the exact release source before promotion.

  • v1.0.4 on 2026-09-15 14:19 +08:00: bounded local authority storage, human-confirmed operations, and a wider typed kernel release at the matching v1.0.4 tag (b6d877b0c). The opt-in SQLite authority provider keeps its retained state log bounded with compact operation deltas plus periodic checkpoints, separates storage, head, and continuity integrity, and migrates V1 -> V2 as one idempotent, fail-closed transaction with a plan/execute operator command (#4408, #4328, #4121); PostgreSQL authority admission becomes a service-owned boundary whose authority ladder runs against a real server in CI (#4334, #4399). Goal Channel operations ship as human-confirmed typed actions whose review decision travels with the operation instead of being re-derived per surface (#4275, #4364, #4132), and Todo, quota, lease, monitor, and decision-scope rules converge on shared typed owners (#4273, #4289, #4292, #4348, #4351). The published wheel, source distribution, macOS, Windows, checksum, signed-update, and PyPI artifacts were verified against the exact release source before stable fast-forwarded.

  • v1.0.5 on 2026-09-16 03:14 +08:00: first-connect registration and explicit host selection hot-fix release at the matching v1.0.5 tag (0c3971fea). connect/bootstrap register the goal and write the active state only, so a freshly connected goal is immediately eligible instead of parking on a generated owner gate, and the eight first-connect bootstrap options plus the onboarding_* payload fields and the adapter.connection_validation annotation are removed (#4465). Managed execution is selected rather than inferred: the managed Turn host (#4443, #4451) and the steward channel endpoint (#4446, #4419) come from explicit configuration, PR-review CI waiting is configurable per machine or goal (#4452) under a documented review frame (#4434), and update activation is qualified from an immutable source commit (#4460) while the serving runtime publishes its identity with a restart path (#4423). Quota window-slot spend clamps against the voids that target it (#4384), the held coordination fence survives an authority-source change (#4429), and a goal frontier missing its final-outcome claims is diagnosed (#4341). Community contributions cover text-mode subprocess decoding (#4396), stale executor revisions rejected before persisting (#4398), CLI dash options (#4428), manager delegation reconciliation (#4372), window-slot clamping (#4384), the semantic vocabulary registry and its governance (#4433, #4453), and the Codex App autonomous goal guide (#4442). The published wheel, source distribution, checksum, and PyPI artifacts were verified against the exact release source before stable fast-forwarded.

  • v1.1.0 on 2026-09-20 01:04 +08:00: organization migration and governed collaboration release at the matching v1.1.0 tag (607c11d75). LoopX moved its repository, Pages, installer, and update surfaces to loopx-project; team plans gained an explicit confirmation-to-canonical-work path, local delegation gained durable operation recovery and checked returns, and Goal acceptance plus replan obligations retained their existing authority owners. The published package, desktop artifacts, signed update feed, and website were verified before stable fast-forwarded.

  • v1.2.0 on 2026-09-25 10:19 +08:00: recoverable authority, typed Todo transitions, and inspectable host activation at commit eb11130e1. The release separates package acquisition, delivered host material, runtime activation, and enabled-extension readiness.

  • v1.2.1 on 2026-09-27 16:22 +08:00: recoverable work, clearer Chat usage, and lifecycle compatibility at commit fce1a4bac. The published package, desktop artifacts, signed update feed, and website were verified against the release source before stable fast-forwarded.

  • v1.2.2 on 2026-09-28 07:17 +08:00: recoverable App conversations, delegation continuity and local authority replay at commit ee9dad81b. Settings identify device, Goal and Agent targets; usage statistics preserve visible disclosure and persistent opt-out. The published package, four Mac/Windows desktop artifacts, signed update feed, PyPI installation and public Pages were verified against the tagged source before stable fast-forwarded. The first full-public attempt hit a disposable native-profile cleanup race; the complete same-source rerun passed under unchanged budgets. Its remaining fixture-quiescence limit is retained on the existing profile lifecycle owner.

  • v1.2.3 on 2026-09-29 22:54 +08:00: App Goal drafts with explicit Apply, exact Goal ownership for Chat and delegation, opt-in Kiro CLI mode, and typed Explore observations at commit 0a401fe75. The published release has 11 assets; package and desktop installer checksums, matching PyPI package hashes, and the signed desktop-stable update feed were read back after all three release workflows passed. stable was fast-forwarded to the tag. This expedited release used focused local version, packaging, and two native canary checks; the full Python/public smoke/model-behavior/PostgreSQL matrix and a separate Pages check were not run.

  • v1.2.4 on 2026-10-03 20:38 +08:00: scoped Chat coordination, recoverable state migration, explicit local preferences, and handoff ownership at commit fc42b84cedb21a56c15ca3b4af5eab0407829cf8. See the published release for its shipped capability usage and qualification limits.

  • v1.3.0 on 2026-10-06 09:41 +08:00: long-horizon benchmark findings and Astra-assisted semantic control-plane engineering, with continuing-work ownership, evidence-driven replanning and recoverable workspace interaction at commit e1dd9e519c3057fda4b3765d0c93e7ae793608bf. The published release contains bilingual operating instructions and annotated community credits; the personal illustrated guide was read back with the released UI. Eight source-qualification lanes passed, including the full Python/public smoke suites, installed wheel upgrade and isolated real-model validation. Package checksums, PyPI hashes, hosted attestations, desktop assets, signed update feed and the fast-forwarded stable installation were independently verified. The attested source record distinguishes immutable product source from reviewed workflow and browser-fixture corrections. Native desktop builds passed; the maintainer published verified CI outputs after cancelling queued publication jobs. Windows execution, Apple Developer ID/notarization, live Lark/Bot channels and unavailable Harbor/SForge/PostgreSQL/NoKV environments remain unqualified.

  • v1.3.1 on 2026-10-06 16:10 +08:00: a focused compatibility release at commit 7445ae360aaf330e0067959a5e0084ffd9f76de4, adapting the renderer to the linkify-it 6 named export while preserving user-info URL handling. The published release records the shipped operating instructions and validation limits. Package, PyPI, desktop assets, signed update feed, stable installation and the personal illustrated guide were independently read back. Focused checks passed; full Python/public smoke and paid model matrices were not rerun.

  • v1.4.0 on 2026-10-11 22:47 +08:00: evidence reuse, native workspace continuity and semantic control-plane quality at frozen commit 1b452b00a114bd9f0d9c24868c9f45df42661748. New unconfigured Goals use canonical SQLite/hard leases; existing Goals retain their recorded storage and use reviewed migration or cold-source import. The published release includes fifteen bilingual capability operating entries and annotated community credits. Public GitHub/PyPI packages, four desktop installers, the signed macOS update feed, desktop-stable and source stable were independently read back. Package hashes and hosted source attestations match the frozen tag; actual PyPI 1.3.1-to-1.4.0 upgrade, installed Chat, installation/deep doctor and stable runtime activation passed. The personal illustrated guide has verified user ownership, actual released UI screenshots and native rendering. At the frozen source, 515 public smokes and 360 affected Python checks passed; the authorized DS Flash/high alternative passed all 22 scenarios twice and six contrasts, with zero failures or skips. Earlier Doubao qualification failures remain unqualified. Windows execution, Apple notarization, authenticated Host interaction, external backend execution and sustained SQLite qualification remain unqualified. No paired-version benchmark uplift or isolated Astra causal effect is claimed.

  • v1.4.1 on 2026-10-15: workspace visibility, semantic replan and recovery hardening at frozen commit 4f27801c4e26fd51246d352eada72c98f8e7e657. The published release records nineteen bilingual operating entries and concrete community credits. GitHub/PyPI packages, four desktop installers, the signed macOS update feed, desktop-stable, source stable, the website download path and the personal illustrated guide were independently read back. An actual PyPI 1.4.0-to-1.4.1 upgrade preserved existing work; package hashes and source bytes matched the immutable product tag. Reviewed publication-fixture recovery did not move that tag. At the final source, 515 public smokes and 2,213 affected Python checks passed, with five explicit native-environment skips; this was not a fresh full-tree Python sweep. Doubao Evolving/high completed the fixed 22-scenario, two-repeat portfolio and six contrasts with zero failures or skips. Mac artifacts retain ad-hoc signing without Apple notarization; Windows artifacts were verified without native client execution. No paired benchmark, sustained scientific continuation or isolated model causal uplift is claimed. Existing Goals retain their recorded policy and require explicit migration; canonical-only retirement remains a separate 2.0 candidate.

  • v1.4.2 on 2026-10-16: clearer workspace onboarding and Agent work pages, state-aware suggestions, version-bound delivery checks, and original-operation recovery. New Todos default to P1; existing unranked work remains unchanged. The immutable tag targets 77d6b07fb65c7ddffe14f45549f97295aca995d6. The published release records twenty-one bilingual operating entries and annotated community credits. GitHub/PyPI packages, four Mac/Windows desktop installers, signed macOS updates, desktop-stable, source stable, and website download links were independently read back. Package checksums, hosted attestations, and included source bytes match the tag. An actual PyPI 1.4.1-to-1.4.2 upgrade preserved the original Goal/Todo; fresh installation, doctor, and packaged UI checks passed. The personal illustrated guide has verified user ownership, two released UI screenshots, reviewed native rendering, and public-link read-only access. At the final source, 515 public smokes and 1,655 affected checks across 37 complete modules passed; this was not a fresh full-tree Python sweep. Dependency-pinned benchmark tests recorded 781 passes and 68 explicit environment qualification skips. The authorized DS V4.1 Flash/high alternative passed all 22 scenarios twice and six contrasts, with zero failures or skips. The final-source Evolving/high selected-Todo failure remains unqualified; diagnostic passes do not establish a repair. The separate native-Codex live profile was unavailable and explicitly skipped. Mac artifacts remain ad-hoc signed without Apple notarization; Windows client execution and optional host dependency security remain separately unqualified. No paired benchmark, sustained scientific continuation, or isolated model causal improvement is claimed.

  • v2.0.0 on 2026-10-21 00:40 +08:00: TypeScript control-plane migration, the long-horizon research workbench, and explicit recovery for existing Goals. The published release and source stable reference immutable commit 774d0c5f768284c1b5bb5f665c5abad25755e5e2. GitHub provides the Python wheel/source distribution, Mac and Windows desktop installers, signed macOS update feed, checksum manifests and source manifest. Read the 2.0 migration guide before continuing existing work. Asset availability is separate from native Windows execution or a new full-tree qualification of later source changes.

  • v2.1.0 preview at commit a65c71f789459c12b68d6feeec233fbb99f65c91: the original release remains a prerelease. Python publication stopped at the packaged-page checks; its desktop artifacts and earlier source-only checks do not establish complete package readiness. During that hold, the stable source and signed desktop feed were retained or restored to the qualified v2.0.0 baseline. The immutable preview and failed evidence remain part of the release history.

  • v2.1.1 maintenance release at commit 87e5b4f88d207adf062eea57002cda6fe04fd535: the published release provides matching Python wheel/source distributions on GitHub and PyPI, Mac/Windows desktop build assets, checksum manifests, source provenance and a signed macOS updater. All eight exact-source qualification categories, including the complete installed-wheel frontend, passed before publication. Published packages, build attestations, macOS bundle identity and updater signatures were independently checked before the Git stable and Latest promotion; the mutable signed desktop feed matches the immutable release. The desktop remains a preview: native Windows execution and Apple notarization are not claimed. This maintenance line starts from the retained v2.1.0 preview, keeps its failed evidence and does not roll up later main snapshots. Read the versioned upgrade guide before replacing an existing installation.

  • v2.2.0 release at commit 2c3524857e8a3dd553335b79444333786f492c43: the published release (2026-11-01) and the public stable ref point at the same commit. The versioned release note records the canonical-authority upgrade boundary, the context-delivery default and the readback path. Read it before replacing an existing installation; artifact and native-host claims remain those stated by that release note.

  • v2.3.0 release at commit 92271fe114916428be6fd36558bb7a93fbe49da8 (2026-11-09). The Git stable ref, CLI archive and bundled macOS runtime matched the tag. GitHub and PyPI carry matching Python wheel and source packages. The signed desktop stable feed for this release serves Apple Silicon macOS. Windows stable upgrades use the MSI or NSIS installer. Published release, PyPI packages. Check the installation owner and read back an existing Goal after updating. Versioned upgrade guide.

  • v2.4.0 release at commit a6ffb3be6e7bdb48e02311ec58d618200fe0501c (2026-11-22). The Git stable ref, CLI archive (loopx-runtime-a6ffb3be6e7bdb48e02311ec58d618200fe0501c.tar.gz), and bundled macOS runtime match the tag with verified GitHub artifact attestations. GitHub and PyPI carry matching Python wheel and source packages. The signed desktop-stable updater serves Apple Silicon macOS (LoopX_2.4.0_aarch64.dmg, LoopX.app.zip, and LoopX.app.tar.gz). Windows stable upgrades use LoopX_2.4.0_x64-setup.exe or LoopX_2.4.0_x64_en-US.msi. The companion DSH plugin 0.1.1-beta.7 is published on both GitHub Releases (targeting LoopX 2.4.0+ and DSH 0.2.2-rc.1..rc.3), npm (dsh-loopx-plugin), and the awesome-dsh-plugin marketplace catalog (awesome-dsh-plugin#17660); token-free CI OIDC awaits final Trusted Publisher confirmation on npmjs. Published release, PyPI packages, Personal illustrated guide. Run loopx authority-archive upgrade --all-known --require-current first, check the installation owner, and read back an existing Goal after updating. Versioned upgrade guide.

  • v2.4.1 release at commit 30ac30eff01f4df3fece1d401eb661de4f1f4f7b (2026-11-25): patch release inheriting the v2.4.0 series evaluation baseline (Published release).

When a new public release is promoted, add it here only after the matching tag, release note, stable ref, update path, and focused release canary agree.

Compatibility Gate

Before a release snapshot is promoted or a public guide tells users to depend on a new surface, run the smallest gate that covers the touched surface:

python3 -m py_compile loopx/*.py
python3 examples/release/codex-cli-no-clone-release-verification-smoke.py
python3 examples/fresh-clone-quickstart-smoke.py
python3 examples/loopx-update-smoke.py
python3 examples/release/release-version-contract-smoke.py
python3 examples/release/release-readiness-doc-smoke.py
python3 examples/repository-hygiene-smoke.py
git diff --check
loopx check --scan-path README.md --scan-path docs/ --scan-path examples/

This is not a universal full suite. Add focused smokes for the changed command, projection, or workflow. Do not require benchmark raw logs, raw task text, trajectories, verifier output, credentials, or local private artifact paths as release evidence.

After the individual lanes pass, bind their compact receipts to the exact clean release checkout before tagging or moving stable:

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 or scripts/qualify-deepseek-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, public-boundary, and actual-default one-arm Doubao receipts. The command also checks the current checkout and rejects dirty or rebased source. It only reduces existing bounded receipts: it does not execute tests, call a provider, move refs, create tags, or publish a release.

Canary Model

A release canary is a catalog-informed readiness slice. It is near-E2E in the sense that it follows a real promotion or operator path across several seams, but it is intentionally smaller than a full end-to-end test suite. Its job is to answer "can the touched public surfaces be promoted under this declared boundary?" rather than "is every LoopX path correct?"

Choose the canary group from existing interaction pattern families; do not add new IPs solely to describe a validation bundle:

  • status/quota/scheduler changes should include Work Routing checks such as quota should-run, scheduler hints, and hot-path interface budget;
  • state projection or public/private changes should include State And Boundary checks such as loopx check, task graph or todo detail cold-path contracts;
  • dashboard/frontstage changes should include catalog or fixture route checks, with browser smokes only when the visual surface itself is being promoted;
  • release/install changes should include installer, update, wrapper, doctor, and public-boundary checks;
  • benchmark or external-evidence changes should use compact lifecycle evidence only, never raw task text, raw logs, trajectories, or verifier tails.

The default promotion canary is:

python3 examples/canary/canary-promotion-readiness-smoke.py --no-write-evidence

The default dashboard policy is --dashboard-mode=auto: source checkouts run dashboard demo-readiness when apps/presentation/dashboard is present, while installed release snapshots that omit the dashboard app skip that optional surface and keep the omission visible in the canary output. Use --dashboard-mode=require when the dashboard/frontstage itself is being promoted, and --dashboard-mode=skip only when the release boundary intentionally excludes the dashboard app.

Use the writeback form only when you intentionally want to append fresh promotion-readiness evidence:

python3 examples/canary/canary-promotion-readiness-smoke.py

For broader source-checkout regressions, keep loopx canary smoke-suite as the source of truth. Local and LoopX automation should continue to use the runner payload directly:

python3 examples/run-smokes.py --suite default-public --module canary
loopx canary smoke-suite --suite default-public --module canary

For larger source-checkout sweeps, use the runner's bounded parallelism instead of moving smoke semantics into a second test framework. --jobs keeps the LoopX runner payload as the source of truth while preserving serial execution for smokes that declare a scheduling-sensitive surface:

python3 -m loopx.cli canary smoke-suite --profile public-smoke-watch --jobs 4 --timeout-seconds 60
python3 examples/run-smokes.py --suite full-public --jobs 4 --timeout-seconds 60

For repeatable canary/refactor batches, prefer named smoke-suite profiles over hand-curated script lists. Profiles expand to the same runner payload as --module, --script, catalog selectors, and the pytest facade:

loopx canary smoke-profiles
loopx canary smoke-suite --profile core-control-plane --no-execute
loopx canary smoke-suite --profile core-control-plane --offset 20 --limit 20 --timeout-seconds 60
loopx canary smoke-suite --profile canary-runner --timeout-seconds 60
python3 examples/run-smokes.py --profile public-entry-install-release --no-execute

Use --offset with --limit to sweep large profiles in stable windows without rerunning the same prefix batch on every heartbeat.

Default pytest is the fast unit and contract lane. The smoke-suite facade is explicitly opt-in so a normal PR test run does not silently expand into the canary matrix. CI may wrap an explicit runner selection in pytest when JUnit reporting is useful. The facade still executes each selected examples/**/*-smoke.py through a subprocess; it is not a migration of legacy smokes into pytest unit tests:

python3 -m pytest tests/test_smoke_suite.py \
  --loopx-smoke-suite default-public \
  --loopx-smoke-profile canary-runner \
  --loopx-smoke-offset 0 \
  --junitxml smoke-suite.xml

The required Python test workflow owns the Ruff namespace selection and package coverage floor. The floor is a regression guard, not a claim of sufficient coverage; raise it as durable behavior moves from subprocess smokes into focused tests.

Architecture tests reject outward control-plane dependencies and forbidden status dependencies without migration exceptions, and protect presentation ownership of quota Markdown. See the dependency policy for the boundary rationale. Existing source-wide lint debt is characterized separately. Strict mypy scope is the [tool.mypy].files list in pyproject.toml; use python -m mypy to check that exact scope. Expand each protected namespace only after a bounded cleanup rather than duplicating changing file counts or mass-fixing unrelated code to make a broad gate green.

If the source checkout has optional frontend dependencies installed, dashboard readiness can be included in the same canary. If a release snapshot omits the dashboard app, the canary should degrade gracefully and record that boundary rather than failing unrelated CLI/install promotion or silently treating the dashboard path as covered.

What Is Safe To Depend On

Treat these v0.x surfaces as stable enough for user guides, examples, and host integrations when their focused smokes pass:

  • loopx doctor, loopx update, loopx check, and the no-clone installer;
  • loopx extension doctor for enabled-extension readiness after install or update apply;
  • project lifecycle commands: bootstrap, connect, status, refresh-state, registry, and sync-global;
  • todo lifecycle commands: todo add, todo claim, todo update, todo complete, todo list, todo supersede, and todo archive;
  • control-plane read paths: quota should-run, quota spend-slot, review-packet, heartbeat-prompt --thin, task graph projection, and cold todo detail references;
  • public slash command names: /loopx, /loopx <goal>, /loopx-global-summary, /loopx-global-gates, /loopx-global-todos, and /loopx-global-risks;
  • ignored local state boundaries under ~/.loopx, project-local registry files, and project-local active-state workbench files recognized by loopx doctor, loopx status, and loopx check.

Treat these as experimental until their contract docs say otherwise:

  • benchmark runner behavior, scoring, upload, and raw task execution routes;
  • host-plugin command registry implementations beyond the published protocol contract;
  • frontstage/dashboard presentation details that are not part of the public status data contract;
  • monitor scheduler cadence fields while they are still rolling out across todo creation, quota projection, writeback, and migration.

Release Note Checklist

Start the final GitHub release body from the canonical release note template. Its first substantive section is a compact ## Release Decision block that answers the five questions a reader needs before inspecting the detailed changelog:

Field Required decision
**Who should upgrade:** Name the affected users or operators, the reason to upgrade now, and who can remain on the current version.
**What this release solves:** State the concrete failure, missing workflow, or reliability gap in user-outcome language.
**Breaking changes:** Start with No. or Yes.; when yes, give the migration path, and when no, still disclose changed defaults, deprecations, or experimental boundaries.
**How to verify:** State the expected post-upgrade result and include a minimal runnable bash block that proves package identity and the affected behavior.
**Contributors:** Name the release maintainer and community contributors from the tag range, or explicitly say that the release has no community contribution.

Mirror the same decisions under ### 升级决策 in the Chinese summary with **谁需要升级:**, **解决了什么:**, **是否有破坏性变更:**, **如何验证:**, and **贡献者:**. The summary is a decision aid, not a replacement for the detailed product groups, per-claim PR evidence, optional capability lifecycle, or exact-commit validation evidence below it.

Keep user-visible product changes first. When merged pull requests between the previous and current tags include community contributors other than project founder @huangruiteng, add a prominent ## Community Contributors section after the English product groups and before compatibility, validation, or update material. Link each eligible GitHub handle and relevant pull requests, summarize the concrete contribution, and explicitly call out external or first-time contributors when applicable.

Do not list or thank @huangruiteng in this section; founder stewardship is implicit in each LoopX release. Omit the section when the tag range contains no eligible community contribution. Contributor recognition must complement the release narrative, not replace or precede its product highlights.

Build the list from the tag-to-tag Git range and merged pull-request metadata, not commit display names or an unreviewed generated changelog. Attribution is part of the release contract even when the same pull request is linked again under a product group.

Match the complete Git range against GitHub's actual merge commit identifiers; PR numbers in commit titles are navigation, not a completeness check. Confirm that metadata coverage reaches the whole range, resolving unmatched integration commits through their associated merged PRs. Check an author's earlier merged PR history before calling a contribution first-time. Reconcile both language lists and their summary counts against that verified set. Refresh this evidence when the final release range changes.

Organize the remaining release note into the following stable groups. Omit an empty product group instead of inventing filler:

  1. State Kernel & Control Plane for state, todo, quota, scheduler, gate, peer-routing, and runtime authority changes.
  2. Capabilities & Workflows for shipped user workflows such as Issue-Fix, Explore, Reward Memory, onboarding, and LoopX Turn.
  3. Quality & Testing for deterministic tests, canaries, output budgets, model-behavior qualification, and release gates.
  4. Benchmarks & Integrations for benchmark adapters, Lark, host runtimes, and other external boundaries.
  5. Documentation & Compatibility for public contracts, install/update guidance, migrations, defaults, and intentional exclusions.

Bilingual releases with eligible community contributions must add ### 社区贡献者 after the Chinese product groups and before Chinese compatibility or validation material, with the same people, pull-request links, and concrete contribution scope as the English section. Omit both language sections together when no eligible contributor exists. Bilingual releases must preserve these same group boundaries in both languages. Use the matching headings 状态内核与控制面, 能力与工作流, 质量与测试, 基准与集成, and 文档与兼容性. The Chinese copy may be shorter, but it must not collapse several groups into a generic highlights list, omit a non-empty English group, or weaken contributor attribution.

Within each non-empty group, every material claim must carry one or more direct GitHub pull-request links such as [#2051](https://github.com/huangruiteng/loopx/pull/2051). A compare link is still useful at the end. Avoid bare PR ranges as the only evidence because ranges can hide omitted or unrelated changes.

After the decision summary and product groups, every public release note should also record:

  • What package version and public tag name this stable release uses?
  • Which install/update path should a new user follow?
  • Which surfaces are still experimental or intentionally excluded?
  • For every new or materially changed experimental, default-off, or opt-in capability, include an Optional capability activation entry in both languages: name its scope, read-only preview, exact enable and disable commands, prerequisites or safety gates, and canonical docs. If no persistent switch exists, say that opt-in is per command or preset instead.
  • Did the public/private scan run on the changed docs, examples, and workflow files?
  • Did full pytest, focused release/install contracts, risk-based canary, and promotion-readiness/public-boundary checks pass on the exact release commit?
  • Did loopx canary release-qualification confirm that every required compact receipt matches the same clean commit, Git tree, package version, and tag?
  • Did the low-frequency live model gate run against the actual default agent-facing packet with at least two repeats? Record the model id, behavior decisions checked, call count, failures, and skips, but never retain raw prompts, packets, responses, credentials, or local paths. This remains a local/manual release gate rather than ordinary CI.
  • If the release claims benchmark or long-horizon outcome improvement, did a matched stable-versus-candidate outcome baseline pass? If no outcome claim is made, state that this expensive gate was not required rather than implying it ran.
  • For Chinese-speaking operators, include a compact ## 中文摘要 section that mirrors the English group structure and material claims in neutral product language. Keep each group shorter than its English counterpart while preserving direct PR attribution and compatibility boundaries.

Personal Feishu Release Guide

Each named public release needs a companion illustrated Feishu document in the maintainer's personal user account. This is part of completing the release, alongside the GitHub release body; a changelog link alone is insufficient. Use the existing release-communication and document-authoring workflows when available, with the following durable procedure:

  1. Verify the personal account through an authoritative account mapping or email, and explicitly use user identity for every document operation. A matching display name or a profile named "personal" is insufficient. Never fall back to a corporate account or bot; if personal access is unavailable, keep the draft and report the access gap.
  2. Find the last substantive release guide in that personal account with a bounded search. Read it and record its URL, date and covered version in the private release checkpoint. Use that covered version as the guide's baseline; do not substitute the previous GitHub tag. Read all intervening release notes and derive cumulative claims from their merged PRs and the verified target snapshot. If history cannot be verified, label an owner-supplied baseline explicitly rather than claiming a complete audit. The GitHub release body retains its own previous-tag-to-release-tag range. Organize the guide around ordinary user tasks: who should upgrade, what they can now do, where to find it, and how to verify the result. Distinguish released behavior, experimental capabilities, simulated examples, and failed or unavailable validation. A candidate draft must remain labeled as such until the release and its artifacts are verified.
  3. Include legible screenshots of the actual released interface with public-safe data. Label isolated demo data and any annotations; retain capture provenance privately. Place concise explanations beside the relevant images and inspect mobile readability. Do not fabricate UI, expose private workspaces, or use an older screenshot as evidence of changed behavior.
  4. Teach the minimum upgrade and readback commands, compatibility or migration behavior, and each highlighted optional capability's activation, validation, disable or rollback path, and authority/privacy boundary. Link canonical documentation at the release tag and the complete GitHub release body. Preserve concrete community contribution credit from the guide's cumulative range, deduplicated across the intervening releases; verify contribution descriptions and first-time labels against merged PR metadata. Screenshot captions must distinguish intervening released features from candidate-only changes and retain their actual capture version.
  5. Create one document under the verified personal user identity, then repair that document in place if content or media fails. Read back its ownership, title, text, image blocks, and rendered presentation before declaring success. Add the verified guide URL to the final GitHub release body in both languages, and repeat the existing remote-body validation after that update.

Record the guide URL and verified ownership/readback in the existing private release checkpoint. Credentials, account identifiers, private reference URLs, drafts, and raw evidence do not belong in public repository changes.

Final Release Body Usage Gate

The release-note PR is not sufficient evidence. Before publishing, save the complete final GitHub release body to an ignored or temporary Markdown file and validate that exact file:

python3 examples/release/release-readiness-doc-smoke.py \
  --release-notes <final-release-body.md> \
  --surface "<new-or-materially-changed-surface>" \
  --surface "<another-surface>"

Derive the repeated --surface values from the tag diff, merged PR inventory, and release claims. Each named surface must have a dedicated English ### <surface> entry under ## Optional Capability Activation & Use and a matching Chinese #### <surface> entry under ### 可选能力启用与使用. Both entries must include these explicit fields:

English Chinese Required content
**Activation:** **启用:** Exact install/enable command, or the exact per-command/profile opt-in when no persistent switch exists.
**Validation:** **验证:** Minimum runnable status, readback, or verification command.
**Disable / rollback:** **停用 / 回退:** Exact disable, uninstall, envelope removal, or rollback path.
**Authority boundary:** **权限边界:** Write, merge, provider, privacy, and host limits that activation does not grant.
**Docs:** **文档:** Canonical versioned documentation link.

Every entry needs at least one runnable bash block. A release with no new or materially changed optional capability, workflow, or host surface must instead run the gate with --expect-no-optional-capability-changes and include the exact bilingual declarations required by the validator. Omitting both a surface list and the explicit no-change decision fails closed.

After publishing, read the complete remote body back with jq -rj, compare its hash with the reviewed local file, and run the same validator against the readback. Do not validate a draft and then publish a different body.

Capability Narrative Gate

For every new or materially changed capability, write the release claim in three explicit layers:

  1. User outcome: say what a user can now accomplish in product language, before naming protocols, providers, renderers, or other implementation mechanisms.
  2. Shipped layer: identify whether the release provides a control-plane or protocol kernel, a built-in adapter or presentation layer, or a complete end-to-end workflow. Name the commands, docs, or smokes that prove that layer.
  3. Last-mile boundary: name any default profile, collector, scheduler, destination, credential setup, or publication step that is still absent or explicitly opt-in. Do not overclaim a complete workflow, but do not hide a shipped core behind mechanism-only wording either.

A built-in capability is not an optional extension merely because some of its collectors, renderers, sinks, or providers are optional. Describe the built-in outcome and its lifecycle separately from provider activation. When a release ships successive layers of one outcome, such as a report kernel followed by an HTML presentation layer, attribute and explain each layer instead of folding both into a generic integrations bullet.

The Chinese summary must preserve the same user outcome, shipped layer, and last-mile boundary. Translation may be shorter, but it must not replace the user-facing outcome with architecture-only terminology.

The release PR and final GitHub release body must use the same grouping and contributor attribution, plus the same validation receipt. Re-run the gates after rebasing or merging any additional runtime change; results from an earlier commit do not qualify a later tag. Public git history, merged PR metadata, and shipped CLI behavior remain the source of truth.

Versioned Evaluation Gate (a+b Dual-Scale)

Every minor or major release is measured on LoopX's four-state Global Commander Evaluation Ledger under releases/evaluations/INDEX.md (loopx/control_plane/testing/release_evaluation_gate.py):

  • horizon.{json,md}: freezes the active rubric_v1 8-domain (D1..D8, weights 16/16/15/14/10/12/10/7%, uniform across v0.1.3 onward) / 41-battleline rubric (31 2.x_core + 10 3.x/4.x_horizon after promoting 2.5 semantic compaction into 2.x_core), 4×25 dimension anti-bloat caps (B <= 16 when dual_stack_or_ci_over_budget, C <= 15 without paired_public_evidence, C <= 12 when kv_cache_or_control_tax_regression, D <= 12 when default_off), archived rubric_v0 provenance parity, open_protocol_core public-repo criteria, and Major (a) exit gates.
  • history/: maintains an unbroken, version-ordered rubric_v1 record across every released a.b series (v0.1.3 onward) while retaining lossless archived_assessments.rubric_v0 snapshots verified against archive/rubrics/rubric_v0.json (retained_through_series: "2.4.0" requires archived_assessments.rubric_v0 on migrated <= v2.4.x records while leaving later native rubric_v1 releases exempt). Releases prior to v2.3.0 carry evaluation_mode: retrospective_git_audit; releases from v2.3.0 onward require evaluation_mode: release_gate_qualified. Old releases stay in history/ (tagged eol or superseded) and are never isolated into archive/.
  • current.{json,md}: tracks the active stable release baseline alongside post-release origin/main movement and explicit v2.x -> v3.0 ceiling blockers.
  • archive/: holds physically retired components and frozen rubric snapshots (archive/README.md).

When running loopx canary release-qualification with --evaluations-dir docs/product/releases/evaluations --prior-stable-version <prior> (plus optional --evaluation-json and --verify-git-tags), the gate first verifies parity between horizon.json and archive/rubrics/*.json (and any embedded archived_assessments on historical snapshots), resolves the single authorized rubric for the evaluated major.minor series (rubric_v1 across v0.1.3 onward — rejecting both stale rubric_v0 primary declarations and any premature future rubric declarations prior to their effective_from_series), and applies a three-tier SemVer policy:

  1. Major (a) promotion (a' > a): requires a release_gate_qualified full_41_battlelines artifact matching candidate git_commit / git_tree and the series-authorized rubric, all arithmetic closures and B/C/D caps, plus major_promotion_gate marking every horizon.json exit gate for the prior major as met: true with real evidence_refs and breaking_migration_contract.verified: true.
  2. Minor (b) feature release (a' == a, b' > b): requires an exact release_gate_qualified evaluation matching candidate source and v{version} metadata under the series-authorized rubric, closed a-Scale (41 lines, delta_from_prior vs prior stable) and b-Scale (generation_major == a), enforced B/C/D anti-bloat caps (B <= 16, C <= 15 / 12, D <= 12 on rubric_v1), and non-contradictory 7.2 benchmark uplift claims (claims_net_benchmark_uplift).
  3. Patch (c) maintenance release (a' == a, b' == b, c' > c): inherits and re-validates the parent a.b.0 evaluation (v0.1.3 for 0.1.x) against that parent series' authorized rubric and verified archive/rubrics/*.json snapshot so ordinary hotfixes and patch PRs carry zero evaluation tax without bypassing frozen rubric parity.

Related Docs