Development¶
This section is for contributors working on the pg-logstats repository.
Top-Level Layout¶
src/: Rust library and binary implementationdocs/: public documentation and Zensical sourcetests/: integration tests and test fixturesagents/: AI agent harnesses and playbooksengg/: engineering design documents
Local Tasks¶
Use mise for tool versions and make for tasks:
# Install toolchains (Rust, Python, UV)
mise install
# Run checks (format, clippy, package-smoke)
mise exec -- make check
# Run test suite
mise exec -- make test
# Build documentation site
mise exec -- make docs-build
Use make docs when you want to run the local Zensical development server:
Documentation Rule¶
Public docs should help a user or operator use pg-logstats or develop against its library. Internal design rationale should be placed in engg/ or in development/architecture.md.
When a CLI command or public API changes, update the matching docs page in the same commit.