cyberneticlibrary

Archive completed workflow changes

OPSX: Archivecommandsetup L14
alexpialetski/doccraft
What it does

Archive completed change and sync delta specs to main

Best for

Formal closure of a workflow change with audit trail and optional spec propagation to main

Inputs
  • · change name (optional, inferred)
  • · artifact completion status
  • · delta spec diffs
Outputs
  • · archived change directory (YYYY-MM-DD-<name>)
  • · synced main specs (optional)
Requires
  • · openspec CLI
  • · openspec-sync-specs skill
  • · git
Preconditions
  • · all tasks complete (warning if not)
  • · all artifacts done (warning if not)
Failure modes
  • · archive dir already exists
  • · user declines sync without confirmation
  • · change locked by user edit
  • · delta spec sync fails
Trust signals
  • · timestamp-based archive naming
  • · explicit warnings for incomplete work
  • · offers sync+archive as atomic option
  • · generates dated summary