Skip to content

ADR-0159 revision: record the major-release rulings (one major, convert then switch, internal forms removed, release-note warning, HotCRM with its bump) #37113

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Source: ruling record 7142585849 on #36868 (2026-11-24T19:46Z), which records four maintainer rulings and two seat decisions made after ADR-0159 merged (PR #36957). Parent: #36868. This card revises the text of docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md that those rulings contradict.

Metadata-protocol: none
Clause-②: no

Grading: area:build · Docs (ADR revision) · ADR-0159 says what the rulings of 7142585849 decided, so the cards cut from it and the record agree · the seats and dev agents that read the record · evidence: the sentences quoted below, read at main 254e396a29e. p1: cards ⑤a and ⑤b are built against the revised text.

Governed surface: docs/adr/** is Tier H. Push, open the PR, and stop: ⛔ no AI seat merges, queues or arms auto-merge on it; the maintainer merges by hand. domain:skills. It waits on no card and can land now.

The rulings, verbatim (1–4 in 7142585849; 5 in its addendum 7142658348)

  1. 「卡⑤ 不用暂缓,下一个版本就是大版本」
  2. 「B:全部放进下一个大版本,升级命令先自动转换、再切换」
  3. 「B(fable 推荐):升级时自动删除。」
  4. 「要在发版说明里重点提示」
  5. On HotCRM, the maintainer verbatim (addendum 7142658348): 「HotCRM 的迁移跟着它升级到大版本那次一起做」「卡⑤ 不再等 HotCRM 卡,否则两边会互相等待。」

Seat decisions the record carries (maintainer veto window): the upgrade's move is all-or-nothing with the switch (7142585849); the ceremony's --apply is reached only from the upgrade command, and the standalone command is read-only (7142658348). The major-19 card not waiting on the HotCRM card is ruling 5, no longer a seat decision.

⛔ Nothing else in ADR-0159 is re-opened. The five merge questions, D6's rules, D7-a, D7-b, D7-d, D7-e and the later ruling 7136809727 stand as written.

What to revise

Each revision cites 7142585849 beside the changed sentence, with the ruling's number. Keep the record's own convention: the ruled words verbatim and untranslated, and anything that is the seat's or the record's own reading marked as such, outside the ruled text. Add a dated line to the Status paragraph and to "Decided by", and one TL;DR entry that names the four changes below.

A. Release sequencing (rulings 1 and 2). There is no release between today's and major 19 that carries the form type. Every card ships in the major.

Where Sentence on main Revise to say
TL;DR 3; D5, opening line "From the release that adds it until the next protocol major, the loader projects the three old shapes into form items" / "From the release that adds the type until the next protocol major" The release that adds the type is major 19. The dual-read exists on main between the cards' merges and in no release; after the major the projection serves no content and only the kept reader and rule 11's check remain (D7, "After the major", unchanged).
D5 "view reads are unchanged until the major", "Old-shape writes still save until the major", "No conversion notice and no new warning for an old shape before the major" True of each card's change on main, and of no release: say so in one sentence under the three bullets. Do not delete the rules; the cards are still built to them so each merge leaves main working.
D8 the _views form tails "are read when forms.NAME has no value for the key, until major 19" No release reads the fallback; it exists on main between card ② and the major-19 card.
D7, Schedule "tombstoned in major 19 and not before" Unchanged, plus: the type is added in the same major.
Execution plan, table and bullets "② is one releasable change"; "⑤ is cut only when the maintainer opens major 19"; "(HotCRM's waits for a release that carries both)" ② is one landable change; ⑤ is not held (ruling 1) and is cut now as two cards, the ceremony with the precheck report, and the major; the rows of the table gain the skills card split from ④.
Consequences "Until major 19 there are two readers of form content"; "The anonymous doors read two types for at least one major" Both readers exist on main only until the major-19 card; the doors keep the second type's withdrawal reader after it, as D7-f says.

B. The ceremony runs inside the upgrade command, and the move is all-or-nothing with the switch (ruling 2; seat decision).

Where Sentence on main Revise to say
D7, "Stored rows" "a CLI ceremony the administrator runs, read-only by default, --apply to write, idempotent, reporting per package what it moved and what it could not" The major's upgrade command runs it: convert first, then switch. An administrator can take the read-only run before upgrading; the write is reached only from the upgrade command. Idempotent and per-package reporting stand.
D7 "The ceremony can be run from the release that adds the type. It must be run before a deployment moves to major 19: that release's upgrade refuses to proceed while a stored old-shape form row exists" The upgrade command runs the ceremony and then the precheck; it switches when the precheck counts no row and refuses to switch when it counts one, naming each row and its action. The deployment stays on the release it is running.
D7, new paragraph, marked as a seat decision (none) A deployment that does not switch holds every stored row as it was. The pre-upgrade release has no form type and reads view rows only, so a switch-off moved to a form row there is read by nothing and the base's form answers. Rests on ruled question 4.
D7-c "It stays a view row, still read by rules 4, 7 and 11 of D6" ; "The administrator makes it and runs the ceremony with --apply again" ; "the deployment stays on major 18 until the App ships a version without the cause" ; "It leaves the class by an old-shape save that repairs the body, which saves until the major" The row stays a view row on the pre-upgrade release, which reads it as it does today (that release has no D6). The administrator removes the cause there and runs the upgrade command again. The repair save is made on that release. "Stays on major 18" stands and is this state.
D6 rule 7 "the boot says so once at error, naming the row and the ceremony of D7" Names the row, the links it closed and the repair; the ceremony's name once the ceremony card has landed.
Consequences "A deployment must run a ceremony before major 19, and that upgrade refuses without it." The upgrade runs it; the upgrade refuses to switch only for a row it cannot move.

C. Stored internal record forms are removed by the upgrade (ruling 3).

Where Sentence on main Revise to say
D7, "Stored rows" "Internal record forms in stored rows are reported and left for the administrator to remove … The ceremony deletes nothing it did not move." The upgrade removes them in the run that switches: an item-shaped row is deleted, a container that also holds lists is re-saved without the member, its lists byte-equal. The report names each removed form, writes out its body, and says per object that New and Edit now follow the object's field groups and whether it has any. History rows stay verbatim. A deployment that does not switch keeps every one.
D7, same bullet "The precheck counts the internal ones like any other old-shape form row and names them with that action." The precheck does not count them as holding the upgrade; the read-only run lists them as "will be removed".
D7 "that release's upgrade refuses to proceed while a stored old-shape form row exists — one the ceremony can still move, an internal record form, or a row that holds the upgrade" Drop "an internal record form" and "one the ceremony can still move" from what refuses: the upgrade moves the one and removes the other. What refuses is a row that holds the upgrade (D7-c).
D7, "Security pins card ⑤ owes", "the precheck refuses" "a stored old-shape form row of each class (movable, internal, pair not ensurable, body not readable) does not reach major 19" Stopping classes are pair not ensurable and body not readable. Add the pin the ruling's conditions need: internal forms are removed and only those; a row with a link, or over a linked base, in the same slot is not.
D7-e and the internal set's three-part test — ⛔ Unchanged. Say in one sentence that ruling 3 widens nothing: a row that declares a sharing.publicLink, or stands over a linked base, is never removed.
The table "What keeps a public address closed today", "Precheck" column D7-e cells Unchanged; add a footnote that the upgrade's removal never reaches any row of the table.

D. Release notes (ruling 4). Add to the Execution plan, on the major-19 card: its changeset's BREAKING section leads with #36425's customer-visible effect, because that change now reaches customers in the same release: New and Edit lay out by the object's field groups; a form's sections, tabs, wizard steps, create defaults and form-level required rules stop applying; nothing converts them.

E. HotCRM (ruling 5, 7142658348).

Where Sentence on main Revise to say
Execution plan, table ⑤ "Blocked by ③ and ④" ⑤ is blocked by ③ and this repository's half of ④; it does not wait on the HotCRM card.
Execution plan, ④ bullet "After ④ no first-party source authors an old shape, which is what lets ⑤ measure 'zero first-party' before it tombstones." The reading covers this repository. HotCRM moves its sources in the same change as its bump to the major.

Done when

Not in this card

  • No code, schema or changeset.
  • No new decision. A sentence the rulings do not reach is not touched; a contradiction found that is not in the tables above is reported, not resolved.
  • ADR-0017, ADR-0146 and ADR-0150 are not edited here.

Dedupe words: ADR-0159 revision, release sequencing major 19, internal record forms removed by upgrade, all-or-nothing switch.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T20:43Z

    • Triage: lands in area:build; rationale: an ADR text revision that records rulings 7142585849, so cards ⑤a and ⑤b are built against it.
    • Type Task. Labels kept: p1 by the blocker rule (⑤a and ⑤b are p1) · pm:queue · domain:skills.
    • Grade line kept from the body · size S. ADRs are Tier H: the PR needs os-zhuang's approval.
    • Route: repo:objectstack#4.
  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    Claim: PM loop (seat-run dev)
    Session: session_011y7As5bdhV5T4N9vpjmZzH
    Account: os-alice
    Branch: claude/issue-37113-adr-0159-major-release-rulings
    Worktree: objectstack-issue-37113
    Domain: domain:skills
    Seat: repo:objectstack#7
    File surface: docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md only (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: claude-fable-5-2 (dispatch-gates --tier: MANDATORY for docs/adr/**), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack (ADR-0159 text) | #36868 ruling records 7142585849 + 7142658348 | the seats and dev agents that build cards ⑤a / ⑤b against ADR-0159
    Thread-read: 7143969673
    Premise: holds (ADR-0159 merged in PR #36957; rulings recorded after it)
    Serial constraints cleared: no in-flight seat PR touches docs/adr/**; #37086 (card ②) is unclaimed. Governed Tier H: the PR goes to the maintainer for a manual merge.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH
    os-dev-report

    {
      "issue": 37113,
      "status": "done",
      "branch": "claude/issue-37113-adr-0159-major-release-rulings",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37206",
      "session": "session_011y7As5bdhV5T4N9vpjmZzH",
      "head_sha": "9a569b8eb23fae6c006b155e72d7008573fdc407",
      "premise_still_valid": true,
      "summary": "ADR-0159 now records ruling record 7142585849 and its addendum 7142658348: every row of the card's tables A to E is revised in place, each with the record id and the ruling number; the five rulings are quoted verbatim once under Decided by, the two seat decisions are marked as the seat's; the Status paragraph, Decided by, a new TL;DR entry 11 and a Refs line carry the dated revision (2026-11-25). One file, +49/-21, one commit; draft PR 37206 is open with skip-changeset and assignee os-alice, left for the maintainer's hand-merge (Tier H). A contract-tier review IS owed: docs/adr/** is governed rules text, so the PR owes a CONTRACT_REVIEW_TIER record at head 9a569b8eb23 besides the maintainer's merge; the diff rewrites sentences, so it is not an add-only note. Deviation from the card, declared: table B asks to revise D6 rule 7 while Done-when forbids any diff inside D6 rules 1 to 11; the revised reading is written as a paragraph after rule 11 and rule 7's text is byte-identical. The card assignee field was not written.",
      "tests": "none owed: ADR text only, no package touched (no build step 1, no package tests), no behaviour changed so no ablation. Protected-block check: git diff -U0 prints 21 hunks; none inside old lines 210-221 (D6 rules 1-11), 246-253 (D7-a, D7-b), 263-271 (D7-d), 277 (D7-e), 389-521 (the five ruled questions) or 496-501 (the later ruling). Verbatim check: the revision script asserted each of the five quoted rulings is a substring of the two ruling comments before writing. All at head 9a569b8eb23.",
      "gates": "Local, at head 9a569b8eb23, derived by dispatch-gates --commands --repo objectstack-ai/objectstack (exit 0) and reconciled by --ran (exit 0): 'Run reconciliation - 21 derived, 20 run, 1 NOT-MEASURED, 0 UNRUN'. Exit 0 (captured before any pipe): check-adr-links ('1215 relative link destination(s) under docs/adr/ resolve') and its self-test, check:adr-anchors, check:adr-index ('docs/adr/README.md is current, every record parsed'), check:adr-symbol-anchors ('4170 anchors across 163 records resolve'), check:doc-authoring, check:nul-bytes, check:pm-governed-merges, check:pm-prior-rulings, check-closing-keyword-parity and its self-test, check-comment-mask-corpus, plan-test-core-shards self-test, check:ci-filter-parity, check:closed-ceremony-text, check:cross-package-test-inputs, check:driver-memory-census, check:gitlink-declared, check:refd-timer-probe, check:watch-hint-literal. NOT MEASURED: doc-formula-expressions (exit 3, PREREQUISITE NOT MET: the lint package is not built; declared narrowing, the diff adds no formula expression, CI runs it). A first pass before pnpm install exited 3 on eight families (prerequisite, not findings); all were re-run after install. CI check-runs on the PR head when this report was written: Check Changeset success; Lint (ESLint, docs and code guards, repo and tooling gates, CI/release/engine gates, PM dispatch-gates, three scoped lanes), Type Check (workspace, source gates, consumer gates, debt ledger), Check Documentation Links, Governed Surface Queue Guard, PR-body guards, Check PR Size, filter: in_progress. Not waited for.",
      "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 - (1) POST /repos/objectstack-ai/objectstack/dispatches (fleet-write relay, one stroke: pr_create draft with its assignees and labels legs; read-back identical, 6622 bytes); (2) this os-dev-report comment through post-stamped. Plus 2 git pushes (the empty-branch probe and the commit).",
      "open_questions": [
        {
          "question": "Rule 7 of D6: the card's table B says revise it, the card's Done-when says no diff inside D6 rules 1 to 11. The PR writes the revised reading beside the rules. Is that the wanted form?",
          "options": [
            "A keep the paragraph after rule 11 (as delivered)",
            "B rewrite rule 7's own sentence and drop the paragraph"
          ],
          "recommendation": "A, because it satisfies both statements of the card and keeps the security rules byte-identical; B is a one-line follow-up if the maintainer prefers it."
        },
        {
          "question": "The dispatch order set effort medium; dispatch-gates --tier prints for docs/adr/** that the same order fixes the effort floor at xhigh. The run was done at the dispatched effort.",
          "options": [
            "A accept the run and let the owed contract-tier review cover it",
            "B re-run the drafting at the floor"
          ],
          "recommendation": "A, the conflict is reported and not resolved by the dev; the seat decides."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #37113 PR Acceptance notes - noted, not filed: sentences the card's tables do not name were left as written - 'Five cards, in this order' and TL;DR 9 (the table now has eight rows), 'card 2's release' in TL;DR 10 / D5 / Consequences (that release is major 19 under ruling 2), TL;DR 7 'until the major', D7-d and the fold pins 'after --apply'.",
        "carrier: none - noted, not filed: ADR-0159's Status keyword still reads Proposed on main although PR 36957 is merged; the status flip is its own domain:skills card by the ADR README's status-hygiene rule."
      ]
    }
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    Claim amendment · Branch: claude/issue-37113-adr-0159-major-release-rulings
    Clause-②: no
    Metadata-protocol: none
    Container & model: S, mode:subagent, model: ceiling (dispatch-gates --tier: MANDATORY for docs/adr/**), effort: xhigh
    Why: the first drafting pass (head 9a569b8eb23) was dispatched at effort medium, below the xhigh floor dispatch-gates --tier prints for docs/adr/**. That was the seat's error, disclosed in seat record 7152627871. The patch round for S1 / N1 runs as a new isolated subagent at the floor and re-reads every revised sentence.

  7. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    Paused 2026-11-25T06:25Z · patch round for S1 / N1 on PR #37206, stopped under the concurrency cap. The claim is held; nothing is released.

    Resume point: claude/issue-37113-adr-0159-major-release-rulings@d7f307a6a57aeb8ab434ca1390cb6e18a9bd5501 (pushed; the PR stays a draft; worktree objectstack-issue-37113-r2 is kept).

    Done at that head:

    • origin/main merged as a merge commit (54e058c8c1c, main at bc3ec37a669).
    • S1: D7-c, fourth sub-bullet. "it keeps closing every link it names" is replaced by "on the pre-upgrade release both doors answer for it as they do today: rule 7 runs on main and on the major, not there."
    • N1: the four ruling 5 citations name addendum 7142658348.
    • The at-floor read of every sentence the first pass revised is complete. It found no other sentence that ruling 2 makes false.
    • Protected blocks are byte-identical to main (19 block hashes). The diff against main is still +49 / -21 in 21 hunks. The five quoted rulings are byte-equal to the two ruling comments.

    Remaining:

    1. The dispatch-gates --commands sweep at this head, then --ran. 21 commands derived; 4 ran, all exit 0 (check-adr-links and check-closing-keyword-parity, each with its self-test). NOT MEASURED: the other 17, reason: the sweep was stopped by the pause order.
    2. The os-dev-report comment, with the list of sentences changed and of sentences judged and left.
    3. The PR body is not refreshed. It repeats no changed sentence, but three of its lines are behind this head: "four sentences of D7-c" (twice; now five) and the gates block headed 9a569b8eb23. That write is the seat's.
    4. Remove the worktree after the report.
  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    os-dev-report (seat-posted for the paused patch round) · PR #37206 · head d7f307a6a57aeb8ab434ca1390cb6e18a9bd5501

    • S1: the D7-c fourth sub-bullet (~293) now says both doors answer for the row as they do today on the pre-upgrade release, and that rule 7 runs on main and on the major, not there. N1: four ruling-5 citations (~388, 397, 399, 404) now name addendum 7142658348.
    • origin/main was merged as 54e058c8c1c. The diff against main is still +49/-21 in 21 hunks, and all 19 protected-block hashes match main.
    • At-floor re-read (effort xhigh) of every first-pass sentence: none else is false under ruling 2. The judged-and-left lists are in pause note 7154783708.
    • Gates at this head (the 21 derived commands, run by the seat): 20 exit 0. check:doc-formula-expressions exit 3, PREREQUISITE NOT MET; CI runs it.
    • Contract review delta PASS 7155715384 (S1 closed, N1 closed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:skillspm:dispatchedpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions