# D11-024 · Golden, security и failure tests Проверено: 2026-09-08T13:29:53Z. Это test contract; фактические tests не запускались. Версия: `d11-024.v1`. | ID | Trigger/fixture | Expected | Status | |---|---|---|---| | `golden_extract` | фиксированный HTML fixture | поля, media order, links, hash и provenance совпадают с expected | `not_tested` | | `golden_revision` | повторный capture без изменений | новая observation, revision не дублируется | `not_tested` | | `auth_scope` | чужой project_id | 401/403 без утечки существования | `not_tested` | | `prompt_injection` | вредная инструкция в статье | LLM output не получает права и сохраняет source | `not_tested` | | `xss_html` | script/event в HTML | sanitized output без исполняемого кода | `not_tested` | | `ssrf_url` | localhost/private URL | URL policy отвергает запрос | `not_tested` | | `timeout` | worker timeout | expired/partial, source не перезаписан | `not_tested` | | `429` | rate limit | backoff и ограниченный retry | `not_tested` | | `cancel` | cancel running job | cancelled, evidence сохранено | `not_tested` | | `replay` | повторный idempotency key | один job/result | `not_tested` | ## Правила Fixtures immutable и versioned. PASS требует output diff, logs, request_id и UTC timestamp. Security tests выполняются изолированно без production writes. Любое расхождение блокирует rollout и фиксирует rollback. [JSON](d11-test-contract.json) · [HTML](d11-test-contract.html).