Skip to content

docs(adr, design, ui): ADR-0130 D2 and ADR-0141 point at the 2026-11-12 ADR-0019 D3 amendment; the marketplace design doc and the audience page drop the suite fold - #33455

Merged
os-zhuang merged 1 commit into
mainfrom
claude/project-thread-58mkv4
Nov 15, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/project-thread-58mkv4

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Fixes #32664

domain:skills#1 · os-project-manager · session_01FEkQ5omJjY7zqYeR48ExxC

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:ADR-0130 D2(两处)、其 Non-goals 与备选 5、ADR-0141 的 Unchanged 行,各加一条带日期的 ⚠️ 指向,点名 2026-11-12 对 ADR-0019 D3 的修订与 958734cbac,原裁决句一字不删;设计文档 marketplace-publishing.md 与公开文档页 audience-based-interfaces.mdx 的「套件折叠成一个应用」句改写为修订后的规则。
  • 为什么改:ADR-0019 D3 已按「改成 Salesforce 模式」修订(一个套件可呈现多个应用,每个应用由不同包定义,应用包至多一个应用),但 ADR-0130/0141 仍写「D1–D3 原文不变」,设计文档与文档页仍教「一个应用、永不套件」;人或 AI 搜 D3 会落到旧读法。
  • 风险与回滚:纯文档,4 个文件 +88/−20,不动代码、schema、技能;回滚即还原本 PR。
  • 先看:docs/adr/0130-release-artifact-as-co-ownership-boundary.md D2 下两条指向(:211、:235);docs/design/marketplace-publishing.md §6 新增的 Shape C 与改写的「Not allowed」框;content/docs/ui/audience-based-interfaces.mdx 第 22 行。
  • 两分钟验证:git diff origin/main -- docs/adr/,预期只见新增的 ⚠️ 指向行,无任何删除行。
  • 需要你做的:受管面 Tier H(docs/adr/**):请批准或合并。

What changes

Four files, +88 / −20. The amended rule is quoted, not paraphrased, from ADR-0019 D3's amendment note on main (ba35dfd7): "A suite (one install: an app package plus the module packages it composes) MAY surface more than one app, provided each app is defined by a different package of the suite, and an app package defines at most one app."

  • docs/adr/0130-release-artifact-as-co-ownership-boundary.md (+26 / −0, no ruled sentence touched).
    • D2, after "D1–D3 stand verbatim and unamended": a dated pointer naming the amendment, ADR-0019 (app-as-consumer-unit) D3 amendment: a suite may surface several apps, each owned by one module package of the suite; an app package still defines at most one app; one terminology for package, module, app and suite #32585 and 958734cbac, quoting the rule, and saying D1 and D2 are not amended; of "installs, opens, uninstalls" only "opens" reads differently (ADR-0019's note under D1).
    • D2, after the ⛔ line: a pointer quoting ADR-0019's own "Records that restate D3" note: the line "stands as drawn", "What ADR-0130 calls a suite is a container a consumer browses or installs, and that stays removed", and the "exactly one consumer-visible consequence" "gains a second: a module the app package brought may surface an app of its own."
    • Non-goals, "Not a suite": a pointer saying which "suite" the line excludes, since the amended D3 uses the word for one install of an app package with its modules.
    • Alternative 5, "ADR-0019 D3 by another name": a pointer saying the fold is reversed and the rejection stands on what the amendment keeps: D1, D2, and a suite "is no second consumer unit. It has no listing and no package type of its own."
  • docs/adr/0141-inter-app-dependency-declared-checked-before-install.md (+8 / −0): a pointer after the Unchanged line, whose consumer-model item is kept as the reading of 2026-10-25.
  • docs/design/marketplace-publishing.md (+53 / −19): a new dated Updated: header line (the 2026-05-31 line kept); §1's HotCRM paragraph rewritten from "being refolded into a single consumer App" to the suite it ships as (hotcrm main at ac4dd3d: sales in the app package, service and marketing in their module packages); §2.1's taxonomy line; §6's lead rewritten to the amended rule, "(recommended for HotCRM)" dropped from Shape A, a new 6.3 Shape C (a suite through composeStacks(..., { manifest: 'preserve' })), and the "Not allowed" box rewritten to one package surfacing N apps plus a suite as a second consumer unit, naming STACK_SINGLE_APP_VIOLATION for type: app and type: module; Summary item 5.
  • content/docs/ui/audience-based-interfaces.mdx (+1 / −1): "More audiences therefore never mean more apps" becomes per package, a type: 'module' package is held to one app too (packages/spec/src/stack.zod.ts#SINGLE_APP_PACKAGE_TYPES, app and module), and a suite may surface more than one app, each defined by a different package. The "See also" line ("one app per package") still holds and is unchanged.

Acceptance notes

Verification

Derived gates on head 8bfdf6e (48 of 48 exit 0)

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 48 commands; each ran with its exit captured before any pipe. The nine package-filter gates were rerun after turbo run build --filter=@objectstack/lint... --filter=@objectstack/client-react... under the lock (VERDICT command-exit 0); the first pass of check:skill-examples, taken before that build, answered exit 3 (prerequisite not built) and is superseded by the rerun below. --ran: "48 derived famil(ies) accounted for — 48 run, 0 NOT-MEASURED". Control-byte self-scan of the four files: no hit.

node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-doc-route-spelling.mjs --advisory :: exit 0
node scripts/check-doc-route-spelling.mjs --self-test :: exit 0
node scripts/check-docs-section-name.mjs :: exit 0
node scripts/check-docs-section-name.mjs --self-test :: exit 0
node scripts/check-section-landing-index.mjs :: exit 0
node scripts/check-section-landing-index.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:corpus-claim-drift :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-anchors :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:doc-frontmatter :: exit 0
pnpm check:docs-audit-scope :: exit 0
pnpm check:docs-redirects :: exit 0
pnpm check:docs-single-h1 :: exit 0
pnpm check:docs-spec-enumerations :: exit 0
pnpm check:docs-transcript-drift :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:published-readme-links :: exit 0
pnpm check:react-page-adapter-contract :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:role-word :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:vendor-version-stamps :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm --filter @objectstack/lint run check:doc-security-posture :: exit 0
pnpm --filter @objectstack/spec run check:docs :: exit 0
pnpm --filter @objectstack/spec run check:empty-state :: exit 0
pnpm --filter @objectstack/spec run check:liveness :: exit 0
pnpm --filter @objectstack/spec run check:skill-examples :: exit 0
pnpm --filter @objectstack/spec run check:strictness-ledger :: exit 0
pnpm --filter @objectstack/spec run check:variant-docs :: exit 0
pnpm --filter @objectstack/spec run check:yaml-examples :: exit 0
Tier and governed-merge verdicts
  • dispatch-gates --tier: MANDATORY contract-review tier for docs/adr/** (no one-line exit). This card thread ran on the claim's default tier; named as a deviation in the report, and the seat's in-seat contract review at tier is the owed record.
  • check-governed-merges.mjs --branch claude/project-thread-58mkv4: exit 3, GOVERNED, landing tier H (人合), docs/adr/** ×2; content/docs/ui/audience-based-interfaces.mdx and docs/design/marketplace-publishing.md are not on the register; 108 changed lines, under the 3000 threshold.
  • Changeset: skip-changeset (docs/adr/**, docs/design/** and content/docs/** ship in no package's files[]).

Generated by Claude Code

…12 ADR-0019 D3 amendment; the marketplace design doc and the audience page drop the suite fold

ADR-0130 D2 (with its Non-goals line and alternative 5) and ADR-0141's
Unchanged line gain dated pointer lines naming the amendment and
958734c; no ruled sentence is deleted. The marketplace-publishing
design doc and content/docs/ui/audience-based-interfaces.mdx rewrite
their fold sentences to the amended rule: a suite may surface more than
one app, each defined by a different package, and an app package
defines at most one app.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5omJjY7zqYeR48ExxC
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 14, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 14, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8bfdf6ee10eb5843bf92881944fc05aef8fc19ab
Local-runs: none
Scope: docs/adr/0130-release-artifact-as-co-ownership-boundary.md, docs/adr/0141-inter-app-dependency-declared-checked-before-install.md + docs/design/marketplace-publishing.md, content/docs/ui/audience-based-interfaces.mdx (widened: the diff holds no file that implements or enforces the two records; these two restate the same rule and are judged against it). Read, not reviewed: docs/adr/0019-app-as-consumer-unit.md and packages/spec/src/stack.zod.ts on main (19cc8976bf, merge base ba35dfd782), hotcrm main at ac4dd3d (objectstack.config.ts and the three app files).

Gate verdicts on this head, read from its check-runs: 17 success, 25 skipped, 0 failure, 11 still in progress (Test Core 1-3 of 8, the four Type Check / Lint families in flight, ESLint, Build Docs). Nothing has failed; the in-progress runs are not yet verdicts and the merge waits on them as usual.

① Derived judgments

None. The diff is four prose files: no schema, no code, no skill, no accept set, no public API surface. content/docs/ui/audience-based-interfaces.mdx is a published docs page, not a package surface. Right.

② Semver level

skip-changeset label, no .changeset entry in the diff. Right: docs/adr/**, docs/design/** and content/docs/** ship in no package. Clause-②: no on the PR body is right: nothing is narrowed and nothing is declared.

③ Boundary flags

  • Deviation 1, the dev ran at the claim's default tier although dispatch-gates --tier reads the contract-review tier for docs/adr/**: answered by this record, served at that tier.
  • Deviation 2, the PR-body signature written as a prose line instead of an HTML comment: accepted, os-dev.md governs.
  • Deviation 3, section 6 rewritten beyond the two sentences the card named: judged under ④ (findings D1 to D5); accepted.
  • open_questions: empty.
  • Out-of-scope finding, the header comment of packages/spec/src/kernel/package-registry.zod.ts ("a consumer package defines at most one app, there is no suite-contains-apps aggregator"), quoted verbatim in the design doc's 2.2: agreed, not a defect. Read per package it is ADR-0019 D3's own wording ("Read per package: no package of a suite defines more than one app"), and the old meaning of "suite" there is the one ADR-0019's vocabulary paragraph leaves as accepted. Rewording a verbatim code quote in the design doc alone would misquote; a wording pass is the spec lane's, no card owed now.

④ Design judgment

Measured against ADR-0019 D3 as amended on main: the rule "A suite (one install: an app package plus the module packages it composes) MAY surface more than one app, provided each app is defined by a different package of the suite, and an app package defines at most one app", the D1 note ("opens" reads differently for a suite), the D2 bullet ("A suite is no second consumer unit. It has no listing and no package type of its own"), D4 unamended, the vocabulary table, and the "Records that restate D3" note.

ADR-0130 (hit). Holds. Net diff +26 / -0: no ruled sentence deleted or edited; each addition is a dated, separately marked pointer.

  • D2 pointer 1: the rule is quoted verbatim; "D1 and D2 are not amended", "installs and uninstalls one thing, the single type: app package" and "only opens reads differently" match ADR-0019 D1 and its note; the "three verbs" have their antecedent in D2's own sentence (installs, opens, uninstalls); "the reading of 2026-09-01" matches the date ADR-0019 assigns. Neither wider nor narrower.
  • D2 pointer 2, after the ⛔ line: all three quotes ("stands as drawn", "What ADR-0130 calls a suite is a container a consumer browses or installs, and that stays removed.", "gains a second: a module the app package brought may surface an app of its own.") and "a descriptive word, not a package type" are verbatim from ADR-0019. Correctly keeps the ⛔ line whole.
  • Non-goals pointer: separates the excluded container from the amended word; matches the vocabulary table.
  • Alternative 5 pointer: "its fold is reversed" and the grounds kept (D1, D2, "is no second consumer unit ...") match ADR-0019. The rejection also still rests on D3's own surviving first and last sentences (no wrapper above App); not naming them leaves the pointer narrower in its reasons, not in the rule. No finding.
  • Other ADR-0130 text: the TL;DR "does not move a single letter (D2)" and References "(unamended by this record)" describe ADR-0130's own act and stay true; the 1.5 validateSingleApp row already carries its own dated note. No leftover states the old fold unannotated.

ADR-0141 (hit). Holds. Net diff +8 / -0, one pointer after the Unchanged line. Rule quoted verbatim; "D1, D2 and D4 are not amended" matches ADR-0019 (D4 explicitly not amended); "the reading of 2026-10-25" matches ADR-0019; the "three verbs" have their antecedent in the Unchanged line ("one app installs, opens, uninstalls"). The other "suite" and "one app" sentences (the shelved-consumer note, "The one-artifact suite still reads D1", the line 125 quote) are already consistent with the amendment. No leftover.

docs/design/marketplace-publishing.md (widened). The four extra rewrites, judged one by one:

  • D1, the section 6 lead. Correct consequence, not scope creep: the old lead said "exactly two valid shapes", both "one App (or several independent Apps) ... never as a wrapper that surfaces N apps", which the amendment makes false for HotCRM. The new lead quotes the rule and adds "and a module package" defines at most one app, which is ADR-0019's per-package reading and is what SINGLE_APP_PACKAGE_TYPES (app, module) enforces since 9ae829108c. Not wider, not narrower.
  • D2, the Shape A heading dropping "(recommended for HotCRM)". Correct consequence: ADR-0019's Consequences line reverses "HotCRM ... must fold to a single App", and hotcrm main ships as a suite.
  • D3, the Not allowed box. Correct consequence: "one package that surfaces N apps" is D3's surviving first sentence read per package, "a suite as a second consumer unit" is the D2 bullet, quoted verbatim. The enforcement claim (defineStack refuses a type: app or type: module package with more than one app, STACK_SINGLE_APP_VIOLATION) matches validateSingleApp on main. The dropped clause (a meta-package whose only job is to surface N apps) used "suite" in its old sense; D3's surviving iWork sentence (independent products ship as their own app packages) is still carried by Shape B, so nothing D3 forbids is now allowed.
  • D4, the 2.1 line. Correct consequence; see nit N2 for its wording.
  • D5, the new 6.3 Shape C and the HotCRM paragraph in section 1. Not one of the four named rewrites, but a consequence too: the lead's shape count and Summary item 5 (a fold sentence the card named) both need the shape the amendment allows. It documents what ADR-0019 decided and the code already carries, not a new design: the snippet composeStacks([...], { manifest: 'preserve' }) is the remedy SINGLE_APP_COMPOSE_REMEDY names in packages/spec/src/stack.zod.ts, and the app package listed last matches the 'last' pick of the artifact manifest that hotcrm's objectstack.config.ts relies on. The section 1 bullets (sales in the app package, service and marketing in modules, no package with more than one app) match hotcrm main at ac4dd3d. "Cons: the modules version with the app package (ADR-0130 D6)" is right.

Findings, all nits on prose faces:

  • N1, nit. Design doc 2.1 tree, unchanged line App ... the only consumer unit (download = open = uninstall). The new Updated header says 2.1 follows the amended D3, but ADR-0019's D1 note says "opens" reads differently for a suite (a suite may offer more than one app). The section 1 bullets and Shape C already say so; this one line keeps the old equation. Suggested: "(listed = installed = uninstalled; a suite may offer several apps to open)".
  • N2, nit. Design doc 2.1, new text "(a suite surfaces one per package)" reads as exactly one app per package; the rule is at most one, and a module may carry none (validateSingleApp's doc on main: "Zero apps is allowed"; HotCRM's revenue and o2c modules define none). Suggested: "at most one per package".
  • N3, nit. Audience page line 22 keeps "A package of type: 'app' exposes exactly one App" and now adds that a module "is held to at most one app the same way". The rule, and the refusal the sentence cites, are at most one; "exactly one" was there before this PR but now sits next to "the same way" with a different bound. Suggested: "at most one".
  • N4, nit, accepted deviation. Shape A's example still uses com.hotcrm and hotcrmApp while section 1 and Shape C name HotCRM as the suite shape. The PR's acceptance notes name it as an illustration; the heading no longer recommends it for HotCRM, so it misleads no reader about the rule.

No other text in the four files still states the old fold: the 2026-05-31 Updated line is kept as dated history beside the new line, the 2.2 quote is the verbatim code comment covered under ③, and Shape A's "not a suite" and Shape B's "This is not a suite" stay true under the new vocabulary.

Nits alone end the round; none is a must-fix or should-fix, so no delta review is owed. docs/adr/** is Tier H: the maintainer's merge.

Implemented-by: claude/project-thread-58mkv4
Reviewed-by: session_01FEkQ5pjSPT7ui2EUcunaVb

VERDICT: PASS

Adopted by the seat 2026-11-14T21:53Z · isolated sub-agent at CONTRACT_REVIEW_TIER · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

维护者速读

  • 改了什么:ADR-0130 D2(含非目标与备选 5)与 ADR-0141 各加带日期的指针行,指向 2026-11-12 对 ADR-0019 D3 的修订(958734cbac);设计文档 marketplace-publishing.md 与文档页 audience-based-interfaces.mdx 里“一个套件折成一个 App”的旧说法改写为修订后的规则:一个套件可呈现多个 App,各由不同的包定义,一个 app 包仍至多定义一个 App。
  • 为什么改:PR docs(adr): ADR-0019 D3 amended — a suite may surface several apps, each defined by a different package; an app package still defines at most one app #32618 修订了 ADR-0019 D3,但另两份已接受的 ADR 仍写着“D3 原样未改”,彼此矛盾(卡 docs(adr): ADR-0130 D2, ADR-0141 and the marketplace-publishing design doc still restate the ADR-0019 D3 fold, amended in 958734cbac #32664)。
  • 风险与回滚:纯文档,不动代码与 schema;两份 ADR 只加不删,没有改写任何已裁定的句子。回滚即还原本 PR。
  • 先看:ADR-0130 D2 的指针行,再看设计文档第 6 节(引言、Shape A 标题、“不允许”框、新增的 6.3 Shape C)。
  • 两分钟验证:git diff origin/main -- docs/adr/0130-release-artifact-as-co-ownership-boundary.md docs/adr/0141-inter-app-dependency-declared-checked-before-install.md。
  • 需要你做的:受管面 Tier H(docs/adr/**),契约复审 PASS 评论 6884780882(Head-sha 8bfdf6ee10eb5843bf92881944fc05aef8fc19ab)已在案,请批准或直接合并。
  • 席位意见:可以合。四条指针逐字引用 ADR-0019,范围不宽不窄;设计文档超出卡面的改写都是修订的直接推论。剩下三处措辞小瑕疵(“exactly one”应为“at most one”等)记为接受的偏差。

席位核对

Verdict: ACCEPT, held for the maintainer · head 8bfdf6ee10eb5843bf92881944fc05aef8fc19ab · card #32664 · report 6884578330 · contract review 6884780882 (PASS on this head, CONTRACT_REVIEW_TIER; Ruling-ref for the in-seat review: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb option A).

  • Shape: draft → main, Fixes #32664. docs/adr/0130-… (+26 / -0), docs/adr/0141-… (+8 / -0), docs/design/marketplace-publishing.md, content/docs/ui/audience-based-interfaces.mdx (the item folded in by comment 6820747780). skip-changeset. GOVERNED, Tier H (docs/adr/** ×2). Clause-②: no; Metadata-protocol: none.
  • Rule: every pointer quotes amended ADR-0019 D3 word for word; no ruled sentence deleted. The design-doc rewrites beyond the two named sentences (section 6 lead, Shape A heading, Not allowed box, 2.1 line, new 6.3 Shape C) follow from the amendment and from SINGLE_APP_PACKAGE_TYPES / SINGLE_APP_COMPOSE_REMEDY in stack.zod.ts.
  • Gates: 48 derived, 48 exit 0. Check-runs on the head all concluded, none failing.
  • Accepted deviations (review nits): N1, the design doc's 2.1 tree keeps "(download = open = uninstall)", which ADR-0019's D1 note reads differently for a suite; N2, "(a suite surfaces one per package)" should read at most one; N3, the docs page keeps "exactly one App" for an app package, where the rule is at most one; N4, Shape A's example still uses HotCRM names as an illustration. All prose; carried by follow-up docs(ADR-0055) and skills(data): wording follow-ups from the writeRequiresMasterRead reviews (stale chain bullet, refusal scope, optional-master parenthetical, eval guard) #33432's family if the maintainer wants them fixed.
  • Process: the thread ran at the default tier, met by this in-seat review.
  • Landing: Tier H. The seat does not flip this PR ready or enqueue it. It needs the maintainer's merge, or an authorised APPROVED review after which the seat lands it.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 14, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 14, 2026 22:51
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 14, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Correction: contract-review tier

The contract-review record(s) 6884780882 on this PR say Served-tier: CONTRACT_REVIEW_TIER, and the seat adopted them as "isolated sub-agent at CONTRACT_REVIEW_TIER". That is wrong. The seat launched the reviewing sub-agent without the tier, so it ran at the seat's own default tier, not at CONTRACT_REVIEW_TIER. The seat found this on its own audit. The review was still isolated and adversarial, and its findings stand as an off-tier review. They are not the at-tier record AGENTS.md and the in-seat review ruling require.

The seat re-runs the review at CONTRACT_REVIEW_TIER on this PR's head and posts that record here. Until it does, this PR has no at-tier record.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8bfdf6ee10eb5843bf92881944fc05aef8fc19ab
Local-runs: none
Scope: docs/adr/0130-release-artifact-as-co-ownership-boundary.md, docs/adr/0141-inter-app-dependency-declared-checked-before-install.md + none (the diff holds no gate, schema or code that implements or enforces the two records). Widened: docs/design/marketplace-publishing.md and content/docs/ui/audience-based-interfaces.mdx, which restate the same rule and are judged against it. Read, not reviewed: docs/adr/0019-app-as-consumer-unit.md, packages/spec/src/stack.zod.ts and packages/spec/src/kernel/package-registry.zod.ts on main at 8e63ed8777 (merge base ba35dfd782; none of the four PR files, ADR-0019 or stack.zod.ts changed between the two); hotcrm main at e01ce2d (ac4dd3d is its ancestor).

Gate verdicts on this head, read from its check-runs: 62 runs, all concluded, 32 success, 30 skipped, 0 failure. Lint and repo gates, Check Documentation Links, Build Docs, Check Changeset, both Governed Surface Queue Guard runs and the PR-body guards are among the successes.

① Derived judgments

None owed, and that is right. The net diff against main is four prose files (+88 / -20): no schema, no code, no skill, no gate, no accept set, no exported symbol. content/docs/ui/audience-based-interfaces.mdx is a published docs page and ships in no package.

② Semver level

skip-changeset label, no .changeset file in the diff, Check Changeset green. Right: docs/adr/**, docs/design/** and content/docs/** publish nothing. Clause-②: no on the PR body is right: the diff narrows nothing and declares nothing.

③ Boundary flags

Dev report 6884578330:

  • Deviation 1, the card thread ran at the claim's default tier although docs/adr/** owes the contract-review tier: answered by this record, served at tier.
  • Deviation 2, the PR-body signature as a prose line: accepted; no effect on the tree.
  • Deviation 3, section 6 of the design doc rewritten beyond the two sentences the card names: accepted, judged under ④. Each extra rewrite is a sentence the amendment made false.
  • open_questions: empty.
  • Out-of-scope finding, the header comment of packages/spec/src/kernel/package-registry.zod.ts quoted in the design doc's 2.2: agreed, no defect. The comment on main still reads "there is no suite-contains-apps aggregator" per consumer package, which is ADR-0019's "Read per package" sentence; the design doc quotes it and may not reword a quote. Spec-lane wording, no card owed by this PR.

Earlier record 6884780882 (served off-tier, not used as evidence; every point below was re-read in the tree):

  • Its PASS conclusion: confirmed independently.
  • N1 (2.1 tree keeps "download = open = uninstall"): confirmed, nit. Not fixed on this head.
  • N2 ("a suite surfaces one per package"): confirmed, nit. Not fixed on this head. Lighter than that record put it: SINGLE_APP_RULE in stack.zod.ts uses the same shorthand ("several apps, one per package"), and the same tree line already says "at most one".
  • N3 (audience page keeps "exactly one"): confirmed, nit, text that predates this PR. Not fixed on this head.
  • N4 (Shape A example keeps HotCRM ids): confirmed, nit, accepted deviation.
  • It listed no should-fix, so none is outstanding. Its gate line ("11 still in progress") is superseded: every run has concluded, none failed.
  • Its statement that the app package listed last matches hotcrm's 'last' pick: confirmed in composeStacks (selectManifest(..., 'last') under preserve) and in hotcrm's objectstack.config.ts.

④ Design judgment

Measured against ADR-0019 D3 as amended on main, its notes under D1 and D4, the vocabulary table and "Records that restate D3". Every quotation in the diff was compared with that text character for character.

docs/adr/0130-release-artifact-as-co-ownership-boundary.md (hit). Holds. +26 / -0: no ruled sentence deleted or edited; four dated pointers, each marked apart from the ruled text.

  • D2 pointer 1. The rule is verbatim. "D1 and D2 are not amended" and "installs and uninstalls one thing, the single type: app package" match ADR-0019 ("D1 and D2 ... are unchanged: one marketplace listing still installs one app package"). "Only opens reads differently" is the note under D1. "The reading of 2026-09-01" is the date ADR-0019 gives and ADR-0130's own acceptance date. The paragraph that follows ("D4 of ADR-0019 ... unchanged") stays true: D4 is not amended.
  • D2 pointer 2. "stands as drawn", "What ADR-0130 calls a suite is a container a consumer browses or installs, and that stays removed.", "a descriptive word, not a package type" and "gains a second: a module the app package brought may surface an app of its own." are verbatim. The ⛔ line is left whole and not weakened: artifact not listed, not selected, not partially uninstalled.
  • Non-goals pointer. Separates the excluded container from the amended word; agrees with the vocabulary table's last row.
  • Alternative 5 pointer. Attack tried: the rejection reads "it is ADR-0019 D3 by another name", and D3's fold is reversed, so does the rejection lose its ground? No. ADR-0019 keeps D3's first sentence per package, keeps alternative 2 ("a suite is no second consumer unit"), and keeps D1 and D2; the pointer names D1, D2 and the quoted bullet, which is enough to carry it. Narrower in its reasons than it could be, not wrong.
  • Leftovers searched in the whole file at head: the TL;DR's "does not move a single letter (D2)" and References' "(unamended by this record)" describe ADR-0130's own act and stay true; the 1.5 validateSingleApp row already carries its dated note from docs(skills, adr): objectstack-ui states the one-app-per-package rule for app and module packages alike; ADR-0019 and ADR-0130 record the landed defineStack check #32846. No sentence states the old fold without a pointer.
  • Form. Inline dated pointers with no status-header line. The precedent on main is the 1.5 row's inline note (docs(skills, adr): objectstack-ui states the one-app-per-package rule for app and module packages alike; ADR-0019 and ADR-0130 record the landed defineStack check #32846); D1 to D8 of this record are not amended by the pointers, so no addendum or header line is owed.

docs/adr/0141-inter-app-dependency-declared-checked-before-install.md (hit). Holds. +8 / -0, one pointer after the Unchanged line. Rule verbatim; "D1, D2 and D4 are not amended" matches ADR-0019 ("D4 is not amended"); "the reading of 2026-10-25" is ADR-0019's date for this record; the three verbs have their antecedent in the Unchanged line. Leftovers searched: the 2026-11-08 addendum ("one suite artifact"), "The one-artifact suite still reads D1" and D7's "the standalone module is therefore an App in its own right" are all consistent with the amended rule (a standalone type: app package with one app). D6's "ADR-0019 keeps its text verbatim" describes ADR-0141's own act.

Execution plan and first consumer: neither record's decisions move, so neither execution plan changes. The first consumer of the pointers is a reader who searches for D3; from each of the five restating places the amendment, its card and its merge commit are now one line away.

docs/design/marketplace-publishing.md (widened). Holds against ADR-0019 and the code it cites.

  • Section 1, HotCRM paragraph. Read on hotcrm main: src/sales/index.ts is type: 'app'; service, marketing, revenue and o2c are type: 'module'; src/service/index.ts and src/marketing/index.ts each carry one app; the three app files named exist; the root config is composeStacks(packageStacks, { manifest: 'preserve' }). "The app package owns the set of namespaces" is D4 read through the vocabulary table. True.
  • Section 6 lead and the Not allowed box. "an app package, and a module package, defines at most one app" is SINGLE_APP_PACKAGE_TYPES = {app, module} on main, and STACK_SINGLE_APP_VIOLATION is the code validateSingleApp raises. The quoted bullet is verbatim. Nothing D3 still forbids is now allowed: one package with N apps stays refused, the iWork route is Shape B.
  • 6.3 Shape C. The snippet is the remedy SINGLE_APP_COMPOSE_REMEDY names; the app stack last agrees with the 'last' pick of the artifact manifest under preserve. "The modules version with the app package (ADR-0130 D6)" is right. "switched from the app launcher" is ADR-0019's Context note.
  • Summary item 5 and the dated Updated line: consistent with the above; the 2026-05-31 line is kept.

content/docs/ui/audience-based-interfaces.mdx (widened). Holds. The added module clause matches SINGLE_APP_PACKAGE_TYPES; the suite clause is the rule, with the parenthetical definition verbatim. The "See also" line ("one app per package") stays true.

Findings. No must-fix, no should-fix. Nits, all on prose faces outside the two hits:

  • N1, nit. Design doc 2.1 tree, unchanged line "the only consumer unit (download = open = uninstall)", in a section the new Updated line says follows the amended D3. ADR-0019's notes say open names one of a suite's apps. Sections 1 and 6 already say it. Suggested: "(listed = installed = uninstalled; a suite may offer several apps to open)".
  • N2, nit. Design doc 2.1, "(a suite surfaces one per package)" can be read as exactly one; a module may define none. Suggested: "at most one per package".
  • N3, nit. Audience page keeps "exactly one App" for an app package beside the new "at most one app the same way"; validateSingleApp allows zero. Suggested: "at most one". Predates this PR.
  • N4, nit, accepted deviation. Shape A's example still uses com.hotcrm and hotcrmApp while Shape C is headed HotCRM.
  • N5, nit, new. Shape C, "The consumer lists, installs and uninstalls the app package": the Marketplace lists it, the consumer installs it. Suggested: "The app package is what is listed, installed and uninstalled".

Nits alone end the round: no delta review is owed. A fix to any of them on these prose faces is allowed; left as they are they are accepted deviations. docs/adr/** is Tier H: the maintainer's merge.

Implemented-by: claude/project-thread-58mkv4
Reviewed-by: session_01FEkQ5pjSPT7ui2EUcunaVb

VERDICT: PASS

Adopted by the seat 2026-11-15T00:29Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z

Merged via the queue into main with commit 30d0eb7 Nov 15, 2026
62 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-58mkv4 branch November 15, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(adr): ADR-0130 D2, ADR-0141 and the marketplace-publishing design doc still restate the ADR-0019 D3 fold, amended in 958734cbac

3 participants