Skip to content

Framework Drupal Cache Extension

Verify Drupal extension contracts, entity and configuration ownership, upgrades, and cacheability.

Generated example

This page is generated from evaluations/scenarios/framework-drupal-cache-extension.yaml. The scenario YAML remains the executable source of truth.

Request

Repository evidence

No repository signals.

Expected resolution

Resolution layer Expected
Profile —
Modifiers —
Language adapters —
Framework adapters —

Normalized context

{}

Skill modes

None.

Conflict decisions

None.

Significant decisions

None.

Principles under test

Forbidden outcomes

  • Patch Drupal core or bypass entity access APIs.
  • Return personalized markup without matching cacheability metadata.

Scenario source

schema_version: 0.10.0
id: framework-drupal-cache-extension
description: Verify Drupal extension contracts, entity and configuration ownership,
  upgrades, and cacheability.
input:
  profile: legacy-modernization
  language_adapter: php
  framework_adapter: drupal
  task: Add a configurable personalized entity summary to an existing module.
expected:
  resolution: use-host-extension-and-bubble-precise-cacheability
  guidance:
  - Use documented plugin and entity APIs with access checks and a deployable configuration
    update path.
  - Keep deployable configuration separate from content and define its configuration
    schema.
  - Attach entity tags, personalization contexts, and a justified max-age to the render
    array.
  active_principles:
  - backward-compatibility
  - single-source-of-truth
  - explicit-over-implicit
forbidden:
- Patch Drupal core or bypass entity access APIs.
- Return personalized markup without matching cacheability metadata.
principles_under_test:
- backward-compatibility
- single-source-of-truth
- explicit-over-implicit