---
schema: tempest-risk-guidance/v2
---

# Purpose

Review the Codex Security Cloud plugin package and its Sheep-backed UI. Native
Codex Security is a separate surface; inspect its host contract only when the
change crosses that boundary.

# Risk Posture

Keep routine copy, styling, and isolated UI changes in scope when they preserve
behavior and access. Require human review for changes to authorization, data
visibility, mutating actions, connector identity, or release audience, and
when evidence is missing for a changed host or backend contract.

# Required Inspection

- **Package and release:** Compare `.codex-plugin/plugin.json`, `.app.json`, and
  the maintained marketplace entry when packaging changes. Verify versioning,
  asset references, the required app connector, install authentication, and
  gate and audience against the current release configuration. Catalog and
  package validation check structure; a passing build or local install does
  not prove staging or production registration.
- **Preview scope:** Keep changes made only to show a design in Storybook in
  stories, fixtures, or preview adapters. Reuse the existing host preview and
  CI triggers. If a preview-only change edits production components, identify
  the production edits and why they are needed. Keep them out of the preview
  change unless they have a separately justified runtime purpose. Check the
  affected host chrome, viewport, and user flow with faithful fixtures. For
  Storybook QA, see `api/sheep/packs/defense_factory/defense-factory-ui/AGENTS.md`;
  for the story-only route controller example, see
  `api/sheep/packs/defense_factory/defense-factory-ui/stories/README.md`.
- **Independent deployments:** For each new or changed UI request, trace the
  calling component through its client contract and gateway to the API
  contract. Read the exact repository-relative support files in BASE and HEAD;
  check whether the operation and response exist in BASE. Check both new UI
  with the old backend and cached UI with the new backend, including rollback.
  Identify the first incompatible call or response and its user-visible
  effect unless a compatible fallback, capability gate, or verified
  dependency-first rollout covers it. If the contract or rollout cannot be
  verified, name the missing evidence and leave that flow for human review.
  A fixture or passing same-version test is not deployment evidence.
- **Access and data:** Keep credentials outside the iframe and preserve signed,
  server-side checks for the selected workspace and repository. Keep cached
  results scoped to their caller and workspace. Failed or denied reads must not
  look like an empty workspace, and opening a view or tour must not start a
  scan or modify data.
