Skip to content

Commit d3e3d62

Browse files
committed
dashboard: auto-switch worktrees on navigation and document new FIRE run id format
1 parent cf64f07 commit d3e3d62

File tree

13 files changed

+102
-37
lines changed

13 files changed

+102
-37
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
You can also view this changelog at [specs.md/changelog](https://specs.md/changelog).
99

10+
## [0.1.27] - 2026-02-22
11+
12+
### Changed
13+
14+
- FIRE: Standardized run IDs to `run-<worktree>-NNN` (for example, `run-fabriqa-2026-001`)
15+
- FIRE: Run numbering now increments per worktree slug to avoid ID collisions when multiple agents run in parallel across different git worktrees
16+
- FIRE: Updated FIRE documentation and skill examples to the new run ID convention while keeping legacy `run-001` histories readable
17+
1018
## [0.1.26] - 2026-02-21
1119

1220
### Added
@@ -213,6 +221,7 @@ The VS Code extension now shows real-time phase progress for each work item in F
213221

214222
---
215223

224+
[0.1.27]: https://github.com/fabriqaai/specs.md/compare/v0.1.26...v0.1.27
216225
[0.1.26]: https://github.com/fabriqaai/specs.md/compare/v0.1.25...v0.1.26
217226
[0.1.23]: https://github.com/fabriqaai/specs.md/compare/v0.1.22...v0.1.23
218227
[0.1.11]: https://github.com/fabriqaai/specs.md/compare/v0.1.10...v0.1.11

docs.specs.md/changelog.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ All notable changes to specs.md.
1010
**Subscribe to updates:** [RSS Feed](/changelog/rss.xml) | [GitHub Releases](https://github.com/fabriqaai/specs.md/releases)
1111
</Info>
1212

13+
<Update label="February 22, 2026" description="v0.1.27" tags={["FIRE", "CLI", "Worktrees"]}>
14+
### Changed
15+
16+
- Standardized FIRE run IDs to `run-<worktree>-NNN` (for example, `run-fabriqa-2026-001`)
17+
- Added per-worktree run numbering semantics to prevent collisions during parallel agent execution on different git worktrees
18+
- Updated FIRE documentation and skill examples to the new run ID convention while preserving compatibility with historical `run-001` records
19+
</Update>
20+
1321
<Update label="February 21, 2026" description="v0.1.26" tags={["FIRE", "CLI", "Codex"]}>
1422
### Added
1523

docs.specs.md/fire-flow/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Executing...
303303
✓ Created tests/routes/auth.test.ts
304304
✓ Modified src/routes/index.ts
305305
306-
Walkthrough generated: walkthroughs/run-002-login-endpoint.md
306+
Walkthrough generated: walkthroughs/run-fabriqa-2026-002-login-endpoint.md
307307
308308
---
309309
Work item complete. Next: password-reset

docs.specs.md/fire-flow/quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Executing...
142142
✓ Added User model: src/models/user.ts
143143
✓ Updated schema exports
144144

145-
Walkthrough generated: walkthroughs/run-001-user-schema.md
145+
Walkthrough generated: walkthroughs/run-fabriqa-2026-001-user-schema.md
146146
```
147147
</Accordion>
148148
<Accordion title="Confirm Mode (1 checkpoint)">

docs.specs.md/fire-flow/work-items.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ run:
225225
modified:
226226
- src/models/index.ts
227227
deleted: []
228-
walkthrough: walkthroughs/run-001-user-schema.md
228+
walkthrough: walkthroughs/run-fabriqa-2026-001-user-schema.md
229229
```
230230

231231
## Walkthroughs
@@ -235,7 +235,7 @@ A **Walkthrough** is generated after each successful run. It documents what chan
235235
### Structure
236236

237237
```markdown
238-
# Run 001: user-schema
238+
# Run run-fabriqa-2026-001: user-schema
239239
240240
## Summary
241241
Created user database schema with email/password authentication fields.

src/flows/fire/agents/builder/agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You are the **Builder Agent** for FIRE (Fast Intent-Run Engineering).
124124

125125
```yaml
126126
run:
127-
id: run-001
127+
id: run-fabriqa-2026-001
128128
scope: batch # single | batch | wide
129129
work_items:
130130
- id: login-endpoint
@@ -159,7 +159,7 @@ You are the **Builder Agent** for FIRE (Fast Intent-Run Engineering).
159159
| Create run.md | (handled by init-run.cjs) | ❌ NO direct write |
160160
| Update state.yaml | (handled by scripts) | ❌ NO direct edit |
161161

162-
<check if="about to mkdir .specs-fire/runs/run-XXX">
162+
<check if="about to mkdir .specs-fire/runs/run-<worktree>-XXX">
163163
<action>STOP — use init-run.cjs instead</action>
164164
</check>
165165
<check if="about to edit state.yaml directly">

src/flows/fire/agents/builder/skills/code-review/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Review code written during a run, auto-fix no-brainer issues, and suggest improv
4242
- path: src/routes/index.ts
4343
changes: Added login route
4444

45-
run_id: run-001
45+
run_id: run-fabriqa-2026-001
4646
intent_id: user-auth
4747
```
4848

src/flows/fire/agents/builder/skills/run-execute/SKILL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ Supports both single-item and multi-item (batch/wide) runs.
548548
```json
549549
{
550550
"success": true,
551-
"runId": "run-001",
552-
"runPath": "/project/.specs-fire/runs/run-001",
551+
"runId": "run-fabriqa-2026-001",
552+
"runPath": "/project/.specs-fire/runs/run-fabriqa-2026-001",
553553
"scope": "batch",
554554
"workItems": [...],
555555
"currentItem": "wi-1"
@@ -561,10 +561,10 @@ Supports both single-item and multi-item (batch/wide) runs.
561561
<script name="complete-run.cjs">
562562
```bash
563563
# Complete current item (batch runs - moves to next item)
564-
node scripts/complete-run.cjs /project run-001 --complete-item
564+
node scripts/complete-run.cjs /project run-fabriqa-2026-001 --complete-item
565565
566566
# Complete entire run (single runs or final item in batch)
567-
node scripts/complete-run.cjs /project run-001 --complete-run \
567+
node scripts/complete-run.cjs /project run-fabriqa-2026-001 --complete-run \
568568
--files-created='[{"path":"src/new.ts","purpose":"New feature"}]' \
569569
--files-modified='[{"path":"src/old.ts","changes":"Added import"}]' \
570570
--tests=5 --coverage=85
@@ -574,7 +574,7 @@ Supports both single-item and multi-item (batch/wide) runs.
574574
```json
575575
{
576576
"success": true,
577-
"runId": "run-001",
577+
"runId": "run-fabriqa-2026-001",
578578
"completedItem": "wi-1",
579579
"nextItem": "wi-2",
580580
"remainingItems": 1,
@@ -587,7 +587,7 @@ Supports both single-item and multi-item (batch/wide) runs.
587587
```json
588588
{
589589
"success": true,
590-
"runId": "run-001",
590+
"runId": "run-fabriqa-2026-001",
591591
"scope": "batch",
592592
"workItemsCompleted": 2,
593593
"completedAt": "2026-01-20T..."
@@ -619,7 +619,7 @@ Supports both single-item and multi-item (batch/wide) runs.
619619
After init-run.cjs creates a run:
620620
621621
```
622-
.specs-fire/runs/run-001/
622+
.specs-fire/runs/run-fabriqa-2026-001/
623623
├── run.md # Created by init-run.cjs, updated by complete-run.cjs
624624
├── plan.md # Created BEFORE implementation (ALL modes - required)
625625
├── test-report.md # Created AFTER tests pass (required)

src/flows/fire/agents/builder/skills/run-status/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Display current run status and progress.
5858
<example_output>
5959

6060
```
61-
## Run Status: run-003
61+
## Run Status: run-fabriqa-2026-003
6262
6363
**Work Item**: Add session management
6464
**Intent**: User Authentication

src/flows/fire/agents/orchestrator/agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ You are the **Orchestrator Agent** for FIRE (Fast Intent-Run Engineering).
103103
runs:
104104
active: [] # List of active runs (supports multiple parallel runs)
105105
completed:
106-
- id: run-001
106+
- id: run-fabriqa-2026-001
107107
work_items:
108108
- id: login-endpoint
109109
intent: user-auth

0 commit comments

Comments
 (0)