> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Patterns and conventions

> Fleet Prime Agent — Patterns and conventions.

* Standard top-level imports only; never inline/dynamic imports (`await import(...)`, `import("pkg").Type`).
* No `any` types unless absolutely necessary.
* Configurable keybindings only (`DEFAULT_EDITOR_KEYBINDINGS`, `DEFAULT_APP_KEYBINDINGS`); never hardcode key checks.
* Protocol changes: classify as backward-compatible / capability-gated / incompatible; bump `DAEMON_PROTOCOL_VERSION` and `DAEMON_SCHEMA_REVISION` for wire changes (`packages/agent/src/protocol.ts`).
* Optional features must degrade locally; never block agent startup.
* Lockstep versioning: all packages share the same version (`packages/*/package.json` updated together via `npm run release:patch`/`minor`).
* Never remove backward compatibility unless explicitly requested.

Related: [Tooling](/fleet-prime-agent/how-to-contribute--tooling)
