Publishing to the Registry
The BRIK-64 registry hosts certified PCD packages — polymers and policy circuits that have been verified (Φ_c = 1) and are available for reuse.Prerequisites
Create an account at brik64.dev/register and generate an API key from your dashboard.
This stores your credentials in
~/.brik64/credentials.toml. The token is used for all registry operations.[package]
name = "my-package"
version = "0.1.0"
description = "A brief description of your package"
author = "your-username"
license = "BSL-1.1"
[dependencies]
# other-package = "^1.0.0"
[certification]
phi_c = true # requires Φ_c = 1
min_coverage = 100 # percentage of paths tested
Publishing runs
brikc policy verify (or brikc compile --verify) on every .pcd file in the package. If any circuit fails Φ_c = 1 verification, the publish is rejected.Registry CLI Commands
Search
Package Info
Install a Dependency
brik.toml and downloads the package to .brik64/deps/.
Certification Badges
Every published package displays a certification badge based on its verification status:| Badge | Meaning |
|---|---|
| Certified | All circuits pass Φ_c = 1, 100% path coverage |
| Verified | All circuits pass Φ_c = 1, partial coverage |
| Unverified | Published but not yet certified |
Embedding Badges
Use the badge URL in your README or documentation:Versioning Strategy
BRIK-64 packages follow Semantic Versioning:- MAJOR — breaking changes to circuit interface (renamed inputs/outputs, removed circuits)
- MINOR — new circuits or new parameters with defaults (backward compatible)
- PATCH — bug fixes, documentation, internal improvements
Version Constraints in brik.toml
Publishing Checklist
Before runningbrikc pkg publish, verify:
- All
.pcdfiles compile without errors -
brikc policy verifypasses on all circuits (Φ_c = 1) -
brik.tomlhas correct name, version, description, and author - Version number is bumped from the previous release
- No secrets or credentials in the package files

