diff --git a/AGENTS.md b/AGENTS.md index fd8d3bd..c74ad87 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,9 +4,10 @@ English · [简体中文](AGENTS_ZH.md) ## Baseline (2026-10-02) -- Published **0.3.0**, latest=next=0.3.0 (2026-10-02 audit). PR #6 release point 85fa7d1c4a7e6f7c274d83df242d10c65e319d24 matches npm gitHead, annotated v0.3.0 and public GitHub Release/tgz. Both channel installs passed all thirteen file comparisons, 28 official-service checks each and real Web acceptance. See docs/release-report-0.3.0.md. +- Published **0.4.0**, latest=next=0.4.0 (2026-10-02 audit). PR #8 release point `3d7ec4aafffbe5be0dfc92e26e49bae287636d28` matches npm gitHead, annotated v0.4.0 and public GitHub Release/tgz. Both channel installs passed all fifteen file comparisons, 28 official-service checks each and the complete real Web workflow. Issue #1 was replied to and closed as completed. See `docs/release-report-0.4.0.md`. +- Previous **0.3.0** release point: PR #6, `85fa7d1c4a7e6f7c274d83df242d10c65e319d24`. Its tag, npm package and read-only release are immutable. At that release audit both channel installs passed thirteen file comparisons, 28 service checks each and real Web acceptance. See `docs/release-report-0.3.0.md`. - Working repository: `C:/Users/Mashed Potato/Desktop/npm/dsh-git-plugin`. Check the actual checkout; do not edit another worktree inadvertently. -- Previous published package: **0.2.1**. PR #4 preserved history; release point `084a767aa3055d5cb0e06ddf4fb42dda4156458c` matches npm gitHead, annotated v0.2.1, and public GitHub Release. At the last release audit, latest=next=0.2.1. Channel installs and 28 official-service checks per installed entry passed. See `docs/release-report-0.2.1.md`. +- Historical **0.2.1** package: PR #4 preserved history; release point `084a767aa3055d5cb0e06ddf4fb42dda4156458c` matches npm gitHead, annotated v0.2.1, and public GitHub Release. At that release audit, latest=next=0.2.1. Channel installs and 28 official-service checks per installed entry passed. See `docs/release-report-0.2.1.md`. - Historical 0.2.0 release point: `c83f3322950b0892022d6b3efd1e4f6edbed5be8`, PR #2. Its package contained five files; do not replace it or move its tag. See `docs/release-report-0.2.0.md`. - Adaptation commit `8181856` introduced strict TypeScript, DSH 0.2.0-rc.2 compatibility and argv/deadline/hook-directory fixes. Timer correction `922408d` removed unref from deadline/grace timers: Linux Node 20/22 could otherwise drain the event loop before timeout. Keep timers referenced and clear them when done. - Historical verification: 26 original tests; Windows Node 24.19.0 / Git 2.53.0.windows.2; isolated WSL2 Ubuntu 24.04 Node 20.20.2 / 22.23.3 and Git 2.43.0; clean artifact gate and release-point CI passed. See `docs/validation-report-0.2.0.md`. @@ -15,8 +16,8 @@ English · [简体中文](AGENTS_ZH.md) ## Current development -- PR #6 merged the first read-only right-sidebar panel for Issue #1 as **0.3.0**, release point 85fa7d1c4a7e6f7c274d83df242d10c65e319d24. GitHub v0.3.0 is public and its installed entry passed 28 service checks plus real Web acceptance. npm registry availability, installed-package acceptance and latest=next=0.3.0 are confirmed. See docs/release-report-0.3.0.md. Published versions remain immutable. The current explicit goal authorizes completing GUI operations in a new release, then closing Issue #1 after real acceptance. -- Source: `src/index.ts`, `src/web-host.ts`, browser-safe `src/panel-types.ts`, `src/client/`. Build Host declarations/JS and generated `lib/client.js`; keep ESM and existing commands/tools. +- PR #8 released the complete Issue #1 GUI workflow as **0.4.0**, following the read-only 0.3.0 release. Both public installation specs passed installed-entry and browser acceptance; latest=next=0.4.0 and Issue closure are confirmed. Published versions and release tags remain immutable; evidence-only follow-up commits do not move the release point. +- Source: `src/index.ts`, `src/web-host.ts`, `src/web-actions.ts`, browser-safe `src/panel-types.ts`, `src/client/`. Build Host declarations/JS and generated `lib/client.js`; keep ESM and existing commands/tools. - English primary documents and `_ZH.md` counterparts: README, CONTRIBUTING, AGENTS; also paired Web usage documents. Synchronize facts, commands and validation boundaries. README stays a short product page; engineering details belong in CONTRIBUTING/docs and maintenance constraints here. Do not add a skill just for a documentation edit. - Web evidence: `docs/web-panel-validation.md`. Old release CI does not certify a new development SHA. @@ -52,8 +53,8 @@ English · [简体中文](AGENTS_ZH.md) - The 0.3.0 dual channels, bundle registration and read-only panel are released. Market PR #6296 closed unmerged and the 2026-10-02 public catalog has zero exact repository matches; investigate separately before claiming search/install availability. - P2 / Issue #1 is released: read-only status, diff and history; reuse the sidebar carrier, not turn-based workspace-change summaries. That summary excludes pre-existing edits and is not an index/worktree Git source. -- P3 / current authorized work: stage/unstage, staged-only commit, branches, stash and backup restore are implemented; finish installed acceptance and publish 0.4.0 before closing the issue. Native approval.request requires an open model turn; explicit operator GUI confirmation is separate, never a fabricated turn or a model-tool grant. See docs/superpowers/specs/2026-10-02-git-actions-design.md. -- Stage prompts: `docs/dsh-tasks/README.md`; 03–05 are complete, 06 has mount-prefix/slow Web cancellation remaining, 07 design is implemented by the current Git actions contract. Adapt them to actual completed evidence rather than repeating historical instructions. Plan/history documents remain clearly dated. +- P3 / Issue #1 is complete in 0.4.0: stage/unstage, staged-only commit, local branches, stash and backup restore passed both public installed workflows. Native approval.request requires an open model turn; explicit operator GUI confirmation is separate, never a fabricated turn or a model-tool grant. See docs/superpowers/specs/2026-10-02-git-actions-design.md. Future remote operations require a new scoped design. +- Stage prompts: `docs/dsh-tasks/README.md`; 01–05 and 07 are complete. Only 06 mount-prefix/slow Web cancellation evidence remains optional follow-up. Do not repeat historical implementation, release or Issue-closure instructions. Plan/history documents remain clearly dated. - A successful publish exit/HTTP 202 is acceptance, not installability. Allow official scanning and registry propagation; check actual availability/gitHead/tarball and installed behavior before latest promotion. A successful dist-tag write also requires a confirming tag read; do not repeat publish to address delays. - Finalize release date before publish. Version/lock/CHANGELOG/source/types/lib and tag/Release/npm gitHead/artifacts identify one release point. Publish each version once to next, verify, then promote with dist-tag. Changed published content needs a new version. - AGENTS/docs/team state are engineering resources, not npm runtime files. Pack only closed runtime outputs, bilingual READMEs, license, patch and referenced assets; verify actual file list. Published 0.2.0/0.2.1 contents are immutable. @@ -61,13 +62,13 @@ English · [简体中文](AGENTS_ZH.md) ## Community collaboration - CONTRIBUTING and bilingual issue/PR templates describe triage, scope, ownership, evidence, review and release. Labels and branch protection are separate settings; do not claim templates enabled them. -- Use `Refs #1` for the read-only first phase; do not close the whole issue merely because a draft/partial UI exists. +- Issue #1 was closed after complete public-install acceptance of 0.4.0. Link new defects or feature requests to it for context; do not repeat the release response or reopen it merely to track unrelated follow-up. - Root screenshots.json references the capability illustration and actual released read-only panel screenshots in docs/images. The banner is an illustration; panel images use isolated fixture repositories. Catalog readiness and catalog inclusion are different states. - Old manual inserts must migrate to id/config overrides when enabling the bundle. DSH 0.2.0-rc.2 does not automatically add a bundle layer when upgrading an old ordinary dependency. - Preserve the isolated WSL runtimes `~/dsh-node-runtimes/node-v20.20.2-linux-x64` and `node-v22.23.3-linux-x64` unless removal is specifically requested. System Node 18 was not used for the prior matrix. -## 0.4.0 candidate +## 0.4.0 verification and maintenance -- Source commits: 8b9efc1 actions, 293ff98 content previews, 9871360 native Host/Origin seam, da406ac retained controls on refresh. Windows build/check and 55 tests passed before the last UI-only fix; its client test and type check passed. a44650c fixes reviewed rename/stash scope and passed full Windows build/check/57 tests. Run final candidate checks/CI and installed Web before release. +- Release-point Windows/Linux × Node20/22 CI passed all four jobs, as did clean builds/artifact/type/syntax gates and all57 tests. Both public specs passed the full actual browser workflow and28 real-service checks each. Preserve regression coverage for reviewed rename paths, stash index-only previews and native Host/Origin forwarding. - New Web minimum Git 2.32 is required for stash show --include-untracked; only actual tested versions may be claimed verified. Connection HTTP bridge uses dsh.internal URL; validate mandatory Origin against its trusted Host authority. - Use a unique development tarball path per SHA; pnpm can cache a repeated filename. Compare installed lib hashes, restart the isolated profile, and never hand-edit installed outputs. diff --git a/AGENTS_ZH.md b/AGENTS_ZH.md index 688bdf6..080eb6c 100644 --- a/AGENTS_ZH.md +++ b/AGENTS_ZH.md @@ -4,8 +4,9 @@ ## 当前基线(2026-10-02) -- 当前 **0.3.0 已完成双渠道发布**,latest=next=0.3.0(2026-10-02 核对)。PR #6 发布点 85fa7d1c4a7e6f7c274d83df242d10c65e319d24 与 npm gitHead、annotated v0.3.0、公开 Release/tgz 一致;两个实际安装 spec 均通过十三文件对比、各 28 项官方服务和真实 Web 验收,详见 docs/release-report-0.3.0.md。 -- 上一已发布包版本 0.2.1;PR #4 已保留历史合并,发布点为 084a767aa3055d5cb0e06ddf4fb42dda4156458c。npm latest=next=0.2.1、annotated tag 与公开 GitHub Release 均已核对该发布点,双渠道独立实装和各 28 项服务栈通过。市场 PR #6296 已于 2026-10-01 关闭且未合并、无说明评论,不宣称已收录,详见 docs/release-report-0.2.1.md。 +- 当前 **0.4.0 已完成双渠道发布**,latest=next=0.4.0(2026-10-02 核对)。PR #8 发布点 `3d7ec4aafffbe5be0dfc92e26e49bae287636d28` 与 npm gitHead、annotated v0.4.0、公开 Release/tgz 一致;两渠道正式安装均通过十五文件对比、各 28 项官方服务及完整 Web 操作。Issue #1 已回复并按完成关闭,详见 `docs/release-report-0.4.0.md`。 +- 上一版本 **0.3.0**:PR #6 发布点 `85fa7d1c4a7e6f7c274d83df242d10c65e319d24`;其 tag、npm 包及只读发布不可覆盖。当时双渠道十三文件、各 28 项服务与真实 Web 验收通过,见 `docs/release-report-0.3.0.md`。 +- 历史 0.2.1;PR #4 已保留历史合并,发布点为 084a767aa3055d5cb0e06ddf4fb42dda4156458c。当时 npm latest=next=0.2.1、annotated tag 与公开 GitHub Release 均已核对该发布点,双渠道独立实装和各 28 项服务栈通过。市场 PR #6296 已于 2026-10-01 关闭且未合并、无说明评论,不宣称已收录,详见 docs/release-report-0.2.1.md。 - 主工作目录:`C:/Users/Mashed Potato/Desktop/npm/dsh-git-plugin`;先确认所在 checkout,避免把改动写到另一 worktree。 - 适配已提交:`8181856`,包含严格 TypeScript 迁移、DSH 0.2.0-rc.2 适配、Git 参数安全/超时/钩子目录修复、测试与文档。 @@ -17,10 +18,10 @@ ## 当前开发任务 -- PR #6 已保留历史合并 Issue #1 首版只读面板为 0.3.0,发布点 85fa7d1c4a7e6f7c274d83df242d10c65e319d24;GitHub v0.3.0 已公开,固定 tag 实装的 28 项服务及真实 Web 通过。npm 注册表可见、正式实装及 latest=next=0.3.0 已确认;实际状态见 docs/release-report-0.3.0.md;旧版本不可覆盖;当前明确目标已授权补完整 GUI 操作,正式实装验收后关闭 Issue #1。 +- PR #8 在 0.3.0 只读首期基础上,以 **0.4.0** 发布 Issue #1 的完整 GUI 操作。两种公开安装 spec 的真实入口及浏览器验收、latest=next=0.4.0 与 Issue 关闭均已确认。已发布包和 tag 不可覆盖;后续证据提交不移动发布点。 - README / CONTRIBUTING / AGENTS 采用英文主文档和 `_ZH.md` 中文对应页;面板使用文档同样配对,修改时同步事实、命令和验收边界。 - 新 Web 证据见 `docs/web-panel-validation.md`;不能将旧发布点的 CI 当作本分支 CI。 -- 当前源码为 src/index.ts、src/web-host.ts、src/panel-types.ts 和 src/client/;客户端通过小型构建生成官方 loader 包装,复用宿主 React,不手改 lib/client.js、不捆绑第二份 React。 +- 当前源码为 src/index.ts、src/web-host.ts、src/web-actions.ts、src/panel-types.ts 和 src/client/;客户端通过小型构建生成官方 loader 包装,复用宿主 React,不手改 lib/client.js、不捆绑第二份 React。 - Web 从运行中/持久化 Session 获取 cwd;拒绝请求提供任意 cwd/root/argv,限制相对路径、literal pathspec、external diff/textconv。DSH 0.2.0-rc.2 是单一已准入 operator,并无按租户分隔的 Session ACL,不能宣称租户隔离。 - 禁用时清理 UI、样式、tab、slot、路由和进行中的请求;切换会话后旧响应不能覆盖新视图。真实 Web 验收脚本 scripts/verify-web-panel.mjs 按需运行,不进入 npm test/CI。 @@ -48,8 +49,8 @@ ## 后续顺序与发布 - P1:`0.2.1` 双渠道发布、bundle 自动启用、README 展示与市场收录申请已完成;市场 PR #6296 已关闭未合并、无说明评论;目录没有本仓库精确匹配,不宣称已收录。GUI 另开阶段。 -- P2:[Issue #1](https://github.com/MashedPotato817/dsh-git-plugin/issues/1) 的 Web 只读 Git 面板:状态、diff、历史首期已实现;继续补验及用户验收。 -- P3:再考虑 stage/commit/branch/stash 等写操作,核对 DSH 权限与审批及恢复方式。 +- P2:状态、diff、历史只读面板已在 0.3.0 发布。 +- P3 / [Issue #1](https://github.com/MashedPotato817/dsh-git-plugin/issues/1):暂存/取消暂存、仅暂存提交、本地分支、stash 与备份还原已在 0.4.0 双渠道验收发布,Issue 已完成关闭。GUI 人工确认与需要 open turn 的模型审批分开;未来远端操作先另定范围与设计。 - 版本文件、CHANGELOG、源码、编译配置、测试和 `lib/` 一起纳入发布提交;确保 tag、Release、npm gitHead 与包内产物对应同一提交。 - 同一版本只 `npm publish --tag next` 一次;验证通过后用 `npm dist-tag add dsh-git-plugin@<版本> latest` 推广。需要修改已发布内容时提升版本。 - `AGENTS.md`、`docs/`、`.agent-teams/` 不进入 npm files;已发布 0.2.1 实际为 7 文件;当前开发包增加 Web 产物及 README_ZH,按实际 pack 文件表核验。原 0.2.0 发布包仍为 5 文件,不可覆盖;缓存与独立测试目录保持忽略。 @@ -66,7 +67,7 @@ ## 后续任务入口(2026-10-01 核查) -- 任务分包见 [docs/dsh-tasks/README.md](docs/dsh-tasks/README.md):03–05 已完成并发布;06 仅余挂载前缀/真实慢 Web 请求取消,07 的审批与恢复设计已由当前 Git 操作契约实现;逐包推进。 +- 任务分包见 [docs/dsh-tasks/README.md](docs/dsh-tasks/README.md):01–05 与 07 已完成;06 仅余挂载前缀/真实慢 Web 请求取消的可选补验。不要重复历史实现、发布或 Issue 关闭任务。 - 原候选 feba7b8,定时器修复 922408d,发布点 c83f332;PR/main 当前 SHA CI 均通过,协作文档与模板已进入默认分支。包 02 的 npm、GitHub、latest 推广与双渠道安装均完成;随后 03–05 的只读 Web 已实现为 0.3.0,继续 06/07 的剩余项目。 - Linux Node 20/22 已用**隔离运行时**(WSL2 Ubuntu 24.04,`~/dsh-node-runtimes/node-v20.20.2-linux-x64`、`node-v22.23.3-linux-x64`)完成修复后 build/check/test 复验;修复候选 922408d 的 npm ci/build/产物门/check/语法/test/pack 全部通过。系统 Node 18.19.1 未用于验证。证据见 `docs/validation-report-0.2.0.md`。未推送 SHA 的干净检出从本地主仓库克隆。 @@ -86,10 +87,10 @@ ## 当前完整目标 -按 docs/superpowers/specs/2026-10-02-git-actions-design.md 实施暂存/取消暂存、仅暂存提交、分支、stash 和备份还原。人工 GUI 写确认独立于需要 open turn 的模型审批;同源 JSON、一次性确认、状态复核,不伪造模型回合。完整实装/CI/双渠道发布后回复并关闭 Issue #1,不把只读首期当作完整交付。 +docs/superpowers/specs/2026-10-02-git-actions-design.md 的完整操作已通过正式实装/CI/双渠道发布,Issue #1 已关闭。维护同源 JSON、一次性确认与状态复核;人工 GUI 写确认独立于需要 open turn 的模型审批,不伪造模型回合。 -## 0.4.0 候选 +## 0.4.0 验证与维护 -- 源码提交:8b9efc1 操作,293ff98 内容预览,9871360 原生 Host/Origin,da406ac 刷新保留操作区。最后界面小修前 Windows build/check 和 55 项测试通过;小修后的客户端与类型检查通过。a44650c 修复审查指出的 rename/stash 范围,完整 Windows build/check/57 项通过;发布前须复跑最终候选/CI/正式安装 Web。 +- 发布点 Windows/Linux × Node20/22 四组合 CI 通过,干净构建/产物/类型/语法及完整 57 项测试通过;两种正式安装均通过完整真实 Web 操作与各 28 项宿主检查。维护审查修复的 rename 路径、stash 仅暂存预览及原生 Host/Origin 转发回归覆盖。 - 新 Web 能力要求 Git 2.32(stash show --include-untracked),仅实际测试版本声明已验证。原生 bridge 的 URL 为 dsh.internal,强制 Origin 绑定已受信 Host authority。 - 每个开发 SHA 使用不同 tarball 文件路径,避免 pnpm 同名缓存;比较实际安装 lib 哈希并重启独立 profile,不手改安装产物。 diff --git a/docs/dsh-tasks/07-gui-write-design.md b/docs/dsh-tasks/07-gui-write-design.md index 34cf1b6..27041bb 100644 --- a/docs/dsh-tasks/07-gui-write-design.md +++ b/docs/dsh-tasks/07-gui-write-design.md @@ -1,5 +1,7 @@ # Package 07: GUI write approval design / GUI 写审批设计 +> Completed2026-10-02: design and implementation released as0.4.0; both public installs passed complete Web acceptance and Issue #1 is closed. Native operator GUI confirmation is separate from turn-bound model approval. The instructions below are historical, not a request to repeat implementation or publication. / 已完成设计、实现及 0.4.0 双渠道验收发布,Issue #1 已关闭;GUI 人工确认独立于模型回合审批。下文保留历史提示词,不重复执行。See [release evidence](../release-report-0.4.0.md) and [accepted design](../superpowers/specs/2026-10-02-git-actions-design.md). + Read AGENTS, Issue #1, the implemented read-only Host/client and the exact upstream approval contracts. 阅读维护指引、Issue #1、已实现只读面板与上游审批契约。 Owner / 执行:DSH. Scope / 范围:reviewable design and optional isolated proof, not production write buttons. 可审设计与隔离验证,不直接加入生产写按钮。 diff --git a/docs/dsh-tasks/README.md b/docs/dsh-tasks/README.md index e7b8cac..5e6400e 100644 --- a/docs/dsh-tasks/README.md +++ b/docs/dsh-tasks/README.md @@ -1,6 +1,6 @@ # DSH 后续任务包 -> Current handoff / 当前交接(2026-10-02):0.3.0 只读面板已通过 PR #6 合并并完成 npm/GitHub 双渠道发布,latest=next=0.3.0,正式实装/服务/Web 验收通过;包 03–05 完成,Linux 真实 Web、暗色窄屏及边缘仓库验收已补齐。包 06 仅余挂载前缀及真实慢 Web 请求取消;包 07 先做 GUI 写操作审批/恢复设计。当前发布状态见 [0.3.0 记录](../release-report-0.3.0.md),剩余逐项验证见 [验收记录](../web-panel-validation.md),不要重复执行历史发布任务。English/中文使用见 [Web guide](../web-panel.md) / [中文指南](../web-panel_ZH.md)。 +> Current handoff / 当前交接(2026-10-02):**0.4.0 released on npm/GitHub, latest=next=0.4.0; Issue #1 completed and closed.** / **0.4.0 双渠道发布完成,Issue #1 已完成关闭。** Both public installs passed fifteen file comparisons,28 host checks each and complete actual Web workflows; release-point four-job CI and57 tests passed. / 正式双渠道十五文件、各二十八项宿主与完整 Web 操作通过,发布点四组合 CI 和五十七项测试通过。Packages01–05 and07 are complete; only06 mount-prefix/slow-Web cancellation coverage remains optional. / 01–05 与 07 已完成,06 仅余前缀/真实慢请求取消的可选补验。See [0.4.0 release record](../release-report-0.4.0.md); do not repeat historical implementation/release/closure tasks. / 以新发布记录为准,不重做历史任务。English/中文使用见 [Web guide](../web-panel.md) / [中文指南](../web-panel_ZH.md)。 核查日期:2026-10-01。主仓库:`C:/Users/Mashed Potato/Desktop/npm/dsh-git-plugin`。 基线:`feat/release-0.2.0` @ `feba7b80b0942a7a5733511ac0b9cf918ef8d2a8`。 @@ -32,11 +32,11 @@ DSH 主包 latest/next 都是 0.2.0-rc.2,commands/tools 子包 latest 仍旧 4. [04 Web UI](04-web-ui.md):沿用 03 的分支与契约,完成 TSX 与客户端构建。 5. [05 Web 联调验收](05-web-acceptance.md):真实 DSH Web 验证、修复、交付。 6. [06 剩余 Web 验收 / Remaining acceptance](06-web-edge-acceptance.md):补 Linux、边缘状态、布局与真实慢请求证据。 -7. [07 GUI 写审批设计 / Write design](07-gui-write-design.md):先确认无 open turn 的审批与恢复契约,再拆实现包。 +7. [07 GUI 写审批设计 / Write design](07-gui-write-design.md):已完成设计及实现,0.4.0 双渠道正式验收发布;仅作历史参考。 不要把这些包一次性合并为一个大任务。每包通过后再给 DSH 下一包。 03–05 的功能不得混进 0.2.0 发布候选;默认在 02 完成后开始。 -GUI 写操作留给下一阶段,另做审批与恢复方案。 +以上实施顺序是历史分包约束;GUI 写操作已按独立人工确认与恢复契约交付于 0.4.0。 ## 所有任务共用约束 diff --git a/docs/maintenance-plan.md b/docs/maintenance-plan.md index 1e950a5..98bca3b 100644 --- a/docs/maintenance-plan.md +++ b/docs/maintenance-plan.md @@ -1,6 +1,6 @@ -> 2026-10-02 当前:0.3.0 已双渠道发布,完整 Git 操作进入 0.4.0 候选。发布顺序仍为最终提交 → PR 保留历史合并 → 干净产物/CI → 单次 next publish → 双渠道实装 → latest → Issue 完成。当前基线与证据见 AGENTS.md / docs/release-report-0.4.0.md;下文旧版本表、社区数量及“尚未实现”属于日期所示历史。 +> Current2026-10-02:0.4.0 released on both channels, latest=next=0.4.0, installed service/Web acceptance passed and Issue #1 closed. / 当前 0.4.0 双渠道发布完成,正式实装服务/Web 通过,Issue #1 已关闭。发布顺序仍为最终提交 → PR 保留历史合并 → 干净产物/CI → 单次 next publish → 双渠道实装 → latest → Issue 完成。当前基线与证据见 AGENTS.md / docs/release-report-0.4.0.md;下文旧版本表、社区数量及“尚未实现”属于日期所示历史。 # dsh-git-plugin 维护计划 diff --git a/docs/release-report-0.4.0.md b/docs/release-report-0.4.0.md index 8f78a82..dec47e0 100644 --- a/docs/release-report-0.4.0.md +++ b/docs/release-report-0.4.0.md @@ -1,6 +1,6 @@ # 0.4.0 release record / 0.4.0 发布记录 -Status: candidate, not published. / 当前为候选,未发布。 +Status: **complete**. npm latest=next=0.4.0, public GitHub v0.4.0, both installed acceptance runs passed; Issue #1 is closed as completed. / **发布完成**:双渠道正式实装通过,latest=next=0.4.0,Issue #1 已回复并关闭。 ## Scope / 范围 @@ -25,10 +25,38 @@ Important documents are paired English/Chinese. GUI labels are Chinese. No remot - Current-candidate push CI37014384527 and PR CI37014560238: all four Windows/Linux × Node20/22 jobs passed. / 两组四平台组合 CI 通过。 - Independent reviewer verified a44650c and reproduced the fixes; no remaining release blockers. / 独立审查无剩余发布阻断问题。 - Actual narrow dark screenshot: [Git actions](images/git-actions-dark.png),343px panel; synthetic fixture only. / 已检查真实窄侧栏截图,不含日常仓库数据。 -- npm account check returned401; public metadata confirms0.4.0 unused and latest=next=0.3.0. Official web login will be required after release preparation. / 当前登录过期,发布前需要官方网页认证,不要求聊天发送秘密。 +- Before publication, the account check returned401 and public metadata confirmed0.4.0 unused with latest=next=0.3.0. Subsequent official web login and publish authentication completed as recorded below. / 发布前曾登录过期且新版本未占用;后续官方登录及认证已完成,见下文。 -Pending: final date/SHA CI, release-point artifact gate, public npm/GitHub installs and latest readback, Issue reply/closure. / 未执行项不标 PASS。 +Final date/SHA CI, release-point artifact gate, both public installs, latest readback and Issue closure passed below. / 发布门、双渠道实装、标签回读及 Issue 收尾全部完成,见下文;未测环境不据此宣称通过。 DSH 0.2.0-rc.2, Windows Node 24.19.0/Git 2.53.0.windows.2 and WSL Ubuntu 24.04 Node 20.20.2/22.23.3 Git 2.43.0. Only exact tested host versions are verified. Git >=2.32 is required for untracked stash previews. Real model sessions, other host versions and reverse-proxy mount deployment remain unverified. / 实测范围与能力要求分开;不推断未测环境。 Use independent DSH_HOME/profile and throwaway repos; no daily profile or credentials are modified. Final publication must use one new version upload and a single consistent npm gitHead/tag/Release/tree point. / 独立环境与发布一致性约束保持。 + +## Release point / 发布点 + +- Final feature b3e442b642590233217fba356c17e3d95273b67f; CI37014950028 and37014955276 all four jobs passed. PR#8 merge point3d7ec4aafffbe5be0dfc92e26e49bae287636d28 has exactly the same tree. / 最终分支与保留历史合并树一致。 +- Main CI37015175374 at that point: all Windows/Linux × Node20/22 build/artifact/type/syntax/tests passed. / 发布点四组合门通过。 +- Windows clean local clone: npm ci/build/artifact/check/57 tests passed. Rechecked build/artifact from merged HEAD with clean status. / 干净检出与合并发布点的产物一致。 +- Official npm10.9.9 release pack:15 files; integrity sha512-/YOUUZ8fueQk2ZpbXKAovlJIqM5wTOogf2FH1YjoQwko8gOjJjPmrnp87xNElPxf+ds211zJekzGfNkSVZ1iMQ==. It contains closed generated runtime/types, bilingual READMEs,license,patch and hero asset; no engineering/profile/cache files. / 打包闭包及哈希已记录。 +- CHANGELOG English/Chinese date2026-10-02 was committed before upload. Official browser login and the separate publish authentication completed; npm publish --tag next exited0 with a processing notice. This is upload acceptance, not public installability. / 发布日期提前入提交;登录及发布认证完成,唯一一次 publish 返回0并提示处理中,尚不等于公开可安装。 + +## Public GitHub channel / 公开 GitHub 渠道 + +- Annotated v0.4.0 points to3d7ec4aafffbe5be0dfc92e26e49bae287636d28. The public [Release](https://github.com/MashedPotato817/dsh-git-plugin/releases/tag/v0.4.0) has bilingual notes and its33644-byte tgz matches the canonical local tarball by SHA512. / tag、Release 与发布点一致,公开附件哈希一致。 +- Official DSH CLI installed github:MashedPotato817/dsh-git-plugin#v0.4.0 in an isolated profile. All15 packed-file SHA256 comparisons matched the clean release checkout. The installed entry passed28 official service checks; an in-memory module hook supplied the same official dsh-tools peer used by the host, without changing installed files. / 固定 tag 正式实装,十五文件一致,实际入口二十八项服务通过。 +- After restarting that profile, scripts/verify-web-actions.mjs passed the complete real browser workflow against a fresh disposable repository: stage/unstage, index-only commit, branches, stash, backup restore, read regression, cancellation, authentication/origin rejection and two enable/disable cycles; zero page errors, Edge154.0.4258.48. / 新临时仓库真实操作、独立 Git 断言、边界及两次启停全部通过。 +- At2026-10-02T13:59Z, the public npm packument still had latest=next=0.3.0 and no0.4.0 version. No second publish was attempted. / 此时 npm 尚未公开新版本,未重复上传。 + +## Public npm channel / 公开 npm 渠道 + +- Registry publication time2026-10-02T14:00:13.691Z. npm0.4.0 gitHead equals3d7ec4aafffbe5be0dfc92e26e49bae287636d28. Metadata integrity and the downloaded tgz SHA512 match the canonical pack and GitHub public asset. next=0.4.0 was confirmed. / 注册表新版本已公开,提交、元数据与真实下载包哈希一致,next 已回读。 +- The official DSH CLI replaced the isolated profile dependency with dsh-git-plugin@0.4.0. All15 file comparisons passed; the actual installed entry passed28 official service checks. The same independent profile was tested sequentially for both specs, never a daily profile. / npm 精确版本正式安装,十五文件及二十八项实际入口检查通过;两渠道在同一独立 profile 顺序替换验证。 +- After restart, a separate fresh npm-run/actions-repo fixture passed the entire real browser workflow and independent Git assertions, authentication/Origin boundaries, confirmation cancellation, two lifecycle cycles and zero page errors. Edge154.0.4258.48; DSH0.2.0-rc.2 on Linux Node22.23.3/Git2.43.0. / 正式 npm 安装的独立新仓库也通过完整 Web 验收。 +- After installed acceptance, dist-tag add dsh-git-plugin@0.4.0 latest completed its separate official browser authentication and exited0. Both the dist-tags endpoint and package packument confirmed latest=next=0.4.0. Exactly one publish and one promotion invocation were used. / 实装通过后推广成功,两个注册表入口回读一致;仅上传一次、推广一次。 + +## Issue completion and maintenance / Issue 收尾与维护 + +- [Bilingual completion reply](https://github.com/MashedPotato817/dsh-git-plugin/issues/1#issuecomment-5954190626) posted2026-10-02T14:04:32Z. Issue #1 closed as completed at14:04:34Z; GitHub API state=CLOSED was confirmed. / 双语回复含安装、范围、验收及指南,完成关闭已回读。 +- Maintenance baseline and task-package handoff are synchronized in English/Chinese. Packages01–05 and07 are complete; package06's reverse-proxy mount prefix and actual slow-Web cancellation remain optional environment coverage, along with model sessions/other DSH versions. They do not block the accepted Issue #1 workflow. / 双语基线与分包同步;剩余环境补验与本次完成范围明确分开。 +- Evidence-only commits follow the immutable release point; do not move v0.4.0 or republish its content when merging this report. Cleanup is limited to owned test profiles, browser fixtures and authentication files; preserve shared Node runtimes, daily profiles and the unrelated managed worktree. / 证据提交不移动发布点,清理仅限本次独立环境,保留共享运行时及日常数据。 diff --git a/docs/web-panel-validation.md b/docs/web-panel-validation.md index 2c8c778..9894d6b 100644 --- a/docs/web-panel-validation.md +++ b/docs/web-panel-validation.md @@ -1,5 +1,7 @@ # Web panel validation / Web 面板验收 +> Historical first-phase evidence. The read-only panel shipped in0.3.0; full confirmed GUI operations shipped in0.4.0 and Issue #1 is closed. Current installed/publication evidence: [0.4.0 report](release-report-0.4.0.md). Mount-prefix and actual slow-Web cancellation coverage remain optional follow-up. / 下文是首期历史证据;只读面板已于 0.3.0 发布,完整 GUI 操作已于 0.4.0 双渠道验收发布且 Issue 已关闭。前缀/真实慢 Web 请求取消仍待可选补验。 + Date / 日期:2026-10-01. Scope / 范围:Issue #1 read-only first phase on `feat/web-git-panel`, **unreleased / 未发布**. This record pairs English and Chinese within each section. ## Baseline and implementation / 基线与实现