Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ standard as the rest, and linted by `actionlint` and `zizmor` in
| [`ci.yml`](workflows/ci.yml) — **CI** | pushes to `main`, every pull request, by hand | **Lint**: [`scripts/lint.sh`](../scripts/lint.sh). **Validate configs**: the checks [`scripts/validate.sh`](../scripts/validate.sh) runs for `make validate`, as individual steps calling the same scripts rather than the wrapper. **Boot hardened services**: starts twelve services under their real hardening and waits for each to be healthy: from the sensitive tier Home Assistant, ntfy, linkding, Stirling-PDF, Actual, Mosquitto, ring-mqtt, Vaultwarden, AdGuard Home, Memos and Glance, and soc's MSI server. **Secret scan**: gitleaks over the whole history |
| [`close-keywords.yml`](workflows/close-keywords.yml) — **Close keywords** | every pull request | **No close keyword in prose**: fails a title, body or commit whose `Closes #N` would close an issue the sentence says stays open ([`check_close_keywords.py`](../scripts/check_close_keywords.py)) |
| [`digests.yml`](workflows/digests.yml) — **Digest drift** | Mondays 07:00 UTC, by hand | **Pinned digests still match the registry**: catches a tag moved under a pin. **Pinned tool versions are current**: says when the Packer plugin or a Galaxy collection has a newer release, the pins Dependabot cannot read. **The ruleset on main matches `rulesets/main.json`**: catches a ruleset edited in the UI |
| [`weekly-audit.yml`](workflows/weekly-audit.yml) — **Weekly docs audit** | Mondays 06:37 UTC, by hand | **Audit**: Claude checks one focus area of the docs against the code and recorded state ([`.claude/commands/weekly-audit.md`](../.claude/commands/weekly-audit.md)), may edit only `docs/**` and `README.md` files, and files `audit` issues for the rest. It has no push access. **Open PR**: no AI. It applies that patch, fails on any path outside the docs, re-renders a changed diagram PNG, runs `check_docs.py` and the close-keyword check, then opens `audit/docs-<week>` for review |
| [`weekly-audit.yml`](workflows/weekly-audit.yml) — **Weekly docs audit** | Mondays 06:37 UTC, by hand | **Audit**: Claude checks one focus area of the docs against the code and recorded state ([`.claude/commands/weekly-audit.md`](../.claude/commands/weekly-audit.md)), may edit only `docs/**` and `README.md` files, and files `audit` issues for the rest. It has no push access. **Open PR**: no AI. It applies that patch, fails on any path outside the docs, re-renders a changed diagram PNG, runs `check_docs.py` and the close-keyword check, then opens `audit/docs-<week>-focus<N>` for review, one branch per focus area so a by-hand run never overwrites another |

Every workflow pins its actions by commit SHA, with the version in a comment
for Dependabot. Each starts from `contents: read` and checks out with
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/weekly-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Weekly docs audit
# issues, and nothing else: no push, no PR, no token left in .git/config.
# A second job with no AI in it applies Claude's patch, refuses anything
# outside the doc paths, re-renders any changed diagram PNG, runs check_docs
# and the close-keyword lint, and only then pushes audit/docs-<week> and opens
# and the close-keyword lint, and only then pushes audit/docs-<week>-focus<N> and opens
# one PR. The PR goes through the same required checks as any other.
#
# check_docs runs in the second job, not only in Claude's: rule 13 (the
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
contents: write
pull-requests: write
env:
BRANCH: audit/docs-${{ needs.audit.outputs.week }}
BRANCH: audit/docs-${{ needs.audit.outputs.week }}-focus${{ needs.audit.outputs.focus }}
WEEK: ${{ needs.audit.outputs.week }}
FOCUS: ${{ needs.audit.outputs.focus }}
steps:
Expand Down Expand Up @@ -244,6 +244,6 @@ jobs:
gh pr edit "$BRANCH" --body-file "$body"
else
gh pr create --base main --head "$BRANCH" \
--title "docs(audit): weekly doc fixes $WEEK" \
--title "docs(audit): weekly doc fixes $WEEK, focus $FOCUS" \
--body-file "$body" --label audit
fi