Skip to content

feat: add the fleet audit - #8

Merged
deathpie merged 1 commit into
mainfrom
feat/fleet-audit
Nov 23, 2026
Merged

deathpie merged 1 commit into
mainfrom
feat/fleet-audit

Conversation

@deathpie

Copy link
Copy Markdown
Owner

What

Adds scripts/fleet-audit.ts, one read-only conformance audit shared byte-for-byte by the five owner .github repositories. It checks repository settings, rulesets, security features, required files, the hooks-v3 tag, Linux-only runners, and PowerShell/Python leftovers. --timing adds the C5.1 median pull request CI wall time and reports a C5.1 gap at 60 s or more; --owner narrows the scope; --json prints machine output.

Every gap names the rule it violates and is reported as excepted when docs/exceptions.md has a row for that rule. Forks keep upstream non-Linux code, and only their own workflows must be Linux-only. CodeQL is skipped when the repository has no supported language. The audit is read-only and never prints a secret value.

just fleet-audit runs it locally, with just fleet-audit --timing for the median. It needs gh logged in as both accounts, so it is not a required check. The script is excluded from formatting like core-drift, and core-drift itself is unchanged.

Verification

  • just check
  • just fleet-audit --owner deathpie

Add scripts/fleet-audit.ts, one read-only conformance audit shared byte-for-byte by the five owner .github repositories. It checks settings, rulesets, security, required files, the hooks tag, Linux-only runners and PowerShell/Python leftovers, and --timing adds the C5.1 median. Every gap names its rule and honours docs/exceptions.md.

Document it in the justfile, AGENTS.md and the owner standard, and keep it out of the formatters like core-drift.
@deathpie
deathpie merged commit 7169548 into main Nov 23, 2026
4 checks passed
@deathpie
deathpie deleted the feat/fleet-audit branch November 23, 2026 23:02
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