Back to articles & notes
Engineering·8 min·

Governance in a small lab: CI and review without bureaucracy

You do not need a program office to benefit from repeatable checks. How this monorepo keeps quality and security visible in Git and CI instead of in meetings.

Large companies export governance into process documents; small labs often skip checks entirely until something breaks in production. A middle path is to encode the minimum bar in automation and keep human review for judgment calls.

Git history is the audit trail: meaningful commits, branches named for intent, and pull requests even when you are solo simulate the discipline you would want in a team. Future you is a collaborator who forgets context.

CI should answer narrow questions fast: does it compile, do tests pass, are known vulnerable dependencies flagged, do locale files match? Each check maps to a class of failure you have already seen or can imagine. Adding checks “because enterprise” wastes time; adding checks after a real incident is honest.

Security notes belong in-repo (for example SECURITY.md and a short posture doc) so contributors and bots know expectations: no secrets, how to report issues, what is scanned automatically. That is cheaper than improvising after a leak.

Dependabot or equivalent keeps dependency drift visible; merging or dismissing with a reason prevents silent rot. Pair that with an occasional manual pass on major upgrades — automation finds CVEs, humans still judge breaking changes.

When AI assists coding, governance means the same gates apply: generated code is not exempt from lint and tests. The assistant is an accelerator, not an approver.

If you only adopt one habit from this lab, adopt a single definition of done wired to a command or workflow. Everything else can grow from there without turning your garage project into a paperwork factory.