Commit Graph

7 Commits

Author SHA1 Message Date
jarvis a2fa54a729 feat!: rebuild Agent Kanban for Realmroot Toolbox
Replace the v1 Agent/Machine runtime and CLI architecture with the v2 Resource Server, AMA-backed projections, task lifecycle, session observation, BDD specifications, and a single-package layered codebase.

BREAKING CHANGE: remove the v1 CLI, internal Agent/Machine runtime entities, workspace layout, and legacy runtime coordination APIs.
2026-09-02 00:17:52 -04:00
saltbo 8148eda173 test(dispatch): preserve sweep isolation after failures
Serialize pre-commit Vitest workers to avoid Miniflare port exhaustion.

Agent-Profile: https://agent-kanban.dev/agents/05f3d68684e84e89
2026-07-19 12:29:08 -04:00
saltbo 5de9f2b581 fix(runtime): preserve legacy dispatch alongside AMA
Route assigned tasks through an explicit sticky runtime source so old daemon clients and AMA runners can operate concurrently without double execution. Cap pre-commit Vitest workers to avoid Miniflare port exhaustion.

Refs #219
2026-07-17 23:11:35 -04:00
saltbo 5237b4528d chore: add prerequisites to README, remove machine assign permission, add test to lefthook
Add Prerequisites section (gh CLI + agent runtime). Remove machine identity
from task assign route — assign is leader-only. Fix tests to use leader JWT.
Add vitest run to lefthook pre-commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 19:27:57 -04:00
saltbo 3b440873b3 fix: resume args, stdin message, close handler, lefthook biome
- Use --resume <id> --print --input-format stream-json for resume
- Send rejection reason via stdin instead of API message
- Close handler: code 0 always checks task status, not just resultReceived
- lefthook: use pnpm biome instead of npx (avoids download hang in worktrees)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:14:49 -04:00
saltbo d84dc66373 refactor: replace prettier with biome for formatting and linting
Prettier's aggressive line-splitting (printWidth 100, single quotes) didn't
match the project's existing compact code style. Switch to Biome which
provides formatting + linting in one tool with better chain-call handling.

- Remove prettier, add @biomejs/biome
- Configure biome: double quotes, lineWidth 150, recommended lint rules
- Update lefthook pre-commit to use `biome check`
- Full codebase format pass with new config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:51:41 -04:00
Jasper Van 60a41acbaa feat: setup lefthook pre-commit hooks with prettier and typecheck (#8)
Adds quality gates enforced on every commit:
- Prettier formatting check on staged files
- TypeScript type checking across all packages

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:12:23 -04:00