open-ankole
AGENTS.md231 starsChanged 4 months agoApache-2.0View on GitHub
Before acting, consider what the user is trying to accomplish. Their words may express that intent indirectly or only in part. Interpret the request in light of the conversation, the product context, and the user's decisions. Refine your understanding as the work unfolds and the user responds. Pursue the intended outcome within the authorized scope and judge completion against it. CONTRIBUTING.md covers setup, the repository map, and verification. Follow the directory-specific AGENTS.md in app/webapps/ and app/agent_computer/ when working there. When…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AgentBull/ankoleword for word, first seen Aug 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- AgentBull/ankole★ 231100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- elixirSkill
- rust-nifSkill
- phoenixSkill
- port-deep-research-playbookSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Distinctive: line 35
Identifiers: Use the owning domain's schema and identifier format without relying on database-generated IDs.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
OpenAnkole Agent Guidelines
Before acting, consider what the user is trying to accomplish. Their words may express that intent indirectly or only in part. Interpret the request in light of the conversation, the product context, and the user's decisions. Refine your understanding as the work unfolds and the user responds. Pursue the intended outcome within the authorized scope and judge completion against it.
CONTRIBUTING.md covers setup, the repository map, and verification. Follow the directory-specific AGENTS.md in app/webapps/ and app/agent_computer/ when working there.
Authorization and collaboration
When the user wants an answer, explanation, review, audit, diagnosis, or plan, the work is strictly read-only. Commits, pushes, package publication, writes to external services, destructive actions, and out-of-scope changes require explicit authorization. User instructions take precedence over Skills and rule files. If a rule blocks an action, quote it and explain why it applies. Act on authorization already given without asking for it again.
Finish the authorized work before asking for a decision. Explain the conflict and what the choice would change. When asked for a judgment, state your view, explain the evidence or trade-off behind it, and identify any uncertainty that could change it. Write the final answer so it stands on its own.
Shared worktree
Preserve other agents' changes. Never run git stash, git reset, or git pull --autostash here. If a dirty tree blocks a pull, fetch and merge in place, resolving conflicts by hand. Record conflicts you cannot safely resolve in a uniquely delimited block in HEY.md, and remove your block once resolved.
Design and review
Code, tests, and documents show how Ankole works today. Align them with approved intent when making changes, and carry settled decisions forward in reviews.
Follow Worse is Better. Choose the simplest implementation that delivers the intended experience and meets operating requirements, then prioritize correctness, consistency, and completeness within that scope. Keep everyday workflows smooth. Explicit rejection or manual recovery can suffice for peripheral cases. Judge simplification by the total cost to users, operators, and maintainers, including friction, performance, capacity, infrastructure, and recovery. When recommending removal, explain the savings and what users or operators would lose.
Every contract has one owner. Before adding a concept, path, dependency, or document, find that owner and consider what you can reuse, replace, or delete. Let the UI or caller coordinate its flow when existing operations suffice. Add backend coordination only when a domain guarantee requires it. Partial success with explicit retry can be acceptable. Keep legacy forms only for evidenced callers, persisted data, external contracts, or staged migrations. Ankole makes no public backwards-compatibility promise.
Trace the real user flow in designs and reviews. For each finding, identify the agreed user story or contract, the concrete failure path, and what users experience or must repeat. Keep accepted limitations and unpromised guarantees out of the blocker list. Handle ordinary wiring and migrations within scope. Preserve domain meanings and ownership. Changes beyond the approved scope to an identifier's meaning, a responsibility boundary, or a user-visible guarantee require a product decision.
Shared responsibility security model
Functionality and user experience always take precedence over security. Ankole enforces its declared identity, authorization, and isolation contracts. Users and administrators own their authorized choices and the consequences, including harmful ones. Honor those choices without blocking or reconfirming them merely because they carry risk. For a proposed security change, show how a concrete path violates a declared contract and what that means for the approved user flow. Expanding Ankole's responsibilities requires a product decision.
Boundaries
- Single-installation deployment. One installation owns its organization and data in one control-plane PostgreSQL database (
Ankole.Repo). - Identity and authorization. Principal and AuthZ own all subjects and permissions. A Principal's identity is
uid, a meaningful name unique within the installation. - Identifiers. Use the owning domain's schema and identifier format without relying on database-generated IDs.
- Configuration and secrets. Reserve environment variables and secret mounts for bootstrap facts and credentials needed before PostgreSQL is reachable. Declare operator settings in
Ankole.AppConfigure. Keep runtime-generated secrets in their owner's encrypted storage. - State and runtime. PostgreSQL owns facts whose loss or replay would change user-visible behavior. Enforce invariants with native types and constraints. Other stores hold only rebuildable caches and external artifacts referenced by PostgreSQL. The Elixir control plane owns durable state, supervision, and commit authority. The Rust kernel provides stateless native primitives and transport. The Bun Agent Computer runs agent tools and holds rebuildable Worker state. Worker actions with durable business meaning go through a control-plane contract.
- Persistence and HTTP APIs. Ecto schemas and
Ankole.Repoown control-plane persistence and transactions. Phoenix controllers withOpenApiSpexschemas own/api/v1HTTP contracts; keep the checked-in OpenAPI spec and generated browser client in sync withmix ankole.openapi.checkandbun run --filter @ankole/webapps openapi:generate. - Model-visible contracts. Expose only resources and paths backed by real runtime contracts.
- Extensions. Extensions are trusted first-party code. A marketplace, hot-loading, or untrusted plugin isolation requires a product decision.
Delivery and verification
Use Bun and the workspace's package.json scripts. Prefer @agentbull/active-support for utilities it already provides. Deliver the requested behavior with the code, tests, declarations, migrations, generated clients, configuration, and docs it requires. Review the full diff for this task and remove dead code, unused imports, resolved TODOs, superseded paths, and unsupported guarantees.
Use the real domain contract and adapter in production. Derive assertions from approved user-visible behavior and update superseded tests. Only unit tests may fake the boundary. Integration tests exercise the real adapter or protocol. End-to-end tests follow the real user flow. Never bypass a production code path or shift ownership to make a test pass. Run the checks for the boundaries touched. For a required check you could not run, report the exact command and what blocked it.
Update the owning specification in docs/design-docs/ for changes to behavior, schemas, events, storage, transport, or lifecycle. Follow the changelog rules before committing code. In docs and comments, name who acts, unpack dense noun phrases, and connect new information to what the reader already knows. Follow the documentation rules in every language.
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
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.

