Skip to content

docs(guide): add concepts and glossary page - #230

Merged
lg2m merged 3 commits into
fix/eng-979-ge0-3-tablesfrom
docs/eng-980-ge10-concepts
Sep 30, 2026
Merged

lg2m merged 3 commits into
fix/eng-979-ge0-3-tablesfrom
docs/eng-980-ge10-concepts

Conversation

@lg2m

@lg2m lg2m commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Linear: ENG-980 (under ENG-928). Stacked on #224 (GE0.3); merge after #222 → #223 → #224.

What users get

A new Concepts and glossary page (docs/guide/concepts.md), under Getting started in the sidebar and in the README's "Start here" table.

  • How the pieces nest: workspace → session → run → turn → tool call, plus child sessions.
  • What is saved where. This includes what is not kept: queued drafts live only in the TUI's memory, and a run's held calls end interrupted when the process that runs them exits.
  • 20 terms, each defined once and linked to the page that goes deeper: workspace, session, child session, run, turn, tool call, steer, queue, compaction, profile, pack, roster, role, grant, approval mode, held call, delegate, reviewer, trust, and Jev. The Jev entry is the first place the site explains what Jev is.

Checked against code, not only the docs

  • Held calls: recovery marks awaiting_approval calls interrupted (recovery_marks_awaiting_approval_calls_interrupted).
  • Queued drafts: TUI-local, MAX_QUEUED_DRAFTS = 8.
  • A session has one active run at a time (the claim query requires active_run_id IS NULL).
  • Delegation depth: default 1, at most MAX_DELEGATION_DEPTH = 3.
  • Trust: an untrusted file makes QQ ask or exit; it is never silently ignored.

CI

glossary_defines_each_term_with_the_builds_names_and_bounds in src/docs_truth.rs fails when:

  • a term loses its ### Term heading;
  • the approval-mode list or role list stops matching ApprovalMode or DelegationRole. The test matches every variant, so adding one is a compile error until it is listed;
  • the stated TUI default mode, roster size, depth ceiling, or queued-draft bound stops matching the code.

I planted a renamed heading, a dropped default and a wrong bound; each one failed.

Also noted, not changed

design/protocol.md:746 and design/architecture.md:761 still say sub-agent depth is "fixed at 1". Recorded in the ledger.

Verification

  • cargo fmt --all -- --check, cargo clippy --workspace --all-targets --all-features -- -D warnings, and cargo test --workspace (2007 passed) all pass.
  • The site builds with nub run build; all 549 internal links resolve.

No code paths change, so there is no performance or compatibility impact.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

concepts.md defines the guide's core terms once, shows how they nest
(workspace -> session -> run -> turn -> tool call), and states what is
saved where, including what is not (queued drafts; a held call's wait).
Each term links to the page that goes deeper. Sidebar row under Getting
started; README "Start here" row.

docs-truth: every term is a `###` heading; the approval-mode and role
lists are checked against ApprovalMode and DelegationRole (exhaustive
matches, so a new variant fails to compile until listed); the TUI default
mode, roster size, depth ceiling, and queued-draft bound are the build's.

Linear: ENG-980
Trust makes QQ ask or exit, not ignore; a live run and its held calls end
interrupted when their process exits; approval_timeout_seconds also ends a
hold.

Linear: ENG-980
@lg2m
lg2m force-pushed the docs/eng-980-ge10-concepts branch from 308e57f to d794101 Compare September 30, 2026 07:39
@lg2m
lg2m added this pull request to stack #225 September 30, 2026 20:17
@lg2m
lg2m merged commit f086433 into main Sep 30, 2026
6 checks passed
@lg2m
lg2m deleted the docs/eng-980-ge10-concepts branch September 30, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant