Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 2.39 KB

AGENTS.md

File metadata and controls

44 lines (38 loc) · 2.39 KB

Agent guidance — Prisma Composer

Before doing any design or implementation work in this repo, read the guiding principles: docs/design/01-principles/. They are binding, not advisory. Proposals and code that contradict a recorded principle are wrong by definition — the principle wins until an ADR supersedes it. In particular: we don't bundle the app's code, and we don't guess — the framework never bundles/transforms your code, and assembles the deploy artifact only by documented, deterministic steps (no filename/depth guessing, no tree laundering; symlinks are preserved as links only when their resolved target stays inside the bundle, and never dereferenced) (ADR-0005, amended by ADR-0047).

Read the design docs before any design discussion

Before your first reply that offers an opinion, a proposal, or an answer to a design question, read the documentation for that topic. This applies even when the question looks small or conversational, and again whenever the discussion moves to a new topic. Read:

  1. docs/design/01-principles/ and docs/design/00-purpose/.
  2. The ADR index, docs/design/90-decisions/README.md, then every ADR it ties to the topic, in full, including the ADRs that amend them.
  3. The glossary entry for every term the discussion uses.
  4. The domain or architecture doc for the area, under docs/design/10-domains/ or the target's folder.

In your reply, say what you read. Settled decisions are not relitigated by accident: when a proposal contradicts a recorded decision, say so plainly and say what it would reverse. A discussion held without reading these has repeatedly produced proposals that a recorded decision had already rejected, renames of terms the glossary defines on purpose, and identity formats the recorded design contradicts.

Operational rules (naming, casts, build isolation, test idioms) live in .agents/rules/ and load automatically in harnesses that support .mdc rules; if yours doesn't, read that directory's README and the rules relevant to the files you touch.