behavior-inventory
Skill1 starsChanged 3 months agoMITView on GitHub
Defines the content and structure of the Behavior Inventory — the unit of traceability for the whole method. Reference when assembling or reviewing inventory/behaviors.json.
In this repository17 other files it gives its agents.
- acceptance-criteriaSkill
- adjudication-recordSkill
- adrSkill
- characterization-suiteSkill
- context-modelSkill
- contract-testsSkill
- cutover-planSkill
- design-docSkill
- divergence-registerSkill
- interface-inventorySkill
- migration-waypointsSkill
- observability-specSkill
- retirement-registerSkill
- roadmapSkill
- slice-outlineSkill
- tactical-modelSkill
- variation-policySkill
The file
Files
Behavior Inventory
Defines what a Behavior record contains. Does not define how to extract behaviors — that is agents/behavior-extractor.md's job, and identity resolution across runs is scripts/resolve-identity.py's job (REQ-31a), never an agent's.
Schema
schemas/behavior.schema.json. One JSON object per behavior; inventory/behaviors.json is a JSON array of these.
Required fields
id (BHV-NNNN), summary (≥10 characters, one atomic fact, not a module summary), source_services (≥1), evidence (≥1), confidence.
Content obligations
kindclassifies the behavior: validation, calculation, routing, state-transition, error-mapping, side-effect, emission, or other.failure_path: truefor anything describing failure, timeout, or partial-completion — these are under-represented by default (01-spec.mdDR1) and must be marked, not left to inference.confidence: "unknown"requires areason. Do not default to"medium"to avoid writing a reason.statusdefaults to"confirmed"."unconfirmed"is set only byscripts/resolve-identity.pywhen a previously-seen Behavior is absent from the latest run — never set by hand.
Behavior-ID citation
A Behavior is the thing everything else cites, not the other way around. Its own spec_clauses and tests fields, once populated downstream, are how coverage becomes computable (REQ-12): % of Behavior IDs with a passing characterization test.
Unknowns
An undeterminable field is "confidence": "unknown" with a reason — never omitted, never guessed (REQ-09, Constitution C10).
Minimal worked example
{
"id": "BHV-0042",
"summary": "Rejects an order when requested quantity is zero or negative",
"source_services": ["orders-svc"],
"interfaces": ["IFC-SYNC-0001"],
"kind": "validation",
"failure_path": true,
"evidence": [ { "source": "code", "locator": "orders/validate.py:42" } ],
"confidence": "high"
}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.

