Skip to content

feat: BoardWrite, canonical board path, flock - #2

Merged
jordanpartridge merged 1 commit into
mainfrom
feat/board-write
Aug 18, 2026
Merged

feat: BoardWrite, canonical board path, flock#2
jordanpartridge merged 1 commit into
mainfrom
feat/board-write

Conversation

@jordanpartridge

Copy link
Copy Markdown
Contributor

Summary

PR 4 of the three-pipeline spec. Factory contract is one file.

  • Canonical path: storage/app/kit/board.json (KIT_BOARD_PATH)
  • BoardWrite tool + bin/board-write / php artisan kit:board share flock
  • state is a free string; lifecycle is optional queued|wip|cut|pr|live|blocked
  • Snapshot prints the board; heartbeat slims id/state/lifecycle
  • Pest: upsert, slim, bad lifecycle, two-process flock

Host (Loki, not in git)

  • ~/.grok/kit/heartbeat reads KIT_BOARD_PATH (already patched)
  • ~/.cache/kit/board.json is a symlink to the Laravel file

Test plan

  • php artisan test (17 passed)
  • vendor/bin/pint --test
  • heartbeat slim shows board ids after kit:board
  • Actions green

One board.json (Laravel storage). BoardWrite and bin/board-write share
an flock. state stays a free string; lifecycle is optional. Heartbeat
slims that file (host script reads KIT_BOARD_PATH). Snapshot prints
the board and wins over chat.
@jordanpartridge
jordanpartridge merged commit 70617aa into main Aug 18, 2026
2 checks passed
@jordanpartridge
jordanpartridge deleted the feat/board-write branch August 18, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant