Guide for AI agents working in this repository. Pair with CLAUDE.md (the working agreement and
hook-enforced rules). Keep this file current when the build, layout, or public API changes.
Fleet Manager backend for CryptOS-PKI: cross-node aggregation, inventory, and chain-of-trust visualization over mTLS gRPC.
src/-<tests dir>/-
- Build:
<command> - Test:
<command>(note any service/fixture the integration tests require) - Lint:
<command> - License headers / docs:
<command>
- See
CLAUDE.mdfor the branch/commit/PR rules; they are enforced by the git hooks in.claude/hooks(runbash .claude/hooks/install.shonce per clone). - Open every PR as a draft. CI skips drafts, so run the full checks locally, push once they pass, and mark the PR ready when the work is finished; see CLAUDE.md "CI and Actions minutes".
- Keep the
github.com/CryptOS-PKI/cryptos-nodepin current. The web talks to the manager in Connect JSON, and connect-go decodes JSON with unknown fields discarded, so any field the pinned node types don't know is silently dropped from node configs and profiles on read, apply and adopt. Bump the pin (thentask generate) whenever the node API adds a field the web or the nodes send.internal/fleet/wire_roundtrip_test.godrives those paths over JSON; add each new field to its fixtures. - <project-specific conventions, non-obvious constraints, and traps an agent should know>