Files
claw/docs/superpowers/plans/2026-04-20-generated-scene-parameter-default-semantics-hardening-plan.md

1.5 KiB

Generated Scene Parameter Default Semantics Hardening Plan

Date: 2026-04-20 Status: Draft Parent route:

  • parameter_default_semantics_recovery_hardening Parent ledger:
  • tests/fixtures/generated_scene/generated_scene_source_first_runtime_semantics_ledger_2026-04-20.json

Plan Intent

Implement the first reusable slice for page-native default period/date/mode recovery.

Fixed Input Bucket

Use the bounded bucket:

  1. scenes with explicit period parameters
  2. scenes whose source evidence shows implicit month/week/date initialization
  3. scenes whose current generated manifests do not encode a reusable default strategy

This first slice should center on the parameterized monthly/weekly scenes highlighted by the ledger.

Allowed Files

  1. src/generated_scene/analyzer.rs
  2. src/generated_scene/generator.rs
  3. src/generated_scene/ir.rs
  4. route-local generator tests

Forbidden Files

  1. no runtime resolver patching outside generation metadata needs
  2. no edits to generated skill bundle under examples/
  3. no board assets
  4. no pseudo-production assets

Expected Coverage Delta

  1. generated parameter metadata can preserve source-side default semantics for the bucketed scenes
  2. callers are no longer forced to supply values that the source page itself normally supplies

Stop Statement

Stop after the first reusable default-semantics slice is implemented and route-local follow-up assets are published.

Do not expand to all possible date semantics inside this route plan.