feat(standards): include GEMINI.md in agent configuration standard and audit
Ā
DO
1h ago+306+306+012345678901234567890123456789-17-17-01234567890123456789
Summary
- Add
GEMINI.mdtostandards/agent-standards.md(Required Files,GEMINI.md Requirements, andLayer 2: Org-specific structural checks). - Update
.github/workflows/agent-shield-reusable.ymlto includeGEMINI.mdin the defaultrequired-fileslist and validate thatGEMINI.mdreferencesAGENTS.md. - Add
check_gemini_md(missing-gemini-md/gemini-md-missing-agents-ref) toscripts/compliance-audit.shand content-agent routing inscripts/compliance-remediate.sh. - Track
GEMINI.mdincombsmith/.githubpointing toAGENTS.mdandcombsmith/.github/AGENTS.md. - Add unit tests in
test/scripts/compliance-audit/gemini-md.batsandtest/scripts/compliance-remediate/routing-messages.bats.
Test Plan
-
bats test/scripts/compliance-audit/gemini-md.bats(3/3passing) -
bats test/scripts/compliance-remediate/routing-messages.bats(6/6passing) -
bats test/workflows/required-checks/merge-group.bats(10/10passing) -
shellcheck --severity=warning -x scripts/compliance-audit.sh scripts/compliance-remediate.sh -
npx markdownlint-cli2 GEMINI.md standards/agent-standards.md -
gitleaks detect --source . --config .gitleaks.toml --redact --verbose --exit-code 1
Problem
See the linked issue.
Risk
Medium ā changes GitHub Actions workflow behavior, which is exercised only post-merge; verify via the affected workflow runs.
Test plan
Tests added/updated: test/scripts/compliance-audit/gemini-md.bats,test/scripts/compliance-remediate/routing-messages.bats. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.
Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
Watch the affected workflow run(s) in the Actions tab and this PR's Lint check for regressions.