release-archivist
GitHub用于完成 Spec-Superflow 变更的最终验证、总结与归档准备。根据工作流状态(执行中/关闭中)路由,支持直接计划或遗留流程,执行最终检查、风险接受及物理交付收尾,确保变更闭环。
Trigger Scenarios
Install
npx skills add MageByte-Zero/spec-superflow --skill release-archivist -g -y
SKILL.md
Frontmatter
{
"name": "release-archivist",
"description": "Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up."
}
Release Archivist
Bundled runtime
Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs"; <plugin-root> is the absolute directory two levels above this file. Never run SSF literally or call an ssf from PATH.
Workflow routing
A new request follows this file without loading legacy instructions. For an existing change, inspect the recorded state and receipt/plan (available through SSF workflow show <change-dir> --json and SSF execution show <dir> --json when needed). Current paths are workflow_variant: direct with a valid workflow-selection receipt schema_version: 3, or workflow_variant: planned with an execution plan schema_version: 2. Older receipts (schema 1/2), legacy plans and other recorded variants use the matching section of SSF runtime asset read docs/legacy-workflow.md; follow that section for this change. A direct variant alone is insufficient: legacy Quick/Hotfix/Lightweight can also record it. The internal workflow: full value alone is not a legacy signal. Missing or corrupt state, receipt or a required plan is a recovery problem; preserve evidence rather than reinitialize or downgrade the change.
Read SSF resume <change-dir> --json. In executing, complete verification and logical closure. In closing, perform only recorded pending physical finish, if merging is authorized. abandoned or a completed finish requires no work. Other states route through workflow-start.
New direct/planned changes
Use SSF workflow complete <dir> --verification-command "<required check command>". It runs final verification once; do not run the identical full suite immediately before invoking it. Planned execution additionally checks completed tasks, current full-range/wave review and any delta-spec publication. Direct execution needs no plan or review receipt. Ordinary failures stay in executing for focused repair. Reuse authorization already covering code delivery.
If the user explicitly accepts unfinished work or failed verification, use SSF workflow complete <dir> --accept-risk --confirm --reason "<decision and remaining issues>". Preserve every failure and report accepted-risk, not verified success. This ends code delivery without merging or deleting the branch. A plain closing transition cannot bypass failed checks. For verified work, physical integration remains a separate authorized operation.
Physical finish and delivery
Logical closure does not claim merge or cleanup succeeded. For verified changes with recorded isolation and authorized integration, use SSF finish <dir> [--test-cmd <command>]. It verifies the recorded target and preserves isolation on failure. Cleanup failure remains cleanup-pending. Resume only the recorded pending operation; do not guess the target or reopen completed work.
For branch delivery, leave the branch/worktree intact. Report outcome, key verification, unresolved risks and integration status. Logical closure does not authorize merge, push or release; accepted-risk delivery is not eligible for physical integration.
Version History
-
fb5d4d5
Current 2026-11-02 11:12
重构:将遗留恢复逻辑从 v2 技能路径中分离 (#138)
-
25d9b0c
2026-09-27 12:49
修复技能绑定 CLI 运行时问题,将 SSF 替换为 node 脚本调用。
-
10d5f08
2026-09-22 02:00
重构执行流以简化工作流,新增直接/计划执行路径,优化恢复逻辑并默认使用 Native 执行,修复 Windows 兼容性问题。
-
1bf565a
2026-09-02 22:23
修复轻量路径卡死、worktree隔离、review凭证死锁及finish收尾等系统性缺陷,增强状态跟踪与收口流程的稳定性。
- fd8cf86 2026-08-04 19:02
-
9105098
2026-08-02 21:57
简化了状态检查命令,移除了具体的包版本依赖(npx --yes --package spec-superflow@0.12.1),改为通用调用方式。
- 1970fe7 2026-07-30 20:20


