AgentSkillsCN

promote-baseline

若条件满足,可将已完成的迭代周期升级为基线版本,同步更新基线的当前记录与历史记录、快照以及索引。

SKILL.md
--- frontmatter
name: promote-baseline
description: Promote a DONE cycle to baseline if conditions are met, update baseline current/history + snapshot + index.

Promote Baseline Skill

Goal

Safely “publish” completed work into baseline.

Preconditions

  • Cycle state is DONE (or VERIFYING completed)
  • No unresolved GAPs (or explicitly justified)
  • REQs have traceability or justification

Steps

  1. Ask for target cycle id/path (or infer from snapshot).
  2. Validate:
  • status.md state
  • gap-report.md open items
  • traceability completeness (or notes)
  1. If validation fails:
  • produce a checklist of what’s missing
  • stop (do not promote)
  1. If validation passes:
  • Update docs/audit/baseline/current.md:
    • bump version (user chooses v0.2, v0.3…)
    • summary
    • included cycles
  • Append to docs/audit/baseline/history.md
  • Update docs/audit/index.md if needed
  • Update snapshot:
    • remove cycle from active
    • set next entry point

Output:

  • Promotion summary
  • New baseline version
  • Next entry point