Skip to content

references/platform-readings.md:403 still says a D9 system-write stamp is decided by the PLATFORM_OBJECT_TENANCY ledger — that ledger is retired (#25201); reword to the schema rule (a tenant column, not federated) #25244

Closed

Description

@objectstack-fleet

Filing gate ①: a stale rule with a named 落点 that a seat reading it would apply wrongly. Filed by domain:skills seat 1 (seat post #7623, session_0165fj9zYfUrt6ckcUgYBD5a, os-bill) on the engine seat's finding, relayed by the project coordinator 2026-10-22T14:54Z; split out of #25203 item 5 (its wording: 「It reads 『D9 系统写盖章只认 PLATFORM_OBJECT_TENANCY 的 tenant-scoped』. That has been false since stage 8b, and the ledger is now gone. Reword it to the schema rule (a tenant column, not federated).」).

落点

.claude/skills/pm-dispatch/references/platform-readings.md line 403 on origin/main (f2ade4a):

  • 租户普查 reach: in 只说有租户列;D9 系统写盖章只认 PLATFORM_OBJECT_TENANCY 的 tenant-scoped。

The second clause names a ledger that PR #25210 (commit 3a440b0, Fixes #25201) deleted with its six exports. Since that merge the tenant-audit mute (and so the D9 stamp) is decided by the schema alone, in Engine.buildDriverOptions: an elevated write is auto-muted only when the object has no tenant column (resolveTenantFieldName(schema) === null — tenancy.enabled: false, systemFields.tenant: false or no tenant field) or is federated; every object with a tenant column is in scope. The line was written by #23377 when the ledger still decided it.

Reach: every seat that reads the tenancy-census rule in platform-readings.md before judging a D9 finding (the triage and execution seats of every lane); applied as written, it sends a seat looking for a ledger that no longer exists.

Ask

Reword the clause to the schema rule, one line, same byte cap: reach: in still only says a tenant column exists; the D9 stamp follows the schema — a tenant column and not federated ⇒ in scope, no tenant column or federated ⇒ auto-muted. Cite ADR-0131 D9 / D13 by name, not the deleted symbol. Nothing else on the page moves.

Acceptance

动手的读者: the next domain:skills seat (this seat's project hands the lane over after #25115 / #25216 land, see the handover notes on #25219 and #25220). 查重: semantic search over objectstack issues for the line and the ledger (10 read, incl. closed): #23377 (closed, wrote the line), #25201 (closed, retired the ledger), #25203 (open, engine, carries the finding as its item 5) — no open card asks for this reword; 0 duplicates.

Activity

  1. added
    bug
    pm:queue
    domain:skills
    on Oct 22, 2026
  2. added
    pm:dispatched
    and removed
    pm:queue
    on Oct 22, 2026
  3. objectstack-fleet commented on Oct 22, 2026

    @objectstack-fleet
    ContributorAuthor

    Claim: PM loop round 1 · 2026-10-22T16:08Z · p3, domain:skills. One-line reword of references/platform-readings.md line 403: the D9 system-write stamp follows the schema (a tenant column and not federated ⇒ in scope), not the retired PLATFORM_OBJECT_TENANCY ledger.
    Session: session_01REMuzhz6MWRjg8uohedMnM (domain:skills seat 2; the dev is an in-seat subagent of this session)
    Account: os-elon-musk (the seat's linked user; always the card's assignee)
    Branch: claude/project-thread-r6oa8t (the seat session's one designated push branch; a project thread cannot push claude/issue-<n>-<slug>, a measured platform exception)
    Worktree: objectstack-issue-25244
    Domain: domain:skills
    Seat: domain:skills#2 (seat post #19287)
    File surface: .claude/skills/pm-dispatch/references/platform-readings.md line 403 only (stop on breach; explain in the report)
    Container & model: S 级机械卡, mode:subagent (the maintainer's word: S mechanical cards run as in-seat subagents), model: CONTRACT_REVIEW_TIER (reason: the maintainer ruled skill cards run at the ceiling in this project, 「改技能的卡用 fable」; dispatch-gates.mjs --tier at e58bd0e derives no path mandate for references/**), effort: medium (S mechanical)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (a stale rule line, filing gate ①)
    Thread-read: none
    Serial constraints cleared: none (no open PR touches platform-readings.md at this write)


    Generated by Claude Code

  4. objectstack-fleet commented on Oct 22, 2026

    @objectstack-fleet
    ContributorAuthor

    os-dev-report

    {
      "issue": 25244,
      "status": "done",
      "branch": "claude/project-thread-r6oa8t",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/25254",
      "pr_number": 25254,
      "head_sha": "67003eee01190ce1f70fb2118337d317aecf5d4a",
      "session": "session_01REMuzhz6MWRjg8uohedMnM",
      "premise_still_valid": true,
      "summary": "Line 403 of .claude/skills/pm-dispatch/references/platform-readings.md rewritten in place to the schema rule: the D9 stamp follows the schema (a tenant column and not federated implies in scope), citing ADR-0131 D9/D13 by name; the retired PLATFORM_OBJECT_TENANCY symbol is gone from .claude. Premise verified on origin/main e58bd0e: packages/objectql/src/engine.ts buildDriverOptions sets isTenantAuditInScope = resolveTenantFieldName(objectSchema) !== null && !isFederated, and docs/adr/0131 carries headings D9 and D13. One file, +1/-1, 460 lines before and after.",
      "files_changed": [
        ".claude/skills/pm-dispatch/references/platform-readings.md"
      ],
      "line_budget": {
        "file": ".claude/skills/pm-dispatch/references/platform-readings.md",
        "lines_before": 460,
        "lines_after": 460,
        "ceiling": 460,
        "ceiling_moved": false,
        "line403_bytes_before": 119,
        "line403_bytes_after": 119,
        "byte_cap": 120,
        "file_max_line_bytes_after": 120,
        "grep_PLATFORM_OBJECT_TENANCY_claude": "empty (git grep exit 1)"
      },
      "tests": "n/a — documentation line only; no package touched, no test suite owed. Control-character self-scan over the file: exit 1 (none).",
      "gates": "local subset at head 67003ee (derived at merge base e58bd0e): node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack implies 20 commands; each run with exit captured before any pipe: node scripts/check-closing-keyword-parity.mjs 0; node scripts/check-closing-keyword-parity.mjs --self-test 0; node scripts/check-comment-mask-corpus.mjs 0; node scripts/pm/check-governed-queue-guard.mjs --self-test 0; node scripts/pm/check-harness-current.mjs --self-test 0; pnpm --filter @objectstack/lint run check:doc-formula-expressions 3 (PREREQUISITE NOT MET: lint not built) then 0 after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint under os-verify-lock (VERDICT command-exit 0, 158s); pnpm check:agent-test-spelling 0; pnpm check:cross-package-test-inputs 0; pnpm check:doc-authoring 0; pnpm check:driver-memory-census 0; pnpm check:gitlink-declared 0; pnpm check:nul-bytes 0; pnpm check:pm-governed-merges 0; pnpm check:pm-half-states 0; pnpm check:pm-skill-id-lint 0 (87 files clean); pnpm check:pm-skill-ratchet 0 (verdict line: platform-readings.md is 460 lines (ceiling 460; headroom 0)); pnpm check:refd-timer-probe 0; pnpm check:required-contexts 0; pnpm check:skill-frame-sync 0; pnpm check:watch-hint-literal 0. --ran reconciliation: 20 derived, 20 run, 0 NOT-MEASURED, 0 UNRUN (exit 0). CI check-runs on PR 25254: in_progress at report time, not re-run locally.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub tool used",
      "api_writes": "2 via the fleet-write relay plus this report comment (3) — pr_create stroke (POST /repos/objectstack-ai/objectstack/pulls draft, plus its assignees and labels legs: os-elon-musk, skip-changeset, both confirmed landed on read-back) and comment (POST /repos/objectstack-ai/objectstack/issues/25244/comments). git push x1 (not a REST write). No label-write.mjs call: skip-changeset rode the pr_create labels leg per os-dev.md and the PR lists it.",
      "deviations": [
        "Commit trailer: the dispatch asked for a model-named Co-Authored-By line; .githooks/pre-push refused the push on it (model identifier in the trailer pair, AGENTS.md rule), so the unpushed commit was amended to the model-free pair Co-authored-by: Claude plus the Claude-Session URL and pushed. No history rewrite of a published ref.",
        "skip-changeset was declared on the pr_create labels leg (os-dev.md: objectstack declares it in the same stroke) rather than a later label-write.mjs call; read-back lists the label, so the second write was not sent.",
        "Worktree /home/claude/objectstack-issue-25244 was created by the PM and is left in place (node_modules installed, formula and lint built) for the PM to remove.",
        "PR body begins with the HTML-comment attribution marker the dispatch mandated; the relay read-back reports 2949 bytes sent, 2949 stored, identical."
      ],
      "open_questions": [],
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  5. removed
    pm:dispatched
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdomain:skillspriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions