agentleFS
BasedHardwareBasedHardware/omi/.github/AGENTS.md

omi

AGENTS.md14k starsChanged 10 months agoMITView on GitHub

These rules apply to GitHub Actions workflows and custom actions under .github/. - Every workflow that mutates a persistent Cloud Run service/job, GKE Helm release, or traffic/promotion state must use a workflow-level concurrency group scoped to the exact target and logical environment. Manual and automatic entry points for the same target must resolve to the same group. - Deployment group names are a cross-workflow API. Keep them aligned with .github/scripts/check-deployment-concurrency.py; use cancel-in-progress: false so a newer run cannot interrupt a…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about BasedHardware/omi

The biggest 5 of 83 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 83

Talked about on GitHub, YouTube, Bluesky and Hacker News (83 times).

On GitHub · 50

45 more on GitHub

On YouTube · 21

16 more on YouTube

On Bluesky · 7

2 more on Bluesky

The file

We split this AGENTS.md into the rules it gives an agent

10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every workflow that mutates a persistent Cloud Run service/job, GKE Helm release, or traffic/promotion state must use a workflow-level …

    line 7
  2. Distinctive:

    Use immutable image tags for deploys.

    line 22
  3. Very specific:

    Do not deploy Cloud Run services from an untagged image path.

    line 24
  4. Very specific:

    Do not let Helm chart-only deploys reset GKE workloads to latest.

    line 25
  5. Very specific:

    Every GKE Deployment deploy must wait for rollout completion with kubectl rollout status ...

    line 26
  6. Very specific:

    Keep rollout checks close to the deploy step they verify, especially for backend-listen, pusher, llm-gateway, parakeet, diarizer, and vad.

    line 28
  7. Very specific:

    Use backend/scripts/deploy_status_report.py as a strict gate on success paths.

    line 29
  8. Very specific:

    Before restarting GKE workloads that depend on backend-secrets, wait for ExternalSecret Ready and run …

    line 31
  9. Very specific:

    Before any pusher Helm mutation, verify ${ENV}-omi-backend-config exists so a missing shared runtime ConfigMap cannot replace the healthy …

    line 32
  10. Very specific:

    When editing workflows, keep actionlint coverage in CI so YAML and GitHub expression mistakes fail before merge.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

GitHub Workflow Agent Guide

These rules apply to GitHub Actions workflows and custom actions under .github/.

CI/CD Deploy Safety

  • Every workflow that mutates a persistent Cloud Run service/job, GKE Helm release, or traffic/promotion state must use a workflow-level concurrency group scoped to the exact target and logical environment. Manual and automatic entry points for the same target must resolve to the same group.
  • Deployment group names are a cross-workflow API. Keep them aligned with .github/scripts/check-deployment-concurrency.py; use cancel-in-progress: false so a newer run cannot interrupt a remote mutation or a staged validation/traffic promotion.
  • deploy-backend-stack-<environment> intentionally covers the four backend Cloud Run services, traffic repair, backend-listen, LLM gateway, and backend-secrets. Those paths share mutable releases, while unrelated services retain their own groups and may deploy in parallel.
  • GitHub concurrency is serialization, not a FIFO queue: only one pending run is retained and ordering is not guaranteed. Deploy workflows must not assume that every intermediate commit will run.
  • Use immutable image tags for deploys. Build and push the short SHA tag, then deploy that exact tag.
  • Development desktop-backend acceptance signs Firebase probe tokens via IAM signJwt on vars.FIREBASE_PROBE_SIGNER_SERVICE_ACCOUNT (a @based-hardware SA matching FIREBASE_AUTH_PROJECT_ID); the deploy identity needs roles/iam.serviceAccountTokenCreator on it. Never stage service-account key files in runners or deploy them as runtime configuration.
  • Do not deploy Cloud Run services from an untagged image path; use image:...:${SHORT_SHA} so revisions show the source commit.
  • Do not let Helm chart-only deploys reset GKE workloads to latest. Preserve the currently deployed immutable tag or require an explicit tag input.
  • Every GKE Deployment deploy must wait for rollout completion with kubectl rollout status ... --timeout=... and fail on timeout.
  • For chart-only backend-listen deploys, fail if the current deployed image tag is missing or latest; use the backend deploy workflow to establish an immutable tag first.
  • Keep rollout checks close to the deploy step they verify, especially for backend-listen, pusher, llm-gateway, parakeet, diarizer, and vad.
  • Use backend/scripts/deploy_status_report.py as a strict gate on success paths; use it with || true only after a primary rollout/traffic command already failed.
  • Full backend deploys must derive one immutable Cloud Run plus backend-listen release vector and run backend/scripts/verify_backend_release_vector.py after traffic promotion; a mixed or partially applied serving vector must fail the workflow and emit evidence for a retry.
  • Before restarting GKE workloads that depend on backend-secrets, wait for ExternalSecret Ready and run backend/scripts/verify_k8s_secret_keys.py; never print secret values.
  • Before any pusher Helm mutation, verify ${ENV}-omi-backend-config exists so a missing shared runtime ConfigMap cannot replace the healthy replica.
  • Backend deploy workflows may only run Firestore index readiness through the shared .github/actions/firestore-readiness composite, staged from immutable github.workflow_sha into .github/firestore-workflow after the runtime-source checkout and bound to the exact checked source SHA before any image build, push, or rollout. It --check-onlys against RUNTIME_GCP_PROJECT_ID keylessly: the calling job's omi-gha-deploy-prod/-dev provider impersonating omi-ci-index-check@ (needs id-token: write; pools admit main-ref deploy workflows only). JIT QA lanes use env.QA_PROJECT/env.QA_FIRESTORE_DATABASE instead. gcp_backend_listen_helm.yml runs the gate only when its explicit-tag path resolves env.BACKEND_LISTEN_SOURCE_SHA; kept-tag and rollback lanes replay an image already served in the same environment, the index pipeline is create-only, and rollback must not gain new failure modes. A failed gate may upload only a locally revalidated, bounded, redacted proposal. Index writes belong solely to gcp_firestore_indexes.yml, which keeps its own firestore-schema-${environment} lock and the typed APPLY_FIRESTORE_INDEXES confirmation. Detail: agent-docs/firestore-queries-and-indexes.md.
  • When editing workflows, keep actionlint coverage in CI so YAML and GitHub expression mistakes fail before merge.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.