AGENTS.md - Beamtalk Agent Quick Reference
July 31, 2026 ยท View on GitHub
This file is a compact one-page index for AI coding agents. For full, detailed guidance, examples, and workflows see docs/agents/expanded.md.
Essential Rules
- Repo values (use for API calls): Owner:
jamesc, Repo:beamtalk. - Syntax verification: Always verify Beamtalk syntax in
docs/beamtalk-language-features.md,examples/, ortests/before using it. - Structured errors: Use
#beamtalk_error{}for all user-facing/public API errors. Internal runtime helpers (runtime/**/*.erl) may use{ok, Value} | {error, Reason}if translated at public API boundaries. - Blocks into class methods: A class method runs in its class's gen_server process, so a block passed into one runs there too. Values and
^cross fine; process-local side effects (process dictionary,self()) do not, and messaging the same class back raisesdispatch_error. See expanded doc. - CI checklist: Use
just cifor full checks; quick commands:just build,just test,just test-stdlib,just test-repl-protocol. - Agent shortcuts: You may run
just,cargo,rustc,rustfmt, andgitwithout asking.
Issue Workflow
Create Linear issues with context and acceptance criteria. Always set labels: agent-state, item-area, issue-type, item-size. Establish blocking relationships for dependencies. See expanded doc for label lists, GraphQL examples, and issue templates.
Key Links
| Resource | Location |
|---|---|
| Full agent guidelines | docs/agents/expanded.md |
| Language spec | docs/beamtalk-language-features.md |
| Architecture principles | docs/development/architecture-principles.md |
| Rust guidelines | docs/development/rust-guidelines.md |
| Erlang guidelines | docs/development/erlang-guidelines.md |
| Common tasks | docs/development/common-tasks.md |
| Debugging | docs/development/debugging.md |
| ADRs | docs/ADR/ |