mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-21 12:54:13 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -86,6 +86,12 @@ The `subtype` field preserves the specific signal state for
|
||||
dashboard consumers. `signal_type` controls sort priority
|
||||
(escalation → top).
|
||||
|
||||
> **Note:** The signals-dashboard extension (shipped with the full
|
||||
> source repo, not the awesome-copilot package) reads `subtype`
|
||||
> when present and falls back to `signal_type` for display. If
|
||||
> consuming signals in your own tooling, prefer `subtype` for the
|
||||
> specific state.
|
||||
|
||||
### 2. Note the signal in the journal
|
||||
|
||||
Also append a short marker to the desk's journal for persistence:
|
||||
|
||||
Reference in New Issue
Block a user