revisão e complementação da documentação do projeto

This commit is contained in:
Marcos Lohmann
2026-09-14 14:54:28 -03:00
parent 868d885cb6
commit f8d9b6cdcd
35 changed files with 767 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
# ADR-004: Agentic context never elevates privilege
**Status:** Accepted.
**Source:** this ADR is the canonical record of this decision. For implementation and validation context, see `RI/docs/AS-BUILT.md` and, where applicable, the relevant contract in `RI/docs/interfaces/`.
## Context
Can agentic context elevate privilege?
## Decision
Never — context can only subtract (`Context may subtract, must never add`).
## Alternatives Considered
Allowing elevation based on the model's "confidence."
## Consequences
EP-15 tests (Test 3/4) validate the invariant.