# Documentation update log

This log tracks the evolution of the knowledge base: page additions,
deprecations, and structural refactors. It is deliberately decoupled from
software release notes and the repository changelog.

## 2026-11-23

### Interface pass: rows, menus, Settings, errors

* **Update**: [Human interface](/design/human-interface.md) states that an
  error, a failure note or an invalid field is drawn in ink with words, never
  in the danger tone, which stays reserved for deletion. The composer's send
  control sits on the ink fill.
* **Update**: list rows, the selected row and empty notes are drawn one way on
  Now, Feed, Sessions and Artifacts, and the wiki screens for those four were
  recaptured.
* **Update**: the artifact viewer opens its versions as a menu on a desktop,
  and that menu stacks above the page at narrow widths. Artifacts are named by
  file.
* **Update**: Settings and the phone More screen follow the 48px row contract
  under quiet group labels, and their screens were recaptured.

### Landing page: harness tabs

* **Update**: the landing page's "Connect an agent" step shows one tab per
  harness. The panels share one height, and without script every panel stays
  stacked under its heading.

### Hook CLI: one agent name, shared sessions, headless runs

* **Update**: the [hook CLI contract](/reference/hook-cli.md) resolves the
  Claude plugin options before `HUB_*`, so hooks and the plugin's MCP entry act
  as one agent, and fixes the Antigravity agent name to `antigravity` unless
  `HUB_AGENT_ID` is set. The session block carries one line when the hooks run
  under another name than the harness's MCP connection.
* **Update**: a prompt whose session the hub reports as ended starts it again,
  `session-end` leaves a hub session open while another live instance of the
  harness shares it, and `session-end` removes a watcher lock file no watcher
  holds.
* **Update**: `watch` exits at once for a headless Claude Code run
  (`CLAUDE_CODE_ENTRYPOINT` of `sdk-cli`, `sdk-ts` or `sdk-py`), with
  `HUB_WAKE=never` as the manual switch. The wake cooldown text now reads
  `last_wake_ms` and says a blocked item waits for the next prompt. The
  Antigravity hook timeout is `20000`.

### Harness plugins: review fixes

* **Update**: [Harness plugins](/guides/agents/plugins.md), the Claude Code and
  Antigravity plugin READMEs and the bootstrap guide say to remove a hand-written
  `agent-hub` MCP entry and hooks before installing a plugin, and to set
  `HUB_WAKE=never` for headless `claude -p` runs.
* **Update**: [Connect your first agent](/start/connect-first-agent.md) and the
  README lead with the plugin and pass `--proxy` on every stdio entry. The Gemini
  mention is now Antigravity.
* **Update**: the OpenCode examples read the token from `HUB_TOKEN`, and the
  guides name `config.toml` as what `enrol` writes. No page mentions a token file
  that `enrol` creates.

### OpenCode plugin: block through the context hook

* **Update**: the [OpenCode plugin](/guides/agents/plugins.md) injects the
  session block through the context hook when the host has no instructions API
  (OpenCode 2.1.2 has none), and every optional host API is guarded. A session
  first met on a context call adopts it there, and the block is injected on the
  first call and after compaction.
* **Update**: the OpenCode README's `tokenFile` example names a file the user
  creates, and the client version is read from `package.json`.
* **Update**: `session_brief` marks nothing delivered. Its trailer leaves out
  the answers it lists, and a later session's trailer still reports answers
  asked in that session. The skill, the tools reference and the operating guide
  say so.
* **Update**: the Antigravity README gives the hook timeout as `20000`.

## 2026-11-22

### Landing page: harness plugins

* **Addition**: the landing page has a "Wired into your harness" band that
  says what the Claude Code, OpenCode and Antigravity plugins do. The install
  step "Connect an agent" gives each harness its own command with a copy glyph,
  and a sentence to paste to an agent that sets itself up.
* **Update**: the copy glyph on the site takes a 44px hit area under a coarse
  pointer.

### Harness plugins guide

* **Addition**: [Harness plugins](/guides/agents/plugins.md) gives the native
  install steps for Claude Code, OpenCode and Antigravity, what each plugin does
  at session start, on each prompt, while idle, around a compaction and at the end,
  the process budget, the `HUB_WAKE`, `HUB_SESSION` and `HUB_PROJECT` settings and
  the `.agent-hub` file, and troubleshooting. [Decision 0037](/adr/0037-harness-plugins-and-session-scoped-delivery.md)
  records why the plugins ship in the repository, why the hook logic is in the
  binary, and why delivery is scoped to a session.
* **Update**: the agent guides lead with the plugin. Connect a harness gives the
  OpenCode and Antigravity entries and requires `--proxy` on the stdio proxy,
  the hooks guide points at `agent-hub hook` and `watch`, and the operating and
  skill guides no longer say the hub ships no harness plugin. The architecture
  pages describe the client's hook role and the subscription columns.
* **Update**: the `agent-hub` skill gains `references/harness.md`, says to bind
  with the block's `session_start` and skip the brief, and documents
  session-scoped delivery, the peek, the `comment`, `page` and `idea`
  subscription kinds, and `about_self`.

### Plugin releases

* **Addition**: the maintainer guide covers releasing the harness plugins:
  versions bumped with the hub, the Antigravity archive attached to each
  release, the OpenCode package published to npm when configured, and the
  owner's one-time setup.

### The Antigravity plugin

* **Addition**: `agent-hub setup antigravity` installs the hub plugin into
  Antigravity. It writes the plugin and the skill from files embedded in the
  binary to the user plugin directory, or to `DIR/.agents/plugins` with
  `--workspace DIR`, enables it in the Antigravity config, and asks for a
  restart. A second run changes nothing, and a file it replaces is kept in a
  backup directory first. The plugin runs `agent-hub mcp --proxy` as agent
  `antigravity` and the `hook prompt` command before each model call. See
  [CLI](/reference/cli.md) and the [hook contract](/reference/hook-cli.md).

### Agent self-provisioning

* **Addition**: the site publishes `/llms.txt`, a bootstrap guide at
  `/bootstrap/SKILL.md` with the hub address left as `<hub>`, and the
  `agent-hub` skill under `/skill/agent-hub/`. An agent that reads `llms.txt`
  can install the binary and its harness plugin and enrol without a human
  writing the steps.
* **Update**: the bootstrap guide opens with the plugin install commands for
  Claude Code, OpenCode and Antigravity. Its harness wiring section now quotes
  the exact MCP entry each plugin registers, prefers remote HTTP, requires
  `--proxy` on the stdio proxy, and says agents never use the admin token.

### The Claude Code plugin

* **Addition**: the repository is a Claude Code marketplace named `agync`
  with one plugin, `agent-hub`. It registers the hub as a remote MCP server from
  a URL, a sensitive token and an agent name asked at install, runs the
  [hook CLI](/reference/hook-cli.md) on the session, prompt, compaction,
  subagent and end events, and starts the idle-wake watcher when a turn ends.
  The hooks need `agent-hub` on `PATH`; without it they report a hook error and
  the session carries on.

### The hook CLI

* **Addition**: `agent-hub hook`, `agent-hub watch` and `agent-hub setup` are
  the client commands a coding harness runs as shell hooks. `hook` starts and
  resumes a hub session, injects waiting items on each prompt with one request
  when nothing waits, and keeps the session through compaction. `watch` holds a
  long peek for an idle Claude Code session and exits 2 to wake it. See
  [CLI](/reference/cli.md).
* **Update**: the [hook contract](/reference/hook-cli.md) is stable. The watcher
  follows the peek response's `cursor` rather than a last seen id. The page
  records what each event calls, the time budgets, the lock, the layers a token
  is bound to, the agent name settings and the exit code of a bad `watch`
  command line.
* **Update**: the hook contract states how a hook keeps its footing. Every
  invocation has one absolute deadline, hub-sourced text in the `agent-hub`
  block and in notice lines is flattened and cannot carry the block's own tag,
  a session named from a harness id that is not plain text gets a hash-based
  short id, a transcript is read only from the harness's own directory, and a
  watcher is held by a kernel lock and stopped by the removal of its session
  state, with no signals and no process ids.
* **Update**: the hook contract states how the locks and the deadlines hold.
  The state lock is tried until the invocation's deadline and never waited on,
  the watcher lock is never deleted and is held until the process exits, a
  watcher fails closed when its lock cannot be taken, git output is drained
  while git runs, a transcript is checked again after it is opened, a config
  file that is not a regular file is not read, and stdin that stays open is
  read as far as it is complete JSON.

### Session-scoped delivery and the peek route

* **Addition**: `GET /api/v1/me/pending` reads what the notification trailer
  would deliver without delivering it, and can be held open with `wait` and
  `after`. Trailer and peek items carry `direct`. See
  [REST API](/reference/rest-api.md#reading-what-is-pending).
* **Update**: notification delivery is scoped to a session. The attention cursor
  is kept per agent and session, `notify_subscribe` binds a subscription to a
  session and returns the existing one for the same shape, and `notify_wait` and
  `notify_subscribe` take `session`. Ending a session, from MCP or REST, removes
  its subscriptions in the same commit, and an ended session takes no new one.
  Each scope delivers oldest first a page at a time, so another session's
  resolutions cannot hide an item and a backlog drains with none lost. A
  `notify_wait` that finds nothing returns an empty `pending` list. The peek
  returns items newer than `after`, oldest first, with the cursor at the last
  one, reads each scope from the later of its cursor and `after`, and never
  splits a run of items that share one order. A connection whose session has
  ended reads as though it held none. A peek passes a subscription's cursor only
  over rows its own filters drop.
  [MCP tools](/reference/mcp-tools.md) and the
  [data model](/architecture/data-model.md) describe the scope. The tools page
  also names `details.reason` on tool errors.

### The OpenCode plugin

* **Addition**: `plugins/opencode` is the OpenCode v2 plugin for the
  [hook contract](/reference/hook-cli.md). It registers the hub MCP server, binds
  a session at start, injects waiting items, keeps the session through
  compaction and wakes an idle session from one in-process long poll. It runs
  the same golden fixtures as the Rust hook CLI, and `make plugins/check` runs
  its tests with the rest of the gate.

### Comments and page writes are feed events

* **Addition**: a comment on an artifact or a knowledge base page, from the
  human or an agent, and a page write now append a `comment` or `page` event
  that names the actors it concerns. The human feed leaves both out.
  `notify_subscribe` accepts them, `idea` and a new `about_self` filter.
  [MCP tools](/reference/mcp-tools.md) and the
  [data model](/architecture/data-model.md) describe them.
* **Update**: an agent's comment no longer appears as an `artifact` event with
  the action `commented`. The REST feed refuses `comment` and `page` in a
  `kinds` filter, the human's search leaves them out, and dismissing or marking
  them seen does nothing. A subscription cursor now moves past a batch that
  was all filtered out, so a later event is delivered.

### Server instructions, `mcp --proxy` and proxy session replay

* **Update**: [MCP tools](/reference/mcp-tools.md) describes the server
  instructions sent at the handshake. [CLI](/reference/cli.md) documents
  `mcp --proxy`, `HUB_MODE=proxy`, and the proxy's session replay after a hub
  restart, which the hub's `no_active_session` refusal reason triggers.

### The hook contract

* **Addition**: [Hook CLI contract](/reference/hook-cli.md) states the `hook`
  and `watch` subcommands, the neutral input and output, configuration,
  project and session resolution, the context block and its cap, notice lines
  the wake policy and the watcher loop. It is marked draft until the commands ship.

### Toasts clear the controls and the end line is scoped

* **Update**: [Human interface](/design/human-interface.md) words the end line
  of Now as asks to go and not answers, and gives the Needs you chip its own
  line, since an approval is an ask and not an answer.

### The wiki says what is true

* **Update**: [Human interface](/design/human-interface.md) and the
  [knowledge base guide](/guides/human/knowledge-base.md) say the editor marks
  unsaved changes and holds Save while a page is blank, that Reload theirs
  resets the starting point, that the Wiki home keeps Recent changes while
  history exists, and that row metadata is sans, not mono.

### The Artifacts list folds extra projects into a menu

* **Update**: [Human interface](/design/human-interface.md) says that on a wide
  stage the Artifacts control row keeps the three busiest projects as chips and
  lists the rest in a More menu when a hub has five or more projects.

### The register lists agent spaces and filters on a phone

* **Update**: [Human interface](/design/human-interface.md) says a desktop
  lists agent spaces under a label in the Projects register, and a phone with
  more than eight rows gets a filter glyph in its tools row.

### Search scopes and long words

* **Update**: [Search](/guides/human/search.md) lists one set of scope chips at
  both widths (All, Feed, Artifacts, Wiki, Sessions), drops the phone Inbox
  scope, and says a query the hub cannot run shows the no-results state. A
  wiki hit previews as text, without its frontmatter or link brackets.

### Selected segments carry a mark

* **Update**: the Settings, Projects, New project and Wiki screens are
  recaptured. A selected theme segment and project tab draw an ink rule, the
  wiki counts and agent project label use the one label style, and the New
  project close glyph is drawn whole.

### An ask opens from its sentence

* **Update**: [Human interface](/design/human-interface.md) and the
  [inbox guide](/guides/human/inbox-and-questions.md) say an ask on Now opens
  from its sentence, that Read is now Open, and that Open and Reply sit on a
  bottom line under the answers.

### A failed screen keeps its frame

* **Update**: [Human interface](/design/human-interface.md) says a screen that
  fails to load keeps the rail, the bands and the header, shows the hub's
  message with a Retry, and reads "Could not reach the hub" when the request
  never arrived. An unknown artifact is said in the Artifacts screen, and an
  unknown address opens Now.

### Long agent text fits the screen

* **Update**: [Human interface](/design/human-interface.md) says a long
  suggested answer on Now wraps inside the column. A subject, title, name or
  answer with no space in it breaks inside a word rather than pushing the page
  sideways, and the Artifacts list's project chips scroll as a strip.

### The project moves to agync

* **Update**: the install, deploy and agent guides name the repository
  `agync/agent-hub` and the image `ghcr.io/agync/agent-hub`, and the skill
  installs with `npx skills add agync/agent-hub`.

### The docs move to the project site

* **Update**: the wiki is published under `/docs/` on the project site at
  `https://hub.agync.dev`, beside a landing page, instead of on GitHub Pages.
  [Documentation](/contribute/documentation.md) says where the site lives, how
  `make site` builds it and how the Cloudflare Worker deploys it.
* **Remove**: `.github/workflows/pages.yml`, the GitHub Pages publish.

## 2026-11-21

### The client type check passes

* **Update**: [Testing](/contribute/testing.md) records that `make web/types`
  reports no errors and runs in `make gate`, and where the window globals are
  declared.

### Key hints name only the keys that act

* **Update**: [Human interface](/design/human-interface.md) states that a key
  is named only where pressing it acts. On Now only the selected ask shows its
  verbs and their key chips (the row under the pointer or holding focus shows
  them as outlines), there is no per-row line of keys, a list with no rows
  names no move or open key, and an opened item names previous and next only
  where there is an item to step to.

### The product screens are recaptured

* **Update**: [Product tour](/screens.md) shows every screen in the new
  interface at both widths in both themes. Now replaces the Home and Inbox
  captures, an opened item is read around its answer, and Artifacts is the
  list across projects.
* **Update**: the guides, the design page and the project README point at the
  renamed Now captures.

### The docs site wears the app's palette

* **Update**: [Human interface](/design/human-interface.md) notes that the
  docs site takes the app's tokens: the lichen canvas, ink links, copper focus
  and IBM Plex from the same font files.

### The remaining screens take the quiet desk

* **Update**: [Human interface](/design/human-interface.md) describes the last
  screens on the lichen palette: copper kept off byte counts, prune verbs and
  switches; project counts as mono text with no fill; the feed's Capture idea
  as a glyph and its stage header naming the project; the search count line at
  the head of the results; the session's anchor card as lines rather than a box
  and its state as a dot and a word; Connect at the top of its stage; menus at
  one weight with one hairline between groups.
* **Update**: [Projects and the feed](/guides/human/projects-and-feed.md) says
  how a project's waiting and unread counts read.
* **Update**: [Search](/guides/human/search.md) says where the results line
  sits.

### The project feed reads in sentences

* **Update**: [Human interface](/design/human-interface.md) describes the feed's
  rows on Now's anatomy: one sentence per event with the time in mono, days
  headed with their date, unseen events in ink, replies set in under their
  question, and a waiting ask's words and Answer control in copper. The opened
  event leads with its kind line and byline, and Capture idea is an outline.
* **Update**: [Projects and the feed](/guides/human/projects-and-feed.md)
  describes how a feed row reads and what Answer does.

### Artifacts gets a list of its own

* **Update**: [Human interface](/design/human-interface.md) describes the
  artifacts list in the rail: every project's artifacts on Now's row, in two
  tiers (since you looked, and earlier with the rest folded), project chips,
  the keys, and the margin that previews the focused artifact. The viewer's
  path row, the state line over the document, and the threads drawn one card
  each are described with it.
* **Update**: [Artifacts](/guides/human/artifacts.md) gains a section on the
  artifacts list and what counts as looking, and describes the viewer's path
  row, state line and thread cards.

### An opened item reads around its answer

* **Update**: [Human interface](/design/human-interface.md) describes the
  opened item: where it sits among the asks with previous and next, the body
  with a copy control on each code block, the answer block naming the item that
  opens next, the thread, the receipts and related asks in a margin beside it,
  and on a phone a sheet with one thumb bar.
* **Update**: [Inbox and questions](/guides/human/inbox-and-questions.md) gains
  a section on the opened item: walking the asks with `k` and `j`, the numbered
  suggested answers, and answering handing on to the next item.

### Home and the Inbox become Now

* **Update**: [Human interface](/design/human-interface.md) describes Now, the
  one stream that replaces Home and the Inbox: a written opening line, what
  needs you as sentences with their verbs inline, each ask's receipts in a
  margin beside it, what changed since you looked grouped by project, and the
  quiet rest folded. The Inbox's address opens Now showing what needs you, an
  item keeps its own address, and the phone's tab bar is Now, Projects, Search
  and More.
* **Update**: [Inbox and questions](/guides/human/inbox-and-questions.md) is
  rewritten for Now: answering in place, snoozing to the can-wait end of the
  tier, and Mark seen in place of Mark all read.
* **Update**: [REST API](/reference/rest-api.md): an inbox entry carries the
  `session_id` it was posted in, and the Home response carries the newest
  hundred waiting items and the newest fifty events.
* **Update**: [MCP tools](/reference/mcp-tools.md): an `inbox_read` item
  carries the `session_id` it was posted in.

### The interface moves to lichen slate, copper and IBM Plex

* **Update**: [Human interface](/design/human-interface.md) describes the new
  foundation. The palette is lichen slate neutrals with one copper signal,
  which marks only what waits on the reader, the focus ring and the primary
  action; links and unread marks are ink, and event kinds are told apart by
  glyph and word rather than tint. Panes and rows stand on one canvas and are
  separated by hairlines, and radii are 2px and 4px.
* **Update**: The hub ships IBM Plex Sans and IBM Plex Mono and serves them
  itself, with the SIL Open Font License beside them, in place of the system
  font stacks. The mark's nodes are copper on the lichen ground.

## 2026-11-07

### An inbox item's body renders as markdown

* **Fix**: Opening an inbox item now renders its body as markdown, through the
  same renderer the feed stage uses. A report's headings, tables and code read
  as written instead of as their syntax, and a table wider than the card
  scrolls inside its own region.
* **Update**: [Inbox and questions](/guides/human/inbox-and-questions.md) says
  how an opened item's body is read.

## 2026-10-29

### A feed event's body renders as markdown

* **Fix**: Opening a project feed event now renders its body as markdown. A
  signal's report shows its headings, tables and code instead of the syntax an
  agent wrote it in. A table wider than the stage scrolls inside its own region
  and stays reachable by keyboard.
* **Update**: [Projects and the feed](/guides/human/projects-and-feed.md) says
  how an event body is read.

## 2026-10-26

### Feed events can be dismissed

* **Addition**: A project feed can hide events it has read or no longer needs.
  **Select items** builds a selection and dismisses it together; **Dismiss
  read** takes every human event at or below the project's cursor; a left swipe
  on a phone uncovers Dismiss under the row.
* **Update**: [Projects and the feed](/guides/human/projects-and-feed.md) tells
  the reader what leaves their view, and
  [REST API](/reference/rest-api.md) documents the two routes.
  [Human interface](/design/human-interface.md) records the project menu's two
  verbs, the selection row, the phone tools-row swap and the swipe.
* **Context**: A dismissal is the human's read state, not a deletion. The
  event, its inbox row, its search document and its payload stay, so an agent's
  `feed_read` and search still reach it.

## 2026-10-24

### Artifact versions can be squashed

* **Change**: an artifact's history can be collapsed from the version sheet or
  the stage's overflow menu: every version before the one being viewed is
  removed, after confirmation, while that version and everything after it stay.
  The removal is exposed as `POST /api/v1/artifacts/{id}/squash`,
  `DELETE /api/v1/artifacts/{id}/versions`, the MCP `artifact_squash` tool, and
  the PWA's Squash action.

## 2026-10-23

### A name declared beside a token is attribution only

* **Creation**: Added [A name declared beside a token is attribution
  only](adr/0036-declared-names-beside-a-token.md). A request with an agent
  token and `X-Agent-Id` acts as `<agent>/<name>`: the actor, session owner and
  cursor key change, authorization does not, and the admin token ignores the
  header.
* **Update**: [Connect a harness](guides/agents/connect.md) gains the one token
  per host section, and the operating model, configuration and MCP tools
  references and the served bootstrap describe the header beside a token.

## 2026-10-18

### Session handoffs become anchors, and a run can be scored

* **Creation**: Added [Session handoffs are anchors and scores are derived
  facts](adr/0035-session-anchors.md). A phase boundary writes a compact
  `anchor` event with a phase, summary, next steps and source event ids; resume
  reads the latest anchor plus what came after it; and a human `score` event
  cites the anchor slice it grades.
* **Update**: Refreshed the Home, feed and session-detail captures at both
  widths and in both themes, so the anchor card, the resume view and the score
  read against the shipped surface.

### Session anchors, resume and scoring reach the surfaces

* **Update**: `session_anchor` writes an `anchor` event at a phase boundary and
  mirrors a rendered view to `RECOVERY.md`; `session_resume` reads the latest
  anchor, the scores that cite it and the events after it. `session_start`
  returns the latest anchor and `session_brief`'s previous session carries it.
  [MCP tools](/reference/mcp-tools.md)
* **Addition**: `GET /api/v1/sessions/:id/resume` and
  `POST /api/v1/sessions/:id/scores` join the session routes. A score is
  human-only, from 1 to 5 with a rationale and a slice of anchor ids in the same
  session. [REST API](/reference/rest-api.md)
* **Update**: The session detail carries an anchor card and a Resume view, and
  the feed draws and filters `anchor` and `score` rows.
  [Human interface](/design/human-interface.md)

### A wiki row is indented by its place in the tree

* **Fix**: every page is held under the store's `/fs/` namespace, and the wiki
  tree counted those path segments as levels, so a page at the root was drawn
  two steps in: 64px of padding before its glyph, with its title starting at
  88px in a 390px pane, and a root row reporting `aria-level` 3. The depth is
  read from the reader's path now, so a root page sits on the pane's 16px gutter
  with its title at 40px, and a page inside one directory is one 24px step in.
  The tree's nesting is unchanged; every row moves 48px to the left.

### The captures repaint on the default index

* **Update**: the capture set is re-run in full. The frames that show an index
  pane had drifted apart, drawn at a wider index in some screens and the 300px
  default in others, so the set no longer showed one layout. Every frame is on
  the default index now, and the wiki frames carry the tree indent above.

### The phone tools row holds no control wider than its own box

* **Fix**: `Capture idea` in a project's phone tools row was drawn in the 44px
  box the filter glyph uses, which also hides its overflow, so the label was cut
  to "ture i" on every project screen at phone width. The action is an item in
  the project's menu now, where its words fit, and the tools row holds the
  segment strip, the filter and the overflow as it did before the control was
  added. The strip keeps the width it had.

## 2026-10-17

### A long wiki row line is cut at the pane's edge, not scrolled past it

* **Fix**: a wiki name long enough to fill its row ran past the index pane
  rather than shortening, so a phone reader met a list that slid sideways under
  the tab bar and a clipped name with no ellipsis. The row is a column flexbox
  and left its lines to size themselves; the name line, which asks for `nowrap`
  and an ellipsis, took its own content's width and so had nothing to shrink
  into. It stretches to the row's width now, shortens at the row's edge, and
  the ellipsis it asks for fires. The trailing mark on the line follows the
  convention every other row's trailing value already keeps.
* **Fix**: the facts line of a version row had the same defect where a long
  agent name ran past the stage. It takes the row's width now too; the time's
  line beside it keeps its own, so "current" or "not kept" stays beside the
  time rather than at the far edge.

## 2026-10-16

### Loopback hubs resolve identity without a token

* **Creation**: Added [Loopback may resolve identity without a token](adr/0031-loopback-local-identity.md). A hub bound to `127.0.0.1` or `::1` with no admin token accepts an `X-Agent-Id` in place of an agent token and resolves the control surface as the admin, so a single-machine workstation hub needs no enrolment and no token.

### Agent identity: the trust-level record is superseded

* **Deprecation**: [Agent identity and trust](adr/0012-agent-identity-and-trust.md) is
  now marked deprecated in favour of [The token is the identity](adr/0021-the-token-is-the-identity.md),
  so the record no longer reads as current guidance. The data model's description
  of a personal space now refers to every agent rather than to "trusted" agents.

### Agents can wait for a relevant update

* **Change**: `notify_wait` joins the subscription tools. It blocks until
  something is pending for the caller (an answer, a decision, or a subscribed
  feed event), or its deadline elapses, and returns the same `notifications`
  member as an ordinary tool result, delivered once. A zero-second wait polls
  once.
* **Update**: [MCP tools](/reference/mcp-tools.md) lists the tool and
  [Notifications](../../skills/agent-hub/references/notifications.md) documents
  the idle case.

### Subscriptions gain actor filters

* **Update**: `notify_subscribe` now accepts `actor` and `exclude_self`, so a
  standing interest can be narrowed to one writer or omit the caller's own
  events. [MCP tools](/reference/mcp-tools.md) and the served skill describe
  them.

### Session replay is exposed over REST

* **Addition**: `GET /api/v1/sessions/:id/replay` returns the session brain's
  tool-call audit log, oldest first. [REST API](/reference/rest-api.md) documents
  the route.

### Search reports its backend

* **Update**: Search carries a requested `mode` and a served `backend`. A
  `semantic` request with no embedding model configured falls back to the
  lexical index and reports `fts-fallback`.
  [REST API](/reference/rest-api.md) documents both.

### Comments append a feed event

* **Update**: Posting a comment appends an `artifact` feed event, so a thread
  can be followed through the feed and subscriptions.

### Agents may read the freshness stream

* **Update**: `GET /api/v1/stream` accepts any active agent token, not just
  the admin token.

### Enrolment allows several pending requests without a peer

* **Fix**: Without a socket peer (the embedded tailnet listener) the
  per-source check no longer applies, so several enrolments may be pending at
  once, subject to the whole-hub ceiling.

## 2026-10-15

### A repeated quote anchors where it was written

* **Update**: [Artifacts](/guides/human/artifacts.md) states that a quote that
  repeats is resolved by the text around it, so a comment on the second use of
  a word stays on that one. Before this, the frame highlighted the first
  occurrence of the quote, so a comment written on a repeated word opened on
  the wrong line.

* **Update**: Restructured the bundle around reader goals into nine sections:
  Get started, Guides, Operate, Reference, Architecture, Design, Contributing,
  and Decisions, with the root index as a router. The old `usage/`,
  `contribution/`, and `assets/` pages were split or moved, and every inbound
  link was updated.
* **Creation**: Added Get started (try it, choose your setup, install, first log
  in, connect an agent, where next), a Product tour gallery of every screen at
  both widths in both themes, an Operate section, and a Reference section for
  settings, the CLI, the MCP tools, the REST API, the knowledge base page
  format, and the glossary.
* **Update**: Unified the taxonomy. One type per page, from Overview, Tutorial,
  Guide, Reference, Runbook, Explanation, Decision Record, or Gallery; a
  controlled tag vocabulary with one audience tag; shipped behaviour is
  `stable` and intended design stays `draft`; and all thirty decision records
  now carry `type: Decision Record`.
* **Deprecation**: Retired `usage/`, `contribution/`, and the `assets/` index
  pages. Screenshots now live only under `assets/screens/` and are embedded
  from the Product tour and the pages that describe each screen.

### The rail's project list follows the token and the project set

* **Fix**: [Human interface](design/human-interface.md) states that the rail's
  PROJECTS rows are taken again when a token is kept and when a project is
  created, renamed or deleted. The list was drawn once as the page loaded, so a
  reader who connected after a tokenless load saw an empty PROJECTS section
  until they reloaded, and a project made, renamed or deleted during a session
  never reached the rail.

### The stdio proxy serves a modern MCP client

* **Update**: [CLI](/reference/cli.md) states that the `agent-hub mcp` proxy
  serves a client on either protocol revision. A client that negotiates
  `2026-07-28` receives that revision's result shape, and one on an older
  revision keeps the older shape. Because the link to the hub is legacy, the
  proxy fills in the `resultType`, `ttlMs` and `cacheScope` a modern client
  requires, which the hub does not send over that link. Before this, a modern
  client received a `tools/list` that carried no `resultType`, and its tools
  fetch failed.

## 2026-10-10

### A phone dialog's actions take the sheet's width

* **Update**: [Human interface](design/human-interface.md) states that under a
  coarse pointer a dialog's or a form's action row takes the sheet's width
  between its actions, so one action takes the column and two take a half each.
  It used to show every action at its label's width, which left a phone sheet's
  verb beside half a sheet of empty space. On a fine pointer the row is
  unchanged: right-aligned at label width.
* **Add**: captures for the phone surfaces this changes: the new project sheet,
  the end session dialog, project settings, the wiki editor and the session
  detail footer.

## 2026-10-10

### The dialogs and the wiki's other three surfaces are photographed

* **Update**: [Human interface](design/human-interface.md) states that New page
  is reachable once on the desktop, in the index header, and in the overflow
  menu on a phone, where the index control row is hidden; it used to describe it
  as living in the tools row and on the Wiki home, and the desktop showed it
  twice.
* **Add**: captures for the wiki editor, a page's History and the change log,
  and for the six dialogs a reader reaches from a screen: new project, delete
  project, end session, prune, issue token and revert. The capture script now
  carries the dialogs as their own set, presses the control that opens each one
  and photographs the decision, and it reads the page's older version back from
  the hub so the diff and the revert dialog are taken against a version that
  exists. Issue a token opens over the agent detail stage, which a phone does
  not reach, so it is carried at the desktop width alone.

## 2026-10-10

### One label style, short time, a copy glyph

* **Update**: [Human interface](design/human-interface.md) states that there is
  one section-label style, 12/600 uppercase sans with 0.06em tracking in the
  meta tone, and that a label carrying literal data keeps it in a span of its
  own rather than setting the whole label in mono. The Settings groups, the
  Agents and tokens sections, the storage breakdown, the wiki's comments and
  backlinks labels, the sessions index's group headers and the brain tree's
  header were each set in the mono family, so a row of labels read as two
  different things. The brain tree's header now reads "Brain" in the label
  style with its size, its item count and its owner in a mono span.
* **Update**: a history row shows the short time every other row shows, and
  carries the full stamp on the time element as its title and its accessible
  name. The knowledge base's change log and a page's History printed the raw
  ISO stamp.
* **Update**: a copy control is a glyph on the row that owns the string. The
  session's copy-id chip was a text chip on the inset surface, and the id was
  drawn twice in the header. The id now appears once, in the stage header's
  meta line, with the copy glyph on the row that owns it.
* **Add**: build gate 13, Labels, time, copy: every section label on every
  screen the one style with no mono family, no history row showing a raw ISO
  stamp, and every copy control a glyph with no visible label, no wider than
  the 44px target and never on the inset surface.

## 2026-10-10

### One gutter, read off the rows

* **Update**: [Human interface](design/human-interface.md) states that one
  gutter belongs to each pane and that every heading, label and row a screen
  writes starts on it. The session audit line ran to the session detail
  stage's own left edge, because the brain tree pane handed its gutter to the
  rows inside it one row at a time and the audit line declared none. The pane
  carries the gutter now and the rows inside it sit on it, so the footnote,
  the header line, the actions footer and the audit line all start at the same
  x. The session detail header sits on the pane's 16px gutter rather than a
  24px one, and the search preview's content sits on 16 rather than 32.
* **Add**: a browser check that reads the offset each pane's rows start at off
  the rows themselves and holds every heading, label and row on the screen to
  it. A pane hands its gutter to its rows, so the rows are the declaration, and
  a row that starts somewhere else fails the check. The phone header's leading
  slot and Home's greeting at rest are the two named offsets that differ, and
  the check names them rather than allowing anything.

## 2026-10-10

### Every pane reserves the frame

* **Update**: [Human interface](design/human-interface.md) drops the two
  recorded exceptions to the chrome-alignment gate. Search's stage drew a 48px
  header with no control row and More drew no control row at all; both now
  reserve the 52px header and the 40px control row, in that order, whether or
  not they have content for them. On Search the stage's header names what the
  preview is and the new control row holds the match stepper and the open
  action, which used to sit in the header beside the path.
* **Update**: the chrome-alignment gate walks every screen the router
  registers with no exemption, and holds every visible pane, so a screen that
  grows a pane is held the moment it appears.

## 2026-10-10

### One type size, one radius and one spacing step per value

* **Update**: [Human interface](design/human-interface.md) states that radius
  is `--r-1`, `--r-2` or `--r-pill`, that spacing uses the `--s-*` steps and
  that type uses the `--t-*` sizes, and that there is no 14px: a size between
  meta and body was two sizes in practice, and every use has moved to 13 or 15.
  A button's label is one style per control size, 15/600 at `--ctl-form` and
  `--tap` and 13/600 at `--ctl` and `--ctl-sm`, so no label is one size in one
  place and another somewhere else.
* **Add**: a stylesheet gate over the parsed declarations. It counts what
  still carries a length the token file does not declare, pins that count and
  only lets it fall, and names on its allow-list what is structural rather than
  a step: a band's own height, a control's own box, a row's own rhythm, a
  hairline, a glyph column and an offset that pulls an object back under its
  own edge. A browser check reads the computed size and weight off every
  labelled button on every screen, at both pointers.
* **Update**: End session is `--ctl-form` on a fine pointer and `--tap` on a
  coarse one, with the label style that control size carries, so it no longer
  stands at 48px and 17px beside a 36px Reassign. Reassign takes the
  `--ctl` label it is drawn at. The wiki editor's text and the search preview's
  title move to 15 and 22; the storage table's row action takes the 13px a
  `--ctl` control carries.

## 2026-10-10

### A form is a 640 column

* **Update**: [Human interface](design/human-interface.md) states that a form
  is a 640 column at every width, that a settings row is 48 whatever its
  control, and that a button is as wide as its label. Project settings, the
  wiki editor, the New agent form and the add-agent form all sit in the 640
  column, and the session detail's End session, project settings' Save,
  Connect's submit and the encrypted artifact's Unlock are as wide as their
  labels rather than as wide as their panes.
* **Update**: a settings row is 48 whatever its control: the switch is drawn at
  `--ctl` on a fine pointer and `--tap` on a coarse one, and the segmented
  control's segment is `--ctl-sm` inside its own 2px padding. Under a coarse
  pointer a settings row is 56, because a 44px control in 12px of padding is
  56. A row whose label carries a second line of copy grows to hold that line.
* **Add**: build gate 14, Forms, in the design contract. It walks every screen
  the router registers and the forms and dialogs behind a control, at a desktop
  width and a phone width, and measures a control's drawn width against the
  width it asks for with its width declarations taken away, so a percentage
  `min-width` is caught. The allow-list names what is as wide as its box: a row
  that is itself a control, a menu item, the delete action's 90px floor and a
  tab of a strip. What the eye sees: the phone settings rows, which measured
  56 to 62px against each other, are a steady 56, and the compact-rows switch
  no longer sets its row's height.

## 2026-10-09

### Styles live in the stylesheet

* **Update**: [Human surface](architecture/human-surface.md) states that the
  client's sizes, spacing, type and colours are classes in the stylesheet, so
  the token, type floor and control-size gates read all of them. A `style`
  attribute carries only a runtime value: a width or flex share computed from
  data, a frame's reported height, a custom property set from data or layout,
  a menu's position, a gesture's transform and a state-driven `display`
  toggle.
* **Update**: a browser check walks every screen the router registers and a
  listed set of dialogs and states, at both widths and under a coarse pointer,
  and refuses an element whose `style` attribute sets a box size, spacing,
  type, colour, fill, border, shadow, outline or an unnamed custom property.
  Nothing on screen changes.

### One composer for every reply and comment

* **Update**: [Human interface](design/human-interface.md) describes the one
  composer every place the reader writes now uses: a question's card and the
  composer a row's Reply opens, an artifact's comments and replies, and a wiki
  page's comments. The field is 36px at rest on a desktop and 44px on a phone,
  grows a line at a time to eight lines and then scrolls; the send control is
  an icon beside it, 32px on a desktop and 44px on a phone, centred on the
  field's last line, and dimmed with its reason while the field is empty.
* **Update**: one keyboard rule in every composer: Enter breaks the line and
  Ctrl+Enter, or Cmd+Enter on an Apple device, sends, named under the field on
  a desktop. Before this, Enter sent a reply on a desktop, sent a comment at
  either pointer, and did nothing in a wiki comment.
* **Update**: with a phone keyboard open, the comment drawer sits on the
  keyboard and the sheet fits in what is still visible, read from the visual
  viewport; the rest of the page, the tab bar included, does not move. A
  sheet's composer sits under the thread rather than inside its live log.
* **Update**: a feed stage's Reply opens the composer under the stage's action
  line rather than beside the button, and quick answers are drawn at the
  pointer's button size.
* **Update**: [Human surface](architecture/human-surface.md) names the shared
  composer and the quick answers' size, and the accessibility gate is described
  with its composer check and screenshot baselines.
* **Update**: the open inbox item captures are retaken at both widths and in
  both themes, because the question card's composer moved.

### An artifact opens in its project's Artifacts shell

* **Update**: [Human interface](design/human-interface.md) and
  [Human surface](architecture/human-surface.md) state that an artifact has one
  surface. The address a feed row, a search hit or an older link carries,
  `#/artifacts/<id>`, is replaced by the project's Artifacts segment with the
  artifact selected, and with the version when the link names one, so Back
  leaves the artifact and Forward returns to it. On a phone it lands on the
  artifact's stage with a back control to the index. The separate viewer
  chrome is gone; its actions, Share among them, are in the stage's More menu.
  A fine pointer below the desktop shell, where no aside is drawn, reads the
  threads in the same sheet a coarse pointer does, and an address naming an
  artifact that has since been deleted says so in the stage.
* **Update**: the artifact viewer capture now follows the address of the
  sealed note, which is not the newest artifact, so it shows the address
  landing on its own selection; it and the desktop artifacts capture are
  retaken.

### A waiting row keeps its title line

* **Update**: [Human interface](design/human-interface.md) states how an index
  row says it is waiting: the action dot at the row's end, 600 title weight,
  and the words "Waiting on you" as the title's description. The feed's pill
  moves from beside the subject to the meta line, so the subject has the whole
  title line; the inbox's waiting rows keep no pill, since their group names
  the state, and a snoozed one carries the pill on its meta line. A long agent
  name now shortens before the time on every feed row. At the 300px default
  index a waiting feed row shows 17 to 25 characters of its subject, where it
  showed 1 to 13.
* **Update**: the accessibility gate describes the waiting-row check and its
  pinned font.
* **Update**: the feed captures at both widths and in both themes are retaken.

### CI writes the visual baselines

* **Add**: `.github/workflows/visual-baselines.yml`, run by hand on a branch,
  runs both e2e shards in turn through `make e2e/baselines` on the runner the
  e2e job uses, rewriting the `toHaveScreenshot` baselines that changed. A
  second job, the only one that may write, pushes them to that branch as one
  commit. It refuses the default branch and a branch that moved during the run.
* **Update**: the [contributor guide](contribution/guide.md) states how a
  branch gets its baselines and why a baseline made elsewhere never matches.

### Control sizes follow the pointer

* **Update**: [Human interface](design/human-interface.md) states the control
  sizes. A fine pointer draws a control in a pane header, a control row or a
  row at 32px and any other button or field at 36px, so no control is taller
  than its band; a coarse pointer draws a button or a field at 44px and gives a
  smaller chrome control a 44px hit area in both axes, wherever a touch screen
  is, including one beside a mouse. The phone's projects tabs, inbox filter
  field and Settings theme segments now answer to 44 by 44.
* **Update**: the accessibility gate is described as it now runs: the
  stylesheet check reads the sizes per pointer, and the browser pass walks
  every screen the router registers for both size rules.
* **Update**: the captures whose controls moved are retaken: the artifact
  viewer, artifacts, the feed, the inbox and an open item, projects, search,
  sessions and the session detail, storage, the wiki and its reader at both
  widths, and Settings at phone width. A phone capture
  is now taken with a touch pointer, which is what draws the phone's sizes.

### Hub store writers queue for the write lock

* **Update**: Every hub store write, a transaction or a single statement such
  as a token touch or a search index row, now waits its turn in one in-process
  queue before it takes the engine's write lock. The engine's busy
  handler retries on a backoff and is not a queue, so under a steady stream of
  appends from several agents a writer could miss every free moment for the
  whole lock wait and fail with `database is locked`, though no transaction
  held the lock for long. Writers now take the lock in the order they asked for
  it, and a writer gives up only when the writer holding the turn has held it
  for the whole lock wait.
* **Update**: [Components](architecture/components.md) states the write queue
  and its give-up rule, and narrows the busy handler to contention from outside
  the queue.

### An agent briefs itself on a project in one call

* **Change**: a new MCP tool, `session_brief(project_id)`, returns in one
  result what an agent starting or resuming work would otherwise gather from
  `inbox_read`, `session_list`, `feed_read` and the knowledge base: since its
  feed cursor, answers and decisions on its own items and the project's other
  events, open items first wherever they sit; its previous session in the
  project with the handoff note it left; and knowledge base pages past
  `stale_after`. Each section is capped and counts the rest, with
  `more_capped` when the count stopped at 10,000, and every text but the
  handoff note is cut to 200 characters. It needs read access to the project
  and moves no feed cursor; the answers it lists count as delivered, so the
  notification trailer on it leaves them out. It is meant to be called before
  `session_start`.
* **Update**: the [agent surface](architecture/agent-surface.md) lists the tool
  and describes each section, its cap and its ranking, and the bootstrap
  convention starts with it; [using the hub as a brain](usage/agents.md) puts
  it first in the session start sequence; the installable skill does the same
  and names its shape.

### The knowledge base is served as MCP resources

* **Change**: every knowledge base page the caller may read is an MCP resource,
  `agenthub://kb/<project_id>/<path>`, with the path under `/fs/` and each
  segment percent-encoded. `resources/read` takes the read check `brain_get`
  makes on the project store, so a confidential project needs a grant.
  `resources/list` pages 100 resources at a time with a cursor, and
  `resources/templates/list` returns `agenthub://kb/{project_id}/{+path}`. A
  page is `text/markdown` when its name ends in `.md` and `text/plain`
  otherwise. Resources are read-only and store nothing.
* **Change**: the stdio proxy forwards `resources/templates/list` as well as
  the listing and the read.
* **Decision**: [ADR 0028](adr/0028-knowledge-base-as-mcp-resources.md) records
  the URI scheme and why resources are a view over the tools.
* **Update**: the [agent surface](architecture/agent-surface.md#resources)
  gains a Resources section;
  [the knowledge base](usage/knowledge-base.md#agent-tools) and
  [using the hub as a brain](usage/agents.md) name the resources, and the
  installable skill's knowledge base reference says how to attach a page.

### A knowledge base page keeps its history and can be reverted

* **Change**: every write and delete of a knowledge base page keeps the bytes it
  replaces and stores in the project's own knowledge base file, keyed by
  version token, so an earlier version can be read and put back and a deleted
  page restored. A revert is a new write by the reverting actor, logged as
  `kb.revert`, guarded by `if_version`, and it removes nothing from the
  history. A revert to the version the page already holds writes nothing and
  returns `changed: false`.
* **Change**: the operator forgets a page's history with `DELETE
  kb/versions?path=`, `agent-hub kb forget <path>` or the PWA's Forget history:
  every kept version but the current one goes, all of them for a deleted page,
  the rows stay as not kept, and the purge is a `system` audit event. It is
  admin only and not on the agent surface.
* **Change**: a knowledge base's size limit is held against the pages the file
  uses, so space a purge frees counts at once. A write is projected at the
  copies it keeps that the file does not already hold, and a delete is never
  refused for the copy it keeps. A purge also sweeps kept bytes no log row
  names.
* **Change**: `GET kb/versions?path=` lists one page's versions, `GET
  kb/pages/{path}?version=` reads one, and `POST kb/pages/{path}/revert` puts
  one back. The agent tools are `brain_history`, `brain_revert`, and
  `brain_get` with `version`; the CLI is `agent-hub kb history <path>` and
  `agent-hub kb revert <path> <version>`. A history page is at most 200 rows.
* **Change**: the Wiki reader carries a History link; a version opens as a
  line diff against the page, or the version itself when the diff is past its
  budget, with a confirmed Revert, Recent changes rows open
  the page's history, and a deleted page's address links to its history.
* **New**: [ADR 0029](adr/0029-knowledge-base-page-history.md) records where the
  history lives and that only the operator's purge takes it away.
* **Update**: the four `wiki-reader` screenshots are captured again for the
  reader's History link.
* **Update**: [Project knowledge base](usage/knowledge-base.md),
  [data model](architecture/data-model.md),
  [agent surface](architecture/agent-surface.md),
  [human interface](design/human-interface.md),
  [operating model](architecture/model.md) and
  [quickstart](usage/quickstart.md).

### A knowledge base syncs with a folder

* **Change**: `agent-hub kb export --dir D` writes every page of a project
  knowledge base to D at its path under `/fs`, with a manifest,
  `.agent-hub-kb.json`, of each page's version. A directory that is not empty is
  refused without `--force`, which writes over it and removes only the files of
  pages the old manifest names and the hub no longer has. A target that would
  leave the folder, and two pages whose paths differ only in case or Unicode
  normalisation, are refused before the directory is created or any file is
  written.
* **Change**: `agent-hub kb import --dir D` lints the folder and writes nothing
  when a page it would create or update has `unparsed_frontmatter`,
  `okf_version_misplaced` or `link_escapes_bundle`. The same finding on a page
  it leaves as it is, and every other finding, `broken_link` included, is a
  warning, so an export always imports back. It then writes each changed page
  guarded by the version the export recorded. A page changed on both sides
  since the export is a conflict, is skipped, and makes the exit code 1; one the
  folder left as exported and the hub changed or deleted is reported as
  `hub newer` and left as is. Any other refusal from the hub stops the import,
  listing what was made and what was not attempted. `--dry-run` lists the
  changes and writes nothing; `--prune` deletes pages the export had and the
  folder no longer has.
  A bundle carries at most 10,000 pages and 256 MiB.
* **Add**: [ADR 0030](adr/0030-knowledge-base-folder-sync.md) records the
  decision.
* **Update**: [Project knowledge base](usage/knowledge-base.md) describes both
  commands, the manifest, the lint gate, the conflict rule and the exit codes;
  the [quickstart](usage/quickstart.md) lists them.

## 2026-10-08

### Releases carry standalone binaries

* **Change**: a release attaches a standalone binary archive per platform:
  static Linux on x86_64 and arm64, and macOS on Apple silicon and Intel, each
  with a SHA-256 checksum. The binary is the default build, server and client in
  one.
* **Update**: [Quickstart](usage/quickstart.md) adds installing from a release
  binary.

## 2026-10-07

### The serving hub takes an online backup

* **Change**: a running hub can back itself up. `POST /api/v1/backups`, admin
  only, writes the offline backup's layout and `manifest.json` into a new
  directory named for the UTC time under `backup_dir` (`HUB_BACKUP_DIR`), so
  `check` and `restore` read it unchanged. Online backup is off while
  `backup_dir` is unset; one inside the data directory is refused at startup and
  again, symlinks resolved, before each backup. One backup runs at a time.
* **Change**: `agent-hub backup --url URL` asks a running hub for the backup as
  the admin (`HUB_ADMIN_TOKEN`) and prints where it landed. The offline backup's
  refusal while a hub holds the store now names `--url` beside stopping the hub
  and snapshotting the volume.
* **Change**: deleting or overwriting files (artifact and project deletes, a
  prune's commit, a live artifact write and the update that seals it) waits
  while an online backup runs, so the store snapshot never names a blob the
  backup lacks and every copied blob holds the bytes its row describes. The
  blob copy runs off the request workers, so the hub keeps serving.
* **Change**: both backups leave out a project's files that a delete moved
  aside and could not remove, which the next start removes anyway.
* **Update**: [Operations](usage/operations.md) describes the online backup, what
  it guarantees across files, a cron and a systemd timer example, and that old
  backups are the operator's to prune; the [quickstart](usage/quickstart.md)
  lists `backup_dir`; the [operating model](architecture/model.md), the [human
  surface](architecture/human-surface.md) and
  [components](architecture/components.md) name the route and the admin
  boundary it sits behind.

### A question or an approval can carry a deadline

* **Change**: `question_post`, and `signal_append` with kind `approval`, take an
  optional `expires_in_seconds` (60 to 2592000). An approval may name
  `on_expiry` as `approve` or `decline` and declines by default; a question
  closes with no answer. An item still open at its deadline is resolved by the
  hub, recorded with `hub` as the actor and `expired: true`, and agents see it
  in `inbox_read`, `inbox_wait` and the notification trailer as they see a human
  resolution. A decision after the deadline is refused. Out-of-range input is
  refused as `invalid_argument`. The sweep runs under embedded stdio as well as
  over HTTP.
* **Change**: `hub` is a reserved agent id. An agent a store from before already
  holds under it has its token revoked when the hub opens the store, and is
  refused a new one.
* **Change**: the Inbox says what a deadline will do on a waiting row and card
  ("Declines itself in 3h"), and says that an item expired, and how, in Earlier,
  on its card and on the project feed.
* **Update**: [Agent surface](architecture/agent-surface.md) gains a section on
  deadlines, [Data model](architecture/data-model.md) lists the new inbox
  columns, [Human surface](architecture/human-surface.md) describes the wording,
  and [Using the hub as a brain](usage/agents.md) and the `agent-hub` skill tell an
  agent how to ask with a deadline.
* **Decision**: [ADR 0027](adr/0027-deadlines-on-open-items.md) records why an
  agent-set deadline on one item is not retention, so the human remains the
  garbage collector.

### A closed app can be nudged through a target the operator runs

* **Change**: with `notify_url` (`HUB_NOTIFY_URL`) set, the hub POSTs a fixed
  plain-text sentence to that URL when a question, an approval or an enrolment
  request starts waiting on the human. The body names no project, agent, title,
  id or count. `notify_token` is sent as `Authorization: Bearer`, and sends are
  coalesced to one per `notify_interval_secs` (default 60) with a trailing send
  for anything that arrived in the quiet period. Delivery runs in the
  background and never fails the write. Unset, nothing is sent.
* **Change**: `/metrics` carries `agenthub_notify_sends_total` by result, and
  `agent-hub config` lists the three settings with the token masked and the URL
  shown by its origin.
* **Update**: [Operations](usage/operations.md) gains a section with a
  self-hosted ntfy example, [Deploy](usage/deploy.md) shows the two variables,
  the [quickstart](usage/quickstart.md) settings table lists the keys, and the
  [quickstart](usage/quickstart.md), [human surface](architecture/human-surface.md)
  and README say that a closed app still raises nothing unless a target is set.
* **Decision**: [ADR 0026](adr/0026-contentless-notify-target.md) refines ADR
  0016: an operator-chosen target and a contentless body are added, and Web
  Push stays deferred.

### A question can suggest answers the human picks with one tap

* **Change**: `question_post` takes an optional `options`, 2 to 6 suggested
  answers of at most 80 characters each, trimmed, one line, none blank and no
  two the same. A list outside those bounds is refused whole with
  `invalid_argument`. The options ride in the question's payload, so every read
  of the question returns them as `payload.options`. A pick is an ordinary
  answer whose body is the option's text.
* **Change**: the inbox shows a question's options as quick answers above its
  composer, on the open card and under a row's Reply. One press answers, with
  no confirmation, and the free-text composer stays.
* **Update**: [Agent surface](architecture/agent-surface.md) describes
  `options` and how a pick reads back; [Human
  surface](architecture/human-surface.md) replaces "not yet shipped" for quick
  answers with the behaviour; [Data model](architecture/data-model.md) names
  the question payload's fields. The `agent-hub` skill tells an agent when to
  pass `options` and to compare the answer body with them.
* **Update**: the open inbox item screenshots (`inbox-item`, both widths and
  themes) are recaptured, since the seeded open question now suggests answers.

### An artifact version can be held live while an agent writes it

* **Change**: a version can be held live while an agent writes it. The MCP tool
  `artifact_draft` mints the next version and points the artifact at it, and
  every later call mutates that one version in place; `artifact_update` seals it
  by moving the current version onto it. The artifact's default public URL keeps
  serving the last sealed version throughout, so a published link never shows
  half-finished work. The live version is read at `?version=N`, or at `?live=1`
  when its number is not known.
* **Change**: `GET /api/v1/artifacts/:id/live` reports the live state (`live`,
  `idle` or `sealed`), the version, `live_rev`, the agent and the session, and
  the artifact viewer shows a live band naming the agent.
* **Update**: [Artifacts](usage/artifacts.md) replaces its "no live editing"
  statement with the live model; [Agent
  surface](architecture/agent-surface.md) lists `artifact_draft` and [Human
  surface](architecture/human-surface.md) lists the live route and the viewer's
  live state. The `agent-hub` skill's artifact reference tells an agent to hold
  a version live and open the returned viewer URL in its own browser.
* **Decision**: [ADR 0025](adr/0025-live-artifact-versions.md) records that a
  live version is a pointer on the artifact and not a draft, and why the public
  URL holds still while one is live.

### The artifact viewer's comments bar holds the bottom of the viewport

* **Fix**: the viewer's comments bar was built at the end of the document, so it
  floated mid-page while the document scrolled and left the viewport with the
  last paragraph. It holds the bottom of the reader's viewport now, above the
  phone's fixed tab bar, and the document scrolls under it. A regression check
  reads the bar's own geometry at rest, mid-scroll and at the end of the
  document, so a bar that scrolls away fails the run.

## 2026-10-06

### The embedded tailnet ships in the default build

* **Change**: the `tailnet` feature joins the default feature set, so the
  embedded tailnet endpoint is compiled into every default build. It stays
  opt-in at runtime: `HUB_TAILNET` is still what joins the tailnet, and the
  container image, built with `--no-default-features`, does not carry it.
* **Update**: [Quickstart](usage/quickstart.md) says the endpoint is compiled in
  by default rather than needing `cargo build --features tailnet`.

### Agents are told what needs attention on the next tool result

* **Change**: every successful MCP tool result may carry a `notifications`
  member listing what needs the caller's attention: an answer to a question it
  posted or a decision on an approval it posted, and events matching a standing
  subscription it registered with the new `notify_subscribe` tool
  (`notify_unsubscribe` removes one). Each item is delivered once, tracked by a
  server-side cursor keyed on the agent's actor.
* **Update**: [Agent surface](architecture/agent-surface.md) documents the
  trailer, the two tools, and the delivery-once rule.
* **Change**: the `agent-hub` skill gains `references/notifications.md` and
  `references/subscriptions.md`.
* **Update**: [Using the hub as a brain](usage/agents.md) tells an agent to read
  the trailer and to subscribe instead of polling, and
  [Data model](architecture/data-model.md) lists the per-agent feed cursor and
  the two notification tables.
* **Decision**: [ADR 0024](adr/0024-notifications-on-the-tool-result.md)
  records that notification lives in the hub rather than in each harness.

### The behavioural invariants move to Playwright Test

* **Change**: `.agents/scripts/invariants.py` is replaced by
  `e2e/invariants-01-shell.spec.mjs`, `e2e/invariants-02-decisions.spec.mjs`,
  `e2e/invariants-03-screens.spec.mjs` and `e2e/invariants-04-project.spec.mjs`,
  on Playwright Test, under the `invariants` project and its own seeded hub.
  The script and the `web/invariants` make target are gone, and `web/e2e` runs
  the whole browser suite. The checks assert rendered values and behaviours
  with web-first assertions rather than driving Playwright by hand with fixed
  waits. The router exposes its registered screen list to the render-guard
  check, which is the same shape as the sync counter the shell already exposes.

### The PWA static checks move onto standard tools

* **Change**: the PWA's static checks are Vitest specs rather than
  `.agents/scripts/check-web.py`. The stylesheet and design-token rules (token
  presence, contrast, the one palette, the 12px type floor) live in
  `.agents/js-tests/styles.test.mjs` over the `css-tree` parse; the build and
  asset rules (the served asset table, the vendor manifest, the glyph set, the
  native-modal ban, the first-party script parse, the shell basics) live in
  `.agents/js-tests/web-assets.test.mjs`. The `make web/check` target is gone
  and `make web/units` runs both.
  [ADR 0023](adr/0023-prove-the-interface-with-standard-tools.md) records the
  decision, and the [contributor guide](contribution/guide.md) the tooling.
* **Update**: [Human surface](architecture/human-surface.md) names
  `make web/units` for the vendor manifest check.

### The scripts fold into skills, and the accessibility audit moves to Playwright

* **Change**: `.agents/scripts/` is being reduced to the checks that still have
  no standard tool. `hub_harness.py` is the `seeded-hub` skill and
  `wiki_screens.py` moved into the `capture-wiki-screenshots` skill. The bundle
  is validated with `okf validate` rather than a bespoke script, and the emoji,
  agent-work-identifier and hook-fixture scripts and hooks are gone.
* **Change**: the accessibility audit is `e2e/a11y.spec.mjs`, on
  `@axe-core/playwright` under Playwright Test, replacing `a11y.py`. The
  [contributor guide](contribution/guide.md) records the tooling.
* **Change**: the focus-ring and Connect-spacing check is
  `e2e/focus-rings.spec.mjs`, on Playwright Test, replacing `focus-rings.py`. It
  runs in its own projects for the three widths it needs, one a coarse pointer,
  against their own seeded hubs.

### The frontmatter runner moves to Vitest

* **Change**: `.agents/scripts/test-frontmatter.mjs` becomes
  `.agents/js-tests/frontmatter.test.mjs`, on Vitest, and `make web/frontmatter`
  is removed. The three layers are kept: the fixture corpus compared byte for
  byte, the properties over generated input, and the differential layer that
  answers generated cases with the Rust reference through cargo. The
  differential skips rather than fails without a toolchain, and runs in
  `make check`, where cargo is present.

### The wiki publishes to GitHub Pages

* **Add**: `.github/workflows/pages.yml` renders the bundle with the okf-wiki
  action and deploys it to Pages, after the repository's own validator. The
  action runs the published image, so the mermaid diagrams render with no
  network. Pages must be set to build from a workflow once.

### The wiki gains diagrams

* **Add**: mermaid diagrams where a picture carries more than the prose: the
  one-process shape in [Overview](overview.md), the endpoint and wrapper
  boundaries in [Components](architecture/components.md), the two kinds of
  durable state in [Data model](architecture/data-model.md), and the session
  start and question sequence in
  [Agent surface](architecture/agent-surface.md).

### The container can be deployed as a service

* **Creation**: added [Deploy the hub as a service](usage/deploy.md), a guide to
  running the container under systemd with Podman Quadlet or Docker, with an
  auto-start policy, `loginctl enable-linger` so a per-user service starts on
  boot with no login, and the compose file. The repository ships the Quadlet
  unit as `deploy/agent-hub.container`.

## 2026-10-05

### The guide is served over MCP as a skill

* **Add**: the hub declares the final Skills extension
  (`io.modelcontextprotocol/skills`) with `directoryRead`, and serves the
  installable `agent-hub` skill over MCP. `skills/list` and `skills/get` return
  the frontmatter and a complete manifest with per-file SHA-256 digests and
  sizes, `resources/read` serves the files under `skill://agent-hub/`, and
  `resources/directory/read` lists the tree. A client that reads the extension
  loads the guide from the hub; one that does not reads the same files as
  ordinary resources. [Agent surface](architecture/agent-surface.md) states it,
  so a bootstrap can hand off to a skill over MCP.

### The skill splits into a served bootstrap and an installable guide

* **Change**: one served document was doing two jobs with two lifecycles. It is
  now a thin bootstrap at `GET /bootstrap/SKILL.md` (the hub's address, how to
  get a token, connect, wire a harness, and prove it), and a progressive
  operating guide under `skills/agent-hub/` with a small `SKILL.md` and
  `references/` read on demand, installed with `npx skills add abn/agent-hub`.
  The bootstrap file is the canonical source and the binary embeds it at build
  time, so a user who installs the skill first can still bootstrap from it.
  [Agent surface](architecture/agent-surface.md) and
  [Human surface](architecture/human-surface.md) name the new path, and
  [Using the hub as a brain](usage/agents.md) points at the installable guide.

### The project artifact stage's More button opens its menu

* **Fix**: the More control in a project's own Artifacts segment drew a
  three-dot glyph and answered nothing. It opens the stage's overflow menu now,
  carrying Start a thread, Comments, Copy raw, Copy path, Copy link, and Open in
  browser, each doing what the stage can honour. Share is left out because the
  stage keeps no share sheet of its own. The menu hangs from its trigger in the
  stage header, the same pattern the project header uses.

### The captures repaint across every screen

* **Update**: the seeded capture set is re-run in full and committed, so the
  images match the code as it stands. The previous set had drifted since its own
  repaint and 49 of 68 frames no longer matched the current build. Every feature
  screen at both widths and both themes: home, inbox and an open item, projects,
  the project feed, sessions and the session detail, artifacts and the artifact
  viewer, wiki and a reader page, search, storage, settings, access, connect, and
  More.

### The viewer's menu hangs from its trigger and the sheet shows one head

* **Fix**: the artifact viewer's overflow menu was anchored to the viewer's own
  positioned box, which spans the index, the stage and the comments column, so
  it painted over the comments column instead of under its button. It is drawn
  in the control band now and hangs from the trigger.
  [Human surface](architecture/human-surface.md) describes that band and the
  menu it carries.
* **Fix**: the comment sheet stacked the drawer's own "Comments" head above the
  compose head, drawing two titles and two close buttons in one sheet. One
  surface shows one head, so the drawer's head belongs to the list alone.
  [Human surface](architecture/human-surface.md) describes the sheet.

### The agent surface answers with what the hub knows

* **Fix**: a share link is absolute once `HUB_PUBLIC_URL` is set, so an agent
  sharing outward hands on a link it does not have to build. Without a declared
  public address it stays relative: an address read off the request is the
  upstream's behind a path-stripping proxy and carries no prefix. The `url` the
  create and read routes return follows one rule, so one link is one answer.
  [Artifacts](usage/artifacts.md) says which is which.
* **Add**: `/api/v1/projects` marks a personal space with `is_personal`, on the
  listing and the single-project read alike. An agent's listing holds every
  other agent's personal space, because a token reads every ordinary project,
  and a client had to infer which rows those were from the `space-` id prefix.
  They stay listed: they are readable, and the hub marks them rather than hiding
  them. [Agent surface](architecture/agent-surface.md) states the field.
* **Fix**: a path sent to the project store that names no namespace is refused
  naming `/fs/`, the one namespace that store has. It used to answer with the
  brain's own refusal, which offered `/kv/` and `/fs/`, and the knowledge base
  has no `/kv/` for a caller to be redirected to. The session store keeps
  naming both, because it has both.
* **Fix**: [Using the hub as a brain](usage/agents.md) claimed there was no
  server-side per-agent feed cursor and that the agent kept its own under
  `recovery_path`. The hub keeps one per agent per project: a `feed_read` with no
  `since` resumes from it and advances it. The session-start sequence drops its
  `since` argument, the recovery document is left to hold what the hub cannot
  know, and [the agent surface](architecture/agent-surface.md) says the same in
  its bootstrap convention.

### ADR 0023: prove the interface with standard tools

* **Add**: [ADR 0023](adr/0023-prove-the-interface-with-standard-tools.md)
  records the decision to prove the interface with standard dev-only tools
  rather than scripts that pattern-match source text: Playwright Test with role
  locators and auto-waiting, `toHaveScreenshot` for visuals,
  `@axe-core/playwright` for accessibility, Vitest for client logic, Stylelint
  and `css-tree` for the stylesheet, TypeScript and `tsc --noEmit` for types,
  and cargo-mutants and Stryker for mutation. `AGENTS.md` gains the "Tests
  assert behaviour, not source text" rule. The migration is phased and each
  phase deletes what it replaces.

### The captures repaint for the focus, chips and inbox fixes

* **Update**: the seeded captures are refreshed after the v1 fixes: the Connect
  focus-ring and spacing work, the status pill on one line, the search scope
  chips, the storage summary on the canvas, the storage and settings rhythm, the
  wiki row overflow and search-index gutter, the inbox gutter, and the
  long-summary subject and message. Both widths, both themes.

### The client toolchain arrives, and the pure functions are held directly

* **Creation**: the PWA gains a Node toolchain of development tools only, in a
  `package.json` of devDependencies with the lockfile committed. There is no
  bundler and no runtime dependency, so the shipped binary and the container do
  not read it. Vitest holds the pure client functions directly, imported from
  `web/` where they live: a summary's split into subject and message, the
  reading of an event's kind into a sentence, and the display path a wiki hit is
  shown under. A rename no longer fails one of these tests, and a branch that is
  dropped does.
* **Creation**: `make web/units` runs that suite and is part of `make check`
  beside the browser gates. `make web/types` type-checks the client sources with
  `tsc --noEmit` over `checkJs`.
* **Update**: [the contributor guide](contribution/guide.md) records the
  targets and the client toolchain. `make web/types` is not a gate yet: the
  first run reports 273 errors over 31 files, and it joins `check` when that
  count reaches zero.
* **Note**: the client browser checks and the pattern-matching source-text
  assertions are unchanged. They are replaced by the phases that port them, and
  deleted as their replacements land.

## 2026-10-04

### The v1 fixes repaint the captures

* **Update**: the seeded captures are refreshed after the v1 fix round, at both
  widths in both themes. The screens that moved are the project feed, artifacts
  and sessions (the section switcher now reads all four labels at the default
  index width), the wiki index and reader, the phone wiki index, Storage (the
  project name is a link), Settings (the Connect row, and the Version row at
  1.0.0), the phone session detail (it now opens inside the project shell), and
  Home (the Unread chip's number). The capture script also clears the data
  directory the hub actually opens, so a second run no longer seeds into an
  existing store and fails.

### Search announces its match position

* **Fix**: the count beside a search result's Next and Previous buttons is now a
  live status. Stepping through matches moves the counter and the current match,
  but nothing a screen reader announced, so the reader was given no position.
  The counter carries `role="status"` and `aria-live="polite"`.

### The wiki tree's directory rows stop addressing pages

* **Fix**: a wiki directory row no longer points at a page. On a desktop the
  full tree already draws what the directory holds, so the row is a label and
  does not navigate; on a phone it drills in through the directory address. A
  row that kept a page address requested a page that does not exist and answered
  "That page is not in the wiki" for a folder drawn in the tree beside it. The
  browser invariants hold the row to a directory address, or none at all.

### Storage and Settings reach the places they name

* **Fix**: the desktop Storage table's PROJECT name opens its project. The name
  was an anchor with no destination, so it was outside the keyboard path and
  clicking it left the hash on `#/storage`. The phone row already linked to the
  project, so the desktop table now uses the same project address and one
  address serves both widths.
* **Fix**: Settings carries a Connect row at both widths, in the THIS HUB group
  beside Storage and Agents and tokens. [Human surface](architecture/human-surface.md)
  says of Connect, "Settings has no field of its own; it links here to change a
  token", but the row was absent, so the only ways back to Connect were a
  refused request or signing out, and changing a token cost the session first.
  The row only navigates: the token is still entered on Connect and nowhere else.

### The v1 release: install paths, changelog and release runbook

* **Add**: [Quickstart](usage/quickstart.md) opens with an install section: the
  container image with a `podman run` line and the required `HUB_ADMIN_TOKEN`, a
  local `podman build` that stamps the commit into the Version row, the compose
  file, and the from-source path. It states the two honest limits up front:
  background push notifications are deferred and the embedded tailnet endpoint
  is experimental. `README.md` carries the same install path and a status
  paragraph that names them.
* **Add**: `CHANGELOG.md` at the repository root records the release in Keep a
  Changelog form, grouped into Added, Changed and Fixed and drawn from the
  conventional-commit history. The repository had no tagged release before this
  one, so the 1.0.0 section covers the project to date.
* **Add**: `RELEASING.md` is the runbook: preconditions, the version bump, the
  annotated tag, the image build and push, the GitHub release and its notes
  taken from the changelog section, post-release verification against the
  published image, and the rollback of the image, the release and the store.
* **Add**: `.github/workflows/release.yml` publishes on a `v*` tag. It builds
  the `Containerfile` with `GIT_COMMIT` set to the tagged commit, pushes the
  image to GitHub Container Registry as the version and as `latest`, probes the
  pushed image's readiness, then creates the GitHub release with the matching
  changelog section as its body.
* **Update**: the shipped version moves to 1.0.0 in `Cargo.toml` and
  `Cargo.lock`. The build script already stamps the commit, so nothing about the
  release is written by hand.

### The wiki index and the section switcher, at the sizes they actually get

* **Fix**: on a phone the wiki index at its root drew a breadcrumb whose only
  crumb was Wiki, which the tools row above already names. The breadcrumb now
  appears only inside a directory, where there is something to go back from.
* **Fix**: on the desktop the project's four section tabs were 284px wide with
  their counts, and the default 300px index pane leaves the switcher 224px, so
  Sessions was clipped to "Se" and butted against the overflow button. The
  index pane is a query container: below 360px the counts drop and the tabs
  take 6px of padding instead of 10, so all four read in full at the default
  width, and at 360 and above the counts come back. At the 260px minimum the
  switcher still scrolls.
* **Update**: [Human interface](design/human-interface.md) states both rules.
  The switcher rule is recorded as a departure in `DESIGN.md`.

### The wiki gains product screenshots

* **Add**: `docs/assets/screens/` holds the main feature screens at desktop
  (1440x900) and phone (390x844) width in both themes, captured from a seeded
  scratch hub with dummy data, and embedded in
  [Human interface](design/human-interface.md),
  [Human surface](architecture/human-surface.md) and
  [Quickstart](usage/quickstart.md). They are refreshed by
  `.agents/scripts/wiki_screens.py`, whose skill is
  `capture-wiki-screenshots`.

## 2026-10-03

### Using the hub as a brain, and the honest harness claims

* **Add**: [Using the hub as a brain](usage/agents.md) is the adoption path for
  the remote-brain use case: the MCP server block per harness, the
  session-start sequence, the one-shot hook form, a migration note for notes
  kept under a harness home, and a plain statement of what is manual.
* **Update**: [Agent surface](architecture/agent-surface.md) describes the
  bootstrap convention as one an agent follows rather than one that replaces
  harness scaffolding, states where the feed cursor lives, and lists the
  share routes on the human surface. `session_start` reports the session
  row's handoff beside the recovery path. [Overview](overview.md) names the
  knowledge base's use case.

### The reviewed edges: store, surface, and operations

* **Update**: the event ceiling bounds artifact writes and the knowledge
  base's lifecycle signal as well as feed posts; a missing artifact version
  names itself; orphan session brain files are reconciled at startup.
  [Operations](usage/operations.md) documents the practical ceilings, the
  interrupted-restore recovery, and the manual rollback. The MCP gate answers
  a storage failure with its real status. [Agent surface](architecture/agent-surface.md)
  documents the retry and paging contracts the tool schemas now carry.

## 2026-10-02

### Metrics, doctor, and the tailnet rebuild

* **Add**: [Operations](usage/operations.md) documents `GET /metrics` and the
  `doctor` command. The hub overrides its MCP `call_tool` so an unknown tool name
  answers with a hub `not_found` tool result rather than a bare protocol error.
* **Update**: blob IO runs on the blocking pool; the embedded tailnet endpoint
  rebuilds its device on a full session drop instead of only reconnecting the
  listener.


### The practical ceilings, and blob IO off the async workers

* **Add**: [Operations](usage/operations.md) gains a **Practical limits**
  section: sessions are uncapped and a brain file is refused at 1 GiB, a
  project's feed holds `HUB_EVENTS_PER_PROJECT`, a page is capped at 1 MiB and
  a knowledge base file at 1 GiB with history and last-write read by a linear
  scan of the brain engine's own write log rather than a hub index, an artifact
  blob is capped at 50 MiB, and a search reads at most 5000 rows.
* **Update**: Artifact blob reads and writes run on the Tokio blocking pool, so
  a transfer up to the 50 MiB cap no longer holds an async worker.

### The feed has a ceiling, ids survive a clock jump, and the hub drains

* **Add**: [Operations](usage/operations.md) documents the project event ceiling
  (`HUB_EVENTS_PER_PROJECT`), the graceful SIGTERM drain, and the `health`
  subcommand the container healthcheck runs. [Agent surface](architecture/agent-surface.md)
  notes the ceiling on `signal_append`; [quickstart](usage/quickstart.md) lists
  the new keys.
* **Fix**: event ids are clamped forward across a wall-clock step, and readiness
  reflects a store that is newer than the binary.


### Backup, restore and honest readiness

* **Add**: [Operations](usage/operations.md) is the runbook for backup, verify,
  restore, upgrade and roll back, and it is linked from the usage index.
* **Update**: [Human surface](architecture/human-surface.md) states the readiness
  probe's real legs (supported version, store identity, content, free space)
  rather than the single version query it used to describe.


### Log headings are OKF-conformant

* **Update**: `docs/log.md` gives each date a bare `YYYY-MM-DD` heading with the entry title as a subheading, so the bundle passes the OKF validator's `okf/reserved/log-date-heading` rule as well as the repository check.

### The agent can wait, and discovery is self-serve

* **Add**: [Agent surface](architecture/agent-surface.md) documents `inbox_wait`,
  an agent-side long poll over the same ticker the enrolment poll uses, and the
  `since` cursor on `inbox_read`; the guide is served as an MCP resource
  (`agenthub://skill`) with its URL returned by `whoami`; and `question_post` no
  longer advertises an addressee, since agent-to-agent messaging is deferred.
* **Update**: `agent-hub tools` prints the `inputSchema`; the API no longer
  advertises the ignored `actor`/`session_id` on artifact publish, and the
  duplicate `session_id` on `feed_read` and `artifact_list` is gone.

### The first run works end to end

* **Fix**: [Agent surface](architecture/agent-surface.md) records that deciding
  an `enrol_request` admits or refuses the agent in the decision's own
  transaction, with the subject read from the event so a forged approval admits
  nobody, and that the enrol client records the hub URL beside the token.
  [Quickstart](usage/quickstart.md) documents the startup line and that the
  control surface needs an admin token even on loopback.
* **Update**: [Human interface](design/human-interface.md) gains a First run
  section: the rail route to Projects, the empty Home call to action, the token
  issue on a phone, the setup in the reveal, the enrolment reason, and the
  no-admin-token Connect state.

### Wiki comment threads, the page sheet and the Home review line

* **Add**: [Project knowledge base](usage/knowledge-base.md) and the
  [human interface](design/human-interface.md) record the shipped wiki surface
  in full: comment threads on a page (open threads, a quoted anchor, resolved
  threads folded under a count), the New page and Save to wiki sheet, the
  full tree above 768px and the drill-in below, the stale clock glyph, the
  agent-instruction empty state, and the project header overflow.
* **Update**: The storage report carries `knowledge_needs_review`, the Home
  storage card's one housekeeping line. The store's `kb_comments` table is
  migration 18.

### The wiki reviews, promote and conflict path

* **Update**: [Project knowledge base](usage/knowledge-base.md) adds the
  **Review** control on the reader, the **Needs review** list, **Save to wiki**
  from a session brain entry, and the editor's in-place conflict path (keep
  yours or reload the hub's). Rename and move, a rendered-compare merge, and
  page comment threads are not built; the hub has no page-comment store.

## 2026-09-29

### The wiki human surface

* **Add**: [Project knowledge base](usage/knowledge-base.md) documents the
  project's fourth section, Wiki: one `meta=1` tree, a reader that keeps the
  frontmatter out of the body and lists backlinks, and an editor that writes
  back the version it read. The Wiki home carries the counts and the Recent
  changes and Lint screens; rename, move, a rendered-compare merge, comment
  threads and the review action are not in this version.

## 2026-09-28

### The share and access copy round

* **Update**: [Artifacts](usage/artifacts.md) states the share sheet's real
  shape: **Make link** before a share, the link with a copy control and a
  confirmed **Revoke link** when one exists, and **Delete artifact** for a
  protected artifact, whose withdrawal is deletion because the key never reached
  the hub.
* **Note**: The agent screen renders no read or write level, because a grant is
  access or no access. The project's own screen carries the lock control (make
  confidential, make public), and an agent that makes a project confidential
  leaves a `signal` feed event.

## 2026-09-26

### Artifact session lineage is creation, not the last write

* **Correct**: [Artifacts](usage/artifacts.md) and the
  [data model](architecture/data-model.md) said an artifact records the session
  it was "published or updated" during. The row, the search document, the
  session listing and the API always carried the **publishing** session; only the
  update's own feed event carries the writer. An update leaves the artifact's
  session lineage alone, as it leaves `actor` alone. The 2026-09-22 entry below
  is corrected by this one.

### Revocable artifact share links and version pinning

* **Update**: [Artifacts](usage/artifacts.md) documents capability-based sharing for
  plain artifacts via revocable tokens, version pinning to the snapshot active at share
  creation, access concealment preventing existence oracles, and key-governed
  lifecycle for encrypted artifacts where withdrawal is deletion.

## 2026-09-25

### The operating model is stated once

* **Add**: [Operating model](architecture/model.md) states the trust posture in
  one place: one operator, their agents, one node; open by default; every agent
  reaches every ordinary project and its own personal space; a confidential
  project needs a grant, and a grant is access or no access; the admin boundary
  is privilege and not use; a plain artifact link is a revocable capability and a
  protected artifact's key never reaches the hub. Multi-tenant isolation and
  defence against a caller that already holds a token are not goals.
* **Update**: [Human surface](architecture/human-surface.md) no longer claims the
  whole REST surface is admin-only; it names the privileged verbs and links the
  model page. [Agent surface](architecture/agent-surface.md) and
  [Data model](architecture/data-model.md) record that grants carry no read or
  write levels.

### Markdown rendering sanitization and plain-text comment quotes

* **Update**: [Human surface](architecture/human-surface.md) documents that rendered
  session markdown files are sanitized through an allowlist to strip dangerous elements
  and URL schemes, and resolved comment quotes are inserted safely as plain text.

### Final-path artifact blob orphaning and startup reconciliation

* **Update**: [Data model](architecture/data-model.md) documents immediate cleanup of
  promoted final-path files on update transaction failure, and startup reconciliation of
  on-disk artifact blobs against committed version metadata.

### Idempotency namespaces, target binding, and resolved question immutability

* **Update**: [Agent surface](architecture/agent-surface.md) documents that idempotency
  keys are namespaced per operation and event kind, bound to target entities to prevent
  cross-entity replay, and that resolved questions reject subsequent answers.

### Session ownership atomicity, guarded transitions, and lease validation

* **Update**: [Agent surface](architecture/agent-surface.md) documents that ended or
  reassigned sessions clear active leases and reject subsequent brain writes.
* **Update**: [Data model](architecture/data-model.md) documents guarded session store
  transitions and file-locked validation of session activity on brain mutation.

### Search boundary body truncation, write limits, and locked fork snapshot

* **Update**: [Components](architecture/components.md) documents character-boundary
  safe search body truncation at the indexing boundary.
* **Update**: [Data model](architecture/data-model.md) documents that session forking
  copies the brain file under the source session's write lock through the engine to
  guarantee snapshot consistency across search rows and audit log entries.

### Project write barrier and generation-scoped deletion quarantine

* **Update**: [Data model](architecture/data-model.md) records the project status
  column in the projects table. Active project status and authorization are
  validated inside write transactions across events, artifacts, sessions, and
  comments, and deletion isolates file directories into unique quarantined paths
  prior to metadata removal to protect recreated slugs.

## 2026-09-24

### Round 13.1: Version row, agents as a list and item, summary between hairlines

* **Update**: [Human interface](design/human-interface.md) records the desktop
  changes round 13.1 makes. Settings' THIS HUB group ends with a Version value
  row, which reads the version and short commit the binary was built from and
  promises no destination. Agents and tokens is a list-and-item screen with an
  index beside a stage, not a Settings-shaped form. The storage summary sits on
  the canvas between hairlines rather than in a card.

### Desktop round 12 spine: knowledge tone and content/chrome split

* **Update**: [Human interface](design/human-interface.md) documents the
  storage-only knowledge tone (an olive pair set apart from the question tone
  so a byte count does not read as a question) and the content/chrome split:
  round 12's content rules hold at both widths, its chrome rules are phone-only,
  and the desktop keeps its reserved 52px header and 40px control row.

## 2026-09-23

### Phone inbox and search tools rows, flat rows, and search title mark

* **Update**: [Human interface](design/human-interface.md) documents the mobile
  inbox tools row (filter field plus Unread chip without sync line), the mobile
  search tools row with horizontally scrollable scope chips and counts, flat
  rows without card wrappers, and search result titles shown once with an
  action-tinted mark highlight.

### Home screen mobile welcome-first and flat rows

* **Update**: [Human interface](design/human-interface.md) documents Home
  welcoming at rest on a phone (no bar, no gear, greeting at x 16 following time
  of day, status sentence in prose, flow chips, and flat rows with storage
  summary as the only card) and compressed when scrolled past the greeting
  (standard 52px bar fading in with title at x 48 and chips pinned in the 44px
  sticky tools row).

### Project tools row, brain entry stage, and artifact agent grouping

* **Update**: [The human surface](architecture/human-surface.md) documents the
  mobile project tools row with segmented tabs and filter toggle, reading
  brain fs files in the stage with rendered preview, provenance line, and back
  control, reading kv entries in the entry aside with copy control, and
  grouping artifacts by publishing actor in the artifact index.

### Phone frame, tools row, and more tab root

* **Update**: [Human interface](design/human-interface.md) documents the phone
  frame (collapsing header from 76px at rest to 52px when scrolled past 20px,
  with hysteresis expanding at 8px, 120ms ease-out transition, instant under
  reduced motion, and a 48px reserved leading slot), the sticky 44px tools row
  with no-wrap chips and buttons, and the five-tab mobile navigation bar
  introducing the More tab root for Storage, Agents and tokens, Settings, and
  the sync line.

### Artifact thread counts on listing and reads

* **Update**: [The agent surface](architecture/agent-surface.md), [Human
  surface](architecture/human-surface.md), and [Artifacts](usage/artifacts.md)
  document thread counts across all versions (`comments_count` and
  `comments_open`) on artifact reads and listings over REST and MCP.

### Artifact author recording

* **Update**: [The agent surface](architecture/agent-surface.md), [Data
  model](architecture/data-model.md), and [Artifacts](usage/artifacts.md)
  document author persistence on artifacts. Publishing records the resolved
  principal identity in `artifacts.actor`, which cannot be forged or supplied by
  the caller. Updating an artifact retains the original creator. Artifact
  queries, listings, and reads across REST and MCP carry the author field,
  returning null for rows that predate the column.

### Read single brain entry over REST

* **Update**: [The human surface](architecture/human-surface.md) documents
  `GET /api/v1/sessions/:id/brain/entry?path=`, returning one entry's text
  content, kind, size, and written timestamp when recorded. Directory paths
  answer 409 Conflict, non-UTF-8 bytes answer 422 Unprocessable Content, and
  reads against missing brains answer 404 without creating a file.

### The shell's keyboard path and pane resizing

* **Update**: [Human interface](design/human-interface.md) documents `/` going
  to the list's own filter field rather than to the Search screen, and `c`
  toggling the comments aside, which is the keyboard path the design's shell
  asks for.

## 2026-09-22

### The design contract is written down

* **Add**: `DESIGN.md` at the repository root states the design contract for
  the human surface: tokens and the one documented deviation, the type scale
  and the 12px floor, the twelve glyphs, the one shell (rail, index, stage,
  aside) and the rule that the frame does not move, the components, the
  screens, the interaction and keyboard rules, the alert hierarchy, the copy
  voice, and the twelve build gates. It records where the build deviates from
  the designer's handoff and why.
* **Update**: [Human interface](design/human-interface.md) corrects its
  desktop description to the app rail that ships and points at `DESIGN.md`
  for the designed shell.

### Session lineage for artifacts and feed

* **Update**: [The agent surface](architecture/agent-surface.md), [Data
  model](architecture/data-model.md), and [Artifacts](usage/artifacts.md)
  document session lineage on artifacts and session filtering across feed and
  artifacts. Artifact publish and update record the caller session derived from
  the authenticated principal, with callers unable to forge lineage. Feed and
  artifact listings support optional session filtering via REST routes and MCP
  tools (`feed_read`, `artifact_list`), returning empty results when querying
  an unknown or pruned session. Artifact search documents are preserved during
  session pruning.

## 2026-09-23

### Agent self-enrolment and pending token refusal indistinguishability

* **Update**: [The agent surface](architecture/agent-surface.md) documents
  the self-enrolment workflow (`agent-hub enrol`, `POST /api/v1/enrol`, and
  `GET /api/v1/enrol/status?wait=N`), operator approval and refusal via inbox,
  secure 0600 token storage in `config.toml`, and the security invariant
  guaranteeing pending token refusal is byte-for-byte indistinguishable from
  unrecognised tokens.

## 2026-09-22

### Unified TOML configuration and inspect commands

* **Update**: [Quickstart](usage/quickstart.md) documents layered TOML
  configuration (`config.toml`) shared by hub and client across system and
  user locations, overridden by environment variables, and the `agent-hub config`
  inspection commands (`--path`, `--check`).

### Trust removal and confidential projects

* **Update**: [ADR 0021](adr/0021-the-token-is-the-identity.md) moves to
  stable as trust is removed from the principal, policy, API, and schema.
  Authenticated agents read and write all ordinary projects, and confidential
  projects are completely absent without an explicit grant.
* **Update**: [Data model](architecture/data-model.md),
  [Quickstart](usage/quickstart.md), and [Overview](overview.md) remove
  `HUB_TRUST_DEFAULT` and trust levels from agent records, and document
  confidential projects.

### Project deletion overflow menu and typed confirmation manifest

* **Update**: [The human surface](architecture/human-surface.md) documents
  the project deletion flow: an overflow menu in the project header with
  Project settings, Copy path, and Delete project (excluded on personal
  spaces), a dedicated 330px modal dialog featuring an impact manifest with
  counts for Artifacts, Threads, Files on disk, and Agents that have written,
  and slug-matching typed confirmation before execution.

### Settings gear relocated to home and project creation sheet

* **Update**: [The human surface](architecture/human-surface.md) documents
  relocating the Settings gear control from the Projects header to the Home
  header at phone viewports (< 720px), replacing the Projects header gear with
  a 36px New project button, introducing a dedicated Projects empty state with
  a 48px primary action, and adding the responsive project creation sheet and
  modal with live slug derivation and conflict resolution.

### Grouped settings layout, segmented controls, and alert states

* **Update**: [The human surface](architecture/human-surface.md) documents
  the Settings screen organized into four groups (Appearance, Alerts, Access,
  This browser) with seven controls total and no sub-pages except Access.
  Appearance provides segmented controls for Theme and Density with pointer-derived
  consequence copy, and a switch for single-key shortcuts. Alerts renders four
  states (Not asked yet, Granted with master switch and kind toggles, Blocked,
  or Unsupported). This browser documents local token retention and forgets it
  locally upon signing out without affecting other browsers or agents, with an
  ink Sign out action behind confirmation. On mobile (390px) groups stack
  vertically with 12px mono uppercase labels; on desktop (1100px) groups render
  in a two-column layout with 132px label column and 560px cards.

### Radius hierarchy, fixed trigger labels, and glyph additions

* **Update**: [The human surface](architecture/human-surface.md) documents
  the interface radius hierarchy and trigger conventions: containers are
  rounder than what they contain, pills are reserved for values rather than
  doors, and dropdown or action triggers use regular button radius with a fixed
  label, a chevron indicator, and a value chip. The Access row in Settings
  renders the 17px ID card glyph instead of the key glyph. Additional glyphs
  for ID card, sign-out, trash, bell, bell-off, and check are added to the
  icon system.

### Desktop home layout and inline waiting row actions

* **Update**: [The human surface](architecture/human-surface.md) documents
  the desktop Home layout: a single 640px measure column held left against
  the permanent app rail with natural margin filling remaining window width,
  and inline action buttons (Approve for approvals, Reply for questions)
  rendered directly on waiting rows at desktop widths.

### Desktop storage screen

* **Update**: [The human surface](architecture/human-surface.md) documents the
  desktop Storage screen layout from 720px: four summary tiles across the top
  (On Disk, Artifact Blobs, Session Brains, and Reclaimable with a Prune all action)
  followed by a full-width multi-column table replacing mobile drill-down cards.
  The table details per-project usage across Share, Total, Blobs, Brains,
  Reclaimable, Last Write, and Prune. Projects with no ended sessions show a dash
  for reclaimable space rather than 0 B, Prune buttons appear solely on rows with
  reclaimable bytes, and free host disk space is omitted with an explanatory footnote.

### Desktop search layout, preview stage, and match highlighting

* **Update**: [The human surface](architecture/human-surface.md) documents the
  desktop Search layout from 1100px: a 420px results index beside a preview
  stage, allowing readers to preview search results without opening. Match
  highlighting marks the active match with `--accent-bg` and a 1px accent ring,
  and others with background alone, paired with a match counter and step
  controls in the stage header. Scope pills include an interactive dismissible
  project filter chip, and result groups remain in a unified list.

### Desktop artifacts list grid and three-pane viewer

* **Update**: [The human surface](architecture/human-surface.md) documents
  the desktop artifacts list and viewer layout. The gallery presents a 5-up card
  grid at desktop widths with 9px unselectable preview ornaments, a lock tile
  for encrypted artifacts, a Group trigger button with value pill, and a Cards
  and Table view segment. The viewer redraws into a three-pane desktop shell with
  a 280px index column, a 640px document measure, and a 320px comments margin
  column. Resolved comment threads carry a check glyph and the word Resolved.

### Desktop four-zone layout for sessions and brain file viewer

* **Update**: [The human surface](architecture/human-surface.md) documents the
  desktop four-zone layout for Sessions: the navigation rail, 340px session
  index, 300px brain tree pane, and dedicated file viewer in the stage. Session
  rows maintain a 44px height with two-line layout showing id and working name,
  the ended group header carries prune all with size, handoff notes display
  directly in the detail header, and brain tree items render full file names
  without truncation.

### Desktop project screen layout, aside, and inline actions

* **Update**: [The human surface](architecture/human-surface.md) documents the
  desktop project screen layout: a 320px aside at 1280px and above (toggleable
  from 1100 to 1279px) with three sections (Right now, Storage, and Latest
  artifacts), and inline Approve and Reply controls on feed rows.

### App rail, pane layout zones, and prose measure

* **Update**: [The human surface](architecture/human-surface.md) documents the
  desktop shell layout: a permanent vertical app rail replacing the horizontal
  top bar (200px fixed at 1100px and above, 56px icon rail at 720 to 1099px),
  the four layout zones (Rail, Index, Stage, and Aside) across breakpoints,
  exclusion of personal agent spaces from the rail, and relocation of the
  viewport width cap to a 640px measure container for prose.

### Agent creation and project grant forms on access screen

* **Update**: [The human surface](architecture/human-surface.md) documents
  the restored agent creation and project grant controls on the Access screen
  (`#/access`). Operators can register new agent identities by id and display
  name, and grant project access with binary assignment.

### The token is the identity

* **Add**: [ADR 0021](adr/0021-the-token-is-the-identity.md) records the
  identity model the hub is moving to: a token names who is calling rather
  than which agent, a declared agent name sets attribution only, every call
  authenticates, ordinary projects are open to any token, and a confidential
  project is reached by grant and is absent to everyone else. Trust is removed
  rather than reinterpreted, and grants are binary.
* **Note**: the record is `proposed`, not `stable`. The interface already has
  no trust; the API, the policy and the served skill still carry it, and the
  divergence is listed in the record itself. It exists because the decision
  lived only in conversation, which is how the two halves came apart.

## 2026-09-21

### Share sheet and per-artifact password choice

* **Update**: [Artifacts](usage/artifacts.md) and [The human surface](architecture/human-surface.md)
  document that the per-project password policy setting has been removed.
  Encryption is a per-artifact choice made when sharing through the share
  sheet in the artifact viewer overflow menu. The sheet provides a public link,
  an optional password switch that encrypts before leaving the device, separate
  copy actions for the link and password, and link revocation.

### Document comments, text anchors, and margin cards

* **Update**: [The human surface](architecture/human-surface.md) and
  [Artifacts](usage/artifacts.md) document inline document comments: open comments
  anchored to the version being read highlight quoted text with a tint and 2px
  underline, point anchors render a gutter pin, and body line-height expands from
  1.6 to 1.7 in commented documents. Minor formatting differences are absorbed
  by normalising whitespace and case. Comments on older versions link directly to
  that version rather than re-anchoring. On mobile, comments render in a bottom
  sheet for individual threads or a full drawer list with collapsed resolved rows;
  on desktop from 900px, prose stays at 560px beside a fixed 272px comments
  margin column with interactive cards.

### Access screen and identity model documentation

* **Update**: [The human surface](architecture/human-surface.md) and
  [the agent surface](architecture/agent-surface.md) document the standalone
  Access screen (`#/access`), replacing the previous trust management model.
  Grants are binary per project; tokens act as their own identities and may be
  shared by multiple agents. The Access screen displays the admin token with a
  copy control and configuration origin note, agent records with personal space
  paths and per-agent token reissue, revocation, and ungranting actions under
  a confirmation dialog, and revoked tokens as history. Confidential projects
  are absent rather than refused.

### Unified chip design across feed and search

* **Update**: [The human surface](architecture/human-surface.md) documents that
  search scope chips follow the project feed's unified chip treatment: 32px
  pills (13/500) on a single scrolling row with sentence case labels and an ink
  fill on the active chip. A pseudo-element provides the 44px tap target floor
  under a coarse pointer. Search chips display no count when no per-scope count
  is known prior to running a query.

### Compact artifact title bar, glyph set, and viewer geometry

* **Update**: [The human surface](architecture/human-surface.md) documents the
  compact 60px artifact viewer chrome: a 44px top row holding the back chevron,
  mono path, and three glyph buttons (start-a-thread or comments with count,
  copy-raw with toast feedback, and overflow menu), and a 16px meta line below
  holding author, version control, size, and age. Prose starts at 104px under the
  24px document title.

### The PWA serves correctly behind a path-stripping reverse proxy

* **Update**: [Quickstart](usage/quickstart.md) documents that a reverse
  proxy may mount the hub on a path (`https://host/hub/`) as long as it
  strips the prefix before forwarding, that the shell normalises a
  trailing-slash-free entry on its own, and that this needs no
  configuration: there is no base-path environment variable.

### Phone shell layering, mobile settings route, and install icons

* **Update**: [The human surface](architecture/human-surface.md) documents the
  phone shell fixes: the fixed tab bar carries `z-index: 20` so list row controls
  cannot paint over it while staying below toasts, dialogs, and drawers. The
  projects index screen at `#/projects` adds a Settings gear icon beside the
  New link so Settings is reachable on a phone from Home without visiting a
  project. The web app manifest includes raster PNG icons (192px, 512px, and
  maskable) generated from the mark and served by the embedded shell table.

### Resolved questions carry attached answers in inbox

* **Update**: [The human surface](architecture/human-surface.md) and
  [the agent surface](architecture/agent-surface.md) document that a resolved
  question in the inbox carries its attached answer object holding who replied,
  when, and what was written, matching the shape returned by `inbox_read`.

### Artifact viewer redraw, version sheet, and grouped list

* **Update**: [The human surface](architecture/human-surface.md) documents the
  redrawn artifact viewer, version sheet, and grouped artifacts gallery. The
  artifacts list groups by Day (default), Agent, or Kind with count badges in
  headers. The viewer eliminates the nested bordered card and inner scroller
  in favour of page-level scroll, 16px gutters, and a 640px prose width; the chrome
  carries a 44px back chevron, mono path, and overflow menu; the document renders
  its own H1. The version sheet replaces inline dropdowns with 44px rows and
  an accent rail marking Current. The comments strip renders only when threads
  exist, and chrome links are never underlined.

### Sessions list and session detail redraw

* **Update**: [The human surface](architecture/human-surface.md) documents the
  redrawn sessions list and detail views. The list groups sessions into active and
  ended sections with counts and a "Prune all" control on the ended header. Rows
  lead with the owner in their meta line, display size in a right-hand column, and
  use a stretched link to make the entire row pressable. The detail view removes
  separate stat cards in favor of a single unified meta line, middle-truncates the
  session ID in a copy control with full ID copied to clipboard and 44px tap reach,
  unifies keys and files into a single brain tree with `kv/` and `fs/` folders and leaf
  names only, and replaces disabled prune buttons with a single primary action and
  informative helper sentence.

### Projects index screen

* **Update**: [The human surface](architecture/human-surface.md) documents
  the projects index screen at `#/projects`, which lists all projects with
  agent, artifact, and footprint counts, amber waiting or accent unread badges,
  and a collapsible fold for personal agent spaces.

### Project feed chips redraw and row grammar

* **Update**: [The human surface](architecture/human-surface.md) documents the
  redrawn project feed chips and row grammar: 32px pills (13/500) on one
  scrolling row with 6px kind dots, sentence case labels, and counts appended
  ("All · 9", "Questions · 2", "Approvals · 1", "Finished · 3"). Selected chip
  carries an ink fill. Artifact and Session chips are dropped as they duplicate
  project tabs, kinds with zero events are hidden, sibling artifact publishes
  from one agent within two minutes collapse into one row ("published N artifacts"),
  and event verbs are lower case and past tense while objects are kept as written.

## 2026-09-20

### Client-side rendering restored for protected markdown artifacts

* **Update**: [Artifacts](usage/artifacts.md) records that browser-side rendering
  is restored for decrypted protected markdown artifacts using vendored `marked.js`
  with total-escaping override, ensuring authored angle brackets remain text while
  supporting callouts and mermaid diagrams. Public markdown artifacts continue
  using server-side rendering.

### Evaluations for multiple tokens and offline knowledge base

* **Note**: [Agent identity and trust](adr/0012-agent-identity-and-trust.md) and
  the [data model](architecture/data-model.md) record that multiple live tokens
  per agent is to be evaluated. It is not being built and is not refused: today the
  system issues one token per agent and records neither device nor last use, so
  supporting multiple tokens would require tracking per-token provenance and timestamps.
* **Note**: [The human surface](architecture/human-surface.md) and
  [the project knowledge base](usage/knowledge-base.md) record that offline reading
  for the knowledge base is to be evaluated: today what is cached is the app shell
  and its assets, while page content is not.

### Embedded stdio is supported with isolation

* **Update**: The operational contract and the [quickstart](usage/quickstart.md)
  document that embedded stdio mode is supported standalone against the local data directory
  as the local admin when no `HUB_URL` is set. Pointing embedded stdio at a data directory
  already held by a running hub fails at startup with a clear message:
  `a hub is already using this directory; set HUB_URL to reach it instead`.

### Device-local snooze for waiting items

* **Update**: [The human surface](architecture/human-surface.md) documents
  device-local snooze for waiting items. Snoozed items leave Waiting on you for
  1 hour, are listed in a Snoozed group where they can be brought back, and
  snoozing is immediately undoable through a toast.

### Decided approvals and answered questions in Earlier

* **Update**: [The human surface](architecture/human-surface.md) documents
  resolved items moving to Earlier alongside read items, showing their outcome
  in words and decision note or answer body without decision controls, with the
  Earlier count reflecting both read and resolved items.

### One markdown renderer for artifacts

* **Update**: [The human surface](architecture/human-surface.md) records that
  markdown artifact rendering is consolidated onto the hub's server-side
  renderer in `src/markdown.rs`, with strict escaping preserved across both the
  public standalone route and the in-app viewer, eliminating client-side
  markdown parsing libraries.

### Artifact events on the project feed link to their destination

* **Update**: [The human surface](architecture/human-surface.md) notes that an
  artifact event row on the project feed links to that artifact in the viewer
  within its project, while rows without an entity destination in the app
  remain unlinked.

### Search matches by prefix with whole-word ranking

* **Update**: [The human surface](architecture/human-surface.md) updates the
  Search row to describe prefix matching: unquoted words match terms that
  begin with the typed query, whole-word matches rank above prefix-only matches,
  and balanced quoted phrases remain exact.

### The shipped skill says how to write for the human

* **Update**: the bootstrap skill served at `/SKILL.md` gains a short section
  on writing for the human: the summary stands alone, the ask comes first,
  detail goes in the body, a question's subject is the question, and nothing
  is thanked or apologised for. The hub is the only thing an agent reads
  before it writes to a person, so the document that teaches the tools now
  teaches the voice with them.

### One way to set a token, and it checks

* **Update**: [The human surface](architecture/human-surface.md) says the
  Connect screen is the only place a token is entered, so a token is never
  kept without the hub having accepted it. Settings keeps no field of its own:
  it says whether this device holds a token and links to that screen to change
  it, beside Sign out. Saving a preference does not touch the token.

### A route change focuses the screen's heading

* **Update**: [The human surface](architecture/human-surface.md) says a route
  change moves focus to the new screen's own heading rather than to the whole
  content region, so the focus ring frames the heading, and that a screen which
  has already placed focus inside itself keeps it.

### Desktop shell polish and vertical centring for Connect

* **Update**: [The human surface](architecture/human-surface.md) notes that
  on desktop the Connect card is vertically centred in the available space.

### Sessions layout on phone width

* **Update**: [The human surface](architecture/human-surface.md) describes the
  Sessions screen phone layout, where the list is shown alone rather than
  stacking beside an unrequested detail pane, an opened session replaces the
  list, closing it returns focus to the opened row, and controls meet the tap
  target floor.

### Feed chips meet the tap target floor on a single scrolling row

* **Update**: [The human surface](architecture/human-surface.md) records that
  the project feed's kind filter chips meet the 44px tap target floor on a single
  scrolling row with sentence case labels and counts, superseding earlier wrapped
  layouts.

### A screen that asks for the access token

* **Update**: [The human surface](architecture/human-surface.md) adds the
  Connect screen, where a reader enters the hub's access token. A refused
  request sends them there with the route it interrupted, the token is checked
  against the hub before it is kept, and a refusal shows the hub's own words
  beside the field. Settings says whether this device holds a token and offers
  Sign out, which asks first and then forgets it.

### The Inbox calls a project by its name

* **Update**: [The human surface](architecture/human-surface.md) says an
  Inbox row's footer and the open card name a project by its display name, and
  by its slug when no name comes with it, as the other screens do.

### An inbox item names its project

* **Update**: [The human surface](architecture/human-surface.md) lists
  `project_display_name` on every inbox item, over REST and over `inbox_read`
  alike, null for an id no project row carries. Home's `waiting_items` are the
  same entries, so their shape is unchanged.

### The decision dialogs take a note

* **Update**: [The human surface](architecture/human-surface.md) says the
  Approve and Decline dialogs offer an optional note, how its count, the hub's
  refusal of one too long and Esc over a written note behave, and that the
  project feed shows the note on the decision's row. The inbox does not list
  resolved items, so it shows no decided approval.

### A search row says what it found

* **Update**: [The human surface](architecture/human-surface.md) says a search
  row draws the event kind and actor of a feed hit, the version and size of an
  artifact hit, and the session name and status of a session brain hit.

### Home lists the waiting queue itself and names the node

* **Update**: [The human surface](architecture/human-surface.md) says Home's
  waiting card is drawn from `waiting_items`, three shown and the rest counted
  from `waiting`, and that Home carries the status strip's node line from
  `node` where the top bar is not on screen. Home is still one request.

### The Storage screen draws a row's four parts

* **Update**: [The human surface](architecture/human-surface.md) says a
  Storage row now shows a project's events beside its sessions, artifacts and
  knowledge, in its bar and in words, that the summary card names the shared
  part of the hub database and gives its size, and that projects holding
  nothing fold under a count while an emptied project keeps its row.

### The screens call a project by its name

* **Update**: [The human surface](architecture/human-surface.md) says the
  Storage rows and their prune dialogs, Home's rows and the search rows name a
  project by its `project_display_name`, and by its slug when no name comes
  with it. Links still carry the slug. The inbox listing carries no display
  name, so its rows still print the slug.

### The storage report weighs only new events

* **Update**: [The human surface](architecture/human-surface.md) says how a
  storage row's `events_bytes` stays cheap on a long feed: the first report
  weighs the feed, later ones add the events appended since, and a committed
  prune, a project delete or ten minutes start it over.

### A decision's note is kept, capped and handed back

* **Update**: [The human surface](architecture/human-surface.md) describes the
  note a decision may carry: stored as `payload.note` on the decision's feed
  event, returned as `decision.note` on the approval's inbox entry, and
  refused with a 413 past 2000 characters without deciding anything. The inbox
  and decision routes join the response table. The served skill document tells
  an agent how to read the outcome of its approval. The dialogs do not offer a
  note yet.

### A feed snippet is never serialized JSON

* **Update**: [The human surface](architecture/human-surface.md) says what a
  search `snippet` is made of. A feed hit shows the event payload's `body`
  when it is a string and the summary otherwise, where it used to show the
  opening of the payload's JSON. The corpus is written as before, so every
  payload word still matches and an existing store needs no rebuild. The
  served skill document tells an agent to put the sentence worth reading in
  `body`.

### A search hit says what kind of thing it is

* **Update**: [The human surface](architecture/human-surface.md) and
  [the agent surface](architecture/agent-surface.md) list what a search hit
  carries by family: `event_kind` and `actor` for a feed hit, `version` and
  `size_bytes` for an artifact, `session_name` and `session_status` for a
  session brain entry. The fields are read after the result is ranked and
  confined, so the order is unchanged and nothing of a project the caller
  cannot see is shown. The served skill document names them for agents.

### Home carries the node and the head of the waiting queue

* **Update**: [The human surface](architecture/human-surface.md) lists two
  more fields on the home response: `node`, the host and mode Storage already
  carries, and `waiting_items`, the newest five items that wait on the human,
  newest first, shaped as inbox entries. `waiting` stays the size of the whole
  queue, and Home is still one request.

### A storage row splits four ways and an empty project keeps its row

* **Update**: [The human surface](architecture/human-surface.md) lists
  `events_bytes` on each storage row and `events_shared_bytes` beside
  `by_kind`, and says how the rows add up: sessions, artifacts and knowledge
  sum to their kinds exactly, and the rows' event bytes plus the shared part of
  the hub store make `by_kind.events`. Every project now has a row, so one a
  prune has just emptied stays listed with zeros.

### Responses name a project as the projects list does

* **Update**: [The human surface](architecture/human-surface.md) lists
  `project_display_name` on the storage rows, on Home's `recent` events and
  `unseen` rows, and on every search hit. It is the name the projects list
  shows, read once per response, and it is null for an id no project row
  carries. The screens still print the slug.

### Edited since review is about bytes, not seconds

* **Update**: [The knowledge base](usage/knowledge-base.md) restates how
  `trust` reaches `edited_since_review`. The write log now notes which write
  brought in a page's newest verification, and the page is edited when its
  newest write stored other bytes than that one. A page an agent writes with
  its own `verified` block no longer reads as edited when the second ticks
  before its write lands, and an edit in the same second as a review no longer
  passes as reviewed.

### A link inside code is not a link

* **Update**: [The knowledge base](usage/knowledge-base.md) says what counts as
  code when links are read for backlinks and lint: a fence that holds a shorter
  fence, an indented block outside a list, and a code span of any length. It
  also says that a page's link to itself neither lists it as its own referrer
  nor keeps it from being reported as an orphan, and names the one case still
  read as prose, an indented block nested in a list.

### A first line that only looks like an opener is refused

* **Update**: [The knowledge base](usage/knowledge-base.md) lists a new cause
  of a 400 from review and promote: a page whose first line starts with `---`
  and is not exactly `---` (`--- # comment`, `---yaml`). The hub used to treat
  such a page as having no frontmatter and wrote a second block above the
  first. A first line of four or more dashes is still body text.

### A thread id names the start of a thread

* **Update**: The served skill document (`GET /SKILL.md`) says that a
  `thread_id` given to `signal_append` must name the event that starts a
  thread, that the id of a reply is refused with the thread to name instead,
  and that a retried write with the same `idempotency_key` is answered with the
  first call's id before its thread is looked at again.

### The design page catches up with the inbox card and search

* **Update**: [Human interface](design/human-interface.md) now records what
  the entry of 2026-09-19 said it did: the inbox card's close control, the
  address being replaced on closing so Back does not reopen the card, where
  focus goes afterwards, Esc leaving a half-written answer alone from the field
  or the Send button, and the query being sent as typed. That entry now names
  the page that recorded each change at the time.
* **Update**: [Human surface](architecture/human-surface.md) no longer says
  that under 1% of the volume no storage segment would be a pixel wide: just
  under the threshold the bar would still be a few pixels.

### The viewer's theme control names where a press goes

* **Update**: [Human surface](architecture/human-surface.md) records the
  artifact viewer's theme control: one glyph, for the theme a press switches
  to, and a name that says so. Both glyphs used to be drawn at once under the
  name "Toggle theme", in the app's viewer and on the artifact page, and for any
  artifact but an HTML one the press in the app's viewer changed nothing.
  The viewer now names the theme in the frame's address, and the framed page
  shows no control of its own, so the two cannot disagree.

### Home's storage bar is to scale or absent

* **Update**: [Human surface](architecture/human-surface.md) records that
  Home's storage card keeps to the Storage screen's threshold. Under 1% of the
  volume it draws no bar and says "Under 1% of the volume is used"; from 1% up
  the fill is the share, with no minimum width. It used to widen the fill to
  two pixels, which no share under 0.6% of the bar is.

### Focus after a card whose row is folded away

* **Update**: [Human surface](architecture/human-surface.md) records where
  focus goes when an inbox card closes and its row sits under a folded Earlier:
  to the Earlier disclosure. It used to stay on the page region.

### Closing the inbox card by its own control

* **Update**: [Human surface](architecture/human-surface.md) records that the
  inbox card's close control leaves the card the way Esc does. The control used
  to push a new address, so Back reopened the card the reader had just closed.

### A review is not an edit since the review

* **Update**: [The knowledge base](usage/knowledge-base.md) says how `trust`
  treats a review's own write. It used to compare clocks only, so a page could
  read `edited_since_review` the moment a human reviewed it on a busy node.

### Tests keep their files under the build tree

* **Update**: The [contributor guide](contribution/guide.md) records where a
  test may write: under `target/tmp`, through the shared test directory or the
  browser harness's scratch root, never the system temp directory, which is
  often memory and keeps what a killed run leaves behind. A hook enforces it.

### The address the hub logs

* **Update**: [Quickstart](usage/quickstart.md) notes that a `HUB_BIND` with
  port `0` takes a free port, and that the `hub listening` log line names the
  address the listener was given rather than the one configured.

## 2026-09-19

### The inbox card, the selection, search as typed, and the checks

* **Update**: [Human surface](architecture/human-surface.md) records the inbox
  card's close control ("Back to inbox" on a phone, "Close" on the desktop,
  named by the words it shows), Esc closing the card except over a half-written
  answer and only on the Inbox, and focus returning to the row the card was
  opened from. [Human interface](design/human-interface.md) recorded Esc alone
  at the time.
* **Update**: [Human interface](design/human-interface.md) records that the
  keyboard selection follows focus into a row, and that `/` on the Search
  screen focuses that screen's own field.
* **Update**: [Human surface](architecture/human-surface.md) records that the
  Search screen sends the query as typed and the hub makes it safe for the
  index. This replaces the earlier note that the screen sends only the words of
  a query.
* **Update**: The storage summary bar is drawn against what is used when under
  1% of the volume is used, and says so; it stays to scale either way.
* **Update**: The [contributor guide](contribution/guide.md) describes the
  Node skip in `make web/check` and `HUB_REQUIRE_BROWSER`, and what the
  accessibility walk covers at its two widths.

### Knowledge base backend and promote

* **Creation**: [Project knowledge base](usage/knowledge-base.md) documents the
  ten REST routes the human surface reads and writes pages through, each with
  its response and its refusals, the path rules both surfaces share, the
  limits, and the `brain_promote` tool.
* **Update**: A page write, delete, review and promote go through one write
  path whether they arrive over REST or the agent tools. A path is made
  canonical before the store, the write log, the search corpus or lint keys on
  it; a key-value path, a control character and a backslash are refused on
  both surfaces.
* **Update**: A review is recorded under the hub's own name for the human and
  takes the version the human read, so a page that changed since is a conflict
  and is not stamped. Deleting a page that does not exist is `not_found` and
  leaves no log row, no signal and no file.
* **Update**: The history scans the whole write log, so `total` is the real
  count and a page keeps its last writer however many writes came after. The
  bound is the knowledge base file's own size limit, and a cut page says
  `truncated`.
* **Update**: A knowledge base page is capped at 1 MiB. A session brain value
  keeps its 4 MiB cap.
* **Note**: There is no move or rename, and wiki links are not followed.

### A search query is words, and a thread is in its project

* **Update**: The served skill document (`GET /SKILL.md`) now says how a search
  query is read: any text is accepted, a quoted phrase is a phrase, punctuation
  and the bare operators are left out, and a query with no word in it finds
  nothing rather than failing. It also says that a `thread_id` given to
  `signal_append` must name an event in the same project.

### Clearing an artifact label on update

* **Update**: `artifact_update` accepts an explicit null or empty string to clear
  an existing label, matching how `envelope: null` unprotects an artifact.
  Omitting the label keeps the current version's label. Described in
  [artifacts](usage/artifacts.md).

### Integrity verification for vendored scripts

* **Update**: Documented the manifest and integrity check for third-party scripts
  under `web/vendor/`. Added guidance to the human surface architecture document
  and contributor guide explaining how `web/vendor/MANIFEST.json` tracks source,
  license, version, and SHA-256 digests.

## 2026-09-18

### Storage you can read and prune from

* **Update**: The Storage screen now matches the design. It names the data
  path and the node, shows what is used against the volume's capacity, and
  stacks a bar by kind over a legend that gives every kind its byte figure,
  including a kind that holds nothing. Each project row carries its total, its
  own bar, the split in words, and a Prune button showing what its ended
  sessions would free. Prune all lists the projects, session counts and bytes
  in a review dialog before anything is sent. Both prunes open on Keep, send
  one request, and can be undone from the toast for 30 seconds. The project
  rows are in the keyboard map, and a hub whose projects hold nothing shows
  the empty state.
* **Note**: The hub reports no per-project share of the event store, so a
  project row splits sessions, artifacts and knowledge only. When the volume
  cannot be measured the capacity is left out and the bar is drawn against
  what is used.

### Home as the day at a glance

* **Update**: Home now matches the design. The title is the reader's day and
  part of day, over a summary line of what waits, what is unread and how many
  agents are active. A "Waiting on you" card in the action tone carries the
  queue's count and the waiting items among the newest events, and hands the
  rest to the Inbox. "Newest across projects" names the project on every row,
  links each to its project feed, and draws the unseen dot from the
  per-project cursor counts. A storage card links to Storage with used
  against capacity, a bar, the same share in words, and what a prune would
  free. When nothing waits and nothing is new, the cards give way to the quiet
  empty state. All of it is read from the one Home response, and the rows join
  the keyboard map.
* **Note**: Described in [human surface](architecture/human-surface.md). The
  Home response has no node name, no project display names and no list of the
  waiting queue, so Home omits the node line, names projects by slug, and
  lists only the waiting items that are among the newest events.

### A project's own settings screen

* **Update**: Project settings ships as its own screen, behind a gear in the
  project header. It edits the name, shows the slug in mono as text because
  the slug is read-only after creation, and sets the artifact password policy
  from a radio group over the hub's three values. Save is disabled until
  something differs, sends one request naming only what changed, and a
  refusal from the hub lands beside the control it is about without costing
  the reader what they typed. Leaving with edits pending asks first. The
  retention card is present and marked reserved, with a link to Storage and
  no control. Delete project sits on the screen behind the existing
  confirmation; the list under the global Settings screen stays.
* **Note**: The architecture and design pages no longer list Project settings
  as intended design.

### Search that answers as you type

* **Update**: The Search screen now matches the design. A 48px field with a
  clear button answers as it is typed in, scope chips narrow it to the feed,
  artifacts or session brains, and a results line gives the count and the time
  the hub measured for the query. Results are grouped by family with the
  matched words marked in each snippet, and the rows join the keyboard map.
  The query and the scope live in the route, so reload and Back keep them.
* **Note**: The screen sends the words of a query rather than its punctuation,
  and builds each marked snippet from text nodes, so neither what a reader
  typed nor what an agent wrote is read as markup or as index syntax. A project
  scope, a date scope and landing on the hit inside its destination remain
  intended design.

### The project feed

* **Update**: The project feed now matches the design. The kind filters are
  one scrolling line of chips led by All. Today and Yesterday are open, and
  older days sit behind an "Earlier" disclosure that carries the hub's count
  of what it holds and pages further back on the feed's own cursor. Rows are
  part of the keyboard map, older days included once they are open.
* **Update**: The feed reads and moves the per-project read cursor. An event
  above it carries a dot, a heavier title and the word "Unread"; viewing an
  unfiltered feed in a visible tab posts the newest id, and a filtered page
  posts nothing. The human surface page no longer says the PWA leaves the
  route uncalled.
* **Update**: An empty feed offers "Copy MCP setup": the connection details
  the hub's skill document gives, filled with this hub's origin and never
  with the reader's own token. Where the browser has no clipboard, as on a
  plain LAN address, the text is shown selected to be copied by hand.

### An inbox that can be read

* **Update**: The Inbox now matches the design. It reads in three groups,
  Waiting on you and Unread with their counts and Earlier for what has been
  read, folded on the desktop. A row carries a one-line body on a waiting
  item and a footer of project and agent; an approval offers Decline beside
  Approve, each asked for in a dialog. Opening a row shows the item as a card
  with its answers at full size, and the open item lives in the address.
* **Update**: Read state reaches the screen. An unread row carries a dot, its
  weight and the word Unread for a reader who cannot see either. Opening a
  row, a swipe right, or the row's Mark read control marks it read, with an
  undo; the header carries Mark all read and an Unread only filter that
  survives a reload.
* **Update**: The Inbox row swipes and the pull to refresh ship, each with a
  control that does the same thing: a swipe left uncovers a waiting row's
  actions and decides nothing, and a last-synced line with a Refresh control
  stands in for a spinner. With reduced motion asked for, nothing slides
  under the finger.
* **Note**: Quick answers on a question, a snooze under a swipe, and a note
  sent with a decision stay intended design.

### A session, its brain as a tree

* **Update**: The sessions screen and its detail view now match the design.
  A session row carries the state dot, the owner, a mono id and size, and a
  chevron into the detail, which shows three stat cards (started, events,
  brain size), the lineage and handoff note, the session's newest feed event
  as one line, and the brain as a drill-down tree: ARIA roles per the
  design, expand and collapse with lazy-loaded children, arrow-key
  navigation, and a real focus trail. The pinned action bar names End session
  and Prune (ends first), which asks first and stays reversible.

### Reaching the app without a mouse

* **Update**: A timestamp is no longer a stop of its own in the tab order. A
  row carried one each, so a long feed cost a Tab press per row and every stop
  said the same date. The full timestamp is still the element's accessible
  name and its hover title, a press or a tap still swaps it in, and the row is
  now what the tab ring reaches. A painted list parks its selection on the
  first row, so the list opens to a reader who has never pressed `j`.
* **Update**: The single-key shortcuts can be switched off. Settings carries
  the switch beside the theme and the density, the help panel says where it
  is, and with it off no character key fires. Esc and Tab are unaffected.
* **Update**: The focus ring survives forced-colours mode. It was a box
  shadow, which such a browser drops, over an outline the rules turned off, so
  a reader there saw no ring anywhere. A transparent outline now sits under
  the designed shadow.
* **Update**: A text field's border is drawn one step darker than the design's
  hairline. An empty field has nothing inside it that says a control is there,
  so its border alone carries the 3:1 non-text minimum. Outline buttons keep
  the hairline, because their own label identifies them.
* **Update**: A toast no longer takes the keyboard from a reader who is
  writing. It still moves focus to its undo otherwise, and the live region
  announces the message and the way back either way.
* **Note**: Described in [human interface](design/human-interface.md) and
  [human surface](architecture/human-surface.md).

### The shell and the project view

* **Update**: The mobile tab bar draws the four destinations as labelled icon
  tabs, with the Inbox unread badge riding on the icon; the desktop top bar
  carries the wordmark, the nav links with the same badge, an inline search
  field with a slash hint, the node line from the storage response and a gear
  to Settings.
* **Update**: Each project is an address of its own. The feed, the artifact
  gallery and the sessions list are segmented tabs under
  `#/projects/<id>/`, every segment marked current with its own route, and
  the older per-project addresses redirect there. The artifact gallery is the
  design's card grid, with a preview tile per card and a real version, size
  and age line. The artifact viewer is a route too (`#/artifacts/<id>`), so
  reload and the browser's Back keep the artifact on screen, and its chrome
  adds a back button, a title and meta line, a version list, a theme control
  and, on desktop, an Open raw view.
* **Update**: A desktop list plus detail layout is a layout primitive screens
  opt into. Sessions is the first consumer, with a 420px list pane beside a
  detail pane at wide widths and the same stacked view on the phone.
* **Note**: Described in [human interface](design/human-interface.md) and
  [human surface](architecture/human-surface.md).

### Remembering an artifact password, honestly

* **Update**: The password gate offers to remember a password only where the
  browser will actually keep it. Opened from inside the app the artifact runs
  in a frame with no origin of its own, where storage is refused, so there the
  checkbox is not shown at all rather than shown and ignored.
* **Update**: A password remembered on an artifact's own page can now be
  forgotten. Once it unlocks the artifact by itself, the page header carries a
  "Forget password" control that drops the stored password and says so in the
  page, and the next visit asks for it again. Described in
  [artifacts](usage/artifacts.md).

### Unlocking a protected artifact inside the app

* **Note**: Unlocking now runs from the Unlock button's activation, which Enter
  in the password field reaches too. Opened from inside the app the artifact
  runs in a frame where the browser blocks a form submission outright, so until
  now the button did nothing there.

### Time, keys, and a theme that keeps up

* **Update**: A timestamp is a component rather than a truncated ISO string. A
  row shows a compact relative form in the reader's own locale and counts it up
  while the app is open; the full local timestamp is the element's accessible
  name, its hover title, and what one press shows. Described in the
  [human interface](design/human-interface.md).
* **Update**: The screens with rows share one keyboard map: `/` for search,
  `j` and `k` through the rows, Enter to open, `a` and `r` for the two inbox
  verbs, Esc for what is on top, and `?` for the list. The selection is a real
  focus move, and nothing fires while the reader is typing or while a dialog
  holds the keyboard.
* **Update**: With the theme preference on "system", an operating system that
  changes while the app is open now changes the app with it, status bar
  included. It previously waited for the next navigation. The preference is
  read back defensively, so a value this app never wrote cannot reach the root
  element.
* **Note**: An empty-state component carries the design's four parts and the
  copy for each screen in one table. The screens still show their own single
  sentence; each adopts the component as it is reworked.

### The app asks and reports in its own components

* **Update**: Pruning a session now asks first. A confirmation dialog names the
  session, keeps on Esc or on its safe action, holds focus inside itself and
  hands it back to the control that opened it; the prune request goes out only
  once the dialog is answered. Before this, the first click pruned. Described in
  the [human interface](design/human-interface.md).
* **Update**: What an action did is reported in a toast that a screen reader
  announces, carrying a counting undo for the 30 seconds a prune stays
  reversible. It sits above the tab bar, dismisses on a swipe down, on Esc or on
  its dismiss control, and one is on screen at a time.
* **Update**: A question is answered in a composer under the item rather than in
  a browser prompt. It is multi-line, sends on Enter where there is a keyboard
  and on its send button everywhere, and a refused send keeps what was typed and
  says why in place.
* **Update**: No screen opens a browser prompt, confirm or alert any more.
  Approving, revoking a token, deleting a comment and deleting a project all ask
  through the same dialog, a failed write reports in the toast or in the
  composer that tried it, and focus follows the control that was pressed instead
  of falling to the top of the page. Described in the
  [human surface](architecture/human-surface.md).
* **Note**: The prune dialog names the session and its agent but no size: the
  session listing route reports no byte count, and no number is shown that the
  hub has not given.

### A kind is a shape, and the type scale stands up

* **Update**: Each event kind now draws its own mark inside the badge, and the
  row carries a hidden word for the kind, so nothing in a feed row is told
  apart by colour alone. Described in the
  [human interface](design/human-interface.md).
* **Update**: Headings sit where the foundation puts them: 28 for a page title,
  22 for a section, 12 uppercase for a group label, with the item title,
  row title, meta and mono steps available to the screens that want them.
  Buttons keep their labels on one line, respond to hover and press, and drop
  to the inline size inside a row while keeping a full target under a thumb.
* **Note**: The action tone and the approval kind are one value again, and the
  palette exists once: the manifest, the shell, the icon and the artifact frame
  are checked against the token file, and a colour that is not a token fails
  the check.

### A project decides what it asks of a protected artifact

* **Update**: The artifact password policy is enforced where artifacts are
  written, so every writer meets it: a project set to require protection
  refuses content with no envelope, one that keeps its artifacts in plain text
  refuses content with one, and `optional`, the default, leaves the choice to
  the agent. A refusal names the project and what to send instead, and writes
  nothing. See [artifacts](usage/artifacts.md).
* **Update**: An update now says what happens to the protection: leaving
  `envelope` out carries the current one forward, passing one protects the new
  version under it, and passing `null` publishes the new version in the clear.
  A protected artifact in a project that has turned protection off moves into
  the clear that way, keeping its id, its history, its comments and the links
  already shared, and the refusal names that request. Each version keeps what
  it was published as, so one artifact can hold a protected version and a plain
  one. See [artifacts](usage/artifacts.md).
* **Note**: The rule applies to the version being written, never backwards. An
  artifact published under another policy stays as it is and stays readable;
  only its next version has to comply.

### A project can be renamed and set up

* **Update**: A project is read on its own route and changed on a new one: its
  display name, and what it asks of a protected artifact (`off`, `optional` or
  `required`, and `optional` for every project that has not said otherwise).
  A field the body does not name is left alone. Both routes are in the
  [human surface](architecture/human-surface.md); the Project settings screen
  is not built yet.
* **Note**: The slug is read-only after creation, because it is the name every
  MCP call, every other table and every blob path uses; a body that tries to
  change it is refused. An agent's personal space can be renamed and set up
  like any other project, though deleting it is still refused.

### A project feed remembers how far it was read

* **Update**: Each project carries one cursor, the newest event the human has
  seen. The feed read returns it, a route advances it when a feed is opened,
  and the count above it rides on the project listing and on Home, so a tab row
  and a Home row draw the same dot without a request of their own. The routes
  are in the [human surface](architecture/human-surface.md); the screens do not
  call them yet.
* **Note**: The cursor only moves forward, and only to an event of that
  project: an older id, an id from elsewhere, and an id that names nothing all
  leave it where it was and say so in the answer. Deleting a project takes its
  cursor with it. The [data model](architecture/data-model.md) sets this beside
  the inbox's read state, which is the other thing entirely.
* **Note**: Upgrading an existing hub seeds each project's cursor at its newest
  event, so the first launch after the upgrade is quiet rather than lit by the
  whole backlog. A project created afterwards starts with no cursor, so its
  first events are new.

### The human can mark inbox items read

* **Update**: The inbox carries explicit read state. One entry is marked read
  or unread, and every unread entry can be marked read at once, optionally
  within one project. The listing takes `unread_only`. The routes are in the
  [human surface](architecture/human-surface.md); the screens do not call them
  yet.
* **Note**: Read is one axis and waiting on you is another. An entry that waits
  on a decision, or one already resolved, has no read state: marking it read
  answers with its unchanged status rather than taking it out of the waiting
  queue. Nothing is read by scrolling past it. The
  [data model](architecture/data-model.md) says what read means and does not
  mean.
* **Note**: Read state does not reach agents. The agents' inbox read reports an
  entry the human has read as unread, with the timestamps it already had, and
  has no read status to filter on, so no agent can learn which of its reports
  the human opened or when. The inbox listing is ordered by event id rather
  than by update time, so reading an item never moves it or shifts a page.

### Every number the human surface shows has a route

* **Update**: The human surface reported bytes, counts and timings that no
  route carried. Each now has one: the volume's capacity and free space beside
  what the data directory holds, totals by kind, what a prune would reclaim,
  per-session brain size, a session's event count and its last line, per-project
  event, artifact, session and wiki page counts, agents at work, and a search
  result count, with whether the page was capped, and the time the query itself
  took. A brain listing returns
  entry objects with a type and a size, one directory level at a time. Every
  field is listed in the [human surface](architecture/human-surface.md).
* **Update**: A volume that cannot be measured reports its capacity and free
  space as absent, and the surface says it does not know rather than showing
  zero of zero. File and volume numbers are memoised for ten seconds behind a
  counter every write bumps; counts are indexed and never cached.
* **Update**: Storage can prune every ended session of one project, or of every
  project, with the same soft delete, undo window and sweep as pruning one. It
  never touches an active session, a feed event, an artifact or a project
  knowledge base, and returns one undo token per session.
* **Update**: An agent counts as active while it owns a live session touched
  inside a window, and a session is now touched by every tool call that resolves
  it rather than only at start and end, so an agent that only posts signals or
  asks questions still counts. The window is `HUB_ACTIVE_WINDOW_SECS`, capped at
  thirty days, and the node's name is `HUB_NODE_NAME`, both in the
  [quickstart](usage/quickstart.md).
* **Note**: An event now names the session it was written during. Existing
  events are backfilled from the lifecycle payloads that already carried one, and
  a payload that does not parse is left without a session rather than stopping
  the upgrade;
  everything written before this change keeps no session on ordinary work, so a
  session detail count covers what happened after the upgrade. Pruning deletes
  exactly what it did before, which the [data model](architecture/data-model.md)
  states.

### The app is one module per screen

* **Update**: The PWA is now a set of ES modules rather than one script: an
  entry that names the screens and wires the events, a shared core, and one
  module per screen with the comments drawer in its own. Nothing the interface
  shows changed. Described in the
  [human surface](architecture/human-surface.md).
* **Update**: A screen whose requests come back after the reader has moved on
  no longer paints over the screen that replaced it, and Home reads its
  endpoint once per visit instead of twice.
* **Note**: A browser smoke pass joins the gates, beside the accessibility
  audit: it visits every route against a seeded hub and fails on a missing
  heading, a console error, an unhandled rejection or a failed request. Like
  the audit it skips where the browser toolchain is absent. Listed in the
  [contributor guide](contribution/guide.md).

### A session belongs to the agent that started it

* **Note**: Sessions started before this change keep the owner they were
  written with. A standalone `agent-hub mcp` records `HUB_AGENT_ID`, or `local`
  when it is unset, while a token transport records the token's agent. An agent
  that moves from standalone stdio to the proxy under a different identity
  starts fresh sessions, and reaches its earlier work by picking it up with
  `from`. The served skill contract says how.
* **Update**: A session name is now the caller's own. The same name under
  another agent is a different session with its own brain, so two agents that
  pick `nightly` no longer share working state, and each resumes its own.
  Asking for a name a pruned session still holds is refused with `conflict` and
  a `pruned_session_id=` tail while the human's undo can still restore it.
  Documented in the [data model](architecture/data-model.md), the
  [agent surface](architecture/agent-surface.md), and the served skill
  contract.
* **Update**: `session_start` takes `from` and picks up another agent's work
  without the human arranging anything. The hub chooses what that means from
  the source's state: an ended session is adopted, keeping its id, brain and
  handoff note while ownership moves, and a running one is forked into a copy
  that leaves the source undisturbed. The result reports `pickup` with the mode
  and the note. Recorded in
  [sessions belong to their agent](adr/0020-sessions-belong-to-their-agent.md).
* **Update**: `session_end` takes an optional `handoff` note, kept on the
  session and in the feed event and returned to whoever picks the session up.
  It never enters the brain, so ending a session that never wrote still leaves
  no brain file. Only a session's owner may end it; the local admin still can.
* **Update**: `session_list` gives an agent the sessions it may read, with
  owner, status, last activity, handoff summary and lineage. The REST session
  listing gains the same owner and handoff plus a resolved `lineage` object,
  and a session the human needs to move has a reassign route.
* **Note**: `brain_put` and `brain_delete` now accept a `session` that names
  the caller's own active session, so one client passes the same argument to a
  read and a write. Any other session is `forbidden` with an `owner=` tail.
* **Note**: Adopt, fork, reassign and end-with-handoff reach the human feed as
  ordinary session events. Nothing here waits on human approval.

### A one-line read of the project knowledge base

* **Update**: `agent-hub kb get|put|list|delete` reads and writes the project
  knowledge base without a quoted JSON object. `kb get` prints the page as
  markdown, defaulting to `/fs/index.md`, so a session-start hook pipes shared
  knowledge into a context window in one line; `--json` prints the tool's
  result instead. A path outside `/fs` is taken as relative to it, and a failed
  read prints nothing on stdout. Documented in the
  [quickstart](usage/quickstart.md), the served skill contract, and
  [the hub client](adr/0019-hub-client-proxy-and-cli.md).
* **Note**: `HUB_PROJECT` joins the client settings, in the environment or in
  the config file, and supplies the project when no `--project` flag does.

### Reading another session's brain

* **Update**: `brain_get` and `brain_list` take an optional `session`, either
  `{session_id}` or `{agent, name}` with a `project_id`, and read that
  session's brain. Read access to the target's project is the whole rule, and
  reading needs no active session of the caller's own. Documented in the
  [agent surface](architecture/agent-surface.md), the
  [data model](architecture/data-model.md), and the served skill contract.
* **Note**: Writes are unchanged and stay with the owner's active session:
  `brain_put` and `brain_delete` refuse a `session` argument, because one
  working-state file has one writer. Knowledge meant for another agent belongs
  in the project knowledge base.
* **Note**: A read never creates a brain file, and a session the human has
  pruned reads as `not_found` from the moment it is marked. An agent without
  access cannot tell a session it may not read from one that does not exist.
* **Update**: `search` takes `session_id` to narrow results to one session's
  brain content, under the same project confinement as every other search.

### A hook reads the project knowledge base

* **Update**: The served skill contract shows a one-shot call reading a
  project knowledge base page with no session, which is how a harness hook
  puts shared knowledge into context on any machine.

### Reaching the hub from another machine

* **Update**: `agent-hub mcp` is a proxy to a running hub whenever `HUB_URL`
  names one: one connection for the life of the process, the hub's own tools,
  errors, and identity. With nothing configured it still serves the local data
  directory standalone and says so. Documented in the
  [quickstart](usage/quickstart.md), the
  [agent surface](architecture/agent-surface.md), the served skill contract,
  and [the hub client](adr/0019-hub-client-proxy-and-cli.md).
* **Update**: `agent-hub call <tool> [json]` and `agent-hub tools` make
  one-shot calls for harness hooks: JSON on stdout, the hub's error object on
  stderr, and exit codes that separate a down hub, a refused token, and a
  missing setting.
* **Note**: The three client settings, `HUB_URL`, `HUB_TOKEN`, and
  `HUB_AGENT_ID`, are read from the environment first and then from
  `~/.agent-hub/config`, an env-style file with the same key names.
  `HUB_AGENT_ID` sets the actor only in the embedded standalone mode; against
  a running hub the token decides.
* **Note**: A subcommand the binary does not know now exits 2 instead of
  starting a hub.

### A durable knowledge base per project

* **Update**: The brain tools now reach two stores. `store: "session"` is the
  session's working state as before; `store: "project"` is a durable knowledge
  base, one per project, that every agent with project write shares and that
  no prune touches. `store` is required on a write and defaults to `"session"`
  on a read. Documented in the [agent surface](architecture/agent-surface.md),
  the [data model](architecture/data-model.md), the served skill contract, and
  [decision 0018](adr/0018-project-knowledge-base.md).
* **Update**: A read returns a `version`, the content hash of what it read, and
  a write accepts it back as `if_version` so a page is written only while
  nothing changed underneath. `absent` creates a page that does not exist yet.
  A mismatch is a `conflict` whose message ends `current_version=sha256:...`.
* **Update**: The AgentFS invariant in the contract now reads "per session and
  per project": one file per session and one per project, both behind the one
  wrapper that is the single writer per file.
* **Update**: A listing entry is now an object with its path, its type and its
  size rather than a bare path, and knowledge base pages are searchable as the
  `kb` family. Storage usage reports a project's knowledge base bytes, which
  are never prunable.
* **Note**: Deleting a project removes its knowledge base with everything else
  it owns. That is the only thing that removes one.

### What the artifact cap promises over HTTP

* **Note**: The served skill contract no longer reads as if 50 MiB of content
  always fits down the wire. The content cap is 50 MiB; over HTTP the whole
  tool call also has to fit the transport limit, so content that needs a lot
  of JSON escaping has less than 50 MiB of room. No limit changed.

### The iteration range the artifact viewer accepts

* **Update**: The protected-artifact envelope is accepted only with an
  `iterations` count between 100000 and 10000000; the client writes 600000.
  Documented in [artifacts](usage/artifacts.md) and the served skill contract.
* **Note**: An envelope outside that range, or one naming another algorithm,
  now tells the human the viewer does not accept its settings. It used to
  report a wrong password, which sent the human back to a field that could
  never open it.

### The node holds every brain

* **Update**: The first invariant now reads "no vendor cloud, and no brain off
  the node" in place of "no remote brain", in the
  [overview](overview.md), the [goals](design/goals.md), and the
  [local hub decision](adr/0001-local-hub-is-the-cloud.md). The rule is
  unchanged: nothing is hosted by anyone else. The old wording could be read
  as forbidding agents on other machines from reaching their brain on the
  node, which is what the hub is for.

### What the published container port carries

* **Note**: The [quickstart](usage/quickstart.md) compose section now states
  that the published port is plain HTTP on every interface, so the admin
  token and the responses cross the network unencrypted, and names the two
  supported ways to close that: a TLS-terminating reverse proxy with
  `HUB_PUBLIC_URL` set, or a tailnet. No default changed.

### An external origin the operator can set

* **Update**: `HUB_PUBLIC_URL` names the address callers reach the hub at.
  When set it is what the artifact frame policy, the artifact link previews,
  and the served bootstrap skill all use, instead of the address derived from
  the request headers and the bind. Documented in the
  [quickstart](usage/quickstart.md) with the other environment keys.

### The identity trail is the human's to read

* **Update**: Identity audit events stay out of the search corpus, and an
  agent's feed read never returns one. The admin still reads the trail
  through the project feed route by kind. Documented in the
  [data model](architecture/data-model.md).

### Session start stops returning a server path

* **Update**: `session_start` returns the session id alone. The brain file
  path it used to hand back named nothing any brain tool accepts and
  disclosed the server's on-disk layout; the file path stays on the
  human-facing session surface. Documented in the
  [agent surface](architecture/agent-surface.md) and the served skill
  contract.

### Brain values carry a size ceiling

* **Update**: A single session brain value is capped at 4 MiB, matching the
  request body ceiling, and an oversized write is refused with
  `payload_too_large` before anything is stored. Documented in the
  [agent surface](architecture/agent-surface.md) and the served skill
  contract.

### Readiness asks the engine

* **Update**: `/readyz` now queries the store for its schema version instead
  of repeating the version cached at startup, and reports `503` problem
  details when the store does not answer or has drifted from it. `/healthz`
  stays a liveness check. Documented on the
  [human surface](architecture/human-surface.md) and in the
  [quickstart](usage/quickstart.md).

### Every REST refusal is problem details

* **Update**: The [human surface](architecture/human-surface.md) states the
  status each refused request carries: an oversized body, a missing JSON
  content type, a bad query or path, and an unserved method are all problem
  details now, where the last four used to be plain text or an empty body.

### Request body limits per surface

* **Update**: The 4 MiB cap on a REST request body is stated on the
  [human surface](architecture/human-surface.md), and the served skill
  contract states the larger cap the agent transport carries.
* **Note**: The agent transport carries the artifact cap plus the call around
  it, so a 50 MiB artifact publishes over HTTP as well as over stdio.

### Corrections against shipped behaviour

* **Update**: The served skill guide now says plainly that local stdio opens
  the data directory itself as a standalone process, cannot attach to a data
  directory a hub process already has open, and fails at startup on the
  engine's exclusive lock; an agent that wants a running hub uses streamable
  HTTP. It also fixes the feed read order description, states that markdown
  artifacts render in the browser rather than on the hub, documents the
  per-project open inbox cap next to the per-agent one, lists every
  registered tool including the version, deletion, and comment tools, and
  notes that a comment also accepts an idempotency key.
* **Update**: The README and the wiki index no longer claim the session
  detail view and the embedded tailnet are still intended design; both ship.
* **Update**: The human interface and human surface pages now mark swipe
  gestures, an explicit read state, the brain tree, the desktop list plus
  detail layout, and a dedicated project settings screen as intended design,
  not yet shipped, matching what the PWA actually renders today.
* **Update**: The agent surface page's event kind family count and the human
  surface page's route table are corrected to match the code.

### Artifact viewer on the design foundation

* **Update**: The public artifact page reuses the design tokens: warm
  canvas, humanist type, a header with back button, title, version line,
  picker, and theme icons, a foundation password gate with lock tile,
  remember-me, and ciphertext fingerprint, and a prose baseline for
  rendered markdown. Documented in the
  [artifacts guide](usage/artifacts.md) and the
  [human surface](architecture/human-surface.md).

### Comments on artifacts

* **Update**: Artifacts carry discussion with optional point or quote
  anchors, resolution state, and per-comment delete tokens. Documented in
  the [artifacts guide](usage/artifacts.md), the
  [agent surface](architecture/agent-surface.md), the
  [human surface](architecture/human-surface.md) (routes and viewer drawer),
  the [data model](architecture/data-model.md), and the served skill
  contract. Quotes are refused on protected versions, and the public page
  shows the thread read-only, never on a protected artifact.

### Artifact viewer that runs, unlocks, and previews

* **Update**: The public artifact page is a host shell around a sandboxed
  frame with a theme toggle and version picker, an unlock form for protected
  artifacts, and link previews with a built-in card. Markdown renders in the
  page with tables, callouts, and self-hosted diagrams. Documented in the
  [artifacts guide](usage/artifacts.md) and the
  [human surface](architecture/human-surface.md).

### Artifact versions, conflicts, and deletion

* **Update**: Artifacts carry display metadata (description, favicon mark,
  version label) and an immutable, addressable version history. Documented
  in the [artifacts guide](usage/artifacts.md), the
  [agent surface](architecture/agent-surface.md), the
  [human surface](architecture/human-surface.md), the
  [data model](architecture/data-model.md), and the served skill contract.
* **Update**: Concurrent updates use optimistic concurrency: `artifact_update`
  accepts the base version and refuses a stale write with a conflict naming
  the current version unless forced. History reads (`artifact_versions`,
  versioned get and raw, `?version=N` on the public page) and
  `artifact_delete` are documented in the same pages.

### Usage guide and served skill

* **Creation**: Added [artifacts](usage/artifacts.md), a usage guide for
  publishing, versioning, protecting, and reading artifacts, and a project and
  agent setup walkthrough in the [quickstart](usage/quickstart.md).
* **Update**: Corrected the quickstart's opening, which still described the
  agent and human surfaces as unbuilt, and added `HUB_AGENT_ID` to the
  environment table.
* **Creation**: Added a public `GET /SKILL.md` route that serves a bootstrap
  guide with the caller's own origin rendered in from the forwarded or request
  host, so an agent that can already reach the hub learns how to connect and
  what the tools are. The
  [human surface](architecture/human-surface.md) lists the route.
* **Update**: The served document is the single tool contract: it carries the
  argument shapes, feed and inbox statuses, pagination, error codes, and the
  artifact authoring rules. The installable agent skill keeps the workflow and
  the offline bootstrap and defers to the served document for the contract, so
  the two cannot drift.

## 2026-09-17

### Inbox action-item cap

* **Creation**: Added [the inbox action-item cap](adr/0017-inbox-action-item-cap.md):
  a question or an approval is an open item on the human, and the writer caps
  how many one actor may leave open in a project and how many may accumulate in
  the project at all. A refused write returns `rate_limited` (HTTP 429) and
  changes nothing. The defaults are generous, and
  `HUB_INBOX_ACTION_PER_AGENT` and `HUB_INBOX_ACTION_PER_PROJECT` set them, with
  zero disabling a check.
* **Update**: The [agent surface](architecture/agent-surface.md) documents the
  refusal as a structured tool error alongside the other write errors, and the
  [human surface](architecture/human-surface.md) and
  [human interface](design/human-interface.md) describe the waiting queue
  grouped by actor so an agent that leaves many items is one block with its own
  count.

### Markdown rendering

* **Update**: The public artifact route and the in-app viewer render a
  `markdown` artifact to HTML instead of showing its source. Raw HTML embedded
  in the markdown is escaped, and the rendered page keeps the sandboxed
  document and restrictive content security policy of every artifact page, so
  a published note cannot script or load anything external.
* **Update**: `GET /api/v1/artifacts/:id` returns a `rendered` HTML field for a
  public markdown artifact, which the viewer frames without same-origin access.
  A protected artifact carries no `rendered` value, because its plaintext never
  reaches the server; the viewer keeps showing the decrypted source as text.
* **Note**: The renderer is hand-rolled for a fixed subset (headings,
  paragraphs, emphasis, inline and fenced code, lists, and links). It adds no
  dependency to the binary and guarantees that every source character is
  escaped, which is why it is preferred over a full parser.

### Engine lock wait

* **Update**: Every store connection now sets a bounded engine busy timeout, so
  a writer that loses the immediate-transaction race waits for the lock and
  then replays to the same result instead of returning `database is locked`.
  The busy handler is per-connection and the engine builder has no timeout, so
  all connection creation goes through one store helper.
* **Update**: A concurrency test over same-key artifact publish, question post,
  and answer proves that eight parallel writers serialise to one result and
  none surfaces the lock.

### Question id discoverability

* **Update**: `question_post` now returns `question_id` alongside `event_id`
  and `thread_id`, all the same value, so a client has the id `answer_post`
  needs without inferring it. The `answer_post` description names that source.
* **Update**: The agent surface page documents the id relationship for the
  question and answer tools.

### Feed cursor

* **Update**: An empty forward feed poll returns the `since` cursor it was
  given rather than none, so a polling client keeps its place instead of
  losing it. A non-empty page, a backward (`before`) page, and a mixed query
  keep their existing cursors.

### Tailnet coverage

* **Update**: The embedded tailnet opt-in is now automatic. Setting
  `HUB_TAILNET` acknowledges the library's experimental guard, so the endpoint
  starts as documented instead of failing its own startup check.
* **Creation**: Added `HUB_TAILNET_CONTROL_URL`, so the endpoint can point at a
  self-hosted control server; the public control plane remains the default.
* **Update**: The gate compiles and tests the feature build. The tailnet
  configuration tests cover the missing-key, bad-port, control-URL, and
  feature-refusal paths. The live join and serve path stays a documented,
  manual test, because it needs a real tailnet.

### Accessibility gate

* **Update**: The accessibility gate now runs in two layers. A hermetic
  contract check computes WCAG contrast for the theme token pairs, enforces the
  12px type floor, and asserts the focus ring, the reduced-motion block, and
  the 44px interactive minimum. An optional headless axe audit renders the
  eight screens in both themes when Playwright, a browser, and axe are present,
  and skips cleanly when they are not.
* **Update**: The light action token was darkened so the action pill text
  clears the AA contrast minimum, which the new contract check surfaced.
* **Note**: Axe covers the rendered DOM, ARIA, labels, heading order, and
  computed contrast; the contract check covers the type floor and the presence
  of the focus and reduced-motion rules. Neither replaces a manual keyboard
  pass.

### Notifications descoped

* **Update**: Background push is deferred beyond v1. Real delivery with the
  app closed needs a browser push service, a third party in the transport path
  that the local-first design avoids, and a secure context. The shipped
  surface stays an opt-in in-app notification, raised while the app runs.
* **Creation**: Added `GET /api/v1/stream`, an admin-gated server-sent
  freshness stream. It carries no event data, only a tick when a write changes
  the inbox or feed, so an open app refreshes its waiting badge without
  polling.
* **Note**: A later revision can add opt-in Web Push with a contentless,
  end-to-end encrypted payload if a vendor transport is accepted.

### Agent-surface hardening

* **Update**: A non-admin caller no longer learns whether a project, artifact,
  or session exists. A missing resource and a denied one return the same
  authorization failure, so neither the error code nor its message can be used
  as an existence oracle.
* **Note**: Blocking artifact IO from async handlers and the admin token held
  in browser local storage are accepted for a single-operator node, with the
  reasoning recorded in the blob module and the human surface page.

### Retry safety

* **Update**: `artifact_publish` and `artifact_update` accept an optional
  idempotency key, so a retry after a dropped response returns the original
  artifact and version instead of a duplicate or a second version.
* **Update**: The approval decision route accepts an optional idempotency key
  and returns the original answer on a replay rather than a conflict.
* **Update**: An idempotency key is scoped to the operation that used it and
  can carry the artifact and version it produced, added by schema version 3.
  Prune keeps a key whose event still exists, so a keyed write that survives a
  prune still resolves.

### Feed design

* **Update**: The Project feed groups events by day (Today, Yesterday, or the
  date) and filters by kind with per-project chips; the Home recent list is
  grouped the same way.
* **Update**: The Inbox keeps its "Waiting on you" and "Unread" groups and
  carries the row action inline, so a waiting question or approval is answered
  or decided without opening it. A handled item leaves the queue; the feed
  keeps its history.
* **Creation**: Added `POST /api/v1/approvals/:id/decision`, an admin-gated
  route that records an approval decision as an answer on the approval's
  thread and resolves the waiting item. An approval is decided once; a second
  decision is a conflict.
* **Update**: An approval forces `needs_action` at the event writer, like a
  question, and a feed event carries its inbox status so a resolved item stops
  offering its action.

### Polish and reach

* **Creation**: A session opens into a detail view with its brain keys and
  files and its End and Prune actions, backed by an admin-gated
  `GET /api/v1/sessions/:id/brain` that does not create a brain on a read.
* **Creation**: Added `DELETE /api/v1/projects/:id`, a destructive action under
  Settings that removes every row and file scoped to the project. An agent's
  personal space is refused.
* **Creation**: Opt-in inbox notifications. Permission is requested only from
  the Settings control, and only waiting-on-you items notify; without
  permission or support the feature degrades silently.
* **Creation**: An optional embedded tailnet endpoint behind a cargo feature
  that is off by default, serving the same router on the node's tailnet
  address. It stays experimental and IP-addressed.
* **Update**: The MCP bearer scheme is case-insensitive, an artifact is
  authorized before its blob is read, and prune drops the idempotency keys
  whose events it removed.
* **Update**: The human feed surfaces hide the hub's own `system` audit
  events; an explicit kind filter still reaches them.
* **Note**: True background push, delivered with the app closed, is
  outstanding; notifications today are opt-in and raised while the app runs.
* **Note**: The headless accessibility audit remains outstanding.

### Identity and access

* **Creation**: Agents have a stable identity, one token at a time, a trust
  level, and a personal space. Issuing a token revokes the previous one in the
  same transaction, and revocation is agent-keyed.
* **Creation**: Every MCP tool and every REST read is authorized before it
  touches state. A trusted agent reads broadly and writes shared projects and
  its own; an untrusted agent reaches its own space and explicit grants.
  Search and the inbox are confined to a caller's visible projects.
* **Creation**: Added the `whoami` MCP tool, the admin-only REST identity
  routes (`POST` and `DELETE /api/v1/agents/:id/token`, and the grants routes),
  and `GET /api/v1/artifacts/:id` for the in-app viewer.
* **Creation**: The PWA gains Agents and access under Settings, and an artifact
  viewer that decrypts protected artifacts in the browser and renders
  agent-authored HTML only in a sandboxed frame.
* **Update**: The hub serves the REST API, the PWA, and MCP at `/mcp` on one
  listener in one process, and runs the prune sweeper there.
* **Update**: Identity changes are audited as `system` feed events, in the same
  transaction as the change.
* **Update**: The control-surface admin token is required when the bind is not
  loopback. The stdio transport is the local admin; HTTP requires a token.
* **Note**: The session detail view, project deletion, push notifications, and
  a headless accessibility audit remain outstanding.

## 2026-09-16

### Installable PWA

* **Creation**: Ship the interface as static assets from the binary: the design
  tokens, a vanilla app shell, a manifest, and a service worker. The screens
  are Home, Inbox, Project feed, Artifacts, Sessions, Storage, Search, and
  Settings, with a four-tab mobile bar and a desktop top bar.
* **Creation**: Added the REST routes the app reads: `GET` and `POST
  /api/v1/projects` and `GET /api/v1/storage`.
* **Update**: The interface is framed by a content security policy, artifacts
  render only in a sandboxed frame, and the static web check runs as part of
  the gate.
* **Note**: The Agents and access surface, the session detail view, and project
  deletion are still intended design; they land in a later change.

### Search

* **Creation**: Added the MCP `search` tool and the REST `GET /api/v1/search`
  route over the corpus already written by the feed, artifact, and brain
  paths. Results are ranked by text relevance and grouped by corpus family,
  with project and type filters and a short snippet.
* **Update**: The ranked query uses the shape the engine's full-text index
  method recognises, so relevance ordering is live; project and type filters
  are applied after the ranked fetch.

### Artifacts and prune

* **Creation**: The MCP server adds `artifact_publish`, `artifact_update`,
  `artifact_get`, and `artifact_list`. Blobs live on the data volume; the
  store holds metadata and an optional encryption envelope. A publish or
  update appends a feed event and refreshes the search corpus; a protected
  artifact indexes its title only.
* **Creation**: Added the REST routes `GET /api/v1/projects/:id/artifacts`,
  `GET /artifacts/:id`, `DELETE /api/v1/storage/sessions/:id`, and
  `POST /api/v1/prune/undo/:token`.
* **Update**: The public artifact route frames untrusted content in a
  sandboxed document with a restrictive content security policy, so a
  published page never runs in the hub origin.
* **Update**: Prune now requires an ended session, refuses to undo past its
  window, removes the session's indexed events, and is committed by a
  periodic sweep.

### Inbox and questions

* **Creation**: The MCP server adds `question_post`, `answer_post`, and
  `inbox_read`. A question opens a thread, lands on the feed, and enters the
  inbox as an action item; an answer closes the thread and resolves it.
* **Creation**: The inbox is a projection over events: finished work lands as
  unread, action items as action. The home summary counts unread and waiting
  items and lists recent events.
* **Creation**: Added the REST routes `GET /api/v1/home`, `GET /api/v1/inbox`,
  and `POST /api/v1/questions/:id/answer`.
* **Update**: A question roots its own thread and enters the inbox in the same
  write as the event, whichever tool wrote it, and an answer must name its
  question.
* **Update**: A malformed answer body is now a problem-details response.

### Brain and sessions

* **Creation**: The MCP server adds session and brain tools: `session_start`
  and `session_end`, the `brain_get`, `brain_put`, `brain_list`, and
  `brain_delete` group over the `/kv/` and `/fs/` namespaces, and an active
  session per connection. A brain write is mirrored into the search corpus.
* **Creation**: The session store records the mapping from an agent session
  name to a brain file, idempotent start and resume, and a retry-safe end,
  with lifecycle events on the feed.
* **Creation**: Added the REST routes `GET /api/v1/sessions` and
  `POST /api/v1/sessions/:id/end`.
* **Update**: A session's agent identity now comes from the authenticated
  principal, never a request field.
* **Update**: `make check` now runs the docs bundle check, so documentation
  cannot fall behind silently.

### Feed surface

* **Update**: Grouped `answer` events under their question or approval thread on
  the project feed (Gmail-style): a reply renders under its root row instead of
  as its own entry, the stage shows the whole thread, and cross-day/cross-page
  replies that have no loaded root still render as a fallback row rather than
  being dropped. Per-page kind counts exclude answers since they now nest rather
  than stand alone.

* **Creation**: The MCP server exposes the feed: `signal_append` writes an
  event, and `feed_read` pages a project feed with `next_since` and
  `next_before` cursors. The streamable HTTP transport requires a bearer token.
* **Creation**: Added the REST feed route `GET /api/v1/projects/:id/feed`,
  with RFC 9457 problem details.
* **Update**: Recorded the event store design: append-only events with ULID
  ids, cursor paging, idempotency keys, payload limits, and write-through
  indexing into the search corpus.
* **Update**: Corrected the stale "not implemented yet" notes on the overview,
  the architecture index, the agent surface, and the human surface.

### Implementation and packaging

* **Creation**: Opened the [usage](usage/index.md) section with the
  [quickstart](usage/quickstart.md), covering the binary build, environment
  configuration, the health probes, and running with the container and compose
  file. The hub is an early work in progress and the page says so.
* **Update**: Recorded the container packaging: a multi-stage `Containerfile`,
  a `deploy/compose.yaml`, and a `.dockerignore`.
* **Update**: Corrected the root [index](index.md) and this log, which still
  said the bundle had no usage section and that a runnable binary did not
  exist.

### Grounding and design handoff

* **Update**: Amended [0003](adr/0003-wrap-agentfs-per-session.md) to record
  that AgentFS is embedded as a crate and vendored, [0004](adr/0004-manual-pruning-in-v1.md)
  that prune is reversible, and [0006](adr/0006-engine-native-search.md) that
  engine-native search is confirmed and centralised in the hub store.
* **Creation**: Added [0010](adr/0010-one-pinned-engine.md) one pinned engine,
  [0011](adr/0011-mcp-primary-a2a-deferred.md) MCP primary with A2A deferred,
  [0012](adr/0012-agent-identity-and-trust.md) agent identity and trust,
  [0013](adr/0013-per-session-serialization.md) per-session serialization,
  [0014](adr/0014-optional-embedded-tailnet.md) optional embedded tailnet, and
  [0015](adr/0015-human-interface-foundation.md) the design foundation.
* **Update**: Reworked [the data model](architecture/data-model.md) with agent
  identity and trust tables, the search corpus, the artifact envelope, the
  closed kind set, and reversible pruning. Updated [components](architecture/components.md),
  [agent surface](architecture/agent-surface.md), and [human surface](architecture/human-surface.md)
  to match.
* **Creation**: Added [the human interface](design/human-interface.md)
  describing the design tokens, screens, alert hierarchy, accessibility gate,
  and copy rules.
* **Update**: Corrected the [overview](overview.md) to place artifact blobs on
  the data volume and note the centralised engine-native search index.

* **Creation**: Opened the bundle with the operational baseline. Added the
  root [index](index.md), this log, the [overview](overview.md), the design
  section ([goals](design/goals.md), [terminology](design/terminology.md)),
  the architecture section ([components](architecture/components.md), [data
  model](architecture/data-model.md), [agent surface](architecture/agent-surface.md),
  [human surface](architecture/human-surface.md)), nine [decision
  records](adr/index.md), and the contribution section
  ([guide](contribution/guide.md), [maintainer guide](contribution/maintainers.md)).
* **Note**: At the baseline the bundle had no usage or reference section,
  because the hub did not run and a page describing how to run it would have
  been fiction. The usage section opened once the first runnable binary
  existed.
* **Note**: Every architecture page describes an intended design, not shipped
  behaviour, and says so. Pages are rewritten against the code as the code
  lands.
