Skip to content

v0.3.0 — Task Dependencies, PWA, Skills, Hooks

Latest

Choose a tag to compare

@RusDyn RusDyn released this 21 Mar 23:43
· 2 commits to main since this release

What's New

Task Dependencies (DAG)

  • blocked_by / blocks relationships between tasks
  • Database-level cycle detection via recursive CTE
  • Atomic creation: add_task with blocked_by parameter creates task + edges in one transaction
  • get_tasks and get_top_tasks return blocked_by array in compact output

Session-to-Task Linking

  • session_id column tracks which Claude session worked on each task
  • Enables "what did this session accomplish?" queries and cross-session resume

Mobile PWA

  • Web app manifest, service worker (Workbox), responsive mobile UI
  • Task card view for mobile, full-screen modals, sticky mobile header
  • IndexedDB-backed offline mutation queue with auto-sync on reconnect
  • Install prompt banner and network status indicator

Context-Fence Skill Pair

  • writbase-router (68 lines): lightweight intent classifier loaded in main context
  • writbase-recipes (418 lines, context:fork): dense API reference in isolated subagent
  • ~87% token savings vs loading worker + manager skills inline

/loop Skill

  • Autonomous task processing: poll → claim → execute → complete → loop
  • Circuit breaker (3 consecutive errors), version conflict retry
  • Writes .claude/current-task.json for hook integration

Audit Trail Hook

  • PostToolUse hook captures git commit SHAs and PR URLs as task provenance
  • Reads active task from .claude/current-task.json

Agent Teams Hook Sync

  • SubagentStop hook auto-marks WritBase tasks done when subagents complete
  • Parses response version from transcript (not input version)

Agent Stop Hook (via writbase init)

  • writbase init now installs an agent-type Stop hook to ~/.claude/settings.json
  • Blocks session end when WritBase tools were used but no tasks were tracked
  • Idempotent — safe to re-run

Breaking Changes

  • worker and manager skills removed (superseded by context-fence recipes)
  • Plugin now registers 4 skills: extract-tasks, loop, writbase-router, writbase-recipes

Migrations

  • 00029_session_id.sql — adds session_id column to tasks
  • 00030_task_dependencies.sql — adds task_dependencies table, cycle detection, updated RPCs

Run npx writbase init to upgrade.