Instructions for coding agents working on this repository. The full guide, with the reasons behind each rule, is CLAUDE.md; read it before a change of any size. Agents that want to use the standard rather than change it should start at https://acs.synapti.ai/agents.md.
The Agent Capability Standard: a capability ontology
(schemas/capability_ontology.yaml), workflow catalogs
(schemas/workflow_catalog.yaml, schemas/workflows/), domain profiles
(schemas/profiles/), one skill per capability (skills/<name>/SKILL.md),
the normative specification (spec/STANDARD-v*.md), a validator and executor
in Rust (core/) with Python bindings (grounded_agency/), and the
documentation site (site/).
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]" -c constraints.txt # builds the Rust core; needs rustc >= 1.88python tools/validate_workflows.py --strict
for c in schemas/workflows/*.yaml examples/*.workflow_catalog.yaml; do python tools/validate_workflows.py --catalog "$c" --strict; done
python tools/validate_profiles.py
python tools/validate_skill_refs.py
python tools/validate_ontology.py
python tools/validate_canonical_schemas.py
python tools/validate_rfcs.py
python tools/validate_constraints.py
python tools/validate_doc_links.py
python tools/validate_yaml_util_sync.py
python tools/validate_transform_refs.py
python tools/validate_benchmark_deps.py
python tools/sync_skill_schemas.py --check
python scripts/gen_runtime_fixtures.py --check
python scripts/gen_call_fixtures.py --check
python scripts/gen_trigger_vectors.py --check
python scripts/gen_standard_agents_binding.py --check
python scripts/gen_capability_json_schemas.py --check
pytest tests/ -v --tb=shortRust core, from core/:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo clippy --all-targets --features python -- -D warnings
cargo clippy --all-targets --features wasm -- -D warnings
cargo test
cargo test --features wasm --test wasmTypeScript package, from packages/acs-core/ (build it before the binding;
build:wasm needs the wasm32-unknown-unknown target of the toolchain
RUSTUP_TOOLCHAIN names, and the binding needs only npm run build:ts):
npm ci
npm run build:wasm
npm run build
npm run check
npm testStandard Agents binding, from examples/standard_agents/:
npm ci
npm run check
npm testDocumentation site, from site/ (Node version in site/.nvmrc):
npm ci
npm run check
npm test
npm run build
npm run check:axe- Adding a capability touches the ontology, a new skill, every capability count in the docs and the site's symbol list. Follow "Creating New Capabilities" in CLAUDE.md step by step.
- After editing the ontology or the workflow catalog, run
python tools/sync_skill_schemas.pyto regenerate the skill-local copies. After editing the ontology, also runpython scripts/gen_standard_agents_binding.pyandpython scripts/gen_capability_json_schemas.py: CI checks their output. - No YAML file under
site/. Every new public Markdown file needs a route insite/src/lib/routes.tsor an entry in itsEXCLUSIONSlist. - Do not type counts (capabilities, layers, workflows) into site code; the site reads them from the data.
mutate,sendandrollbackneed acheckpointstep before them; the validator rejects a workflow without one.
- Conventional commit messages (
feat:,fix:,docs:,chore:). - Releases: see "Releasing" in CLAUDE.md.
- Report problems in the GitHub issue tracker.