Repository navigation
docs(adr): ADR-0159 notes that the package-artifact door replays the form move (#39103) - #39172
Conversation
…form move (#39103) An add-only addendum dated 2026-12-02. It records that the metadata-core artifact forward door replays view-forms-to-form-items and its translation companion on a pre-19 package body, returns a 19 body by reference, and rewrites no stored row, so a stored old-shape row keeps the kept reader. It also corrects the scope of one D7 measurement, which covered this repository's packages only. No existing line of the record changes. Claude-Session: https://claude.ai/code/session_01WGufzivFXq32jQSCUnECPj Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzivFXq32jQSCUnECPj Contract-review-claim: session_01WGufzivFXq32jQSCUnECPj · head e9a5597 · 2026-12-02T20:41Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzivFXq32jQSCUnECPj Contract reviewServed-tier: Read for this record: card #39103 (body, claim ① Derived judgments
② Semver level
③ Boundary flags
SQL push-down: no code in the diff, so no id materialisation or in-app join. No finding. ④ Design judgmentJudged: the 20 added lines, against What holds, claim by claim.
Findings. S1 (should-fix) — the paragraph "Why this does not contradict the rule on moves before 19" says of the rule: "The rule covered the time before the major, and the major-19 tombstone ended it". The paragraph has just defined that rule as rulings 1 and 2 of N1 (nit) — "pre-19 body" is never defined, and the note uses it for a body by its shape, not by its declared range. HotCRM N2 (nit) — "A pre-19 body then reads as the 19 package its migrated source would build" is the module doc's sentence and is true of the form move, which is this record's subject. It is not true of the whole of step 19 at this door: the door refuses the default-flip entries by id ( N3 (nit) — the stored-rows paragraph cites D6 rule 10 and D7-f. The door module and the cited rest tests name D5 and D6 rules 10 and 11 for the same kept reading, and this record keeps rule 11's check on the same lifetime (D7, "After the major"). Citing rule 11 beside rule 10 would match them. The third test bullet also understates one file: No must-fix. S1 is open on this head and earns a delta review of its fix. N1 to N3 are prose and may be folded in the same round or left. Implemented-by: VERDICT: PASS |
The rule on moves before 19 stands; what the major-19 tombstone ended is the condition the door's refusal rested on. The note now defines a pre-19 body, bounds "reads as the 19 package" to its forms, cites D5 and D6 rule 11 beside rule 10, and says what each cited rest test runs over. Only lines the addendum added are edited. Claude-Session: https://claude.ai/code/session_01WGufzivFXq32jQSCUnECPj Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzivFXq32jQSCUnECPj Contract-review-claim: session_01WGufzivFXq32jQSCUnECPj · head 9ad2afe · 2026-12-02T20:59Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzivFXq32jQSCUnECPj Contract reviewServed-tier: Delta record. It covers the one commit ① Derived judgments
② Semver levelUnchanged from the earlier record. No changeset, the ③ Boundary flagsThe patch-round report carries no SQL push-down: no code in the diff. No finding. ④ Design judgmentJudged: the delta, against the earlier record's findings, the door module on S1: closed The paragraph now reads "The rule stands. What the major-19 tombstone ended is the condition the door's refusal rested on", and gives that condition as the door module gives it. No sentence of the note now says a ruling or the seat decision ended, and the paragraph's last sentence and the note's first paragraph agree with it. N1: closed. The note defines a pre-19 body as one built before the major-19 tombstone, whatever range it declares, with a 19 prerelease build named, and a 19 body as one built after it. "A 19 body is unchanged" and the HotCRM sentence now read one way. N2: closed. The sentence is bounded with "for its forms". N3: closed. The stored-rows paragraph cites D5, D6 rules 10 and 11, and D7-f, as the door module and the cited tests do; The delta introduces nothing new: no new claim, path, test or anchor beyond those named above, each of which was read on No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzivFXq32jQSCUnECPj Final green head for L1 · 2026-12-02T21:06Z · zone osa-build
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review: ACCEPT, on head 9ad2afeVerdict: ACCEPT. Fixes #39103. This PR is governed: The L2 owed, and on recordThe governed surface owes a contract review at CONTRACT_REVIEW_TIER.
I read the net diff against Facts in the addendum, checked on
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39172 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
Fixes #39103
Clause-②: no (an ADR note records what PR #39120 shipped; no schema, no export, no accept set)
Metadata-protocol: none
维护者速读
What changes
One file,
docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md: 21 lines added at the end, none removed and none edited. The new section is## Addendum (2026-12-02): the package-artifact forward door replays the form move on a pre-19 body, in the heading form the registry's other dated addenda use. It says:view-forms-to-form-itemsandtranslation-view-form-tails-to-formsin its ordinary versioned window, over the definition and each package body, so a pre-19 body reads, for its forms, as the 19 package its migrated source would build. A pre-19 body is one built before the major-19 tombstone, a 19 prerelease build that declares a^19.0.0-next.Nrange included. Names PR fix(metadata-core): the artifact door replays the form move, so pre-19 package artifacts read again (#39101) #39120 and card 老软件包视图里的表单被新框架拒收:HotCRM 6.x/7.0 等已发布版本读不了(挡云端升级) #39101.STORED_ROWS_NOT_REWRITTEN), so a stored withdrawal of a form keeps that form closed after the replay as it does over any packageformitem. Four test files onmainare cited.views[]through the projection.689e5695b98, this case is empty: no package that ships metadata to a deployment authors a form in any of the three shapes" covered this repository's packages only. HotCRM's published 6.x and 7.0 versions author their public forms asformViewsentries.The scope correction is add-only: the measurement sentence in D7 stays as written, and the addendum quotes it and corrects its scope. The Status line carries no new pointer, because that would edit an existing line. No decision, ruling or option text of the record changes.
Why
A reader of ADR-0159 found no mention of package artifacts, and read one measurement as saying that no shipped package authors a view form. Both readings are wrong on
mainsince PR #39120 merged.Tests
Docs only: no test is added and no tested behaviour changes, so no ablation applies. Every statement of the addendum was read from
origin/mainat360820b420:holdsViewFormsinpackages/metadata-core/src/artifact-forward-conversion.ts;packages/metadata-core/src/artifact-forward-conversion-39101-pre19-package-forms.test.ts;STORED_ROWS_NOT_REWRITTENinpackages/spec/src/conversions/stored.ts;packages/rest/src/public-form-39101-artifact-replay-withdrawal.test.ts,packages/rest/src/public-form-withdrawal-reads-package-bindings.test.ts,packages/rest/src/stored-forms-major19-kept-reader.test.ts;forms:once the pinned platform readsformitems (objectstack#37087), before 19 final refuses the old shapes hotcrm#2843 says both public forms "wereformViewsentries on the lead and case views", and its package version is 7.0.1 with that changeset unreleased.Acceptance notes
skip-changesetlabel.docs/adr/**publishes nothing from any released package.addOnlyNoteReasons(scripts/pm/check-governed-merges.mjs) over this file's full-context diff againstorigin/mainreturns no reason. That is a local reading for the reviewer, not a tier verdict.9ad2afe3b7folds contract review7358321121(S1, N1, N2, N3). It edits only lines this PR added; againstmainthe diff is still additions only.Verification
Read first, by risk:
7142585849and the seat decision under them; check that it re-rules nothing.Two-minute check:
git diff --stat origin/main...HEADshows one file, 21 insertions and 0 deletions.Local gates at
9ad2afe3b7, run again on this head, each exit code captured before any pipe. All 21 commands thatnode scripts/pm/dispatch-gates.mjs --commandsderives for this diff ran and exited 0;--ranreconciles 21 derived, 21 run, 0 unrun.The 21 derived commands
node scripts/check-adr-links.mjs(1288 relative link destinations under docs/adr/ resolve) and its--self-testnode scripts/check-closing-keyword-parity.mjsand its--self-testnode scripts/check-comment-mask-corpus.mjsnode scripts/ci/plan-test-core-shards.mjs --self-testpnpm --filter @objectstack/lint run check:doc-formula-expressions(run after building@objectstack/formulaand@objectstack/lint, its declared prerequisites)pnpm check:adr-anchors,pnpm check:adr-index,pnpm check:adr-symbol-anchors(4660 anchors across 165 records resolve)pnpm check:ci-filter-parity,pnpm check:closed-ceremony-text,pnpm check:cross-package-test-inputs,pnpm check:doc-authoring,pnpm check:driver-memory-census,pnpm check:gitlink-declared,pnpm check:nul-bytes,pnpm check:pm-governed-merges,pnpm check:pm-prior-rulings,pnpm check:refd-timer-probe,pnpm check:watch-hint-literalNot measured locally and left to CI: the whole-tree families,
pnpm lint, and the type-check programs.Human Minimum
packages/specholds no runtime logic.pnpm lintpasses. (No formatter ran;pnpm lintis CI's run.)main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufzivFXq32jQSCUnECPj