一键导入
sdd-archive
Merge completed deltas into main specs and archive the change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Merge completed deltas into main specs and archive the change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Mandatory thoth-mem workflow contract for orchestrator/subagent memory ownership, parent session_id/project dispatch, prompt-save prohibitions, project-scoped read tools, session-summary ownership, and durable observation rules. Use whenever work mentions thoth-mem, persistent memory, orchestrator/subagents, session_id, project, saved prompts, session summaries, or project-level memory context.
Execute SDD task lists with real-time progress tracking, sub-agent dispatch, and verification checkpoints.
Review SDD task plans for execution blockers and return [OKAY] or [REJECT].
Generate phased `tasks.md` checklists from specs and design.
Repository understanding and hierarchical codemap generation
Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions.
基于 SOC 职业分类
| name | sdd-archive |
| description | Merge completed deltas into main specs and archive the change. |
Close the SDD loop by promoting verified change specs into main specs and recording an audit trail.
~/.config/opencode/skills/_shared/openspec-convention.md~/.config/opencode/skills/_shared/persistence-contract.md~/.config/opencode/skills/_shared/thoth-mem-convention.mdThe orchestrator passes the artifact store mode (thoth-mem, openspec, or
hybrid). Follow
~/.config/opencode/skills/_shared/persistence-contract.md for read/write
rules per mode.
thoth-mem: persist to thoth-mem only — do NOT create or modify
openspec/ files.openspec: write files only — do NOT call thoth-mem save tools.hybrid: persist to both (default).change-namepipeline-type (accelerated or full)Read the shared conventions.
Recover artifacts through the retrieval protocol in
~/.config/opencode/skills/_shared/persistence-contract.md:
proposal, tasks, and verify-reportspec and designRefuse to archive if the verification report still contains unresolved critical failures.
If the selected mode includes OpenSpec and the pipeline is full, merge
every change spec from
openspec/changes/{change-name}/specs/{domain}/spec.md into
openspec/specs/{domain}/spec.md. In accelerated pipeline, skip the
spec merge (no delta specs exist).
If the selected mode includes OpenSpec, move the completed change directory
to openspec/changes/archive/YYYY-MM-DD-{change-name}/.
Create an audit trail report summarizing merged domains, archive location, verification lineage, and any mode-based skips.
In thoth-mem mode, do not create or move openspec/ artifacts; record the
archive result only in the audit trail.
If the selected mode includes thoth-mem, persist the audit trail with:
thoth_mem_mem_save(
title: "sdd/{change-name}/archive-report",
topic_key: "sdd/{change-name}/archive-report",
type: "architecture",
project: "{project}",
scope: "project",
content: "{full archive report markdown}"
)
Return:
ChangeArchive Path: openspec/changes/archive/YYYY-MM-DD-{change-name}/Topic Key: sdd/{change-name}/archive-reportMerged Specs: list of domains updated in openspec/specs/Audit Summary: concise bulletsStatus: archived or blocked~/.config/opencode/skills/_shared/persistence-contract.md for every
dependency.