Quickstart

Install#

npx greenline init        # inside any Git repository

This creates .green-line/ (your project's durable state), installs the skills for both Codex and Claude Code, and adds a managed block to AGENTS.md/CLAUDE.md. Prefer a lean install? --profile starter ships the pipeline spine plus the working-law skills instead of the full corpus. Commit everything init writes: the artifacts are project state, and Git is their history.

Your first conversation#

Open your coding agent in the repo and just talk:

Note

You stay in charge. The agent asks before anything mutating: claiming a ticket, publishing a spec, advancing a status, committing.

The three commands you'll actually run#

greenline status    # where the project stands: initiatives, tickets, frontier
greenline doctor    # is the workspace healthy? every problem has a code and a cure
greenline sync      # after upgrading the CLI: regenerate managed output

All offline, all idempotent, all --json-capable. doctor is worth running before trusting any artifact you're about to build on; agents do this themselves, and you can too.

What lives where#

.green-line/work/<initiative>/   decisions, spec, tickets, reviews, evidence
.green-line/DECISIONS.md         the product decisions book (grows at initiative close)
.green-line/diagrams/            diagrams, per initiative
.green-line/map/                 the versioned architecture map
AGENTS.md / CLAUDE.md            your files; Green Line owns one bounded block
Anatomy of an initiative The work directory tree beside one opened ticket: consumes pins the spec revision it was built from, depends_on forms the graph whose free tickets are the frontier, and result_commit is the reviewable evidence. .green-line/work/007-sso/ ├─ initiative.md ├─ decisions.md ├─ spec.md ├─ tickets/ ├─ TKT-001.md ├─ TKT-002.md └─ TKT-003.md ├─ evidence/TKT-001/ └─ reviews/ id: INIT-007/TKT-001 type: ticket status: implemented revision: 2 consumes: [spec.md@3] depends_on: [] claimed_by: worktrees/gl-a result_commit: 4e2a91c acceptance: [x] [x] [ ] pins the exact revision it was built from; staleness is detected the edges; a ticket with none open is on the frontier the evidence, reviewable as a committed range
.green-line/work/007-sso/
├─ initiative.md
├─ decisions.md
├─ spec.md
├─ tickets/TKT-001.md … TKT-003.md
├─ evidence/TKT-001/
└─ reviews/
  1. consumespins the exact revision it was built from; staleness is detected
  2. depends_onthe edges; a ticket with none open is on the frontier
  3. result_committhe evidence, reviewable as a committed range
One initiative on disk: the tree, one opened ticket, and the three fields that carry the system.

Everything is Markdown you can open, read, and (outside the managed regions) edit. Next: the pipeline.