Files
bench/manager/core/driver.example/start
T
istosandClaude Fable 5 29cbb11eb5 Bench 1: the task board extracted as its own distribution
Everything core from cicero-pas's .task-manager, with instance data
reduced to skeleton: empty stage directories, the task template, empty
local/ scaffolding, and a README covering install (clone into
.task-manager/, vendored on purpose) and update (update.sh replaces core
wholesale; local/ and tasks/ survive).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 17:57:07 +02:00

23 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env bash
# Example driver — copy this directory to manager/local/driver/ and make it
# launch YOUR project's app from a task worktree. The board runs `start` and
# owns it as a process group.
#
# The whole contract:
# env in: DRIVE_WORKTREE absolute path of the task's worktree checkout
# DRIVE_BRANCH its branch (task/<stem>)
# DRIVE_TASK the task filename
# DRIVE_REPO the main repo checkout
# refuse: exit non-zero QUICKLY; whatever you printed becomes the reason
# shown in the ticker ("port busy", "branch has migrations", …)
# ready: print exactly `DRIVE URL: http://...` — the card links there
# run: keep running until SIGTERM ("park"), then take the app down
#
# Typical duties, all project-specific and none of the board's business:
# preflight port checks, copying gitignored env files into the worktree,
# dependency install/link, starting processes, health checks, teardown.
set -euo pipefail
echo "this is the example driver — copy me to manager/local/driver/start and edit"
exit 1