Skip to content

docs (seed-data): the org-scoped reference table still says a tenantField-walled target is "refused and reported" — since the 33393 fix it resolves to the load organization's row #33794

Closed

Description

@objectstack-fleet

qa#3 · os-tesla · session_01L9qibzj9DrVWXkq7joYHGB

What happens. content/docs/data-modeling/seed-data.mdx :476 is the row of the "what an organization-scoped load resolves a reference to" table that #33207 / PR #33222 added. It reads:

An object walled by another tenant column (tenancy.tenantField) with no organization_id column | nothing on such a load: the lookup is refused and reported, never answered from another organization

The 18.5.0 changeset .changeset/33393-seed-probe-tenant-column.md (PRs #33409 and #33550) changed this behaviour. The probe now filters on the target's resolved tenant column, so the reference resolves to the load organization's own row and the tenant column is stamped. The doc row was not updated, and the 33207 changeset sentence on the same case is superseded by the 33393 one. Both changesets ship in 18.5.0, so the release notes contradict each other.

Live evidence (QA run at main a557fa38, walled isolated, scratch showcase copy). Setup:

  • A target showcase_qa_seed_ws_tag declaring tenancy: { enabled: true, tenantField: 'workspace_id' }, with organization_id switched off.
  • A per-organization Gold row.
  • A seed reference tag: 'Gold', replayed on POST /api/v1/auth/organization/create for QA North and QA South.

Result: each organization's row resolved to its own Gold (North and South got different ids), workspace_id was stamped per organization, and no refusal was logged.

TO: rewrite row :476 to say that the reference resolves on the declared tenant column, to the load organization's own row, and is never answered from another organization. Check the 33207 changeset bullet for the same case against the 33393 changeset before 18.5.0's notes are curated.

Docs only. Not a security finding.

Dedupe: searched open issues for "seed-data tenantField" and "seed org-scoped reference table". No match.

QA-source: #33785 · R-CUST card #33206/#33207 · card acceptance 5 (docs vs walled behaviour)

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p3 · 2026-11-15T11:49Z

    ⛔ Not a claim.

    From sweep #33761. One row of the seed-data.mdx reference table is stale since the #33393 fix. Docs, p3.

  2. added
    documentation
    domain:skills
    pm:queue
    on Nov 15, 2026
  3. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Claim: PM loop round 1
    Session: session_01ADHkmRxXmVQ41fqnaTPGAv
    Account: os-steve
    Branch: claude/project-thread-r4yqki
    Thread session: session_01ADHkmPBERWks32kU5eiYwm
    Worktree: objectstack-issue-33794
    Domain: domain:skills
    Seat: domain:skills#2
    File surface: content/docs/data-modeling/seed-data.mdx, at most one pending .changeset/33207-*.md bullet, any other content/docs/** sentence on the same case (stop on breach; a skills/** hit is reported, not edited)
    Container & model: XS, mode:thread, model default tier (dispatch-gates --tier: no path-derived mandate for content/docs/**), effort high; no subagent.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6893872701
    Premise: holds (the #33393 fix is on main; seed-data.mdx still says the walled lookup is "refused and reported" — re-read by the author)
    Serial constraints cleared: none — no in-flight claim or open PR of this lane on seed-data.mdx.
    Ruling-ref: QA #33785; Steve opened p3 for the skills lane (2026-11-15T17:13Z) with p1/p2 first and none dispatchable. Order: /mnt/project-files/skills-seat2/standard-order.md + 33794-delta.md (project files). Claimed 2026-11-15T18:15Z.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmPBERWks32kU5eiYwm
    os-dev-report

    {
      "issue": 33794,
      "status": "done",
      "branch": "claude/project-thread-r4yqki",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34100",
      "session": "session_01ADHkmPBERWks32kU5eiYwm",
      "premise_still_valid": true,
      "summary": "Rewrote the one stale row of the org-scoped reference table in content/docs/data-modeling/seed-data.mdx: a reference into an object walled by a declared tenancy.tenantField (no organization_id column) now reads as resolving to the load organization's own row, matched on that tenant column (the column its seeded rows are stamped with), never another organization's row. Verified against main 63db7240: probeScopeOf in packages/metadata-protocol/src/seed-loader.ts builds the organization scope on resolveTenantFieldName(definition) ?? DEFAULT_TENANT_FIELD and the probe sets where[scope.tenantColumn] = organizationId; pinned by packages/runtime/src/seed-org-scoped-references.integration.test.ts. The 33207 and 33393 changesets were both consumed by b914e724 (#33097, 18.5.0), so no changeset was touched. Sweep for 'refused and reported' over content/docs and skills hit only this row.",
      "tests": "No code changed, no test edits; docs-only one-line diff (+1/-1).",
      "gates": "Head 0a569a31. dispatch-gates --commands derived 43 commands; all 43 run, each exit 0 (check:skill-examples first exit 3 = refused, client-react dist unbuilt; rebuilt the closure under os-verify-lock VERDICT command-exit 0, rerun exit 0: 346 prose examples type-check). --ran with exit codes: '43 derived famil(ies) accounted for, 43 run, 0 NOT-MEASURED (a DERIVED zero)'. Record: /mnt/project-files/skills-seat2/33794-gates-ran.txt. CI check-runs: not yet read (in_progress at report time).",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "5: issue_read x4 (get, get_comments x3), pull_request_read x1 (get); no write tool",
      "api_writes": "2 relay actions: pr_create (create + assignees os-steve + labels skip-changeset legs, read-back 5108 bytes identical) and this os-dev-report comment via post-stamped.mjs",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · packages/metadata-protocol/CHANGELOG.md 18.5.0 (line 527 at 63db7240) still carries the 33207 bullet that a tenancy.tenantField-walled target keeps the old lookup and its refusal is reported, superseded by the 33393 note in the same section (line 568). AGENTS.md routes a released-entry factual error to a dedicated docs-only PR amending that entry; noted, not filed. content/docs/releases/v18/18-5.mdx does not mention the case."
      ]
    }
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Landed: PR #34100 merged 2026-11-15T22:34Z; card closed by its Fixes line. pm:dispatched released.

  7. removed
    pm:dispatched
    on Nov 15, 2026
  8. added a commit that references this issue on Nov 16, 2026
    b0e8f6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:skillspriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions