Repository navigation
docs(dev): ARCHITECTURE and TESTING as the current design, PLAN trimmed, AGENTS.md (#192) - #262
Merged
Merged
Conversation
…ed, AGENTS.md (#192) PR 5 of the user manual (#178), under its decision 4: docs/dev describes the project as it is. ARCHITECTURE.md is the current design: the parts, and why the actions are composite, the environment an image, the two caches keyed as they are, deploys kept in jobs of their own, installs pinned, inputs passed through env:, failures alerted and the manual generated. The pitch, performance targets, migration plan, resolved questions and success criteria are gone. TESTING.md is how testing works now: the harness's gate and summary, its fixtures, what each action's jobs cover (from the 43 jobs in test-actions.yml), the container checks, the canary, local checks, and what nothing covers. It had said the preview actions and publish-gh-pages were untested. PLAN.md keeps the current state, consumers, the open priorities under their original numbers, the dependency policy, open issues by area and rollout. Closed items and the history go; 0b and the #100 row now say the harness tests release-asset packaging. A root AGENTS.md replaces .github/copilot-instructions.md, pointing at docs/dev rather than repeating it. CONTAINER-VALIDATION.md points at the Test Container size report, so no image size is written into the docs (#201). tests/README.md and CONTRIBUTING's doc-update table follow. Closes #201 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMXc6EroDo2qFL1pCjS
… runs (#192) The file opened with "This document records validation test results" and carried the 6 February 2026 results, which #178's decision 4 drops from docs/dev. It now says when the matrix runs, what it builds (both images, four repositories, the per-repo time limits, the builders in turn, the HTML retry), and how to read a run: the leg names, the runner CPU in the summary, the retry's artifacts, and the tracking issue a failed or cancelled run opens. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMXc6EroDo2qFL1pCjS
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟢 Approval recommended
The change is a documentation refresh with only minor wording nits noted and no unresolved issues affecting the update’s intent or maintainability.
No open issues 🎉
What changed in this PR
This pull request refreshes maintainer-facing documentation to describe the repository’s current architecture, testing practices, and planning state, removes stale historical/status content (including hard-coded container size figures), and replaces the legacy Copilot instructions file with a root-level AGENTS.md.
Changes:
- Rewrite
docs/dev/ARCHITECTURE.mdanddocs/dev/TESTING.mdas current-state references (design decisions, repo layout, testing layers, harness mechanics/coverage). - Trim
docs/dev/PLAN.mdto current priorities, consumers/rollout, dependency policy, and open issues (dropping closed/history sections). - Remove embedded container image sizes and point to workflow size reports; introduce
AGENTS.mdand remove.github/copilot-instructions.md; update supporting docs and changelog entry.
Outstanding nits from review:
- Consider clarifying the CHANGELOG wording (“inputs passed through
env:”) to avoid implying the migration away from${{ }}interpolations inrun:is complete. - Consider rewording
docs/dev/TESTING.md’s summary table row about templates’ hand-offs being tested on every PR, giventemplates/is in the gate’sIGNOREDlist (templates-only PRs won’t run the fan-out jobs).
This pull request is ready to be approved.
| File | Summary |
|---|---|
tests/README.md |
Updates test-assets inventory to match current harness fixtures and clarifies the canary’s role. |
docs/dev/TESTING.md |
Rewritten to document current testing layers, harness gate/fixtures, job coverage, and known gaps (with a noted nit about templates-only PR behavior). |
docs/dev/PLAN.md |
Trimmed to current priorities/backlog references, consumers/rollout, dependency policy, and open issues grouped by area. |
docs/dev/CONTAINER-VALIDATION.md |
Removes hard-coded image size figures; points to per-run size reporting instead. |
docs/dev/ARCHITECTURE.md |
Rewritten as the current architecture/design decisions and repository layout (no historical “pitch/status” blocks). |
CONTRIBUTING.md |
Adds doc-update guidance entries for the rewritten dev docs. |
CHANGELOG.md |
Adds an [Unreleased] Documentation entry summarizing this docs refresh (with a noted nit on wording). |
AGENTS.md |
New root guidance file pointing to canonical docs and listing key contribution rules/checks. |
.github/copilot-instructions.md |
Removed in favor of root AGENTS.md. |
Review effort: Balanced
This was referenced Nov 5, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 5 of the user manual (#178), under its decision 4:
docs/devdescribes the project as it is, with no dated status blocks, "corrected on" notes or resolved questions. ARCHITECTURE and TESTING are rewritten as the current design, PLAN is trimmed to what is open, and a rootAGENTS.mdreplaces.github/copilot-instructions.md. It also closes #201: no container size is written into the docs any more.Why
publish-gh-pagesnot at all, while the harness now runspreview-decide,preview-wiring,preview-comment,preview-change-detection,publish-release-packagingandpublish-modes.publish-gh-pagesjob, which feat(publish-gh-pages): a mode input, so Pages is deployed from a job that runs no notebook code (#233) #257 made untrue..github/copilot-instructions.mdsaid "Updated: June 16, 2026", "latest release: v0.12.0" and "Next: Begin Phase 1 migration with lecture-dp", and repeated the docs it pointed at.Changes
docs/dev/ARCHITECTURE.md@v0siblings that follow from it; the environment as an image (one shared image in two variants, container mode detected by the marker file, standard mode kept, images changed only by reviewed pull requests); the two caches and why the build cache is keyed on the environment; credentials kept out of the jobs that run notebooks; pinned installs; inputs throughenv:and scripts found from$GITHUB_ACTION_PATH; failure alerting and its!= 'true'guards; the generated manual; releases. A current repository layout.docs/dev/TESTING.mdvalidate-containers.yml,test-container.yml, the lecture matrix, the canary); the harness's gate, itsIGNOREDlist and self-test, the docs checks it runs, andharness-summary's rule; its three fixtures; what each action's jobs assert, written from the 43 jobs intest-actions.yml; the templates' jobs; adding a job; the containers; the canary's three workflows; local checks; and what none of it covers.docs/dev/PLAN.mdpublish-release-packaging). The release line says v0.15.0 is tagged and staged, with@v0still on v0.14.0.AGENTS.md(new)paths:on the harness,env:and$GITHUB_ACTION_PATH, what acontainers/**merge does, docs describe the present), and the checks to run. It points atdocs/dev, CONTRIBUTING and the manual rather than repeating them. RootAGENTS.mdis already in the gate'sIGNORED..github/copilot-instructions.mdAGENTS.mdas repository instructions (GitHub's custom-instructions support table), so the review keeps its instructions. Its tool-specific advice about writingghbodies to files was for one assistant's terminal, and does not carry over.docs/dev/CONTAINER-VALIDATION.md--all,lecture-jaxout until lecture-jax#284), and how to read a run (the leg names, the runner CPU in the summary, the retry's artifacts, the tracking issue a failed or cancelled run opens). The 6 February 2026 results and timings go; the size column gives way to a pointer to the size report (#201).tests/README.mdCONTRIBUTING.mddocs/dev/TESTING.mdanddocs/dev/ARCHITECTURE.md.CHANGELOG.md[Unreleased].What I checked, and how
The issue's premises, against
origin/main(sent to the organiser before I built on them):publish-gh-pagesharness jobs (git log -Sfindspublish-release-packagingandpublish-modesadded by feat(publish-gh-pages): a mode input, so Pages is deployed from a job that runs no notebook code (#233) #257); copilot-instructions also carried stale sizes and v0.12.0.#201's sizes. A grep of every
.mdfile for8.60,7.32,3.33,2.93, the 2026.07 figures and anyN GB, and of every.yml,.py,.sh,.js,.cjsand Dockerfile forN GB. Before this PR the hits outside history were ARCHITECTURE l.15 and l.54, TESTING l.187, copilot-instructions l.33, l.34 and l.135, and CONTAINER-VALIDATION l.21–22; all are gone. What remains is in released CHANGELOG sections and the.qe/dev/logreview records, which are history, and nothing in the non-Markdown files.The facts in the rewrites, read from
main:needs:fromtest-actions.yml(parsed with PyYAML: 43 jobs, plusgateandharness-summary),harness-summary's rule from its script, the gate's step names, and the three fixture directories.create-issue-on-failure: 'false'throughout), and that its header recordsbuild-jupyter-cache's@v0siblings.cache.ymlschedule (cron: '0 3 * * 0'), and itsci.ymlandpublish.ymltriggers.timeout-minutes, job-level concurrency group, HTML retry and artifact names, runner-CPU summary line andnotify-failurecondition, fromtest-containers-lectures.yml; lecture-jax#284 is still open.$GITHUB_ACTION_PATH; the pinned third-party actions; each action directory's files.@v0.12.0, the rest on@v0.gh issue list --state open) has a place in PLAN's open-issues table, and no closed issue does.The checks:
python3 scripts/generate-docs.py --check --check-examples --actionlintwith actionlint 1.7.12: generated docs current, 57 steps and 14 workflows checked, actionlint clean.#anchor. Nothing refers to.github/copilot-instructions.mdany more.docs/devorAGENTS.md.CHANGELOG.mdfrom## [0.15.0]down is byte-identical tomain's (cmp), and the entry sits under the new empty## [Unreleased].Removing
.github/copilot-instructions.mdis not a path the gate ignores, so the whole harness runs on this PR.What to watch after merge
v0moving to v0.15.0. PLAN's release line says@v0is still on v0.14.0; when it moves, the next PLAN edit says so, as does the follow-up that removes Getting started's IMPORTANT alert.Not in this PR
docs/dev/GPU-AMI-SETUP.md, which docs(dev): rewrite ARCHITECTURE and TESTING as the current design, trim PLAN, and replace copilot-instructions with AGENTS.md #192 does not list.Closes #192
Closes #201
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMXc6EroDo2qFL1pCjS