punkgo-jack is the local adapter layer for punkgo-kernel, providing:
- MCP server (
punkgo-jack serve) — tool surface for querying and proving AI agent history - Hook adapter (
punkgo-jack ingest) — automatic tool call recording via host tool hooks - Setup CLI (
punkgo-jack setup/unsetup) — auto-configure hooks in supported tools
Design principles:
- Keep
punkgo-kernelas the only audit/commit engine - Avoid adding a second append-only log implementation here
- Prefer thin facades and protocol adapters over duplicated kernel logic
- Rust 1.88+ (MSRV declared in
Cargo.toml) punkgo-kerneldrunning for integration testing (unit tests useEmbeddedBackend/MockBackendunder#[cfg(test)])
cargo fmt
cargo clippy -- -D warnings
cargo testAll three must pass before submitting a PR. CI runs these on three platforms (Ubuntu, Windows, macOS).
Feature flags:
cargo test --all-features # includes rebuild-audit (requires SQLite)
cargo test --no-default-features # without roast-png (no resvg/tiny-skia)- Production:
DaemonBackendconnects topunkgo-kerneldvia IPC (Unix socket / Windows named pipe) - Tests:
EmbeddedBackend(in-process kernel) andMockBackendunder#[cfg(test)]
- Keep tool interfaces backward-compatible where possible
- Add tests for new tool behavior and error paths
- Document public-facing tool/API changes in
README.md(and add tests) - If changing kernel integration assumptions, explain why in the PR description
read_eventspagination/cursor integration (kernel-level limitation, scan_limit max 100)- Windsurf hook adapter (Cursor adapter completed in v0.4.1)
- Roast (
punkgo-jack roast) — AI personality diagnosis based on recorded events. Analyzes coding patterns and maps them to one of 16 MBTI-inspired dog personalities. Config-driven via TOML. Code lives insrc/roast/.