Repository navigation
Description
Outcome / 目标
验收 DSH/Pi 观测与托管运行时选择。One task tracks this RFC's delivery; keep implementation PRs and milestone evidence here instead of creating a parallel task tree.
Canonical design: RFC. Roadmap: S4/S10/S11, under #4574. Design acceptance is distinct from implementation, live qualification and promotion.
Current boundary
Comparative source audit: main at ce3862e33 (2026-09-28); that audit does not establish live observer qualification.
The bounded DSH install/compatibility repair #5589 is merged at 4e820bb0ced6c0f8dff2acd641a6c19dbc986935 (reviewed head 4c08ea3d293a66c24a65fabcfbfaa35420248cb4, integrated main baseline bfe3c434). It qualifies the existing provider on 0.2.0-rc.2 while retaining supported legacy lifecycle behavior and requires the already released Windows-safe LoopX 1.2.4 CLI. The final risk-based validation passed frozen install, types, peer ranges, 206 tests, exact registry bundles and four rows, wrong-tag/discovery/integrity rejection, removal, packed artifact/profile, real 0.2 web runtime/shared carrier, full semantic validation and the 22-path public boundary scan. Earlier real 0.1.7/frozen 0.1.5 and isolated PyPI bootstrap/native skill/reopen evidence remains explicitly bounded; fresh floating 0.1.5 upstream startup fails on both baseline and candidate. The patched fflate development dependency was requalified. Earlier broad canary/CI failures are recorded, not labeled green; Windows distribution CI passed on the earlier 5b4a885 head. Current existing managed review policy does not consult remote CI. The complete exact-head review was published/read back and merge readiness returned ready before the explicitly authorized merge.
Beta.6 is now published from merged commit 5eee730c201a374d57e6695139bdbe0ea8eac782. Downloaded GitHub bytes match the tagged build (SHA-256 5c36776ded02ea330f560fa5395ed8deef144b59690ac15353df1c7263474a90). The illustrated upgrade guide belongs to the verified personal user account; final text and all three real DSH screenshot bytes were read back. #5680 updates the approved install entry, and #5687 reconciles this evidence in the RFC. Optional npm publishing remains unconfigured; GitHub package distribution does not require an npm account.
Published-byte qualification passed native DSH 0.2 URL installation, beta.5-on-compatible-0.1.5 to beta.6-on-0.2 upgrade/removal, offline plugin tgz install/removal, packed real SDK/HTTP runtime and VM Client lifecycle, and a clean Linux container with the released LoopX 1.2.4 wheel for PEP 668 private installation, skills, launch authentication and GoalBar readback. The original source-wheel Docker script failed for an unbuilt Chat bundle; the independent release-wheel harness passed using artifact copying. In a real macOS DSH 0.2 browser, a synthetic Goal and preconfigured unique binding passed Start/Pause through the published CLI (active/stopped read back); an unactivated Session added no model turn. This does not qualify model-driven continuation, observer fidelity or Windows desktop.
As of 2026-10-10, awesome-directory #6633 is merged and its deployed directory selects beta.6. The actual Hub 1.6.4 English/Chinese feeds (api.dsh-plugin.org/plugins.en.json and plugins.zh.json) and website still select beta.5. Those feeds are separate consumers; upstream #146 tracks their correction. Upgrading Hub or merging the awesome-directory update does not establish Hub adoption. Native direct installation of the published beta.6 URL was requalified on isolated macOS DSH 0.2.0-rc.2 with pnpm 11.25.0 and Hub 1.6.4, including package versions, four rows and actual Web loading.
Hub #98 shipped in 1.5.0. Hub #102 merged on 2026-10-07, and current Hub 1.6.4 ships the checksum-policy diagnostic, bilingual recovery guidance and actual-command reporting. Earlier packed-candidate failure-dialog/notification and backup-preserving recovery evidence remains bounded to macOS. Shipping the guidance does not repair existing lockfiles or establish why reported Windows lockfiles lost integrity.
The 24 open generated install reports separate into four evidence classes: 11 outer-wrapper-only failures, four exact missing-tarball-integrity failures, eight repository-root Git/preflight failures, and one Windows desktop-host bootstrap-module failure. Actionable current replies are published/read back on #6053, #5852 and #5688. The existing report classification is not proof that every wrapper has the same underlying error. Keep unresolved platform readback open; do not close them from merged PR counts.
Native browser hot uninstall remains failed in published beta.6: fresh Hub 1.6.4 removal deletes the dependency but withdrawing loopxBootstrap stops the shared Web rows and disconnects the browser. A no-effect plugin control preserved the same host, narrowing the fault to LoopX's shared dependency patch. A proposed repair in #6102 removes that dependency while keeping native Loader readiness and LoopX-owned Host/Driver gating. Its packed real 0.2.0-rc.2 and 0.1.5-rc.2 regressions passed delayed initialization before readiness, live-disable/route retirement and disabled-package cold boot. Real macOS DSH 0.2 + Hub 1.6.4 browser Uninstall → Complete → refresh passed: backend task done/exit 0, no restart required, package dependency removed, Hub present and LoopX absent. This candidate is not a new published package and is independent of the install-report recovery.
Failed or unverified: For released beta.6, close DSH before native CLI removal and restart afterwards. #5671 remains a missing Windows desktop-host CLI module before plugin loading; do not label it a missing LoopX entry or claim it fixed by beta.6. Windows desktop full market install/init/control/upgrade/remove, unknown inner wrapper errors, lockfile-origin diagnosis and external-network recovery remain unverified. Offline tgz recovery needs compatible host/CLI dependencies or caches. C0/C1, overhead, retention/deletion and runtime-selection acceptance remain open.
DSH is the first L1 event source, not an automatically preferred production runtime. Combined diagnostic status/receipt readback exists; mode/session support and manager transport have separate partial evidence.
Work remaining
- Complete the remaining existing provider delivery: correct/read back actual Hub feeds under upstream Document benchmark seam self-merge policy #146; review/merge and separately release/qualify the native hot-uninstall repair in #6102; obtain inner pnpm evidence for wrapper-only reports and establish reported Windows lockfile origin; repair/read back Windows desktop-host [dsh-plugin.org | dsh-plugin-hub] plugin install failed: loopx-project/loopx #5671 and the full Windows/0.2 market journey. These are independent gaps. Public beta.6 and the personal guide are delivered; npm remains optional.
- Complete the RFC’s C0/C1, overhead and retention/deletion decision record before claiming an observer-qualified profile.
- Separately qualify managed lifecycle behavior and make runtime selection follow explicit user intent and current readiness; retain Pi as a candidate, not a predetermined migration.
Ownership and ongoing work
This task owns comparative runtime/observer evidence. Session-mode RFC owns admission, and reliability-diagnostics RFC owns diagnostic product/retention. Reuse existing providers and #3243; no live model spend or retention deletion is granted by issue publication.
Contribution route: implementation/integration overlaps active work. Start from the linked current owners/PRs and identify an unowned acceptance gap in a claim comment; do not begin a competing rewrite.
Acceptance
- Freeze treatments and thresholds before authorized experiments; preserve failed runs, uncertainty and no-uplift outcomes.
- Exact session/run identity and observation age prevent a stale goal ledger being shown as current health.
- Start/resume/interrupt/close, crash and duplicate completion preserve one executor; observation cannot influence prompts or scheduler decisions.
- Reconcile the RFC's current delivery checkpoint and this issue with the integrated revision, commands, passed/failed/untested evidence and remaining gates. Close the accepted scope only; no claim that a merged PR alone completes the RFC.
Starting points and delivery boundary
- packages/dsh-loopx-plugin
- loopx/capabilities/reliability_diagnostics
- loopx/control_plane/turn_driver
Base: latest main. Reuse the existing typed owner and provider boundaries. Include affected CLI/frontend/Lark companions; verify real entrypoints and backend where changed. Preserve existing first-screen review and maintainer merge gates. Public artifacts contain only synthetic/public-safe evidence, no private operational state. This task does not authorize provider promotion, benchmark launches, release/deployment or unrelated protected effects.
Activity
Dante-dan commentedon Oct 4, 2026
I'd like to take the bounded exact-session/run diagnostic read contract slice of the second Acceptance row, separate from #5589's install/compatibility work and the Hub release route.
The RFC's Implemented Readback Increment explicitly requires a future consumer to refuse to label a stale or multi-run goal ledger as current session health. Today,
build_diagnostic_projection()folds every ordered envelope in the goal ledger into one stage; the CLI binds onlygoal_idand an evaluation timestamp. The receipt exposes treatment/run identities, but a caller cannot pin the session/observer/treatment it expects before consuming that stage. Existing replay/age tests cover explicit timestamps and read-only behavior, so simply adding another fixture would not close this consumer gap.I plan an opt-in manual status read that carries the caller's expected provider/observer/session identity plus the existing typed treatment identity, an explicit evaluation time, and a caller-declared maximum observation age. It will return typed ineligibility for mismatched or ambiguous identities, stale/future observations, and non-valid integrity instead of presenting an aggregate stage as that binding's current health. The existing unbound historical response remains compatible. Positive and independent negative tests will exercise the real CLI/readback seam and assert that neither ledger nor canonical work state is changed.
This is a reusable read contract prerequisite, not C0/C1 live qualification, a Mode B panel, automatic polling, runtime promotion, overhead measurement, or retention/deletion work. No provider calls or maintainer-owned benchmark runs are included. I'll keep the delivered checkpoint and remaining live qualification gates distinct. Please flag any existing owner of this exact read-contract slice so I can avoid overlapping their work.
wip: refresh readback registry I/O location metadata for loopx-projec…
zyaiire commentedon Nov 11, 2026
I'd like to take the bounded Mode B / managed-lifecycle qualification slice of the third Acceptance row, for DSH as a session-owning runtime. This is separate from #7349's exact-session/run diagnostic read contract, #5589's install/compatibility work, #6102's hot-uninstall repair, and the Hub/Windows delivery routes.
The RFC's Qualification Plan Mode B row, and the Decision section, still require a disposable-runtime exercise of start/resume/interrupt/close, process crash, stale session identity, duplicate completion, timeout and provider failure. It must verify one Turn at a time, keep a single executor, run canonical validation/writeback before spending quota or requesting another Turn, and keep observation from influencing prompts or scheduler decisions. Today's shipped evidence covers the bounded managed Turn host, provider install/compatibility, the exact-binding manual read, and related host-preservation work; those do not establish Mode B acceptance for the L1 session-owning role. Pi remains a candidate and is out of this slice.
I plan to work from latest
mainlocally: first pin the current lifecycle/readback seams and add independently testable fixtures (including negative cases for crash, stale identity, and duplicate completion) that prove single-executor behavior and the no-influence rule; then record public-safe passed/failed/untested evidence against the RFC checkpoint. I will not treat a passing fixture suite as live qualification. This slice does not include C0/C1 live observer experiments, overhead measurement, retention/deletion, runtime promotion, a Mode B panel, automatic polling, or unauthorized live model spend. If a later authorized experiment is needed, treatments and thresholds will be frozen first.Please flag any existing owner of this exact Mode B lifecycle slice so I can avoid overlapping their work.
zyaiire commentedon Nov 17, 2026
DSH managed-lifecycle qualification checkpoint / 托管生命周期验证进展
Mode B acceptance remains open. This is a bounded evidence checkpoint, not a product fix or runtime promotion.
Following my claim, I completed a bounded Linux ARM64 SDK campaign using real LoopX/DSH runtimes and a local synthetic model provider, without live credentials or external business effects.
Pinned scope
f599a60ce64fd78db80d6318c84e3af58bfc1df9.0.1.5rc1, SQLite authority.OwnedDshOperationHost, SDK0.2.1a3built from DSH2fbf4359b82fb94c03dcce0b831660d87f12ea5c, npm runtime0.2.1-alpha.3, File/SQLite authority.Passed within the tested boundaries
A completed independent validation, durable writeback and one quota settlement; invalid artifacts and unavailable validators were safely rejected. Sequential completed-Turn replay did not repeat execution or settlement.
B retained history across two explicit segments, refused a second executor on an existing active session across objects/processes, closed its runtime/socket, and restored identity/history after normal close. Missing/corrupt history and unsupported legacy SDK recovery were safely refused. Operation duplicate consume/report and synthetic native-envelope replay had separate bounded evidence.
The explicitly wired passive observer passed off/on, duplicate/foreign diagnostics and sink-failure comparisons. Host prompts and model-facing fields matched; full HTTP bodies differed in native log timestamps/UUIDs, with the same categories present in independent off/off controls. This is not live C0/C1, scheduler, or performance qualification.
Reproducible failures and incomplete contracts
session already exists, thenunknown. Retry exhaustion and scheduler backoff remain unverified; this does not prove an unlimited automatic retry or budget bypass.waitstill returned from the Host (four failed checks). The replacement binding remained intact. Erroneous canonical writeback or quota spending has NOT been demonstrated.consumed_outcome_pendingwithout outcome reconciliation.unknown; timeout/disconnect paths exposed transport closure. Precise failure classification/natural retry exhaustion is not qualified.Remaining acceptance / requested owner alignment
Please confirm the intended owner/boundary for final-response revocation, whole-activity expiry and same-identity retry, stale resource reclamation, and reconciliation of consumed-but-unreported work. I suggest targeted fixes/retests followed by an integrated persistent-session → canonical validation/writeback → settlement → next-Turn admission probe.
Standalone soft interrupt is not exposed by this Host; close is not a substitute. Fresh-binding races, tool subprocess-tree cleanup, downstream stale-result effects, external exactly-once, and full scheduler/observation non-interference remain unverified. Desktop, other operating systems, Pi, live C0/C1, overhead, retention/deletion and runtime promotion remain outside this campaign.
The attached reproduction packet contains harness sources, pinned primary versions, final-run mapping, preserved earlier-attempt summaries, dependency freezes, provenance and checksums. Raw prompts, request bodies, transcripts, journals and host environments are omitted; reruns generate complete evidence locally. Python transitive dependencies are not fully locked. The relocated controller passed source preparation and existing-image preflight; no fresh-machine full build/campaign is claimed. No product fix is included. I am reporting a qualification checkpoint, not requesting closure of the whole third Acceptance row or promotion of DSH.
Reproducer attachment / 复跑附件
Download issue-5208-public.zip
Start with
README.md,RESULTS.md,CHECKS.md, andfinal-runs.json. The packet includes 88 historical run records with 61 final/control mappings; these are not 88 independent acceptance scenarios or a pass-rate denominator. Known failed assertions remain nonzero. Runpython3.12 verify_bundle.pyafter extracting to check file integrity.ZIP SHA-256:
61d759d74ef1af727beef80f339f8e55aedf7b916e4d41c34bcaaead8ce35171中文说明
本轮完成了在固定版本、隔离 Linux ARM64 环境中的分层 SDK 验证,使用真实 LoopX/DSH runtime 和本地模拟模型服务,没有真实模型调用或外部业务操作。尚不足以关闭 Mode B 完整生命周期验收,也没有在最新 main 上重新验证。
两条路径不能合并宣称端到端通过
A 的结算通过与 B 的恢复通过,不等于持续会话恢复后完整经过校验、回写、结算及下一轮准入已通过。File/SQLite 指规范状态后端,不代表 operation 存储或 DSH 会话存储是两套不同实现。
十项目标的证据边界
需要处理或确认的五类问题
session already exists,随后变为unknown。重试耗尽和调度退避仍未验收,不能称为自动重试无上限或预算绕过。wait仍返回,新绑定保持不变。未证明错误规范回写、业务操作或扣费;需确认应在哪一层拦截及下游是否已有保护。consumed_outcome_pending,对账/补报/最终收尾未验证。合成本地效果计数不是外部事务 exactly-once 证明。unknown,部分超时/断连表现为传输关闭。安全退出通过不意味着错误分类、自然重试上限和恢复策略都正确。请求 owner 对齐与下一步建议
请确认最终结果身份撤销、整次活动期限和同身份重试、宿主死亡后资源回收、已消费未报告操作对账分别由哪一层负责。建议先定点修复/复验,再补持续会话 → 规范校验/回写 → 结算 → 下一轮准入的完整链路。
独立软中断、首次绑定竞争、工具子进程树、迟到结果下游业务效果、崩溃后对账,以及完整调度/重试不受观测影响仍需补证据。Desktop、其他 OS、Pi、live C0/C1、开销、保留/删除和 runtime 推广不在本轮范围。
附件保留脚本、摘要、失败记录和校验信息,不附原始 prompt/会话记录。公开控制器已检查源码准备及已有镜像 preflight,未在全新机器完整重建并重跑十项。当前只提交阶段性研究反馈;后续如需将持久测试或 RFC 检查点纳入仓库,将通过独立 PR 评审,不将本评论作为完整验收或合并请求。