feat(standards): include GEMINI.md in agent configuration standard and audit

DO
1h ago
+306-17

Summary

  • Add GEMINI.md to standards/agent-standards.md (Required Files, GEMINI.md Requirements, and Layer 2: Org-specific structural checks).
  • Update .github/workflows/agent-shield-reusable.yml to include GEMINI.md in the default required-files list and validate that GEMINI.md references AGENTS.md.
  • Add check_gemini_md (missing-gemini-md / gemini-md-missing-agents-ref) to scripts/compliance-audit.sh and content-agent routing in scripts/compliance-remediate.sh.
  • Track GEMINI.md in combsmith/.github pointing to AGENTS.md and combsmith/.github/AGENTS.md.
  • Add unit tests in test/scripts/compliance-audit/gemini-md.bats and test/scripts/compliance-remediate/routing-messages.bats.

Test Plan

  • bats test/scripts/compliance-audit/gemini-md.bats (3/3 passing)
  • bats test/scripts/compliance-remediate/routing-messages.bats (6/6 passing)
  • bats test/workflows/required-checks/merge-group.bats (10/10 passing)
  • 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.