Chain-agnostic Rust foundations for decentralized identity and verifiable credential products in the Hyperledger Identus ecosystem.
Work in progress:
developis a pre-release integration line. No crate in this repository should yet be treated as a stable production SDK release.
The repository owns generic SSI domain models, protocol engines, cryptographic utilities, ports and conformance evidence. Midnight, PRISM/Cardano and future chain families consume the SDK and keep ledger-specific behavior outside it. Wallet products keep custody, storage, consent, trust and UI policy.
- Technical blueprint and component sequence
- SDK architecture and release handbook
- Portable PRISM DID/VDR/indexer adoption
- Bootstrap governance and crate inventory
- Alpha source distribution
- Bootstrap branch decision
- NeoPRISM toolchain alignment
- Roadmap
- Governance
- Constraints and limitations
- Contributing
- Security
- Release policy
- AI Software Factory
develop starts from yet-another-seed revision 662f8d7 and is the active
integration branch. It contains working validated-newtype, derivation,
cryptography, DID, entropy-adapter and conformance foundations. The baseline
also contains known bootstrap debt: quarantined placeholder names, version
0.0.0, enterprise-controlled secret-scanning gaps, and no approved publishing
ownership. The protected develop integration ruleset and private
vulnerability reporting are active. Every package is publish = false. The
MSRV and target lanes are executable; the remaining items are not evidence of
a production release.
main remains intentionally minimal and is not an integration or release
target until maintainers explicitly activate it through a later decision.
Feature branches and pull requests target develop.
- Nix with flakes enabled for the reproducible toolchain; the flake pins exact stable Rust 1.99.1 for primary, etalon, and separately named MSRV evidence while retaining the established Nix baseline. The pinned nightly is available only in the explicit sanitizer-fuzz shell.
# Enter the devshell
nix develop
# Build and test
nix develop -c cargo build --workspace
nix develop -c cargo test --workspace
# Format Rust and Nix
nix run .#format
# Run sanitizer fuzzing with the pinned nightly shell
nix develop .#fuzz -c ./scripts/fuzz-jws.sh smoke
# Run the complete repository gate
nix flake check
# Reproduce the complete slow Clippy surface locally
cargo clippy --workspace --all-targets --all-features -- -D warnings
The flake supports x86_64-linux and aarch64-darwin. Pull requests and
develop pushes run one Ubuntu fast factory/build/lint/test status. Native
weekly slow evidence runs from protected develop, which is the GitHub default
branch while reserved main remains minimal. The same complete Linux/macOS
matrix can be dispatched manually or reproduced locally; it includes the
all-target/all-feature Clippy surface. See the
Clippy policy and exception registry.
The AI Software Factory uses pinned OpenSpec artifacts as the contract between human intent and agent implementation.
/opsx:explore
│
▼
/opsx:propose <idea> ──► openspec/changes/<idea>/
│
▼
research-ready + constraint-ready
│
▼
/openspec-review
│
▼
/opsx:apply ──► /opsx:verify ──► factory ready ──► /opsx:archive
Use an OpenSpec change for new behavior, public API, architecture, protocol or multi-step work. Direct edits are suitable for typos, non-behavioral bug fixes, formatting, dependency chores and behavior-preserving refactors. Archived seed decisions are historical evidence: branch, release and architecture rules in the current governance documents take precedence.
./scripts/factory doctor
./scripts/factory check
./scripts/factory research-ready <change>
./scripts/factory constraints-ready <change>
./scripts/factory ready <change>
./scripts/factory receipt <change>
Feature branches and dedicated worktrees start from develop; reviewed pull
requests return to develop. The factory never targets main automatically.