agentleFS
zalando-incubatorzalando-incubator/agentic-identity-broker/tests/AGENTS.md

agentic-identity-broker / tests

AGENTS.md68 starsChanged 10 days agoMITView on GitHub

All paths in this file are relative to the repository root. Run commands from the repository root. Read the changed tests and the nearest suite instructions before you write a test. Before you change behavior, read the governing feature's spec.md, plan.md, and tasks.md under specs/. For HTTP assertions, read the relevant operation in api/enduser/openapi.yaml or api/admin/openapi.yaml. ExtProc agentgateway E2E tests and the backend agentgateway scenario use Docker. Infra-backed integration tests use PostgreSQL and an AWS emulator. They require Docker or…

The file

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

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All paths in this file are relative to the repository root.

    line 3
  2. Distinctive:

    Read the changed tests and the nearest suite instructions before you write a test.

    line 5
  3. Very specific:

    Before you change behavior, read the governing feature's spec.md, plan.md, and tasks.md under specs/.

    line 19
  4. Distinctive:

    Keep self-contained tests free of container dependencies.

    line 40
  5. Distinctive:

    Do not add browser or screenshot work to non-frontend suites.

    line 42

≈ “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

Tests (tests/)

All paths in this file are relative to the repository root. Run commands from the repository root.

Read the changed tests and the nearest suite instructions before you write a test.

Read First

SourcePurpose
.specify/memory/constitution.md — Principles VIII and XIIITest-first delivery, semantic failures, acceptance coverage
ARCHITECTURE.md — End-to-End Testing ArchitectureStable scenarios and production bootstrap
adrs/007-e2e-testing-with-ginkgo.mdAccepted E2E architecture
tests/e2e/AGENTS.mdBroker HTTP and ExtProc E2E rules
tests/e2e/frontend/AGENTS.mdBrowser lifecycle, page objects, screenshots
tests/integration/AGENTS.mdComponent tests, infrastructure helpers, commands
justfileSuite boundaries, worker counts, report recipes

Before you change behavior, read the governing feature's spec.md, plan.md, and tasks.md under specs/. For HTTP assertions, read the relevant operation in api/enduser/openapi.yaml or api/admin/openapi.yaml.

ExtProc agentgateway E2E tests and the backend agentgateway scenario use Docker. Infra-backed integration tests use PostgreSQL and an AWS emulator. They require Docker or Podman.

Choose the Suite

SuiteFrameworkScopeInfrastructureCommand
tests/e2e/Ginkgo v2 / GomegaBroker HTTP acceptance scenariosProduction bootstrap, normally in-memory storagejust test-e2e-backend
Docker-tagged tests/e2e/ scenariosGinkgo v2 / GomegaAgentgateway policy acceptanceProduction broker and agentgateway containerjust test-e2e-docker
tests/e2e/extproc/Ginkgo v2 / GomegaExtProc acceptance scenariosSome agentgateway scenarios require Dockerjust test-e2e-extproc
tests/e2e/frontend/Ginkgo v2 / Playwright GoBrowser acceptance scenariosBuilt frontend and Chromiumjust test-e2e-frontend
tests/integration/Standard go test / testify assertionsComponent behavior and configurationSelf-contained by defaultjust test-integration
Tagged integration packagesStandard go test / testify assertionsPostgreSQL, migrations, encryptionPostgreSQL and AWS emulator containersjust test-integration-infra

just test excludes E2E and integration suites. just test-e2e runs the backend, Docker-tagged backend, ExtProc, and frontend recipes. just test-integration-all runs both integration layers.

Keep self-contained tests free of container dependencies. Retain real infrastructure coverage for behavior that depends on PostgreSQL, KMS, or DynamoDB. Do not add browser or screenshot work to non-frontend suites.

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.