Files
lincodex/.agents/ownership.md
T
2026-10-05 14:23:31 +03:00

1.4 KiB

File ownership

Agree on one owner for each shared surface before parallel edits. Ownership limits write scope; it does not change which source defines the behavior.

The backend, frontend, and ML service each have a primary implementation area. A task may touch several areas, but assign each shared file to one contributor for that task.

Shared surfaces include the public and ML OpenAPI contracts, generated clients, database migrations, root and service Makefiles, dependency lockfiles, CI, Docker Compose, Nginx, observability configuration, and project documentation. Changes to a contract should name one owner for the spec and generated artifacts.

The contributor editing a contract coordinates regeneration and validation for all affected consumers. Other contributors can prepare service-local changes against the agreed contract without rewriting the same generated files.

Preserve uncommitted edits and files that another contributor owns. If a collision appears, stop writing the affected paths, inspect the current state, and coordinate with the task owner before continuing. Do not resolve collisions by resetting, deleting, or formatting files in bulk.

Documentation changes own README.md, README.en.md, AGENTS.md, CLAUDE.md, AGENTS_ROUTING.md, .agents/, docs/, and scripts/docs-check.py. The caller should still check for active edits before replacing any file.