> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How the attention ledger works

> The weekly read of the orchestration tax: the questions your fleet filed, the asks it repeated, and the time each change took.

Every agent that asks you a question spends your attention. Run enough agents, and the asking itself becomes a cost you cannot see. The attention ledger is one ISO-week read of that cost, which F\[no] calls the orchestration tax. The tax is the share of your attention that your fleet, your set of agent sessions, spends on coordinating itself. It counts the questions filed against you, the asks that repeated on one subject, the merges that got reverted, and the time each change took.

The ledger reads only stores that already exist. It reads your vault question pages, the graph store, the event journals, and local git. The vault is the notes store F\[no] writes reports into. The graph store is the backlog database. The event journals are each project's `.fno/events.jsonl` audit trail. It computes the numbers from those reads, and it stores the numbers nowhere. The one thing the ledger writes is the optional report file, covered under [The weekly report](#the-weekly-report). A store that is missing or unreadable never stops the read. The ledger names the gap, and the numbers it did read stand as floors, not exact counts.

## What the ledger counts

| Count | Where it comes from | What to know about it |
| - | - | - |
| Questions filed | Your vault question pages, inside the week | The ledger skips a page with no readable time, so the count is a floor. |
| Merged PRs | Nodes, the work items on [How work is organized](/docs/concepts/work-contracts.md), whose merge F\[no] resolved inside the week | The merge time is the node's `completed_at` stamp. |
| Questions per merged PR | The two rows above, divided | Absent when nothing merged that week. |
| Repeated subjects | Questions grouped by their subject, the topic each ask is about, counted at 2 or more asks | This is the fleet re-asking about one thing. |
| Reverts | Commits on main whose subject carries the git revert marker | A lower bound: the read misses squash reverts and unresolvable targets. |
| Cycle time | Question asked to merge, in hours, median and p90, the 90th percentile | Absent when nothing merged. |
| Guard refusals | [Law](/docs/concepts/decisions.md) guard refusals in the event journals | Each one is a rule that stopped an action. |
| Operator queue depth | Your open questions right now | Not windowed: this one is a now reading, not a week reading. |

The week is an ISO week, labeled like `2026-W46`, and begins Monday 00:00 UTC. The window runs to the minute you run the command.

## Run it

In any project, run:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno inbox attention-ledger
```

The command prints one line: the questions-per-merged-PR ratio (or `no merged PRs`), the ask and merge counts, the repeated subjects, the reverts and the guard refusals. Cycle time appears for merged work. To see the same numbers as fields, with the week label and the gap notes, run:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno inbox attention-ledger --json
```

![A terminal. The command prints one line: no merged PRs, 0 asks, 0 merged, 0 repeated subjects, 0 reverts, 0 guard refusals.](https://mintcdn.com/fno/GVNElmIUUJ7BCIv1/images/attention-ledger.png?fit=max\&auto=format\&n=GVNElmIUUJ7BCIv1\&q=85\&s=d86c3c16f428a0a8156502c02b81a89a)

The shot is a fresh sandbox, so the week is empty. A run with stores on disk prints the same line with real counts. It also prints one gap note per store it cannot read. The notes are cropped from this shot. Both shots on the two new pages were captured from a source build of fnodotdev/fno main (PRs 156, 157 and 179), not a release binary. The long JSON line is wrapped for print.

To write the week's report file and print its path, run:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno inbox attention-ledger --report
```

## The weekly report

Two writers share one file name, with one rule each:

* `--report` writes `attention-ledger-<week>.md` into `<vault>/internal/<project>/reports/`. A second `--report` for the same week overwrites the file, so the report always carries the latest run. The body holds the one-line read and every number under `## Numbers`. The `## Method and caveats` section repeats the lower-bound caveats from the table above.
* The lead check-in is the status run a lead session prints on a schedule. Each run is one beat. The beat adds one ledger line. If the week has no report file yet, the beat writes one. A file that exists stays as you left it: the beat never rewrites it, though a later `--report` will.

## Reading the numbers

Treat the ledger as a weekly signal, not a target. Two numbers point at fixes:

* **Repeated subjects** name the question your fleet keeps re-asking. Record a law or answer for that subject once, and the count drops the next week.
* **Questions per merged PR** prices each change in your attention. A rise with flat merges means the fleet asks more for the same output. Stale law, unclear scope, or a missing answer are the usual causes.

Guard refusals are not a cost to minimize to zero. Each refusal is a law doing its job. A week with many refusals on one law is a week to re-read that law.

## Next steps

* [How law stays current](/docs/concepts/law-upkeep.md): retire the stale law that keeps generating questions.
* [How decisions and law work](/docs/concepts/decisions.md): the model behind the rulings the ledger's guards read.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.