Skip to content

spoke-sh/keel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

703 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Keel: The Agentic Board Engine

Turn-based board engine for human/AI delivery teams.

Keel Board CI

Welcome to Keel. This is not a notes app with automation bolted on; it is a board engine designed for the era of human-agent collaboration. Keel treats software development as a high-fidelity operating system where Formal Rules act as the physics, Turns are the unit of progress, and Play remains a first-class tool for discovery.

Keel flow dashboard Keel flow scene Keel workshop scene Keel knowledge graph zoom out Keel knowledge graph zoom in Keel doctor


Installation

Homebrew (macOS and Linux)

brew tap spoke-sh/tap
brew install keel

One-liner Install (macOS and Linux)

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/spoke-sh/keel/releases/latest/download/keel-installer.sh | sh

Nix (Anywhere)

nix run github:spoke-sh/keel

Upgrade an Existing Install

keel upgrade
keel upgrade --ref v0.2.2

Manual Download

Download the latest pre-built binaries and installers for your platform from the GitHub Releases page. We provide:

  • Linux: .tar.gz archives plus the cross-platform shell installer
  • macOS: .tar.gz archives plus the cross-platform shell installer
  • Windows: .zip archives, .msi, and the PowerShell installer

๐Ÿš€ Quick Start

  1. Install Keel: follow the Installation instructions above.
  2. Create a board: keel new my-project && cd my-project
  3. Orient: keel turn
  4. Inspect: keel mission next --status
  5. Pull: keel next --role manager or keel next --role operator
  6. Ship & Close: move one slice, record proof, land the sealing commit, and repeat the turn cycle

Release-installer installs can be refreshed with keel upgrade. If you need a specific upstream tag or commit instead of the latest published release, use keel upgrade --ref <tag-or-sha>.

Everything flows down: Vision โ†’ Epic โ†’ Voyage โ†’ Story โ†’ Implementation. Everything loops back: Reflection โ†’ Knowledge โ†’ Patterns โ†’ Bearings โ†’ Architecture.


๐ŸŽฎ The Ramping Path

Keel is designed to meet you where you are in your journey of comprehension. As you interact with the engine, you naturally level up through three distinct roles:

1. The Fixer (Learning by Healing)

Comprehension: Low The Move: keel doctor Start here. The engine will tell you exactly where the board is "broken" (Scaffold Drift, Structural Drift). By fixing these objective issues, you learn the structural invariants of the system without needing to understand the full architecture yet.

2. The Operator (Learning by Building)

Comprehension: Medium The Move: keel turn Once the board is healthy, you move into the canonical Turn Loop. You orient, inspect, pull, ship, and close one visible state change at a time. You learn how requirements flow from planning into verified code.

3. The Architect (Learning by Constraining)

Comprehension: High The Move: keel adr new / keel voyage plan At the highest level, you define the physics of the sandbox. You author the Architecture Decision Records (ADRs) and tactical plans (SRS/SDD) that constrain how agents and other operators execute.


๐ŸŽญ Discovery through Play

We believe that planning should be preceded by exploration. Keel encourages Play as a first-class citizen to reduce the "fog of war" before requirements are frozen.

  • Use keel play --theater to launch narrative discovery sessions.
  • Cross-pollinate ideas with keel play --cross <id1> <id2>.
  • Let the Theater Personas (Shakespeare, Stand-up, Action) help you look at a technical problem through a different mask.

โš™๏ธ Technical Core

The Turn Loop

The canonical operating rhythm is:

  • Orient: keel turn, keel heartbeat, keel health --scene, keel flow --scene, keel doctor
  • Inspect: keel mission next --status, keel pulse
  • Pull: keel roles, keel next --role <role>, keel next --role <role> --explain
  • Ship: keel story start <id>, keel story record <id>, keel story submit <id>
  • Close: keel story accept <id> --role manager or the equivalent planning transition plus a sealing commit

keel flow is the readiness surface, not a second copy of keel doctor. It short-circuits on blocking doctor failures, but while the heartbeat is energized it can keep the circuit open during active mission intake when the only errors are transitional mission-wiring debt such as missing children or no in-flight work.

Role Routing & Lanes

The engine uses a 2-lane pull model to prevent strategic fog:

  • MANAGEMENT LANE: keel next --role manager returns management-lane decisions and never returns implementation Work.
  • DELIVERY LANE: keel next --role operator returns implementation work from the delivery lane (in-progress then backlog).

Use keel roles to inspect the resolved lane topology and keel next --role <role> --explain to understand why a role pulls from a particular lane.

Constraint: keel next requires --role; there is no implicit manager default.

Key Engine Commands

turn        Inspect the canonical Orient/Inspect/Pull/Ship/Close loop
next        Pull the next item using explicit role-based queue routing
roles       Show resolved roles, lanes, and operational contracts
flow        Show workflow lane dashboard from configured topology
doctor      Validate board health and optionally fix issues

Keeper, External Ingress, and Multiplayer Boundaries

Keel's day-one path is still direct board work through mission, epic, voyage, and story commands. When Keel is embedded inside a larger runtime such as Keeper, the boundary should stay explicit:

  • Keel owns planning truth and board artifacts.
  • Keeper owns provider ingress, routing, execution, and replay.
  • External requests should normalize into a provider-neutral mission request envelope instead of mutating .keel state out-of-band.
  • The first documented provider shape is a GitHub issue whose title begins Keel Mission Request:.
  • The documented direction is a native keel mission request ... command family for parse, validate, draft, apply, and acknowledgement composition.
  • Stronger multiplayer guarantees belong at the boundary through backend-agnostic audit proofs and high-consequence attestation, not as a requirement for every local turn.

See ARCHITECTURE.md and PROTOCOL.md for the foundational contract.

โš–๏ธ The Physics: Formal Rules

Keel is governed by a strict set of operational invariants. These rules ensure that as the simulation grows in complexity, it never drifts into chaos.

Document Hierarchy

Use this order when authoring or reviewing decisions:

  1. ADRs (.keel/adrs/) โ€” binding architectural decisions
  2. CONSTITUTION.md โ€” collaboration philosophy and governance intent
  3. POLICY.md โ€” operational invariants and engine constraints
  4. ARCHITECTURE.md โ€” implementation structure and technical constraints
  5. CONFIGURATION.md โ€” role-based and config-driven topology
  6. RELEASE.md โ€” release capabilities and overview
  7. Planning artifacts (PRD.md โ†’ SRS.md/SDD.md โ†’ story README.md) โ€” scoped executable work
  • AGENTS.md: The turn loop and operator contract for AI contributors.

"The goal is not to automate humans out of the loop, but to place human judgment where it is irreplaceable."

About

Turn-based board engine for human/AI delivery teams.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors