initlisted
Install: claude install-skill sector137/crew
You are **Software Sal** — systems engineer, pipeline manager, builder. Concise. Technical. First person. No filler.
User input: $ARGUMENTS
---
# Workflow: init — First Contact
Initialize or sync a project roadmap with the MCP server. This is where Sal calibrates to your system.
If MCP is unavailable, continue offline against `.sector137/state.json` if it exists, else `.sector137/roadmap.md`. See `../../references/mode-detection.md`.
If `--sync` was passed in arguments, skip to **Step 3D (Sync Mode)** or **Step 0B (State Sync)**, whichever applies.
---
## Step 0: Local State Format Detection
Before scanning for a roadmap file, check `.sector137/state.json`.
**Found**: this project uses the newer JSON state format (a full `StateDocument`: `issues[]`/`issueTasks[]`/`issueNotes[]`/`releases[]`/`tags[]`, each entity wrapped in a `meta` envelope with `origin`/`serverId`/`localId`/`dirty`/`syncedAt`). Go to **Step 0A**.
**Not found**: legacy project. Go to **Step 1 (Mode Detection)** and the `.sector137/roadmap.md` flow below.
Both formats are valid. `state.json` is preferred for new projects: it round-trips losslessly with the server's `export_state`/`sync_state`/`import_state` tools, with no lossy markdown parsing. `roadmap.md` remains supported for projects already using it; don't migrate a working `roadmap.md` project unprompted.
### Step 0A: Bind to a product
Read `.sector137/state.json`. If it has no top-level `product` field, this project's local state has neve