Skip to content

vNext D2: harden preview bundle readback evidence #50

Description

@Pigbibi

PR #49 intentionally delivers the bounded daily-only D1 vertical slice. Before any production publisher/Pages integration, harden the preview evidence/readback boundary:

  • reject symlinks and non-regular files before reading fixed bundle entries
  • deep-freeze or otherwise make returned evidence recursively immutable
  • validate manifest.source is a mapping before inspecting keys
  • enforce canonical manifest.json bytes, not only semantic equality
  • explicitly adjudicate whether an exact source contract_version=model_recommendations.v5 field is accepted or forbidden; keep source/manifest contract documentation consistent

This is non-blocking for isolated D1 preview acceptance, but blocking for production integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions