Repository navigation
Maintaining this wiki
Do not edit pages on github.com. Every publish replaces every page, so a web edit is lost and
a page that is not in the source is deleted. The source of truth is docs/wiki/, reviewed in pull
requests like everything else.
docs/wiki/*.md ──▶ scripts/gen_wiki.py ──▶ wiki-out/ ──▶ wiki-publish.yml ──▶ the GitHub wiki
(source) (links, tables, footer) (artifact) (default branch only)
-
docs/wiki/: Markdown files, one per page.Home.mdis the front page,_Sidebar.mdthe navigation. A page's name is its file name, and links between pages are written as ordinary relative links ([Glossary](Glossary)); the generator rewrites them for a flat wiki. -
scripts/gen_wiki.py: rewrites links (a link to nothing is an error; a link to anything else in the repository becomes a link to that file onmain), writes_Footer.mdnaming the commit, and renders the inputs, secrets and outputs tables of every reusable workflow from itsworkflow_callblock.--checkwrites nothing and exits 1 if the tree it is pointed at is stale. -
.github/workflows/wiki.yml: calls the repository's ownwiki-publish.ymlon every push tomain. -
tests/test_wiki.py: the guard, below.
Documentation rots when nothing fails. Five things make this one fail loudly:
-
Tables are generated, not typed. A workflow page holds one inputs marker (an HTML comment, copy it from any existing
Workflow-*.mdpage) and the generator fills it from the YAML. Add an input and the page gains it on the next publish; a table cannot say what the workflow does not. - A new reusable workflow without a page fails the build, and so does a page without its marker.
-
A drift test.
tests/test_wiki.pyalso fails if any of these exist in the repository but are never mentioned in the wiki: a workflow under.github/workflows/, a script underscripts/, a composite action, an audit check, a test file, or a file inbaseline/. Add one, forget the wiki, and CI says which page needs a line. -
Release facts are generated, not typed. A hand page that needs the current version, the pin or a release date writes
a placeholder, and
scripts/gen_wiki.pyfills it from git at generation time:{{latest_release}}(the newestvX.Y.Ztag reachable from HEAD),{{latest_pin}}(that tag's commit SHA, not the tag object's) and{{latest_release_date}}. The Roadmap's{{unreleased}}becomes one bullet per merge tomainsince that tag. A test fails if a hand page holds a literal 40-hex SHA or a# vX.Y.Zpin comment, so a release cannot leave a stale pin behind. Historical mentions ("since v1.10.0") stay literal; to show a placeholder's own name in prose, put a backslash before it. The generator reads tags, so a checkout that runs it needs them (fetch-depth: 0);wiki-publish.ymland the test job fetch them. - A habit, written down. The pull-request template has a checkbox ("does this change what the wiki says?") and Contributing and developing lists the wiki in the checklist for adding a workflow.
A test can only prove a page mentions a thing, not that what it says is still true. So the rule for authors is:
If your change alters what a person would read, change the wiki page in the same pull request.
Generated tables carry reference data. Prose pages should explain what a thing is for and link to the authority rather than copying values that change.
The version, pin and date everywhere are already right: they follow the tag. One manual step remains, in the pull request or
commit that follows the tag: move the Roadmap's generated "Unreleased" list into a dated block under "Released"
(### vX.Y.Z (YYYY-MM-DD)), written from the release notes (gh release view vX.Y.Z). Until you do, the Unreleased
section simply reads "Nothing yet" and the new release's contents are missing from the history, which is the only thing a
release can still leave stale.
GitHub creates a wiki's git repository only when its first page is made in the UI, and offers nothing else for it:
- Enable Wikis in the repository's Settings.
- Make sure at least one page exists.
- Merge a change. The
wikiworkflow publishes; if the wiki has no first page yet, the publish job fails with a message naming this step.
The first publish replaces every existing page, including any placeholder.
- Edit or add
docs/wiki/Some-page.md. It must open with a# Titleline and contain no em dash. - Add it to
docs/wiki/_Sidebar.mdand link it from a related page. - Check it generates, and run the wiki tests:
python scripts/gen_wiki.py --check pytest tests/test_wiki.py
- Open a pull request. Merging publishes.
A page about a reusable workflow is named Workflow-<name>.md, contains that marker once, and ends its argument with a
## What it refuses to do section.
- Explain why before how. The reader is often learning; the reasoning is the point.
- Link, don't copy reference data. Say what a thing is for; link to the authority.
- No numbers that rot ("14 workflows"): say "every reusable workflow" and let the tables count.
-
Nothing secret, ever. No tokens, no private hostnames, no UUIDs. Use placeholders (
OWNER/REPO,<sha>). - Link to repository files with a relative path (
../../README.md); the generator checks it exists and publishes a link tomain.
Generated from docs/wiki/ at commit f3af2fa0bae3. Do not edit this wiki: the next push to main replaces every page. Corrections go to docs/wiki/ by pull request.
GYST
- Home
- Why GYST exists
- Getting started
- Design rules
- Secrets: Doppler and OIDC
- Security scanning explained
- The baseline and the weekly audit
- Releases and supply chain
- Keeping a project board current
- Adopting GYST in your own project
- Glossary
- Roadmap
Learn and contribute
- Learning path
- Which workflow do I need?
- Repository map
- Egress control
- Troubleshooting
- Lessons learned
- Testing and the contract
- Contributing and developing
- Maintaining this wiki
- Verify main
- FAQ
CI
Security
Release
- container-release
- python-docker-release
- python-package-release
- artifact-release
- verify-published
- base-image-digest
Docs and project
- docs-pages
- wiki-publish
- project-sync
- threat-model
- lory-audit
- agent-scan
- token-drift
- node-typecheck
- pr-title-lint
- vendored-drift
- upstream-sync
- repin
- pin-comments
Tools