| name | dna |
| description | DNA — an agent governing knowledge system. Core modules: spec (GBTD), philosophy (structured wisdom), convention (actionable rules), protocol (git/CI/deploy paradigms), flow (executable procedures), inbox (agent message routing). Unified CLI: `dna`. Triggers on: spec, dna.yaml, GBTD, philosophy, convention, protocol, flow, git workflow, branching strategy, dna. |
DNA — Agent Governance System
A governing knowledge system for autonomous agents. Five modules, one CLI.
Modules
| Module | Reference | What It Covers | When to Load |
|---|
spec | references/spec.md | GBTD (Goal/Boundary/Tools/Deprecated), dna.yaml format | Writing or auditing dna.yaml |
philosophy | references/philosophy.md | Structured wisdom database with slug-based entries | When you need a guiding principle |
convention | references/convention.md | Actionable rules — global and local (agent dna.yaml) | When you need a specific "use X not Y" rule |
protocol | references/protocol.md | Git/CI/deploy paradigms — branching, PR, QA gates, merge authority | Setting up project git/deploy protocol |
flow | (data directory) | Executable procedures — ordered step sequences for multi-stage tasks | When you need a repeatable end-to-end procedure |
inbox | (data directory) | Agent inbox system — per-source response guides | When checking or responding to inbox items |
dna.yaml — Agent DNA
Every agent declares its DNA in dna.yaml at workspace root:
goal: >
What this agent does and why.
boundary:
- What it doesn't do.
tools:
- Tools it uses.
philosophy:
- artifact-is-the-test
- quality-over-quantity
conventions:
- id: my-local-rule
rule: "Specific actionable rule for this agent."
derives-from: module-isolation
deprecated:
- pattern: "old thing"
replacement: "new thing"
dna spec reads dna.yaml (falls back to GOAL.yaml for backward compat).
CLI: dna
dna spec <agent>
dna spec <agent> pods.engineer
dna spec <agent> --tree
dna spec <agent> --goal
dna spec <agent> --boundary
dna spec <agent> --tools
dna spec <agent> --deprecated
dna spec --global
dna spec --repo <owner/repo>
dna spec --repo <owner/repo> --spec
dna tool ls
dna tool <name>
dna tool <name> --spec
dna cron investigate --agent <id> --last 10
dna cron investigate --agent <id> --session <SID>
dna philosophy --list
dna philosophy <slug>
dna philosophy --inject <slug>
dna philosophy --search "keyword"
dna philosophy --agent <agent>
dna convention --list
dna convention <slug>
dna convention --inject <slug>
dna convention --agent <agent>
dna convention --search "keyword"
DNA protocol --list
dna protocol <level>
dna protocol --inject <level>
dna protocol --agent <agent>
dna protocol --search "keyword"
dna flow --list
dna flow <slug>
dna flow --inject <slug>
dna flow --search "keyword"
dna flow --agent <id>
dna inbox ls --agent <agent>
dna inbox ls --agent <agent> --from <source>
dna inbox ls --agent <agent> --all
dna inbox guide <source>
dna skill ls
dna skill read <name>
dna skill read <name> --refs
dna skill read-ref <name> <file>
dna skill search "keyword"
dna skill roots
dna skill add-root <path>
dna skill remove-root <path>
Legacy CLIs (deprecated)
Old spec and cron-investigate commands print a deprecation notice and exit.