Repository layout
weld/
├── spec/ this document, workflows.md, ADRs, schema changelogs
├── docs/ Vocs documentation site, generated from spec/ by docs/scripts/sync_spec.py
├── protocol/
│ ├── schema/ context-v1.json, payload-v1.json, attestations-v1.json, domains.json
│ ├── lib/ core (hash, tags, ord), notes, merkle, context,
│ │ registry, keys, envelope, recursion
│ └── circuits/ shield, initiate, resolve, reclaim, unshield, wrapper, noop
├── framework/
│ ├── weld/ Rule, Verdict, Ctx, State, Attest, combinators,
│ │ #[weld::policy|params|state] comptime attributes
│ └── rules/ the standard catalog (one package each)
├── reference/ Rust crate ([§7](/protocol/reference-crate))
├── cli/ weld CLI (§6)
├── contracts/ Foundry ([§8](/protocol/contracts))
├── sdk-ts/ sdk-rs/ generated clients + witness builders
├── examples/ corridor, travel_rule, velocity, officer_approval
├── tests/e2e/ devnet + two FI backends + wallet flows
├── flake.nix justfile pinned nargo/bb/foundry/pnpm; recipes
└── AGENTS.md agent instructions