← ClaudeAtlas

tad-maintainlisted

TAD document health check and synchronization. CHECK/SYNC modes for handoff cleanup and maintenance.
Sheldon-92/TAD · ★ 3 · AI & Automation · score 76
Install: claude install-skill Sheldon-92/TAD
# TAD Maintain Command When this command is used, perform document health check and synchronization. 平台绑定交互决策(cross-harness binding):本文件及其 references 中所有 AskUserQuestion 调用是「交互决策契约」而非具体工具——当前 harness 有该工具 (Claude Code)→ 直接调用;无该工具(Codex 等)→ 以编号纯文本列出全部选项 (1. … / 2. … / 3. …)并**停止等待用户输入**,用户以编号或自由文本作答; 禁止代答、禁止把选项折叠成默认值继续执行。SAFETY 门控的调用点(人工审批 / 归档确认 / 权限升级确认类)无论何种 harness 都必须获得真人作答后才能继续。 非交互执行模式(如 codex exec)→ 视为无人可答,按 blocked 停止并上报, 不得自选默认值;已按 YOLO/预授权模式运行且该决策点有书面预授权记录 → 按其协议处理,不适用本条 blocked 分支。 ## Mode - Default (no argument or `full`): FULL mode - comprehensive check + sync - When called with `check` context from agent activation: CHECK mode - read-only - When called with `sync` context from *accept: SYNC mode - scoped write operations **CHECK mode**: MUST NOT modify any files. Read-only scan and report only. **SYNC mode**: Scoped to the specific handoff being accepted + NEXT.md cleanup. **SYNC mode parameter**: `target_slug` - the canonical slug of the handoff just accepted. When provided, Step 2 Handoff Lifecycle Audit processes ONLY the matching handoff (skip others). When not provided (fallback), process all active handoffs (same as FULL mode behavior). **FULL mode**: CHECK + broad SYNC across all documents. ## Step 1: Gather Current State Read these to establish baseline: 1. `.tad/version.txt` → current version string 2. `.tad/config.yaml` (first 10 lines) → config version 3. `ls .tad/active/handoffs/` → list active handoff files 4. `ls .tad/archive/handoffs/`