Skip to content

skills: objectstack-data relationships.md still says the ownership floor binds a predicate write on a writeRequiresMasterRead detail (after #36282) #36285

Closed

Description

@objectstack-fleet

repo:objectstack#4 · os-project-manager · session_01FEkQ5kt9AD1TPLy7Y9oa9D

Filing gate: ② follow-up owed by a landing PR (PR #36282, card #35802, its Skills-docs: follow-up owed line). Source: fleet. ⛔ Not a claim.

Why

PR #36282 builds the maintainer's ruling on #35802 (comment 7073030861, 「A 批量与逐条一致」): on a controlled_by_parent detail, a non-delegated predicate update or delete (multi: true) no longer keeps the platform ownership floor once the master gate has passed every master the write reaches. The published skill still teaches the old rule.

Where

skills/objectstack-data/rules/relationships.md, the writeRequiresMasterRead: true bullet: "The ownership floor (rows you created) still binds predicate and, for both users, on-behalf-of updates and deletes." Once PR #36282 lands, the predicate half is false: a predicate write by a non-delegated caller writes the rows a by-id write of each would write. The on-behalf-of half stays true (ADR-0090 D10, ruling item 3).

Done when

  • The bullet states the ruled rule: predicate updates and deletes match what by-id writes reach for the same caller, all matched rows or none; on-behalf-of keeps both users' floors.
  • Any other sentence in skills/** that says the floor binds a predicate write on a controlled_by_parent detail is corrected the same way (grep rows you created, ownership floor, predicate under skills/objectstack-data/).
  • The skill's evals still pass.

Land after PR #36282. domain:skills.

Activity

  1. added
    priority:p2
    pm:queue
    domain:skills
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills (skills/objectstack-data/rules/relationships.md) · pm:queue; rationale: area:ai (product skills; was data) · Bug · once PR #36282 lands (the #35802 ruling A), the skill still teaches that the ownership floor binds a predicate write under writeRequiresMasterRead, which will be false for a non-delegated caller. That is AI taught wrong, p1 under the 2026-11-21 standard; it should land with or right after #36282 → p1 · size XS. Linked under topic #36232.

  3. added
    area:ai
    priority:p1
    and removed
    priority:p2
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5kt9AD1TPLy7Y9oa9D

    Scope addition, from the seat's contract review of PR #36282. The skill's evals teach the same rule. Correct them in the same follow-up:

    Done-when gains one line: eval 17's expected_output states the ruled rule, and its assertions do not require the old wording.

  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

    Claim: PM loop round 3
    Session: session_01ADHkmRY38EZf38Yy3zthbY
    Account: os-steve
    Branch: claude/issue-36285-relationships-predicate-floor
    Worktree: objectstack-issue-36285
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: area:ai
    File surface: skills/objectstack-data/rules/relationships.md (the writeRequiresMasterRead: true bullet, ~l.86–91), skills/objectstack-data/evals/objects-fields-relationships.json (eval 17 expected_output and its assertions), any other skills/objectstack-data/** sentence the card's grep finds saying the floor binds a predicate write on a controlled_by_parent detail, .changeset/ (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: ceiling (dispatch-gates --tier skills/objectstack-data/rules/relationships.md: skills/** mandates CONTRACT_REVIEW_TIER, "the one-line-class mechanical-edit downgrade is ⛔ NOT available for this surface"), effort: medium (a documentation follow-up, size XS)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — a Skills-docs: follow-up owed card
    Thread-read: 7075133273
    Premise: holds — PR #36282 merged 2026-11-22T08:49Z (the #35802 ruling A: a non-delegated predicate update/delete on a controlled_by_parent detail no longer keeps the ownership floor once the master gate passes). At origin/main the bullet still says "The ownership floor (rows you created) still binds predicate and, for both users, on-behalf-of updates and deletes" (skills/objectstack-data/rules/relationships.md:88-90), and eval 17's expected_output ends "The platform ownership floor still binds predicate and on-behalf-of updates and deletes." (skills/objectstack-data/evals/objects-fields-relationships.json:296); git grep -iE 'rows you created|ownership floor' -- skills/ → those 2 hits only.
    Serial constraints cleared: the card waited on PR #36282, now merged. Seat 4 (filer, #36282's lander) is in hand-over and takes no new work (route note 7075946505 on mailbox #34479), so this seat takes it. Open PR #36158 (card #34770, needs-user-decision, draft) touches relationships.md only at its end (a new section after l.406), not this bullet; this p1 lands first, #36158 merges main if it resumes.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
    os-dev-report

    {
      "issue": 36285,
      "status": "done",
      "branch": "claude/issue-36285-relationships-predicate-floor",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36389",
      "session": "session_01ADHkmRY38EZf38Yy3zthbY",
      "premise_still_valid": true,
      "summary": "Both sites named by the card and the scope addition are corrected in place: the writeRequiresMasterRead bullet in skills/objectstack-data/rules/relationships.md and the last sentence of eval 17's expected_output now say a predicate (multi: true) update or delete writes the rows a by-id write of each would, all matched rows or none, and keep the on-behalf-of half (the floor still binds, for both users). Eval 17's assertions needed no change (none involved the old wording). The grep at ed33f8aed found no third site. Draft PR, base ed33f8aed, head eb547b8f3; one patch changeset for @objectstack/skills.",
      "files_changed": [
        "skills/objectstack-data/rules/relationships.md",
        "skills/objectstack-data/evals/objects-fields-relationships.json",
        ".changeset/36285-relationships-predicate-floor.md"
      ],
      "line_budget": {
        "relationships.md_lines": "399 -> 400 (+1, within the ordered plus or minus 1)",
        "relationships.md_tokens": "4162 -> 4188, ceiling 4203 unchanged, headroom 15",
        "eval_file_lines": "451 -> 451",
        "eval_file_tokens": "7488 -> 7517 (not ratcheted)",
        "bundle_SKILL.md_lines": "4950 -> 4950",
        "bundle_tree_lines": "22900 -> 22901",
        "bundle_authored_tokens": "197497 -> 197523, ceiling 202541",
        "bundle_tree_tokens": "290191 -> 290246",
        "ceiling_raised": false,
        "paid_by_deletion": false
      },
      "tests": "head eb547b8f3. Documentation only: no package suite owed, no ablation. Eval 17 expected_output vs its own assertions: must_contain missing 0/4, must_not_contain present 0/4, fixture parses, 25 evals (no eval runner exists in the repo). pnpm --filter @objectstack/skills build EXIT=0: 'sync-catalog self-test: 9 cases pass', '114 file(s) across 14 skill(s) copied from skills/** into dist/skills and read back byte-identical'; new sentence found 1x in each shipped file, old wording 'still binds predicate' 0x, positive control writeRequiresMasterRead found.",
      "gates": {
        "head": "eb547b8f3",
        "derived": 48,
        "run": 48,
        "exit_0": 43,
        "exit_3_not_measured": [
          "pnpm --filter @objectstack/lint run check:doc-formula-expressions (PREREQUISITE NOT MET: formula not built)",
          "pnpm check:dts-closure",
          "pnpm check:dual-build-cjs-loads",
          "pnpm check:lean-entry-closure",
          "pnpm check:sourcemap-no-sources-content"
        ],
        "not_measured_reason": "each needs a full workspace build; left to CI",
        "ran_reconciliation": "Run reconciliation — 48 derived, 48 run, 0 NOT-MEASURED, 0 UNRUN (the --ran file carries no exit codes; the 5 exit-3 families above are NOT MEASURED)",
        "token_ratchet": "node scripts/check-skills-token-ratchet.mjs exit 0: '60 authored bundle file(s) within their ceilings'",
        "ci_check_runs_at_report_time": "in_progress: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (8 jobs), PR-body guards, Type Check (4 jobs), filter; skipped: Queue verdict, Borrowed queue verdict, Schedule gate, 18.x upgrade harness, Packed-tarball smoke; none concluded success or failure yet"
      },
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/36389/assignees), and this report (POST /issues/36285/comments); git push x2 is not a REST write",
      "deviations": [
        "Commit trailer: the dispatch order asked for a Co-Authored-By line naming a model and the harness reminder suggested another; AGENTS.md requires the model-free pair and wins, so the commit carries Claude-Session plus 'Co-authored-by: Claude'. No hook refusal occurred because the model-naming form was never attempted.",
        "5 of 48 derived gates NOT MEASURED locally (exit 3, build prerequisite), left to CI.",
        "test:repo not run locally: owned by CI (Test Core).",
        "relationships.md is 399 lines at base, not 406 as the order implies; the other draft's region is untouched."
      ],
      "l2_routing": "skills/** is Tier H governed text: owes a contract-review-tier review; PR left draft, no reviewer requested, no seat knocked.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the predicate rule holds for every controlled_by_parent detail, not only under writeRequiresMasterRead; the sentence stays in that bullet because the order forbids restructuring (in the PR's Acceptance notes)"
      ]
    }
  8. added a commit that references this issue on Nov 23, 2026
    0a6af56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:skillspm:dispatchedpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions