Skip to content

Releases: Writbase/writbase

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

21 Mar 23:43

Choose a tag to compare

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.

v0.1.0 — Initial Release

13 Mar 14:26

Choose a tag to compare

WritBase v0.1.0

MCP-native task management for AI agent fleets.

Features

  • 12 MCP tools — worker tools (info, get_tasks, add_task, update_task, get_top_tasks) + 7 manager tools
  • 6 permission types — can_read, can_create, can_update, can_assign, can_comment, can_archive
  • Project + department scoping — permissions per (project, department) pair
  • Optimistic concurrency — version-based conflict detection
  • Inter-agent delegation — assignment chains with depth limits and cycle detection
  • Webhook delivery — HMAC-signed Standard Webhooks on task events
  • Full provenance — append-only event log for every change
  • Dynamic MCP schema — tool visibility and enums adapt per agent's permissions
  • Production automation — 6 pg_cron jobs for operational hygiene
  • Dashboard — Next.js 16 admin UI for projects, keys, permissions, and task management

Deployment

  • Supabase Cloud (free tier) or self-hosted
  • supabase db push + supabase functions deploy — done

See the Getting Started Guide for setup instructions.