Skip to content

feat(docs): the-lab.md runbook + Hub & dashboard promotion#62

Merged
cdarnell merged 1 commit into
mainfrom
qukaizen/arail-the-lab-runbook
May 17, 2026
Merged

feat(docs): the-lab.md runbook + Hub & dashboard promotion#62
cdarnell merged 1 commit into
mainfrom
qukaizen/arail-the-lab-runbook

Conversation

@cdarnell
Copy link
Copy Markdown
Owner

Summary

Adds the missing on-ramp: a single end-to-end runbook (docs/the-lab.md, ~600 lines, ~12 min read) that ties every surface together in one read, and promotes it as the #1 featured card on /docs plus a first-run banner on the dashboard.

The Docs Hub work (PRs #56/57/59) organized 24 docs but offered no single read-through. This is that read-through — and the doc that gets featured at qukaizen.com/docs once the Next.js route lands.

What lands

  • docs/the-lab.md — 10 sections: What this is · Why this matters · The two tiers · Setup in five minutes · The five surfaces (Dashboard, Chat, Autoresearch, KB, Agents — each with a "magic moment") · Buddy · Compute Source pivot · Make it yours (blueprints) · Where to go next (three guided paths) · Ask Buddy about this doc.
  • Hub featured card_FEATURED_SLUGS now leads with the-lab (replacing api-conventions; that doc stays in Reference).
  • Hub hero — copy invites visitors to start with the runbook.
  • Dashboard banner — first-run blue banner (📖 New to ARAIL? Read the runbook). Click → /docs/the-lab.md. Dismiss × persists in localStorage.arailRunbookDismissed.
  • Cross-links inboundREADME.md, docs/INSTALL.md, docs/agents-explained.md, docs/BUDDY.md each get a "See also" pointer below the H1 so deep-landers find the runbook.
  • README.md install URL — corrected from cdarnell/autoresearch-labqukaizen/arail (PR chore(docs): redact personal handle for qukaizen.com/docs publish #60 missed the root README).

Frontmatter

title: "The lab, end-to-end" · category: Getting Started · order: 0 (ranks ahead of INSTALL.md's order=1) · audience: beginner · read_minutes: 12 · buddy_prompt: seeded.

Test plan

  • pytest tests/test_docs_*.py -q → 116 passed (was 111; 5 new tests).
  • Visit /docs → "The lab, end-to-end" is the first featured card; hero copy mentions the runbook with a clickable link.
  • Visit / → blue runbook banner appears above the updates banner; click → lands on /docs/the-lab.md; click × → banner hides; reload → stays hidden.
  • Visit /docs/the-lab.md → right-rail TOC lists all 10 sections; "Ask Buddy about this doc" button at the footer; prev/next chips work.
  • Confirm reading test: a new visitor reads top-to-bottom in ~12 minutes and can answer "what is ARAIL?", "what are the five surfaces?", "how do I set it up?", "what's Buddy?", "what's the Compute Source pivot?"

🤖 Generated with Claude Code

Add a single end-to-end runbook (`docs/the-lab.md`, ~600 lines, ~12 min
read) that's both a tour and an operational manual: what ARAIL is, why
it matters, the two tiers, setup in five minutes, all five surfaces with
"magic moment" callouts, Buddy, the Compute Source pivot, blueprint
mentality, and three guided next-step reading paths.

The doc covers a gap the prior Docs Hub work didn't fill — the Hub
organized 24 docs but offered no single read-through that ties them
together. The runbook is the on-ramp the user wants featured on the
Hub and prepped for publishing to qukaizen.com/docs.

Promotion:
- src/arail/portal/app.py: prepend "the-lab" to _FEATURED_SLUGS — the
  runbook becomes the #1 featured card on /docs (replacing
  api-conventions; api-conventions stays in Reference for those who
  want it). New featured trio mirrors the user journey:
  tour → agent concepts → meet Buddy.
- src/arail/portal/templates/docs_hub.html: hero copy now invites
  visitors to start with the runbook, linked inline.
- src/arail/portal/templates/dashboard.html: first-run runbook banner
  above the existing updates banner. Blue accent (distinct from amber).
  Click → /docs/the-lab.md. Dismiss × persists in
  localStorage.arailRunbookDismissed so returning users aren't nagged.

Cross-links inbound (so deep-landers find the runbook):
- README.md: "See also" note above Quick start.
- docs/INSTALL.md, docs/agents-explained.md, docs/BUDDY.md: blockquote
  link to the runbook just below each H1.

Frontmatter: title "The lab, end-to-end", category Getting Started,
order=0 (ranks ahead of INSTALL.md's order=1), audience beginner,
read_minutes 12, buddy_prompt seeded for the "Ask Buddy about this doc"
button.

Tests (5 new, 116 total green):
- tests/test_docs_registry.py: test_the_lab_in_registry — slug present,
  category Getting Started, order=0, first in category.
- tests/test_docs_routes.py:
  - test_the_lab_runbook_renders — GET /docs/the-lab.md returns 200
    and contains all 10 expected section headings.
  - test_runbook_is_featured_top_card — _FEATURED_SLUGS[0] == "the-lab".
  - test_docs_hub_hero_points_at_runbook — hub HTML contains
    href="/docs/the-lab.md" and the word "runbook".
  - test_dashboard_runbook_banner_renders — banner element +
    dismiss handler + localStorage key all present in /.

Note: the README.md Quick start clone URL was also corrected from
`cdarnell/autoresearch-lab` → `qukaizen/arail` (PR #60 redacted docs/
but missed root README). Same redaction pattern, same target handle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cdarnell cdarnell merged commit 756de97 into main May 17, 2026
2 checks passed
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