fix: desk-open includes .signals/ dir, signal-write documents subtype contract

- desk-open: standard desk structure now creates .signals/ directory
  (prevents first signal-write from failing on missing parent dir)
- signal-write: note that dashboard reads subtype field, falls back
  to signal_type for backward compat

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 12:46:31 -07:00
parent 0673e59169
commit 1794cd1b38
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -20,6 +20,7 @@ Given a workshop directory and a desk name, create:
```
desks/<desk-name>/
journal.md # persistent memory — read at start, written at end
.signals/ # structured signal output (JSON) — dashboard reads this
```
## How to use
@@ -28,10 +29,12 @@ desks/<desk-name>/
how the operator and other desks refer to this desk.
Examples: `security-scan`, `api-review`, `ops`, `cloud-workshop`
2. **Create the structure.** Make the directory and initial journal:
2. **Create the structure.** Make the directory, initial journal,
and signals folder:
```
desks/<desk-name>/journal.md
desks/<desk-name>/.signals/
```
3. **Write the first journal entry.** The journal starts with: