Development guide
Resources for contributing to AlignTrue and understanding the codebase.
Getting started
- Setup - Local development environment setup
- Workspace - Monorepo structure and package organization
- Commands - Build, test, and development commands
- Architecture - System design and technical decisions
Quick links
Contributing
- Getting started guide - How to contribute
- Testing workflow - Running and writing tests
- Adding exporters - Creating new agent adapters
Documentation
- Editing docs - How to update documentation
- Creating packs - Publishing rule packs
Development workflow
- Clone and setup: Follow the setup guide
- Make changes: Edit code in relevant package
- Test locally: Run tests with
pnpm test - Build: Run
pnpm buildto verify compilation - Submit PR: Follow contributing guidelines
Package structure
AlignTrue uses a pnpm workspace with the following packages:
packages/cli- Command-line interfacepackages/core- Core sync engine and configurationpackages/schema- IR validation and canonicalizationpackages/exporters- Agent-specific exporters (43 adapters)packages/markdown-parser- Markdown to IR conversionpackages/sources- Multi-source pulling (local, git, catalog)apps/docs- Documentation site (Nextra)
See workspace guide for detailed package descriptions.
Last updated on