docs: teach the stack the repositories actually run, and add AGENTS.md - #41
Merged
Conversation
The chapters described the previous stack. Every command, flag, path, and version in the rewritten pages was read out of the reference implementations. - 6.2 gains substantial AGENTS.md coverage, which the course had none of: what the format is and that the Agentic AI Foundation stewards it under the Linux Foundation, the README-for-humans / AGENTS.md-for-agents split, what belongs in each, a complete skeleton, the boundary where its authority stops, and the drift lesson from the vendored skill copies the package used to ship - 5.1 documents the `all` task as the named gate, mise.lock, and run_auto_install; the task table drops a `watch` task the package never had - 5.2 explains the 10/20/30 hook priorities and the three-tier secret scan - 5.3 carries the real hardened workflows, why the job is named `checks`, why the porcelain assertion beats git diff, job-level permissions replacing rather than merging, and a new section on linting workflows with actionlint + zizmor - 5.4 wires hadolint to check:dockerfile and explains the pinned image and the numeric user - 5.5 and 5.6 teach MLflow on SQLite, including that MLflow 3.14 already defaults to it, and the fixture that keeps a migrated database per session - 4.4 corrects `trivy config .` to `trivy --config trivy.yaml fs .` and explains both bugs; 4.1 and 4.5 cover Ruff 0.16; 4.2 adds the coverage gate - every chapter that said `uv add --group check` now says `--group dev`, which is the group all four repositories actually use Also pins the security workflow runner to ubuntu-24.04 so it matches CI.
fmind
force-pushed
the
docs/teach-the-current-stack
branch
from
August 10, 2026 17:14
1a77a20 to
feaed74
Compare
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.
What
Rewrites the chapters that described the previous stack, and adds the
AGENTS.mdcoverage the course never had.Why
trivy config .— which silently defers to aTRIVY_CONFIGenvironment variable and runs only one of the four scannerstrivy.yamldeclares.uv add --group check, while all four repositories use a singledevgroup. Following the course literally produced a project whoseuv syncomitted ruff and ty.ci.ymlverbatim, including thegit diff --exit-codeassertion that has since been replaced.watchtask the package does not define, and omittedall.AGENTS.mdwhile all four repositories ship one.How
AGENTS.mdproperly: what the format is and that the Agentic AI Foundation stewards it under the Linux Foundation, the README-for-humans / AGENTS.md-for-agents split with a comparison table, what belongs in each, a complete skeleton, the boundary where its authority stops (it guides, it does not enforce), and the anti-drift lesson from the vendored skill copies the package used to ship.allas the named gate,mise.lock, andrun_auto_install = false.checks, why the porcelain assertion beatsgit diff, that a job-levelpermissions:block replaces rather than merges, and a new section on linting workflows with actionlint and zizmor.check:dockerfile.Also pins the security workflow runner to
ubuntu-24.04so it matches CI.Test plan
mise run all— exit 0;mkdocs build --strictgreen with no WARNING or ERROR lines.misereading.python-version(it does not by default —uvdoes), a wrong dependency-bump count, an off-by-one rule-family count, a task-table row missing a check, an abridgedAGENTS.mdquote that contradicted two other chapters, a fabricated line number in tool output, and two cross-chapter contradictions in 6.3.