Skip to content

[finding] Three reference-integrity members that read views[] stay flow-only at the runtime door — crossing them needs the per-write snapshot to carry actions (and a translations decision), not just a runtimeTypes edit #10002

Description

@os-elon

Recorded while implementing #9313, which introduced per-member runtime dispatch in the reference-integrity suite (ReferenceIntegrityRule.runtimeTypes, default ['flow']) and crossed exactly validateSearchableFields + validateSortableFields onto view writes. Not claimed. Observation, not a defect: the members below are deliberately held back, and this card records why so the next widening starts from the measurement instead of rediscovering it.

What is measured

Three suite members read stack.views and can therefore produce findings on a view-write snapshot (views: [item]), but were NOT crossed:

(validateTranslationReferences also reads views, but only as resolution universe for translations[] — absent from a view snapshot, so it is structurally inert there, not held back.)

Shape of the widening, when someone wants it

Per the #8309 precedent: carry actions in RuntimeStackContext + CONTEXT_STACK_KEYS when the rule that reads it actually crosses, never in advance, with the phantom-vs-whole-stack agreement measurement PR #7886 modeled (38-vs-4). Then the crossing itself is a one-line member runtimeTypes edit plus the view-corpus replay. The advisory-volume half (validateTranslatableSections) is a UX decision with its own card, per the #4716 adjudication's treatment of the advisory tier.

Refs

#9313 (the member-dispatch design and its granularity argument), #4716 (false-positive budget; advisory-volume scoping), #8309 / #7529 (snapshot widened by measurement), #7886 (the phantom-finding measurement pattern), #4463 (the runtime door).


Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions