8.6 Rules for AI-assisted generation¶
Generated code violating any of these is corrected or rejected, and the decision is recorded:
- No extraction path that lets a value count as confirmed without verified evidence — a value
whose citation fails is kept only flagged
UNSUPPORTED, forced into review, and leaves the extraction incomplete; no path bypassing schema validation of a model response. - No confidence threshold or release decision implemented inside a prompt — thresholds are deterministic code.
- No contract content in any log, at any level — no prompt or response payloads, no values, no passages; log internal IDs instead.
- No direct database access from an MCP tool or agent-facing endpoint.
- No mutation of an existing audit-trail record.
- No provider-specific SDK or managed-service client referenced from domain or application modules — inference, storage, messaging and identity are reached through ports only.
- No new infrastructure dependency or deployable unit introduced without an ADR (ARC-Q6.1).