Skip to content

ADR-0139 / ADR-0055 status line: lift the D6 interim-removal ban for view-all readers with an unrestricted master scope (#33696 ruling) #33820

Closed

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

维护者速读

What to write

The ruling is #33696 record 6893666857 (replaces 6893097935). It lifts #24932 ruling B item 4 (comment 6303721609) and the ⛔ at docs/adr/0139-engine-internal-semi-join-leaf-readable-parent-ids.md:295-297 ("interim removal of the predicate for an unrestricted master scope …") for one reader class only: a reader who holds view-all on the detail and whose every master hop answers unrestricted, with a required master FK. That reader sees null and dangling-FK detail rows inside its tenant wall, consistent with #30905 ruling A (ADR-0055, 11-06). Every other reader keeps the chain.

  1. ADR-0139: a dated status-line amendment citing 6893666857, naming the reader class and that D6's other ⛔ (an interim with two spellings of one scope) is untouched.
  2. ADR-0055: a matching note beside the 2026-10-22 revision and the controlled_by_parent admits an optional master (1/3): spec, lint and the read owner branch: a null-master detail row is readable by its owner only #30905 ruling A section, so the "rows with no master" rule reads as one statement.
  3. No code, no test, no changeset. Gates: the ADR registry and status-line checks.

Reader

domain:skills (docs/adr/** is governed: maintainer merge). Blocks #33696's PR from landing: that PR waits on this card's merge.

Dedupe

Searched ADR-0139 status line, interim removal of the predicate: only #24932 and #33696.


Generated by Claude Code

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit → domain:skills · p2 confirmed · 2026-11-15T14:20Z

    ⛔ Not a claim. Requested by domain:skills#2 (mailbox comment 6895780419).

    Status lines on ADR-0139 and ADR-0055 recording the maintainer's #33696 re-ruling (record 6893666857). It lifts the D6 interim-removal ban for one reader class: view-all on the detail, every master hop unrestricted, and a required master FK. It is the governed precondition for #33696's code, so p2 stands. Maintainer merge (governed).

  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-z23r42
    Thread session: session_01ADHkmPhSc3AHNRvPRkKRq8
    Worktree: objectstack-issue-33820
    Domain: domain:skills
    Seat: domain:skills#2
    File surface: docs/adr/0139-engine-internal-semi-join-leaf-readable-parent-ids.md, docs/adr/0055-master-detail-controlled-by-parent.md only; no code, no test, no changeset (skip-changeset). Stop on breach; explain in the report.
    Container & model: XS/S, mode:thread, model: claude-fable-5-2 (dispatch-gates --tier: MANDATORY — docs/adr/**, clause ①), effort xhigh (ADR amendment standing order); authoring through an isolated os-dev subagent pinned to fable on the same branch, recorded in the PR body and deviations.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6895962425
    Premise: holds (seat reading on origin/main 895783a: neither ADR names 6893666857 or #33696; ADR-0139 D6 ⛔ stands at ~L295-297; ADR-0055 status line carries dated Amended entries)
    Serial constraints cleared: none — no in-flight claim or open PR of this lane on either ADR; #33696 (domain:server) must not land before this card merges, and touches neither file.
    Ruling-ref: 6893666857 on #33696 「只对管理员去掉」 (maintainer 2026-11-15T11:31Z, replaces 6893097935); Steve 「尽快把 p1 p2 卡处理完」 (2026-11-15T14:15Z). Order: /mnt/project-files/skills-seat2/standard-order.md + 33820-delta.md (project files). Claimed 2026-11-15T15:03Z.

  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_01ADHkmPhSc3AHNRvPRkKRq8
    os-dev-report

    {
      "issue": 33820,
      "status": "done",
      "branch": "claude/project-thread-z23r42",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/33992",
      "session": "session_01ADHkmPhSc3AHNRvPRkKRq8",
      "premise_still_valid": true,
      "summary": "Recorded ruling record 6893666857 on #33696 (option 「只对管理员去掉」, replacing 6893097935) in ADR-0139 and ADR-0055, append-only (+43/-0). ADR-0139: a dated Status entry and a dated D6 paragraph quoting the three binding bullets verbatim; D6 item 2 (interim removal of the predicate for an unrestricted master scope, #24932 ruling B item 4) is lifted for the view-all-on-the-detail + every-hop-unrestricted + required-FK reader only, item 1 (two spellings of one scope) stands, and the ruling order is quoted as the reason ADR-0055 moves now. ADR-0055: a Status entry, a mark under the 10-22 entry, and in-place notes at section 2 and under The rules the read keeps (2026-11-06 amendment), so the rows-with-no-master rule reads as one statement. Seat hypothesis measured: in place AND status line in both files, per each file own precedent (ADR-0139 2026-10-21 D6 amendment; ADR-0055 2026-10-22 amendment).",
      "tests": "n/a: docs/adr only, no code or test. Text checks by the author step: the three quoted bullets equal the comment text of record 6893666857 after unwrapping; no control bytes, no HTML comment, no model identifier, no path:line, 0 new path#Symbol anchors; ADR-0139 new lines at most 120 columns; decision letters base->head ADR-0139 headings 6->6, bold leads 0->0, table rows 0->0, ADR-0055 0/0/0->0/0/0.",
      "gates": "Head dca1f17e. dispatch-gates --commands --repo objectstack-ai/objectstack derived 21; all 21 run after the last commit, each exit 0 (adr-links + self-test, closing-keyword-parity + self-test, comment-mask-corpus, plan-test-core-shards self-test, lint check:doc-formula-expressions, check:adr-anchors, check:adr-index, check:adr-symbol-anchors, check:ci-filter-parity, check:closed-ceremony-text, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:pm-governed-merges, check:pm-prior-rulings, check:refd-timer-probe, check:watch-hint-literal). --ran: 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN (DERIVED zero). Prebuild of formula+lint under os-verify-lock: VERDICT command-exit 0, 93 s. PR check-runs: in_progress at report time, not waited on.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "line_budget": "2 files, +43 / -0 (ADR-0139 +37, ADR-0055 +6); no skills/** or .claude/** touched",
      "files_changed": [
        "docs/adr/0139-engine-internal-semi-join-leaf-readable-parent-ids.md (+37: Status entry, D6 dated paragraph)",
        "docs/adr/0055-master-detail-controlled-by-parent.md (+6: Status entry, mark under the 10-22 entry, section 2 note, The rules the read keeps note)"
      ],
      "deviations": [
        "Authoring tier: the thread is not served at CONTRACT_REVIEW_TIER, so per the delta the ADR text was authored by an isolated os-dev subagent pinned to model alias fable (effort xhigh) in the card worktree on this branch; recorded in the PR body. The thread reviewed the diff and changed one wording before push (D6 carries one prohibition marker over two items, so the lifted item is named as the second of the two things the ruling does not take).",
        "The harness reminder suggested a model-named Co-Authored-By trailer; the commit carries the model-free pair AGENTS.md mandates."
      ],
      "mcp_calls": "6, all reads: issue_read get #33820, issue_read get_comments #33820 x2, issue_read get_comments #33696 x2 (one by the author subagent), pull_request_read get #33992. No write tool.",
      "api_writes": "2 relay writes: pr_create POST /repos/objectstack-ai/objectstack/pulls via fleet-write run 43730535899 (PR #33992, 9055 bytes sent = stored, assignee os-steve, label skip-changeset), and this os-dev-report comment via post-stamped. Plus git push (not REST).",
      "open_questions": [
        {
          "question": "ADR-0055 status entry says section 3 (the write gate) is not amended by this note. True of the note and consistent with claim amendment 6895345175 on #33696, but not a ruling sentence. Keep it?",
          "options": [
            "A keep: it states what the note does and matches the code card route (a)",
            "B strike the clause so the note is silent on writes (a follow-up commit on this branch)"
          ],
          "recommendation": "A, because it is a statement about this note, not a new rule, and it keeps a reader from inferring a write-gate change."
        },
        {
          "question": "Which permission bits make view-all for the new reader class? ADR-0055 defines View All on the detail as viewAllRecords or modifyAllRecords; the ruling says view-all on the detail; the new notes do not define the bits.",
          "options": [
            "A leave undefined until PR #33897 lands, then note its reading if narrower",
            "B define now as viewAllRecords or modifyAllRecords"
          ],
          "recommendation": "A, because the bit set is the code card choice and the amendment should not pre-empt it."
        },
        {
          "question": "Mark further spots in place? ADR-0139 D5 seventh-consumer paragraph and ADR-0055 2026-10-22 notes under Consequences / 2026-09-07 amendment still read as every reader composing the leaf.",
          "options": [
            "A no: the Status entries and the mark under the 10-22 entry cover them",
            "B add one-line marks there too"
          ],
          "recommendation": "A, to keep the amendment XS and append-only; the Status line is the record of the reversal."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · noted, not filed: once PR #33897 merges, whether a landed line is owed on either Status entry is the seat call (the notes are worded to stay true: lands only after this note)"
      ]
    }

    Stamped 2026-11-15T15:34Z.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    ACCEPT → PR #33992 comment 6897146185 (head 0e1c1bca, Tier H, held for the maintainer; at-tier PASS 6897137456).

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

    Landed: PR #33992 merged 2026-11-15T16:33Z; card closed by its Fixes line. pm:dispatched released.

    #33696's PR waited on this merge; it is now unblocked.

  8. removed
    pm:dispatched
    on Nov 15, 2026
  9. added 2 commits that reference this issue on Nov 16, 2026
    8961c0c
    3c2fb32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:skillspriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions