# Repository instructions Read `PROJECT_CHARTER.md` before changing architecture, performance policy, or scope. The charter is the source of truth for goals and milestones. ## Priorities 1. Preserve protocol correctness and successful task completion. 2. Preserve model quality and tool-call integrity. 3. Improve end-to-end agent throughput, then decode/prefill throughput. ## Change rules - Keep production serving independent of Python. Python is allowed for offline conversion, calibration, experiments, and evaluations. - Keep model weights, request captures, credentials, logs, and generated artifacts out of Git. Use external volumes or ignored local paths. Sanitize any fixture committed to the repository. - Do not enable lossy optimizations by default until their separate quality gate passes. Mark experimental modes explicitly. - For non-lossy changes, compare greedy output or tensor values against the defined baseline and record numerical tolerances. - Do not label a change as a performance improvement without paired A/B measurements on the same workload and a quality result. Record hardware, software, model digest, configuration, cache state, token counts, and distributions as required by the charter. - Do not conflate a synthetic kernel gain with an end-to-end agent workload gain. Report both when relevant. - Keep the Strata upstream commit and local changes traceable. Do not overwrite or silently replace the upstream provenance record. ## Repository state The Strata source is present under `engine/strata/` at the commit recorded in `docs/upstream.md`. The Rust control plane exposes health, readiness, status, and a `/v1/responses` validation stub, and can supervise one configured worker. A synthetic offline Responses replay exists, but live inference, project benchmark results, and deployment assets are not yet present. Read `engine/strata/AGENTS.md` before modifying imported engine code.