Scope
This docs set describes current behavior in capdag, tagged-urn-rs, and deployed site functions.
When a docs statement conflicts with code, code wins.
Primary Sections
- URN Syntax: tagged URN grammar, canonicalization, CAP direction defaults.
- Matching: tagged URN truth table, CAP direction semantics, CAP-specific tag matching.
- Specificity: scoring rules and subsystem-specific tie behavior.
- Capability Schema: current JSON shape (
args,sources,output). - Validation Rules: RULE1..RULE12 and schema validation flow.
- Bifaci Protocol: Bifaci frame model and wire format.
- Runtime Hosting: plugin runtime, host runtime, relay switch behavior.
- Integration Recipes: end-to-end request and graph execution patterns.
- API Reference: deployed endpoints only.
Source Priority
capdag/src/**tagged-urn-rs/src/**capdag-dot-com/functions/**capdag-dot-com/docs/**