Contributing
Contributions go through pull requests against main on GitHub. Keep each change focused on one issue, and keep secrets and real Core data out of code, tests, logs, and screenshots; the test suite uses synthetic fixtures and credentials only.
Development
Section titled “Development”cargo fmt --all -- --checkcargo clippy --locked --all-targets -- -D warningscargo test --locked --all-targetscargo tree --locked -e features -i komodo_clientcargo tree --locked -e features -i reqwestCI runs formatting, Clippy, and tests on Linux for pull requests and pushes to
main, using only local fixtures and synthetic credentials.
It also verifies release metadata and initializes the actual release executable
to check its MCP application version. Release notes live in CHANGELOG.md;
maintainers use the release skill
for validation, publication, and recovery.
The subprocess smoke test launches Cargo’s compiled binary and explicitly uses
MCP 2025-11-25: configured startup, initialization, read-only tool discovery, list
and ID/name detail calls in every family, inventory continuation to an exactly
full final page, actionable failures, recovery, and stdin EOF shutdown. It also
checks the SDK’s unknown-tool protocol error. Both output streams are captured
concurrently, every stdout frame is validated through EOF, and all phases have
deadlines. Verbose RUST_LOG=trace exercises credential redaction; populated
sensitive fixture fields must never appear in MCP content or captured stderr.
HTTP integration tests exercise the real SDK, exact typed authenticated read
requests, permission-filtered emptiness, pagination offsets and request counts,
bounded exact/ambiguous/name-shaped-ID resolution, all response field allowlists,
target semantics, typed failures, delayed headers/bodies, TLS timeouts,
connectivity, redirects, pool reuse, concurrency, and recovery. The actual
production KomodoServer is exercised through rmcp, alongside the foundation’s
error-frame tests. Fixtures and subprocesses are bounded and cleaned up on
failure. Tests never mutate the parent process environment.
No dependency features were added: rmcp’s existing server feature already
enables the re-exported schemars schema/derive support. Komodo optional features
remain disabled.
To build an optimized executable and inspect the source package contents:
cargo build --locked --releasecargo package --locked --allow-dirty --listRendered from README.md § Development in the repository.
Documentation sources
Section titled “Documentation sources”The README and the files in docs/ are the canonical documentation. This website renders them at build time, so edit the Markdown in the repository rather than the website. A guide that moves or a README section that is renamed fails the website build until the website metadata is updated.
Website
Section titled “Website”The website lives in website/ and uses Astro Starlight with pnpm. Install the Node version in .nvmrc,
then run these commands from the repository root.
pnpm install --frozen-lockfilepnpm --dir website exec playwright install chromium webkitpnpm website:devpnpm website:checkwebsite:check verifies the social image, runs Astro diagnostics, builds the production artifact once, then runs output contracts and Playwright browser checks against it. See website/README.md for each stage.