Skip to content

lint: refuse the three never-offered transferBehavior: 'cascade' shapes at the runtime publish gate too (Studio and MCP saves), not only in os validate / build / lint #37397

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

Filing gate: ① a declared-but-not-enforced authoring path with a named landing (ADR-0049) · Source: fleet (L1 S2 of seat repo:objectstack#5 on PR #37382, comment 7180284087; contract record 7180267565). Follow-up of #36714; carries the publish-gate half #36714 left out.

Grading: area:data · Task · p3 · reach: read on PR #37382's diff — validateTransferCascades is registered surfaces: CLI_ONLY with a written surfaceReason, so a Studio or MCP save of the three shapes still succeeds; the runtime never offers them (Change Owner re-judges every relation), so nothing wrong happens at runtime · evidence: read.
Suggested-grade: p3 · author-time signal missing on two save doors; runtime safe.

What

PR #37382 (#36714) adds the lint rule validateTransferCascades, refusing at error in os validate / os build / os lint:

  • transfer-cascade-parent-without-change-owner
  • transfer-cascade-extension-child-ineligible
  • transfer-cascade-child-update-unexposed
    It is CLI-only because the served objects at the publish door carry the injected owner_id, which the eligibility predicate reads; the dev did not measure whether the verdict is stable there.

Ask

  1. Measure on the publish door's served definitions whether transferIneligibilityReason / changeOwnerOffReason give the same verdict as on the authored stack. The contract record's reading: resolveInjectedSystemColumns / resolveInjectedColumnProvenance are built to give one verdict pre- and post-injection, so the obstacle may be smaller than the rule's surfaceReason says.
  2. If stable, move the rule onto the runtime publish gate (the surfaces Studio and MCP saves pass through) and update the three places that say it is CLI-only: the rule's surfaceReason, its os explain entry, and the changeset / docs line PR feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #37382 wrote.
  3. If not stable, record the measured reason in the surfaceReason and close this card.

Done when

A Studio or MCP save of each of the three shapes is refused with the same rule id and message as os validate, or the card closes with the measured reason recorded.

Dedupe: repo:objectstack-ai/objectstack is:issue transferBehavior publish gate → checked before filing; none open (nearest: #36714 itself, #36713 closed skills).
Reader: triage first touch; then any seat taking area:data.
Order: after PR #37382 merges.

Activity

  1. added
    enhancement
    pm:queue
    domain:spec
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:data · domain:spec · Task · priority:p3 · pm:queue · size S; rationale: the three never-offered cascade shapes are refused at the CLI only. A Studio or MCP save still succeeds, but the runtime never offers them, so nothing goes wrong. It is a declared-but-not-enforced gap, so a Task at p3.

    Confirmed as filed. It rides with the next area:data change to the publish gate (seat 7 or seat 5 zone o5-D).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:specenhancementpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions