opsx archive workflow templates stack a date prefix on already-dated change names
The CLI side of this is #1309 (fix proposed in #1316): openspec archive double-dates a change already named with a YYYY-MM-DD- prefix. The agent workflow templates have the same behavior baked into their instruction text, and a CLI-side fix does not reach them — flagging as the follow-up promised in #1316's notes.
The templates unconditionally instruct a literal move using the current date:
src/core/templates/workflows/archive-change.ts:80,87(and the duplicated block at:198,205) — "Generate target name using current date:YYYY-MM-DD-<change-name>" followed bymv "<changeRoot>" "<planningHome.changesDir>/archive/YYYY-MM-DD-<name>"src/core/templates/workflows/bulk-archive-change.ts:135,384— samemv, plus:249"Archive directory target uses current date"src/core/templates/workflows/onboard.ts:450— archived-path example
So an agent following the opsx archive workflow on a change named 2026-07-04-voice-copilot-v1 still produces archive/2026-07-07-2026-07-04-voice-copilot-v1, whatever the CLI does.
If #1316 lands with keep-as-is semantics, the minimal fix is mirroring it in the instruction text (e.g. "use the change name as-is when it already starts with a YYYY-MM-DD- prefix; otherwise prepend the current date"), and the same one-line caveat in the bulk/onboard variants. Happy to pick this up once #1316 settles either way.