Skip to content

docs: one front door and one owner per topic - #18

Merged
macayaven merged 1 commit into
mainfrom
docs/one-front-door
Sep 25, 2026
Merged

macayaven merged 1 commit into
mainfrom
docs/one-front-door

Conversation

@macayaven

Copy link
Copy Markdown
Owner

Summary

Learner-facing effect: there is one place to start and one path to follow. The README leads with the offline start and a map of where things live. From there the course home (sessions/index.html) is the only page a learner needs, and every other topic has exactly one owner file that the rest link to.

Why: before this change, a new reader met four competing "start here" paths before the README's own Quickstart (live-model env vars came first, at line 19; Quickstart at line 116). Three files described "how the course works", and the same setup commands lived in up to seven files. "Bridge" meant three different things, and bridges/README.md described files that no longer exist. The author felt lost; a stranger would too.

Author: Carlos Crespo Macaya

One owner per topic

Topic Owner Change
Pitch, install, Codespaces, where things live README.md Offline start first; "Other ways to take it"; a Where things live table replaces docs/README.md
Learner path, your own model, S13/S14 rules sessions/index.md → index.html Absorbs the route guidance from study/FULL-COURSE.md and the live-model setup
What each session file is, and for whom sessions/README.md Replaces the stale bridges/README.md
AI tutor docs/COMPANION.md Links to owners instead of repeating clone/env commands; gains the assistance rules
Hard path labs/README.md Gains per-lab scope notes; stale sNN_*.md / "bridges" references fixed
Feedback, pilot, transfer study/FEEDBACK.md (was FULL-COURSE.md) Per-session questions, what to record/leave out, what a report can claim
S13/S14 working cards sessions/s13-…/audit-card.md, sessions/s14-…/{cold-run,pilot-page,pilot}-card.md Moved from study/; the lessons now name them (previously reachable only via FULL-COURSE.md)

Also:

  • Each companion.md is titled "companion" (not "bridge") and opens with a line saying it is tutor context the learner doesn't need to read.
  • AGENTS.md and CONTRIBUTING.md record the one-owner rule.

No knowledge lost

A script compared every sentence of the old README, course home, FULL-COURSE.md, docs/README.md, bridges/README.md, docs/COMPANION.md, sessions/README.md and the labs READMEs against the new tree. I reviewed each of the 114 sentences not found verbatim:

  • most are reworded or moved to their owner (e.g. the S13 audit targets already live in the S13 protocol);
  • a few are pure duplicates (the curriculum list the pitch already states);
  • three were genuinely missing and are restored: what marimo files are, the nonsynced work folder, and "compare your observation with your prediction".

Lesson teaching is unchanged. The S13/S14 lessons each gain one sentence naming their cards.

Learner-facing files repeating… Before After
uv sync 5 3
COURSE_MODE=live 5 2
CAFE_BASE_URL 5 2
marimo edit 6 4
cafe.doctor 4 2
labs/run.py --session 5 3

Each remaining occurrence is either the owner or a one-line mention with a reason to be there, e.g. the course home is read offline and cannot link to the README.

Evidence

All relative Markdown links and #anchors resolve (75 files, checked by script). tools/check_devcontainer.py passes locally, since AGENTS.md changed. Definition of Done:

$ uv sync --frozen
$ uv run python tools/build.py && git diff --exit-code -- '*.html'
sessions/study-plan.md -> sessions/study-plan.html (1 mermaid block(s))
(no HTML drift)
$ uv run python -m unittest discover -s tests -v
Ran 154 tests in 1.138s
OK
$ uv run python tools/check_links.py
check_links.py: 16 pages, 406 relative refs ok
$ uv run python tools/check_sota_urls.py
check_sota_urls.py: 99 tagged rows, all have a URL
$ uv run python -m unittest labs/test_contracts.py
Ran 29 tests in 0.007s
OK
$ uv run python labs/run.py --all --replay
naïve 2/9 vs engine 9/9
exit=0
# verify.yml extras
12 notebooks executed offline
marimo check --strict ok
marimo canonical form: no drift

A second rebuild after the commit showed no HTML drift. The replay's naïve FAIL lines are the deliberate baselines.

Checklist

  • uv run python -m unittest discover -s tests -v
  • uv run python tools/build.py produces no generated HTML drift
  • uv run python tools/check_links.py
  • uv run python tools/check_sota_urls.py
  • tools/check_links.py --http: not applicable, no external URLs added or changed
  • Notebooks untouched; all 12 execute offline
  • Lab contract tests and uv run python labs/run.py --all --replay pass
  • Public text contains no learner data, credentials, raw logs or private machine paths
  • Toys remain a different domain (not a paste-ready production harness)

Learners met four competing "start here" paths before the README's own
quickstart, and the same setup commands lived in up to seven files. Give
each topic one owner and make every other file link to it:

- README: pitch, offline start first, other ways to take it, and a
  "Where things live" map (replaces docs/README.md).
- sessions/index.md (course home): the learner path, running against your
  own model, and the S13/S14 rules; absorbs study/FULL-COURSE.md's route.
- study/FEEDBACK.md (was FULL-COURSE.md): per-session feedback questions,
  what to record and leave out, and what a report can claim.
- S13/S14 working cards move beside their lessons, which now name them.
- sessions/README.md says what each session file is and who it is for;
  companion.md files are labelled tutor context and titled "companion",
  ending the second meaning of "bridge". Stale bridges/README.md removed.
- docs/COMPANION.md and labs/ READMEs link to the owners instead of
  repeating commands; lab scope notes move into labs/README.md.

A sentence-level ledger against origin/main was reviewed by hand; the
three insights it found missing were restored. No lesson teaching changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@macayaven
macayaven merged commit a51a045 into main Sep 25, 2026
3 checks passed
@macayaven
macayaven deleted the docs/one-front-door branch September 25, 2026 10:47
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