Files
amare/openspec/changes/archive/2026-08-11-recompose-public-editorial/specs/content-media/spec.md

1.1 KiB

MODIFIED Requirements

Requirement: Editorial image treatment remains self-hosted and deterministic

Public photography SHALL continue to use validated self-hosted uploads and responsive variants. Editorial layouts MUST use CSS-only tonal treatment and alternating aspect ratios for portfolio media while retaining document order and the image component's srcset, sizes, dimensions and loading behavior. The system MUST NOT introduce external image CDN dependencies that compromise browser-test reliability.

Scenario: Public pages do not depend on external stock hosts

  • WHEN the visual or browser suite loads covered public routes
  • THEN content images MUST resolve from the application media disk or static fixtures
  • AND MUST NOT require network access to third-party stock hosts

Scenario: Editorial portfolio media retains responsive delivery

  • WHEN a portfolio listing or gallery applies an editorial image proportion
  • THEN the rendered image MUST still expose the responsive media component markup
  • AND image order and lazy-loading behavior MUST remain intact