Provide implementations of advanced data structures
The English summary is being prepared. Showing the original description.
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
| Date | Decision | Rationale |
|---|---|---|
| 2026-02-28 | Use PostgreSQL over SQLite | Need concurrent writes for API |
| 2026-03-01 | Skip Phase 71.1 (Redis cache) | Not needed for v1.0 |
| # | Task | Status | Date |
|---|---|---|---|
| 001 | Fix login redirect | done | 2026-02-28 |
| 002 | Add rate limiting | in-progress | 2026-03-02 |
### 2. Update Individual Fields
Update a single field without affecting the rest of the document:
update current_phase -> 73 update current_task -> "Build API endpoints for user management" update status -> "planning"
Use `Edit` tool to perform surgical updates on specific lines.
### 3. Append to List Fields
Add items to list-type fields:
append completed_phases -> "Phase 72: OAuth2 authentication" append decisions -> { date: "2026-03-02", decision: "Use JWT tokens", rationale: "Stateless auth for API" } append blockers -> { severity: "MEDIUM", description: "Need design mockups", owner: "@designer" }
### 4. Remove from List Fields
Remove items when resolved:
remove blocker -> "API key for OAuth provider not configured"
Mark blockers as resolved rather than deleting (change `[ ]` to `[x]`).
### 5. Quick Tasks Table Management
Add, update, and query quick tasks:
add_quick_task -> { number: 3, task: "Update README", status: "pending" } update_quick_task -> { number: 2, status: "done" } query_quick_tasks -> { status: "in-progress" }
### 6. Cross-Session Memory
STATE.md persists across context resets. On session start:
1. Read STATE.md to restore project context
2. Increment `session_count` in frontmatter
3. Update `last_updated` timestamp
4. Report state summary to orchestrator
### 7. Decision Log
Structured decision tracking with timestamps and rationale:
```markdown
| Date | Decision | Rationale |
|------|----------|-----------|
| 2026-03-02 | Use JWT tokens | Stateless auth for API |
Track blockers with severity and ownership:
- [ ] [HIGH] API key not configured (@user, 2026-03-01)
- [x] [MEDIUM] Design mockups needed (@designer, 2026-02-28) - resolved 2026-03-01
Severity levels: HIGH (blocks current work), MEDIUM (blocks future work), LOW (inconvenience).
Read to load .planning/STATE.mdRead to load current STATE.mdEdit with precise old_string/new_string to update only the targetRead to find the end of the target list sectionEdit to insert new item at the correct positionRead to find the blocker textEdit to change - [ ] to - [x] and append resolution dateThis skill is used by most GSD processes:
execute-phase.js - Update current_task as each task completes, track positionverify-work.js - Add/resolve blockers based on verification resultsaudit-milestone.js - Read completed_phases for coverage analysisprogress.js - Read full state for progress display and routingquick.js - Add/update quick tasks tabledebug.js - Track debug sessions, add blockers for unresolved issuescomplete-milestone.js - Clear completed_phases, reset current_taskadd-tests.js - Update state with test coverage info{
"operation": "read|update|append|remove",
"field": "current_phase|completed_phases|blockers|decisions|quick_tasks",
"status": "success|error",
"previousValue": "...",
"newValue": "...",
"stateSnapshot": {
"currentPhase": 72,
"currentTask": "Implement OAuth2",
"completedPhases": [70, 71],
"activeBlockers": 1,
"quickTasksTotal": 3,
"quickTasksPending": 1
}
}
| Setting | Default | Description |
|---|---|---|
stateFile | .planning/STATE.md | Path to STATE.md |
autoTimestamp | true | Auto-update last_updated on write |
autoSessionCount | true | Auto-increment session_count on read |
blockerSeverityLevels | HIGH,MEDIUM,LOW | Valid blocker severities |
| Error | Cause | Resolution |
|---|---|---|
STATE.md not found | Planning directory not initialized | Run gsd-tools init first |
Section not found | Unexpected STATE.md format | Rebuild STATE.md from template |
Edit collision | Non-unique text match for edit | Provide more context in old_string |
Frontmatter parse error | Malformed YAML frontmatter | Fix YAML syntax or regenerate |
Concurrent modification | Multiple processes editing state | STATE.md is not lock-protected; serialize access |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Provide implementations of advanced data structures
The English summary is being prepared. Showing the original description.
Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.
The English summary is being prepared. Showing the original description.
WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.
The English summary is being prepared. Showing the original description.
Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.
The English summary is being prepared. Showing the original description.
Generate visual representations of algorithm execution
The English summary is being prepared. Showing the original description.
Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.
The English summary is being prepared. Showing the original description.