Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 2.3 KB

roadmap.md

File metadata and controls

75 lines (55 loc) · 2.3 KB

Roadmap

Status Overview

Grite (the substrate) is implemented in a separate repository and provides the foundation. This roadmap tracks Brat (the harness) development.

Component Status Location
Grite substrate Complete /home/dipankar/Code/grite
Brat harness Milestone 5 complete This repo

Grite Milestones (Complete)

These milestones are implemented in the Grite repository.

Milestone 1: Grite core (done)

  • Event model + hashing
  • sled projections
  • CLI: init, actor management, create/list/show/update/comment/close
  • Export to markdown/json (with schema)
  • Tests: deterministic rebuild
  • grite db stats output schema

Milestone 2: Git WAL + sync (done)

  • WAL commit writer/reader
  • Push/pull refs/grite/*
  • Handle remote-advanced push (fast-forward rebase)
  • Snapshot support
  • Portable WAL encoding (CBOR)
  • Hash test vectors

Milestone 3: Daemon + IPC (done)

  • Daemon discovery
  • grite routes all commands through the daemon if present for the selected (repo, actor)
  • Pub/sub notifications
  • Daemon ownership lock with lease/heartbeat
  • Multi-repo, multi-actor workers

Milestone 4: Locks + team workflows (done)

  • Lease locks stored in refs
  • Lock GC
  • Lock policy enforcement (off|warn|require)
  • grite lock status

Brat Milestones

Milestone 5: Harness integration (Complete)

  • Map harness tasks to Grite issues and labels
  • State machine spec and implementation (see docs/state-machine.md)
  • Session reconciliation on startup and crash recovery
  • Observability contract (exit code, reason, last logs)
  • Non-blocking UX contract for harness commands
  • Witness/Refinery workflows post updates as Grite comments
  • Worktree manager for polecats
  • Engine integration for session lifecycle
  • Merge queue policy + retry rules
  • Lock discipline (path: and repo: usage)
  • Control room UX for health, sessions, queue, and locks
  • End-to-end integration tests (convoy-like flow)

Milestone 6: Hardening (Current Focus)

  • Stress tests (concurrent writers) - in Grite repo
  • Corruption recovery
  • Security (signing and verification)
  • DB maintenance thresholds and docs