acdc
2
总安装量
2
周安装量
#71445
全站排名
安装命令
npx skills add https://github.com/seriouscoderone/keri-claude --skill acdc
Agent 安装分布
opencode
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
gemini-cli
2
Skill 文档
ACDC Protocol Specification Skill
ACDC defines authenticatable, chainable data containers for verifiable credentials and data provenance. Built on KERI (identifiers/key state) and CESR (encoding), ACDCs provide granular proof-of-authorship via DAGs of linked containers with graduated disclosure and contractual protection.
Architecture (5 Layers)
- Structural â Immutability + identity: SAID, schema binding, deterministic serialization, variants
- Semantic Graph â Composable identity graph: Attribute, Aggregate, Edge, Rule sections
- Contractual Governance â Regulated exchange: disclosure mechanisms, exploitation protection, IPEX
- Lifecycle/State â Temporal state: TEL registries, issuance, revocation, blinded state
- Crypto/Transport â Cryptographic objects: selective disclosure, bulk issuance, CESR native encoding
Top-Level Fields
When present, fields MUST appear in order: [v, t, d, u, i, rd, s, a, A, e, r]. Required: [v, d, i, s]. Mutually exclusive: a (attributes) vs A (aggregate).
Message Types
ACDC: acm (field map), act (fixed fields + attribute), acg (fixed fields + aggregate). Registry TEL: rip (registry inception), upd (update). Sections: sch, att, agg, edg, rul.
Reference Files
- acdc-structure.md â Top-level fields, reserved fields, version string, SAID/UUID/AID fields, ACDC variants (public/private/metadata/compact/targeted/untargeted), schema section (type-is-schema, immutable, versioning, composable JSON schema), most compact form SAID algorithm
- sections.md â Attribute section (4 variants, compact form, disclosure rules), Aggregate section (AGID computation, selective disclosure, inclusion proof), Edge section (edge-group, edge, operators, graph fragments), Rule section (rule-group, rule, Ricardian contracts)
- disclosure-ipex.md â Graduated disclosure (metadataâpartialâselectiveâfull), exploitation model, chain-link confidentiality, contractually protected disclosure, IPEX protocol (non-normative: routes, state machine, validation), ACDC state binding
- tel-registry.md â TEL architecture, registry events (rip/bup/upd), field reference, BLID computation, blinded attribute blocks, blinded state disclosure, bound blinded blocks, 4 registry patterns, 5 state machines
- issuance-encoding.md â Crypto strength, selective disclosure tiers, bulk issuance (basic, independent AID, independent registry), ACDC message types table, CESR native formats (field map vs fixed fields, count codes, emptiness codes), section messages, extensibility
Key Invariants
- ACDCs use insertion-ordered field maps; MUST support JSON, CBOR, MGPK, CESR
- Every block with a
dfield is SAIDed; replacing a block with itsdvalue = compact form ufield (UUID salt) enables privacy; withoutu, SAID provides compactness only- Schema MUST be static/immutable â
$idMUST be a bare SAID - Edge
nfield distinguishes edges from edge-groups; MUST haven= edge, MUST NOT = edge-group - Rule
lfield is REQUIRED in every Rule block (legal language) - TEL events MUST be sealed in the Issuer’s KEL via transaction event seals
- IPEX section is explicitly non-normative (baseline for ecosystem-specific protocols)