---
title: The Task Graph: One Database, Labels per Venture
description: Why tasks live in a dependency-aware, git-backed tracker instead of Markdown lists; the two labels every task carries; and the flags that carry the workflow.
revision: 2 of 2 (current)
revision-date: 2026-10-30
change-summary: Contexts now follow one rule, argued from how GTD context lists die: a context must be a real limit on how you can work and must hold enough tasks to be worth checking, and the system caps them at five. Driving is the worked example, and the four attention modes stay a separate, fixed set.
changes: https://www.chiefofstaff.io/guides/the-task-graph/r/2/changes
url: https://www.chiefofstaff.io/guides/the-task-graph/r/2
current: https://www.chiefofstaff.io/guides/the-task-graph
source: chiefofstaff.io
---

# The Task Graph: One Database, Labels per Venture

Why tasks live in a dependency-aware, git-backed tracker instead of Markdown lists; the two labels every task carries; and the flags that carry the workflow.

## Why Not a Markdown List

Markdown files are a poor task tracker: no statuses, no dependencies, no queries, no way for an agent to ask "what is ready to work on?" So tasks live in [beads](https://github.com/gastownhall/beads) (`bd`), an open-source, git-backed, dependency-aware issue tracker designed for AI agents. The task data is JSONL inside the vault, so it versions and travels with everything else.

Claude Code picks it up naturally: agents run `bd` from the shell, and every mutation is plain text in git history. Your assistant creates tasks as it triages; the daily brief queries the graph; the weekly review walks it.

```bash
bd init                                  # creates .beads/ in the vault root
bd create --title="…" --priority=2 --label=… --label=…
bd ready                                 # tasks with no open blockers
bd dep add <task> <blocker>              # real dependencies are first-class
bd blocked                               # what's stuck, and on what
bd close <id> --reason="…"
```

If you are starting without beads, a single `tasks.md` with the same labelling conventions works for a week or two. Graduate when the brief starts wanting to *query*.

## One Database for Everything

A portfolio's value hides in its cross-venture dependencies — the lawyer's answer that unblocks two companies, the trip that collides with three deadlines. So there is exactly **one** task database, with a label per venture, rather than one database per venture. Cross-venture dependencies become ordinary `bd dep` edges instead of things you remember to remember.

![Every task carries a venture label and one of four cognitive-mode labels; optional flags — waiting, unconfirmed, cos-exec — carry the workflow.](/img/diagrams/beads-labels.svg)

## Two Required Labels on Every Task

**A venture label**, matching a folder in `Atlas/ventures/`. The system's own meta-work gets its own label (`cos`). There is deliberately no `personal` or `misc` catch-all: a label with no venture folder behind it is a place where tasks go to be un-reviewed. Life-admin captures route to real ventures by a fixed table — money to `personal-finance`, account and device admin to `personal-ops`, reading to `learning`, couple things to the relationship venture.

**A cognitive-mode label**, from a hard-capped set of four:

| Label | Means |
|---|---|
| `@deep` | needs a 90-minute uninterrupted block |
| `@async` | an email, chat, or message reply; batchable |
| `@call` | needs a live conversation |
| `@quick` | under 15 minutes, any context |

This is Getting Things Done, adapted. The modes answer one question: how much attention does this task need? The daily brief uses them to fit work to the shape of the day. Long free blocks surface `@deep` work. A travel day surfaces `@async` and `@quick`.

The set is fixed at four, and the cap is written into a decision record. A fifth mode would be a change to the design, not a label someone adds on a busy day. The reason is the same one that governs contexts, below.

### Where a Task Can Be Done: Contexts

Contexts are a second, separate axis. A mode says how much attention a task needs. A context says where it can be done, or with what. This is the part of GTD that comes straight from David Allen: lists like `@calls`, `@computer` and `@errands`, so that wherever you are, you see only what you can do there.

Here, contexts are optional and written `ctx:<where>`. Every task carries exactly one mode. It can carry no context at all, or more than one.

**How context systems die.** A GTD setup can fall apart through its contexts, and when it does, it tends to happen in the same order:

1. A new context gets added because one task seemed to need it.
2. The new list takes tasks from the lists that already exist, so every list gets shorter.
3. A short list isn't worth opening, so it stops being checked.
4. Tasks on unchecked lists go stale, and the lists stop being trustworthy.
5. Once the lists can't be trusted, new tasks stop going into them, and the system is abandoned.

Each step looks harmless on its own. One more list never feels like the problem.

**The rule.** A context earns its place only if it passes two tests:

- **It is a real constraint.** It limits what you can do: no screen, no keyboard, only a phone. A place you simply happen to be doesn't count.
- **It stays full.** Enough open tasks fit it, often enough, that the list is worth checking.

On top of the two tests there is a ceiling. Keep contexts to a handful. The reference system caps them at five. That number is the system's own choice, not a research finding. What matters is that the cap exists before anyone wants a sixth. Adding a context is a deliberate step that you take. The chief of staff can propose one, but it never adds one on its own.

**The worked example: driving.** `ctx:driving` passes both tests. It is a hard constraint: you can talk and listen, but you can't read or type. And for anyone who drives regularly, enough tasks fit it to make the list worth opening: phone calls, and anything else you can do by voice.

So when you say "I'm driving, I have twenty minutes," the chief of staff answers with your open driving tasks, most urgent first. Each comes with a call sheet: the number in tap-to-call international format, the reference numbers you will be asked for, and what to ask. It arrives as text and as a voice note. The voice note is made on the device, because call sheets carry private reference numbers.

Compare two that fail. `ctx:office` fails the first test if you can do the same work from home: being in the office doesn't limit anything. `ctx:airport` fails the second: it would hold a task or two, and a list that short doesn't get checked. Those tasks are better served by their mode. The daily brief already surfaces `@quick` and `@async` work on a travel day.

**What your chief of staff does with this.** Give it the two tests, the ceiling, and the failure order above. Then, when a new context comes up, it can reason about it out loud: "Adding `ctx:gym` moves us toward the failure mode. It would hold two tasks. A two-task list doesn't get checked, and unchecked lists are how this kind of system dies." It proposes. You decide.

The two caps guard against the same failure on different axes. Modes are fixed at four, and changing them is a design decision. Contexts can grow, but slowly, only past both tests, and never past the ceiling.

## Optional Flags That Carry the Workflow

- **`waiting`** — the next move is on someone else. The notes name who and carry a follow-up date; the weekly review surfaces anything aging past it. Apply liberally: any task where the ball is in someone else's court belongs here.
- **`unconfirmed`** — the task was pre-drafted by a curator from something it saw (an email, a calendar conflict) and awaits your disposition: confirm, dismiss, defer, re-label, or close-as-done. Default priority is low; curators may raise it only for genuinely time-sensitive items — a deadline within a week, past-due billing, a security alert, a conflict on today's calendar. See [Incremental handling](/guides/incremental-handling).
- **`cos-exec`** — the doer is the chief of staff, not you: a report, a research answer, a document. The label alone routes the task into an execution lane. See [The execution lane](/guides/the-execution-lane).
- **Domain tags** (`fundraising`, `legal`, `hiring`) — secondary, only when useful.

`blocked` is a *status*, not a label, and it is reserved for tasks that literally depend on another task via `bd dep`. "Blocked on a feeling" is `waiting` with a name in the notes.

## Priorities

Priority is a number, 0 to 4. The convention that has held: P0 is a fire, P1 is this week and non-negotiable, P2 is the working set, P3 is the backlog and the default for curator-drafted items, P4 is someday-but-tracked. The brief and the review tool key off it, so an inflated P1 list is a signal the triage layer is slipping.

## Examples

```bash
bd create --title="Reply to lead investor on the term sheet" \
          --label=venture-a --label=@async --label=fundraising --priority=1
bd create --title="2hr deep work: refactor the billing module" \
          --label=venture-a --label=@deep --priority=2
bd create --title="Waiting on J: reorg plan (followup 2026-05-03)" \
          --label=venture-a --label=waiting --label=@async
bd create --title="Report on options for X — deliver: report+file" \
          --label=cos --label=cos-exec --label=@deep
```

One rule remains, and it is the highest-leverage convention in the whole system: every title names a concrete action. It gets its own guide — [Concrete actions only](/guides/concrete-actions-only).

## See it

The [demo vault](/demo/vault/dot-beads/issues.jsonl) has a task graph after two weeks of real use. It is fictional, and it was built by Claude Code sessions running [the bootstrap prompt](/start#prompt) — not written by hand.