fix: desk-open guards against overwriting existing desk state

Never initialize over existing journal.md — if the desk directory
already exists, resume it instead. Operator must explicitly rename
or archive before reusing a desk name.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26faf13e-639c-4a21-ac05-c0dc2bff7c62
This commit is contained in:
Jenny Ferries
2026-07-17 13:06:09 -07:00
parent d49dd48591
commit b116228751
+7 -1
View File
@@ -29,7 +29,13 @@ desks/<desk-name>/
how the operator and other desks refer to this desk. how the operator and other desks refer to this desk.
Examples: `security-scan`, `api-review`, `ops`, `cloud-workshop` Examples: `security-scan`, `api-review`, `ops`, `cloud-workshop`
2. **Create the structure.** Make the directory, initial journal, 2. **Check if it already exists.** If `desks/<desk-name>/` already
has a `journal.md`, the desk is live — **do not overwrite it.**
Instead, resume it: read the journal and continue from where it
left off. If the operator explicitly wants a fresh start, they
must rename or archive the existing desk first.
3. **Create the structure.** Make the directory, initial journal,
and signals folder: and signals folder:
``` ```