Skip to content

v0.9.4 — Context, Dispatch, and Relay

Choose a tag to compare

@nikhilsoman nikhilsoman released this 24 Jun 12:23

What's new in v0.9.4

SQLite-primary task state

  • stories.status column — SQLite is now the single source of truth for task state
  • _generate_todo_md() writes project-docs/todo.md as a generated view
  • _import_todo_to_stories() syncs hand-written - [ ] items into the DB (idempotent, title-dedup)
  • synlynk story create auto-regenerates todo.md

Per-agent context profiles

  • .agents/<agent>.json overrides context_mode and context_max_bytes per agent
  • synlynk agent configure <name> — interactive profile writer
  • Explicit --context-mode CLI flag always beats the profile default

synlynk jobs — SQLite read

  • Reads live daemon_jobs table (not JSON file)
  • --all includes done/failed rows; --watch refreshes every 2s
  • Pre-flight gate (_preflight_dispatch) checks agent CLI is on PATH before every dispatch
  • synlynk dispatch gains --context-mode none|task|full

HTTP SSE relay broker

  • synlynk relay start [--port N] — stateless fan-out broker (default port 27472)
  • GET /events (SSE stream), POST /publish (JSON fan-out), GET /health
  • synlynk relay broadcast <body> [--kind motd|wellness|message|joke|custom]
  • 7 typed relay events: story_updated, job_dispatched, job_completed, alert_raised, context_checkpoint, table_changed, broadcast

VERIFY_SKIP sentinel

  • Fires informational alert when a job exits 0 but output shows no test/verify evidence
  • Builds compliance dataset for the Agent Behaviour (AB) epic

Dispatch fixes

  • subprocess.Popen now sets cwd=os.getcwd() — Agy no longer drifts to its scratch space
  • dispatch_flags key in AGENT_CAPABILITY_BASELINES--dangerously-skip-permissions now scoped to background dispatch only, not all Claude subprocesses
  • Agy prompt includes explicit ## Working Directory header

472 tests (+33 since v0.9.3)

Install / upgrade

curl -sSL https://raw.githubusercontent.com/nikhilsoman/synlynk/main/install.sh | bash

What's next

  • BS-2: Onboarding + Mode Taxonomy (synlynk doctor, agent state machine, progressive init)
  • BS-3: Agent Behaviour (instruction compliance measurement, per-agent variance dataset)
  • BS-4: Command Audit (OTel tracer, synlynk telemetry, hook wiring)