This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 45dbf1c
docs(skills,console): record why the seven sectioning tags stay off the curated tier; retract the section row (objectui#8775) (#10852)
Fixes #8775
Clause-②: no — the ruling records a reason in a test ledger and retracts
a teaching line; `PUBLIC_BLOCKS`, the manifest and every published type
are byte-unchanged (ruling execution parameter 4)
Ruling: 5857078807 (B)
Dispatched by the `domain:ui` seat 2 (claim 5859939443). Implemented by
the `os-dev` subagent of session
`https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN`.
## What changed
1. **Console ledger.** In
`apps/console/src/__tests__/public-contract.test.ts`,
`SECTIONING_TAG_UNRULED` becomes `SECTIONING_TAG_REFUSED`, which carries
the ruled reason. The rename follows the file's own convention: the
`aspect-ratio` entry beside it opens `'RULED: refused on stated merits
(objectui#8628, ruling 5634038424, letter B, ratified 5810240972). '`,
so this one opens `'RULED: refused on stated merits (objectui#8775,
ruling 5857078807, letter B). '`. The ledger docblock no longer says
objectui#8775 "holds the decision". Nothing in the tree asserts the
ledger's text; the pins over it (population equals ledger keys, a `#NNN`
per entry, more than 40 characters, no stale entry) keep their
assertions.
2. **Published skill guide.** `skills/objectui/guides/page-builder.md`,
section "3b. Pick the right layout primitive": the `section` row is
retracted. The prose that said `box` and `section` exist for the same
reason now covers `box` alone. It points an author who needs a landmark
on a JSON page to `page:section` / `page:footer` / `page:sidebar` /
`page:header`, and says what each one renders.
3. **Docs.** `content/docs/components/layout/semantic.mdx` stops
teaching `body?: SchemaNode[]; // Alternative content prop`, which
objectui#6771 retired. It now states that `children` is the one
child-list key, as the renderer and the schema read today. Prose only.
4. **Changeset.** `.changeset/8775-sectioning-tags-ruled-reason.md`,
with empty frontmatter, releases nothing. The presence gate asked for
it, because `apps/console/src/**` is released source of
`@object-ui/console`.
`container-declaration-census.test.tsx` is **unchanged**. Its premise
text names neither `SECTIONING_TAG_UNRULED` nor
`UNCURATED_LAYOUT_CONTAINERS` nor objectui#8775 (grep: 0 hits), and it
still reads true: "The seven sectioning tags are declared for the html
tier and nowhere else". `semantic.tsx`'s registration comment is also
unchanged and still true.
## The reason, sentence by sentence, and the reading behind each one
### (a) Zero pull in real apps
The subject grep is a JSON `type` literal of one of the seven:
`(type|"type")\s*:\s*["'](article|aside|footer|header|main|nav|section)["']`.
The control is the same grep shape over each corpus's ordinary layout
blocks.
| corpus | subject | control |
|---|---|---|
| objectstack `examples/` at `origin/main` `4e0f72e8d2` (showcase, crm,
todo, multi-package, embed) | **0** (`git grep` exit 1) |
`box`/`flex`/`card`: 15 lines, in `command-center.page.ts` (8) and
`styling-gallery.page.ts` (7) |
| hotcrm `2f7b232` (depth-1 clone; the same head the ruling read) |
**0** (exit 1) | `grid`/`page:header`/`page:card`: 50 lines in 21 files
(hotcrm authors no `box`/`flex`/`card` at all, so that control would
read 0) |
| objectui `examples/` outside `examples/schema-catalog` | **0** |
`box`/`flex`/`card`: 1 (`hello-world/schema.json`, `card`) |
| objectui `examples/schema-catalog` | 17 lines, all in
`components-layout-semantic/` (9 fixtures) | the catalogue documents its
own renderers, the same class as `components-layout-aspect-ratio/` |
- The seven appear as JSX only in two objectstack showcase pages.
`crm-workbench.page.ts` (3 lines) and `task-desk.page.ts` (1 line) are
both `kind: 'react'`, so those hits are DOM intrinsics. The three `kind:
'html'` showcase pages (`capability-map`, `command-center-jsx`,
`start-here`) use none of the seven.
- hotcrm's only JSX-shaped hit under `src/` is a prose comment in
`home.page.ts`.
### (b) The seven are html-tier intrinsics that render on `kind:'html'`
pages
This reading comes from a one-off probe, run once under the verify lock
and deleted, never committed. It used the full console registration
graph, the same imports as `html-tier-code-element-10756.test.tsx`.
```text
b.inHtmlTierIntrinsics [["article",true],["aside",true],["footer",true],["header",true],["main",true],["nav",true],["section",true]]
b.inPublicBlocks []
b.publicConfigTier [["article","html"],["aside","html"],["footer","html"],["header","html"],["main","html"],["nav","html"],["section","html"]]
b.compileDiagnostics [] (all seven in one kind:'html' source, against the live page manifest)
b.htmlPageRendered [["article","A"],["aside","AS"],["footer","F"],["header","H"],["main","H"],["nav","N"],["section","S"]]
b.control.h1Absent true (a tag not on the page is absent: the reader is live)
```
The tier half is re-derived by the census pin "none of the eight is in
the curated public contract". The render half is this one-time reading,
and the ledger text says so, per AGENTS.md commandment 9.
### (c) The curated tier already carries the landmarks, one spelling
each
This reading comes from the same probe.
```text
c.inPublicBlocks [["page:section",true],["page:header",true],["page:footer",true],["page:sidebar",true]]
c.render.page:section {"tag":"section","className":"space-y-4","text":"kid"}
c.render.page:footer {"tag":"footer","className":"flex items-center justify-between text-sm text-muted-foreground","text":"kid"}
c.render.page:sidebar {"tag":"aside","className":"flex flex-col gap-4 w-full md:w-80 shrink-0","text":"kid"}
c.render.page:header {"tag":"header","h1":"T"}
c.page:header.inputs ["title","subtitle","actions","breadcrumb","recordChrome","showStar","showCopyId","maxVisible","mobileMaxVisible"]
c.page:header.isContainer null
```
- ⇒ `page:header` is the page's title row, and it declares no child
slot. The guide therefore says it "takes no `children`" rather than
calling it a container.
- `page:footer` also renders a separator above its `footer` element.
- All four blocks are in `EXPECTED_COVERED` in the same test file.
### (d) Curating any of the seven adds a near-synonym pair
```text
d.render.bare-section {"tag":"section","className":null,"text":"kid"} vs page:section {"tag":"section","className":"space-y-4",...}
```
- The factory in `semantic.tsx` passes `className` through verbatim,
exactly as `box` does.
- The retracted guide row said so itself: "none — `className` passes
through **verbatim**, exactly like `box`".
- So each of the seven is `box` with a different element. For four of
them there is also a curated `page:*` block that renders the same
element.
- `main`, `nav` and `article` have no `page:*` twin. The ledger
therefore states the pair through `box` for all seven, and through
`page:*` for four. That is narrower than the first draft of the text,
and it is true for all seven.
### `semantic.mdx`: what the renderer and the schema read now
This reading comes from the same probe.
```text
mdx.section.children "VIA_CHILDREN" mdx.section.body {"el":true,"text":""}
mdx.main.children "VIA_CHILDREN" mdx.main.body {"el":true,"text":""}
mdx.semantic.inputs ["className:string","children:slot"]
mdx.zod.children true
mdx.zod.body ["invalid_type:body:Unrecognized key(s) on this node: `body`. Did you mean `body` → `children`? The `body` child-list spelling was retired by objectui#6771 — ..."]
```
## Parameter 6: other teaching of the seven as JSON blocks
The grep is the subject pattern above, over `skills/`, `content/` and
`.changeset/`, plus a backticked `` `section` `` in `skills/`.
- `skills/objectui/guides/page-builder.md`: the row and the prose.
**Corrected here.**
- `content/docs/components/layout/semantic.mdx`: the `type:` union in
its schema block. This is the renderer's own reference page, and it
stays: the seven still ship and render. Only its `body` line was
corrected, per parameter 3.
- Other hits are listed under Acceptance notes and left alone, per
parameter 6.
- `.changeset/`: none. `report-schema.mdx` (`type: 'header'` is a
report-section kind) and `user-state-persistence.md` (`type:'nav'` is a
favorite kind) are different vocabularies, not hits.
- No skill eval asserts `section`.
`skills/objectui/evals/page-builder.json` mentions "sections" only in a
prompt; its `must_contain` is `hidden` / `admin` / `card`.
## Skill size readings (`skills/**` diff)
- Changed file `skills/objectui/guides/page-builder.md`: **337 → 342
lines** (+5). One table row was removed, and the landmark pointer the
ruling asked for was folded into the existing `box` paragraph.
- Whole package, the sum of every `SKILL.md` under `skills/` (1 file):
**137 → 137** (unchanged). The whole `skills/` tree: 5368 → 5373.
- No line ratchet covers the published catalog
(`check-skill-line-ratchet.mjs` scopes it out deliberately).
## Gates, all on head `91c8cc39a3` (the final commit)
- `OS_VERIFY_LOCK_SLOT=issue-8775-dev bash …/os-verify-lock.sh -c
'NODE_OPTIONS=--max-old-space-size=4096 pnpm exec vitest run
--maxWorkers=2 apps/console/src/__tests__/public-contract.test.ts
packages/components/src/renderers/__tests__/container-declaration-census.test.tsx'`
gave `Test Files 2 passed (2)` and `Tests 49 passed (49)`, `VERDICT
command-exit 0`.
- `pnpm check:control-bytes`: exit 0, `OK (scanned 9086 tracked text
file(s); skipped 85 binary)`. A self-scan of the four files for control
bytes found none (grep exit 1).
- `pnpm check:new-line-citations`: exit 0, `VERDICT
new-cross-file-line-citations: 0 new citation(s)`.
- `pnpm docs:check-links`: exit 0, `Links are valid across 17 scan
roots.`
- `pnpm check:skills-paths`: exit 0, `skills/ — 28/28 resolve across 16
file(s)`.
- `pnpm check:skill-eval-tokens`: exit 0.
- `pnpm check:doc-types`: exit 0.
- `pnpm check:doc-fences`: exit 0.
- `pnpm check:doc-example-ids`: exit 0.
- `pnpm check:doc-example-readers`: exit 0.
- `pnpm check:prompt-keys`: exit 0.
- `node scripts/check-changeset-presence.mjs`: exit 0, `1 source file(s)
of 1 released package(s) changed, and this change declares 1
changeset(s)`. It was exit 1 before the changeset was added.
- `check:changeset-claims`: exit 0.
- Its one report-only finding is
`.changeset/6475-gantt-block-face-declared.md`, which names
`page-builder.md` in a sentence about `gantt` blocks.
- This diff touches no `gantt` text, so that sentence still holds.
- `check:pending-changeset-literals`, `check-changeset-no-major`,
`check-changeset-overwrite`: all exit 0.
- `pnpm exec eslint --no-inline-config --format json
apps/console/src/__tests__/public-contract.test.ts` gave 1 file, 0
errors, 0 warnings.
- The population comes from `eslint.config.js`'s `**/*.{ts,tsx}` block
plus its test override; the file was linted, not ignored.
- The config has no `projectService` / `parserOptions.project` (grep
count 0), so linting is not type-aware and this diff cannot move any
untouched file's verdict.
- The other three changed files are `.md` / `.mdx`, outside eslint's
`files`.
- `git merge-tree --write-tree` against freshly fetched `main`
`4aebea00a7`: exit 0, clean tree `f3a8040fd7`. The one commit main
gained touches none of these files.
- `git log --format=%B` over the branch shows only the model-free pair
(`Co-Authored-By: Claude`, `Claude-Session:`), three times, and no card
trailer.
- Governed path verdict over the real changed paths (`BASE..HEAD`, the
three-dot set):
- objectui's own `node scripts/check-governed-queue-guard.mjs --test
PATHS`: **exit 3, GOVERNED**, `skills/** x1 — the published skills
catalog`.
- objectstack's `node scripts/pm/check-governed-merges.mjs --test
PATHS`: **exit 3, GOVERNED**, `landing tier: H`.
- The objectstack `check-governed-queue-guard.mjs --test` that the
dispatch named exited 1, `could not read GITHUB_EVENT_PATH`. That copy
has no path mode (its seat-side predicate is `check-governed-merges.mjs
--test`), so that exit is "could not look", not a verdict.
**NOT MEASURED, as a declared narrowing:** `check:skill-examples`,
`check:doc-snippets` and `check:doc-examples`.
- Each exited 2 with `PRECONDITION NOT MET`: it needs a scoped build of
12 to 34 packages first. CI builds and runs all three.
- The narrowing is proven by the files each gate reads:
- `doc-examples` reads JSDoc `@example` blocks under `packages/*/src`,
and none is touched.
- `doc-snippets` compiles only `ts`/`tsx`/`typescript` fences.
- `skill-examples` reads marked fences in `skills/`.
- Hunk-vs-fence intersection at `HEAD`:
- `page-builder.md`: hunks [86], [91–99], against 10 fences, touching
none.
- `semantic.mdx`: hunks [55], [67–68], touching only the `plaintext`
fence.
- `public-contract.test.ts`: no fences.
## Tier H
`skills/**` is governed, so this PR stays a **draft**. The seat handles
the at-tier review record, the 终稿速读, `needs-user-decision`, and the
review request to os-zhuang / hotlong. It lands only after an APPROVED
review. This dev requested no reviewers and did not ready the PR.
## Acceptance notes
These were named, not changed: parameter 6 corrects only the files the
ruling names.
- `content/docs/components/navigation/header-bar.mdx` authors `type:
'main'` as a JSON block inside an example that also authors the
deprecated `type: 'div'`.
- `content/docs/guide/expressions.md` uses `"type": "section"` as the
carrier of its `hiddenOn` example.
- Both render, so neither is a failing copy-paste. They are incidental
uses that a later docs pass could re-spell to `page:section` / `box`.
- The `SemanticElementSchema` interface docblock in
`packages/types/src/layout.ts` says the factory "declares exactly one
authoring input, `className`". Since objectui#9910 the registration
declares two (`className`, plus the `children` slot; probe
`mdx.semantic.inputs`). This is a stale comment, not a contract, and it
is not touched here.
- Not measured: whether the app shell already provides a `main` landmark
on JSON pages. This is the ruling's own carried confidence gap, and it
does not change the letter.
## 维护者速读
- **改了什么**:
- 七个 HTML 语义分区标签(`article` / `aside` / `footer` / `header` / `main` /
`nav` / `section`)在控制台的「精选积木」账本里,从「尚未裁决」改为「已裁决不收」,并逐句写明理由。
- 发布给客户的建页指南删掉教 `section` 的那一行,改为指向 `page:section` / `page:header` /
`page:footer` / `page:sidebar`。
- `semantic.mdx` 删掉已退役的 `body` 写法。
- 第二轮(席位采纳复审建议 N1):指南里指向 `page:*` 的那句补上各自自带的版式。`page:section` 子项间距
`space-y-4`;`page:footer` 上方加分隔线、行内两端对齐、弱化字色;`page:sidebar` 从 `md` 起是固定
20rem 宽的列,不是中性的 `aside`。
- **为什么改**:
- 执行裁决 5857078807(B)。这七个是 HTML 元素,属于 `kind:'html'` 页面,在那里本来就能渲染。
- JSON 页面上的地标已由 `page:*` 各有一种拼写承载。
- 再收一个进精选清单,会给 AI 多一对分不清的近义积木。
- 实测:真实应用(objectstack 示例、hotcrm)零使用。
- **风险与代价(含回滚)**:
- 没有公开契约变化:`PUBLIC_BLOCKS`、manifest、类型都不动,七个标签照常渲染、照常通过校验。
- 代价是客户技能包里少了 `section` 这一行教学。
- 回滚方式是 revert 本 PR。
- **席位意见**:建议批准。
- at-tier 契约复审 PASS(`5860159692`),逐句核对裁决 B 的参数
1–4:账本理由每句为真,`PUBLIC_BLOCKS` / manifest / 类型零改动,指南与 `semantic.mdx`
与渲染器一致。
- 第二轮只改指南一段(席位在 `containers.tsx` 核对了三处类名)。
- 未复核项:hotcrm 的零使用读数来自开发者本地克隆,本容器没有 hotcrm,未复测;objectstack 示例与 objectui
示例已由复审复测为零。
- 裁决自带的置信缺口已有读数:控制台外壳已渲染 `main`(`SidebarInset`),所以 `page:header` /
`page:footer` 在其中不算页面级 banner / contentinfo 地标。「地标」一词沿用裁决原文,不改结论。
- **你要做的**:审阅并批准(`skills/**` 属受管面,需 os-zhuang / hotlong 的 APPROVED
后由席位落地)。
---
_Generated by [Claude
Code](https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jack Zhuang <50353452+hotlong@users.noreply.github.com>1 parent 4f38f39 commit 45dbf1c
4 files changed
Lines changed: 54 additions & 38 deletions
File tree
- .changeset
- apps/console/src/__tests__
- content/docs/components/layout
- skills/objectui/guides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| |||
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
595 | 597 | | |
596 | 598 | | |
597 | 599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
95 | 104 | | |
96 | 105 | | |
97 | 106 | | |
| |||
0 commit comments