agentleFS
ScottRBKScottRBK/forgetful/AGENTS.md

forgetful

AGENTS.md301 starsChanged 2 months agoMITView on GitHub

Aim for each test to finish in under 15 seconds; this is advisory, with no enforced timing checks. These tests use in-memory stubs and run fast (~seconds). They form the bulk of our test suite and catch 90% of issues. These tests use an in-memory SQLite database for test isolation. Fast execution with automatic cleanup. Remember: rebuild docker image if running local container service, not required however for e2e tests. Note: Ruff UP006 rule enforces Python 3.12+ built-in generics (list…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No pollution of service layer with integration/implementation details

    line 6
  2. Distinctive:

    Purpose: Test business logic with stubbed I/O (no real database required)

    line 15
  3. Distinctive:

    Purpose: Test complete stack with in-memory SQLite

    line 26
  4. Distinctive:

    Purpose: Test complete stack with real PostgreSQL

    line 36
  5. Distinctive:

    Ensure that you run ruff following any changes and address any issues raised

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Forgetful Development Guide

Architecture

Layered architecture: routes -> services -> protocols -> repositories/adapters No pollution of service layer with integration/implementation details

Testing Philosophy

We focus on integration and E2E tests over unit tests. Tests should cover critical workflows without exhaustive edge case coverage.

Aim for each test to finish in under 15 seconds; this is advisory, with no enforced timing checks.

Integration Tests

Location: tests/integration/ Purpose: Test business logic with stubbed I/O (no real database required) Run locally:

uv run pytest tests/integration/

These tests use in-memory stubs and run fast (~seconds). They form the bulk of our test suite and catch 90% of issues.

End-to-End Tests

SQLite E2E Tests

Location: tests/e2e_sqlite/ Purpose: Test complete stack with in-memory SQLite Requirements: None (no Docker required) Run locally:

uv run pytest tests/e2e_sqlite/

These tests use an in-memory SQLite database for test isolation. Fast execution with automatic cleanup.

PostgreSQL E2E Tests

Location: tests/e2e/ Purpose: Test complete stack with real PostgreSQL Requirements: PostgreSQL running in Docker Run locally:

cd docker && docker compose down -v  
uv run pytest -m e2e

Remember: rebuild docker image if running local container service, not required however for e2e tests.

Linting

Ensure that you run ruff following any changes and address any issues raised

uv tool run ruff check .

Note: Ruff UP006 rule enforces Python 3.12+ built-in generics (list instead of typing.List, dict instead of typing.Dict, etc.). This catches legacy type hint syntax automatically.

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.