agentleFS
holon-runholon-run/holon/AGENTS.md

holon

AGENTS.md150 starsChanged 57 days agoApache-2.0View on GitHub

Holon is an early-stage headless runtime project. Keep the codebase small, explicit, and easy to reason about. Do not introduce large framework scaffolding before the runtime model is clear. Holon is meant to be: When design choices conflict, prefer runtime clarity over convenience. Prioritize work in this order: Do not start with UI work unless the task explicitly requires it. - Prefer simple, direct modules over indirection-heavy abstractions. - Make state transitions explicit in code and types. - Name modules…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository14 other files it gives its agents.

The file

Show its rules and text

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

20 rules. About 0 are common, 12 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    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:

    Do not introduce large framework scaffolding before the runtime model is clear.

    line 17
  2. Distinctive:

    When design choices conflict, prefer runtime clarity over convenience.

    line 29
  3. Distinctive:

    Do not start with UI work unless the task explicitly requires it.

    line 41
  4. Distinctive:

    Prefer simple, direct modules over indirection-heavy abstractions.

    line 45
  5. Distinctive:

    Keep comments short and only where state or lifecycle behavior is non-obvious.

    line 48
  6. Distinctive:

    Avoid hidden background behavior.

    line 49
  7. Very specific:

    Treat origin, trust, and priority as first-class runtime concepts.

    line 54
  8. Very specific:

    Keep brief or user-facing delivery separate from internal execution traces.

    line 55
  9. Distinctive:

    Do not mix operator input and external channel input without preserving provenance.

    line 56
  10. Distinctive:

    Prefer append-only event/state logs when possible over opaque mutable state.

    line 58
  11. Distinctive:

    Avoid coupling the core runtime to any single model vendor or UI surface.

    line 59
  12. Very specific:

    When changing the project definition, update the relevant entry docs such as README.md, docs/project-goals.md, docs/runtime-spec.md, …

    line 63
  13. Very specific:

    If a change affects runtime contracts or architecture, add or update the relevant document under docs/rfcs/ before or alongside …

    line 67
  14. Very specific:

    If implementation work has multiple reasonable choices, and the final choice matters for future maintenance but the reasoning cannot be …

    line 72
  15. Distinctive:

    Prefer one decision per file and keep the note limited to the choice, the reason, and the preserved boundary or tradeoff.

    line 75
  16. Very specific:

    Before architecture or roadmap work, review the relevant current RFCs under docs/rfcs/ and the current GitHub issues.

    line 78
  17. Very specific:

    Use clear conventional commit prefixes: feat:, fix:, docs:, refactor:, test:, chore:.

    line 84
  18. Distinctive:

    Keep early commits narrow.

    line 86
  19. Very specific:

    Before opening a Rust PR, run cargo fmt --all -- --check and RUSTFLAGS="-D warnings" cargo check --all-targets for warning-free builds.

    line 87
  20. Distinctive:

    Do not reintroduce the old Go CLI/runtime path while adapting workflows.

    line 94

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

Repository Guidelines

Holon is an early-stage headless runtime project. Keep the codebase small, explicit, and easy to reason about.

Project Structure & Module Organization

  • src/: Rust runtime implementation and executable entrypoints.
  • tests/: Rust integration tests and shared test support.
  • builtin_templates/: runtime-managed agent templates.
  • benchmark/ and benchmarks/: benchmark harness, fixtures, suites, and task manifests.
  • docs/: current runtime contracts, architecture notes, and design records.
  • holonbot/: Node-based GitHub App/bot retained as a separate service asset.
  • skills/: repository skills that remain useful outside the old Go runtime.
  • README.md: public-facing project definition.

Do not introduce large framework scaffolding before the runtime model is clear.

Product Intent

Holon is meant to be:

  • headless
  • event-driven
  • long-lived
  • explicit about trust boundaries
  • explicit about user-facing versus internal output

When design choices conflict, prefer runtime clarity over convenience.

Development Priorities

Prioritize work in this order:

  1. Runtime model and message envelope.
  2. Queue, wake, sleep, and task lifecycle.
  3. Event ingress and trust classification.
  4. Structured user-facing output.
  5. Integrations and adapters.

Do not start with UI work unless the task explicitly requires it.

Coding Style & Naming Conventions

  • Prefer simple, direct modules over indirection-heavy abstractions.
  • Make state transitions explicit in code and types.
  • Name modules after runtime responsibilities, not implementation accidents.
  • Keep comments short and only where state or lifecycle behavior is non-obvious.
  • Avoid hidden background behavior. If something wakes, retries, sleeps, or enqueues work, make that visible in names and logs.

Architecture Guardrails

  • Treat origin, trust, and priority as first-class runtime concepts.
  • Keep brief or user-facing delivery separate from internal execution traces.
  • Do not mix operator input and external channel input without preserving provenance.
  • Prefer append-only event/state logs when possible over opaque mutable state.
  • Avoid coupling the core runtime to any single model vendor or UI surface.

Documentation Expectations

When changing the project definition, update the relevant entry docs such as README.md, docs/project-goals.md, docs/runtime-spec.md, docs/roadmap.md, or docs/coding-roadmap.md.

If a change affects runtime contracts or architecture, add or update the relevant document under docs/rfcs/ before or alongside implementation. Keep historical or one-off notes out of the top-level docs/ surface when possible.

If implementation work has multiple reasonable choices, and the final choice matters for future maintenance but the reasoning cannot be expressed clearly in code, add one short focused note under docs/implementation-decisions/. Prefer one decision per file and keep the note limited to the choice, the reason, and the preserved boundary or tradeoff.

Before architecture or roadmap work, review the relevant current RFCs under docs/rfcs/ and the current GitHub issues. Do not treat archived docs as the current source of truth.

Commit & Pull Request Guidelines

  • Use clear conventional commit prefixes: feat:, fix:, docs:, refactor:, test:, chore:.
  • Keep early commits narrow. This repository is still defining its core model.
  • Before opening a Rust PR, run cargo fmt --all -- --check and RUSTFLAGS="-D warnings" cargo check --all-targets for warning-free builds.
  • In PR descriptions, explain which runtime concept changed and why.

Migration Notes

  • The main runtime is now the Rust holon binary produced by Cargo.
  • Do not reintroduce the old Go CLI/runtime path while adapting workflows.
  • GitHub workflow and release automation should be rebuilt around the Rust binary.
  • The old TypeScript Claude agent bundle has been removed; runtime integration should go through the Rust provider/tooling model instead of a separate Claude SDK bundle.
  • holonbot remains a separate service asset; do not couple it back into the runtime core without a specific design decision.

What To Avoid

  • Premature plugin systems
  • UI-first architecture
  • Hidden global state
  • Implicit trust elevation
  • Tight coupling between scheduling and transport-specific adapters

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.