Contributing
Setupβ
git clone https://github.com/marcosfpina/adr-ledger.git
cd adr-ledger
nix develop # automatically installs dependencies and git hooks
Without Nix: manually install python3, python3-pyyaml, yamllint, jq and run .hooks/install.sh.
Structureβ
adr/ # ADRs by status (proposed, accepted, superseded, rejected)
.schema/ # JSON Schema for validation
.governance/ # Governance as code (approval matrix, compliance rules)
.parsers/ # Python parser (adr_parser.py)
.chain/ # Blockchain layer (provenance, signatures)
scripts/adr # CLI
docs/ # Documentation
Contribution Workflowβ
- Fork + descriptive branch (
feat/hipaa-compliance-validator) - For parser or CLI changes: add tests in
.parsers/tests/ - Run
nix flake checkbefore opening a PR β all checks must pass - Small, focused PRs are easier to review
Open Areasβ
- Parsers: support for other ADR formats (MADR, Y-statements)
- Validators: new compliance frameworks (HIPAA, PCI-DSS, ISO 27001)
- Integrations: connectors for Jira, Linear, Confluence
- Visualizations: graph layouts, timeline views
Conventionsβ
- ADRs in
adr/proposed/follow the schema defined in.schema/adr.schema.json - Code commits:
feat(parser):,fix(cli):,chore: - ADR commits:
arch(adr):orADR: - Do not commit generated artifacts (
knowledge/,reports/) β they are listed in.gitignore
Licenseβ
Apache 2.0. Contributions are made under the same license.