Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions skills/workflow-investigation-process/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ Check if the investigation file exists at `.workflows/{work_unit}/investigation/

#### If no file exists

Set `resumed` = `false`.

→ Proceed to **Step 1**.

#### If file exists
Expand All @@ -104,6 +106,10 @@ Check if the investigation file exists at `.workflows/{work_unit}/investigation/

Load **[resume-detection.md](../workflow-shared/references/resume-detection.md)** with artifact = `investigation`, file = `.workflows/{work_unit}/investigation/{topic}.md`, continue_step = `Step 2`, restart_targets = `the investigation file and the phase cache directory (rm -rf .workflows/.cache/{work_unit}/investigation/{topic}/ — content and agent state together)`, commit = `investigation({work_unit}): restart investigation`.

Set `resumed` from where the reference returns: `true` for **Step 2**, the earlier session's symptoms still standing; `false` for **Step 1**, its file deleted and rebuilt.

→ On return, proceed as the reference directed.

---

## Step 1: Initialize Investigation
Expand All @@ -124,9 +130,9 @@ Load **[knowledge-usage.md](../workflow-knowledge/references/knowledge-usage.md)

## Step 3: Symptom Gathering

#### If the Symptoms section is already populated
#### If `resumed` is `true`

Resuming — don't re-interview. Fold in anything new the user has mentioned this session (commit if the file changed).
An earlier session already interviewed the user — don't re-interview. Fold in anything new they have mentioned this session (commit if the file changed).

→ Proceed to **Step 4**.

Expand Down