🍞 Loaf
"Why have just a slice when you can get the whole loaf?"
Loaf brings shared skills, a native Go CLI, and tracker-native workflows to Claude Code, OpenCode, Cursor, Codex, and Amp. Skills guide judgment, the CLI handles deterministic checks and private continuity, and your tracker owns shared work.
This README describes the current source tree. Until its next release is published, installation from GitHub Releases or Homebrew may provide an earlier version; see the published releases and unreleased changes.
Why Loaf?
Portable knowledge — Skills cover workflows, engineering standards, and language expertise. Build once, deploy to supported AI coding tools without rewriting anything.
Private continuity — A project-scoped SQLite journal records decisions, discoveries, and optional wrap summaries across conversations and worktrees. There is no session entity to open or close. Startup context is derived from the journal and Git; useful resumption depends on recording meaningful context, not retaining a second work queue.
Tracker-native workflow — Pitch → shape → implement → ship → release keeps discovery, selected work, review, and publication distinct. GitHub and Linear provider skills use connections already available in your harness; Loaf never synchronizes a parallel local issue database, and does not configure their credentials. On GitHub, the selected board's Status distinguishes noncommittal Backlog from selected Todo work.
Profile-based agents — Functional profiles are defined by tool access, not job titles. A Smith with python-development skills becomes a backend engineer; the same Smith with infrastructure-management becomes a DevOps engineer. Skills determine what an agent knows; the profile determines what it can touch.
Living architecture — Keep current design and rationale in topic-based docs/architecture/ documents. Architecture and Reflect update that current account; separate decision records are rare and narrow, while Git preserves superseded text.
Native checks — Supported harness hooks invoke loaf from your PATH for secrets, destructive-command safety, naming, and other checks. Blocking checks refuse the matching action; advisory checks provide guidance. These tool hooks do not imply repository-wide Git-hook enforcement outside the harness.
Workflow
Loaf keeps intent, implementation, and learning connected:
flowchart LR
idea["Private idea or spark"] --> triage["Triage"]
triage -- "human chooses to file" --> backlog["Native tracker · Backlog"]
pitch["Pitch · discover the problem"] --> shape["Shape · define the work"]
backlog --> shape
shape -- "human selects" --> todo["Native tracker · Todo"]
todo --> build["Implement · Git branch and PR"]
build --> ship["Ship · review and verify"]
ship -- "authorized merge" --> main[("Landed code")]
main --> release["Release · notes, artifacts, publication"]
Filing an idea does not authorize implementation. Shaping a definition does not select it into Todo by itself, and bare /implement reports the unblocked Todo frontier without starting. Ship is the sole quality gate; release reads backward from already-landed work. Loaf Core guides continuous capture and selective journal checkpoints during ordinary work; Reflect integrates durable learning.
The slash forms below are shorthand: Claude Code's plugin uses /loaf:name (for example /loaf:shape); other supported harnesses use /name where they expose skill commands.
Pitch and Shape
Discover the problem, author a brief, then bound an implementable Issue (or bootstrap a project from a pitched BRIEF).
| Command | What It Does |
|---|
/pitch | Problem discovery and option exploration: weighs options and authors a problem narrative for shape, or project docs/BRIEF.md |
/idea | Quick capture of rough ideas for later triage / pitch / shape |
/shape | Bound canonical native tracker work in place (body, DoD criteria, out-of-scope), then verify by provider readback |
/bootstrap | Populate the Core Docs and AGENTS.md; with source: pitch, gap-interview and create the initial native tracker arc |
Implement and Ship
Implement a shaped issue through a started worktree and pull request, review the result, and land it through ship — the sole quality gate.
| Command | What It Does |
|---|
/implement | Execute a shaped issue with orchestrated agent delegation |
/ship | Review, verify, and land one PR — the sole quality gate; tracker contract and verification evidence form the PR body |
/release | Prepare and publish already-landed work retroactively through Git and the repository's release tooling, with explicit publication approval |
Preserve Learning
Integrate outcomes into strategic knowledge.