Skip to main content

Contributing

Read the target repository's AGENTS.md, manifests and current Git status before changing code. The Cortex workspace contains independent repositories; keep source, application and canonical website changes in their own repositories and preserve local work.

Use Node 24.15.0+ and npm 12.2.0 for the active monorepo. Root workspaces are SDK, CLI, provider and template catalog. The canonical quickstart and each scaffold have separate installs/lockfiles. Python and old pipeline helpers are archived and excluded from active builds.

Check affected behavior​

  • SDK/backend: lint/typecheck, build, public contract/package tests and affected units.
  • CLI/provider: their own build/type/lint and relevant unit/integration contracts.
  • Apps/templates: their own install, build and scoped tests; meaningful live browser flows when UI behavior changes.
  • Docs: Docusaurus typecheck/build, local links, code examples and rendered navigation.

Service-dependent validation needs a verified disposable target and actual prerequisites. Offline/mocked success does not establish native authentication, graph, storage, inference or media outcomes. Ordinary PR checks and explicitly managed service checks have separate lifecycles; do not inject paid work or secrets merely to pass a local check.

Every runtime billable call needs policy/admission, every protected effect needs current authority/source checks, and recovery must preserve semantic identity. Additive installation and application updates preserve host ownership. See architecture, model policy and security.