Repository navigation
Commit 0ca5218
docs(skills): a generated platform catalog, and objectstack-project asks "does the platform ship it?" (#35572)
<!-- claude-projects-attribution: {"github_login":"os-bill"} -->
_Requested by **Bill** · [project
thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wg646vnpLvaexGfHCmasWBga)_
Fixes #35345
Clause-②: no
Metadata-protocol: none
## 维护者速读
-
用户能看到什么变化:写元数据应用的人在加对象、字段或流程之前,技能先让他翻一份自动生成的平台能力目录:平台已经带的(用户、附件、评论、审计、通知、邮件、汇率、导入、审批、共享、队列、Webhook、设置)直接用;平台没有而别的应用也会要的,先给平台立卡、应用里自建并打标记。平台本身的运行行为不变。
- 为什么做:跨套件主数据那项决定要求"先查平台有没有"成为建应用的固定一步;没有这份目录,各应用会各自重建平台已有的对象,升级时成双份。
- 出错会怎样:只涉及技能文本与一份生成的参考页;目录若与平台源码不一致,生成门禁会红而不会发出错版本;撤回本次合并即可,无数据影响。
- 要你做什么:无,席位复核后落地(一个技能文件的字数上限按卡上的裁决记录抬了一行,正文有算账)。
## 席位核对
### What changes
**1. The platform catalog, generated.**
`skills/objectstack-project/references/platform-catalog.md` is emitted
by the existing `packages/spec/scripts/build-skill-references.ts` (the
`check:skill-refs` generator), so the same `--check` leg verifies it and
the generated manifest proves its ownership. The hand lists live in a
new `packages/spec/scripts/lib/platform-catalog.ts` — outside
`packages/spec/src/**`, nothing exported from the package:
- `APP_FACING_OBJECT_GROUPS` — 30 objects in six groups (people and
organizations; files, comments and history; notifications and mail;
money, imports and approvals; sharing, ownership and routing;
integration and settings). Each row: the object, what the app would
otherwise build, how the app reaches it. The **name** column is not
typed into the page: every row must be a member of
`PLATFORM_PROVIDED_OBJECT_NAMES` and the "Mounted by" column is derived
from `PLATFORM_OBJECTS_BY_PACKAGE`
(`packages/spec/src/system/constants/platform-object-names.ts:37`,
`:193`).
- `VALUE_DOMAIN_ROWS` — a `Record<ValueDomain, …>`, so a member added to
`ValueDomainSchema`
(`packages/spec/src/shared/value-domain.zod.ts:96-100`) is a type error
until the catalog names it; the field names come from
`VALUE_DOMAIN_FIELD_NAMES` (`:114-118`, whose jsdoc already says this
catalog reads it). The section's paragraph states what `main` does: the
write refuses a non-member; forms pick the currency code from ISO 4217
(`ui/packages/fields/src/widgets/TextField.tsx`, the `iso_4217_currency`
swap only); a time zone or a country is a plain text input, and no list
or filter reads the domain; a text field named like one without the
domain is an `os lint` warning (`field/missing-value-domain`).
- `CAPABILITY_ROWS` — one line per token of `PLATFORM_CAPABILITY_TOKENS`
(`packages/spec/src/kernel/platform-capabilities.ts`), with the mounting
package from `PLATFORM_CAPABILITY_PROVIDERS` and the always-on set from
`PLATFORM_ALWAYS_ON_CAPABILITIES`.
- `NOT_PLATFORM_ROWS` — party master data (customers, suppliers,
contacts) and item master data (materials, products, plants): one app
owns each, another matches by the ruled keys (country plus credit code
or registration number; material number and plant code), no platform
object — ruling A on #35328.
- `PLANNED_ROWS` — two rows, each **not available**: units → ADR-0158
(contract accepted, nothing shipped); working calendars → #35340
(carded, contract in design). The section's paragraph says an interim
unit field stores the contract's UN/ECE Rec 20 codes (`H87`, `KGM`) as
option values with the business's spellings as labels, which is what
eval 22 asserts. `catalogProblems()` refuses a Planned row whose state
reads as usable, a relative link or a bare `#NNNNN`, and more than four
rows (ADR-0049: a planned row never reads as shipped).
`catalogProblems()` runs before `renderPlatformCatalog()`; a problem
makes `check:skill-refs` fail with "hand-written rows disagree with
packages/spec/src" instead of emitting a page. Every hand-written
paragraph is in the exported `PROSE` constant and every hand-written
string is summed by `handWrittenBytes()` (see the pin test): the page is
generator-owned for the ratchet, but its prose has an author who pays.
**2. The pin test** `packages/spec/scripts/platform-catalog.test.ts` (53
cases with the sibling guards file): the live catalog has no problem;
every object row is registered, unique, both columns filled; the subset
leaves out the kernel-only objects (`sys_jwks` and friends); capability
keys equal the token set, value-domain keys equal
`ValueDomainSchema.options`; a fabricated catalog passes, and one with
`sys_fictional`, a duplicate, an empty cell, a stranger token, a missing
domain, a usable-sounding Planned row, a bare id, a relative link or
five Planned rows is refused — each named; the generator source imports
the lib, guards before rendering, and manages only the catalog path; and
a **pricing leg** holds the hand-written text under a shrink-only
ceiling in the ratchet's own measure, `ceil(utf8 bytes / 4)`: 6331 bytes
→ 1583 tokens on the first round, 6321 bytes → 1581 after the second
(the Planned paragraph's unit-code clause, paid by four cuts in `PROSE`;
the pin lowered to the measurement), raised only by the ratchet header's
path (cut first, then the measured remainder under the standing ruling),
with the derived names, packages, editions and boot flags left out so a
token the spec adds costs one description line.
**3. Gate edits (read these as gate edits — the claim amendment
7012111198 widened the file surface for exactly them):**
- `scripts/pm/check-governed-merges.mjs` — ONE line: the
`spec-skill-refs` row's `candidate` regexp is now
`/^skills\/[^/]+\/references\/(?:_index|platform-catalog)\.md$/`. The
regexp is the narrowing gate; the manifest still proves each file is
generator-owned, so a hand edit to the catalog stays governed. No other
row or rule touched.
- `scripts/check-skills-token-ratchet.mjs` — the self-test's pinned
excluded-path list names
`skills/objectstack-project/references/platform-catalog.md` (without it
the ratchet prices a generated file as hand-authored and every
regeneration turns it red); and the
`skills/objectstack-project/SKILL.md` ceiling row is raised `2901 →
2990`, with the raise's authority (the standing path, ruling record
6513306068, alone) and arithmetic in the row's comment (see Verification
› skills readings); the `skills/objectstack-data/rules/field-types.md`
row is lowered `3553 → 3541` to its measurement.
- `scripts/pm/check-governed-merges.mjs --self-test` — two cases in the
`#11705` battery (floor 23 → 25): the catalog path routes to the
`spec-skill-refs` row while four near-miss spellings (another folder,
`.mdx`, `-catalogue`, `.md.bak`) stay governed; and the catalog's prose
source location is pinned — the generator's import resolves to a module
under the row's `trustedGeneratorPrefixes` that exports `PROSE`.
**4. `skills/objectstack-project/SKILL.md`.** §0 is now "Three questions
before any work": the third asks "Does the platform ship it?" — read the
catalog, use what it lists; absent, and a second app would copy it, file
a platform card at `objectstack-ai/objectstack` and build the app's own
meanwhile, marked `// PLATFORM-CANDIDATE: <link>`; textually apart from
§3 ("a defect is never worked around; a missing capability may be built
and marked"). §5 step 4 sweeps the `PLATFORM-CANDIDATE` markers beside
the `PLATFORM-GAP` tests. Question 3 (`:46-51`) follows the "Default to
own use" paragraph that belongs to question 2 (`:42-44`), so the two
questions read apart; the MCP-only sentence (`:53`, "only §0 and §3
apply") covers the new question through §0. Paid for by two same-file
cuts: the "read it from there afterwards" clause in question 2 and the
"Inject the defect and run the command" aside in §2 (its instruction
survives in the §2 retire paragraph, `:134-137`).
**5. `skills/objectstack-data/rules/field-types.md`.** The currency
paragraph (`:170-172`) gains one sentence, in its current wording:
"Likewise `'iana_time_zone'` (`Asia/Shanghai`) and `'iso_3166_alpha2'`
(`CN`) on a `text` field: the write refuses a non-member, so never a
free-text or picklist copy." The `// per record:` literal stays
(`:160-161`): it is the one place the data skill shows `homeAmount`
nested inside `currencyConfig`, and eval 24 expects that shape. Paid for
in the same file by four restatement cuts — the `localization.currency`
sentence (said by the roll-up paragraph's "metadata never names the home
currency"), the `password` row's "never hashed" aside (said by
"PLAINTEXT at rest"), the autonumber "(it grows, never wraps)" aside
(said by "a MINIMUM, not a cap") and its `CASE-{0000}` example (in the
table above it), and "for every one" after `--all-organizations` — and
the row is lowered to the measurement, 3553 → 3541, to bank the headroom
(shrink-only).
**6. Evals.** `skills/objectstack-project/evals/project-process.json`
7–9 (an attachments table → `sys_attachment` + `files: true`; a
business-hours calendar → a platform card + `PLATFORM-CANDIDATE`, not
"Blocked by"; an audit table → `sys_audit_log` / `sys_activity`).
`skills/objectstack-data/evals/objects-fields-relationships.json` 22–24
(a free-text unit → a `select` whose option values are the contract's
UN/ECE Rec 20 codes in exact uppercase, `H87` for a piece, `KGM`, `XBX`,
with the business's spellings as labels, so the platform unit table
later adds validation and leaves stored values unchanged — ADR-0158
U1/U2 — plus `PLATFORM-CANDIDATE`; country and time zone → the two value
domains, a plain text input for both, no picklist, no regex; an
exchange-rate table → `sys_exchange_rate` + `homeAmount`).
**7. Changeset** `.changeset/35345-skills-platform-catalog.md`,
`@objectstack/skills: patch`, the two declaration lines copied in. No
`@objectstack/spec` changeset: `packages/spec`'s `files[]` does not ship
`scripts/`, and nothing under `src/` moved.
**Not in this PR (ruled out of scope):** a value-domain lint, a
shadow-object lint, `.claude/skills/pm-dispatch/**`. Sibling #35442
(`packages/mcp/**`) is file-disjoint; overlap-check at `origin/main`
clean, 0 PR heads.
### Per-row reach readings (every catalog row says how the app reaches
the object; these are the sources)
<details><summary>Object rows: what each `sys-*.object.ts`
exposes</summary>
`enable.apiEnabled` defaults to true; `apiMethods` undefined = all six
primitives, `['get','list']` = read-only over REST.
- People and organizations — `sys_user` `apiMethods:
['get','list','update','bulk']` + `aiReadable`
(`plugin-security/src/objects/sys-user.object.ts:1661-1689`);
`sys_organization` `['get','list','update']`
(`sys-organization.object.ts:560-583`); `sys_business_unit` default-open
(`:297-304`; apps seed it, `stack.zod.ts:2886`); `sys_team`
`['get','list']` (`:243-255`; approvers `'team'`, `approval.zod.ts:35`);
`sys_user_position` full CRUD (`:223-229`; positions distribute
permission sets, ADR-0090).
- Files, comments and history — `sys_file` / `sys_attachment`
`apiEnabled: true` (`sys-attachment.object.ts:141-144`), uploads through
`/api/v1/storage/upload/...`, the `enable.files` switch
(`object.zod.ts:392`); `sys_comment` (`:319-322`) with `enable.feeds`
(`object.zod.ts:401`); `sys_activity` `['get','list']` (`:431-435`) with
`enable.activities`; `sys_audit_log` `['get','list']` (`:690-694`; the
`audit` capability token is opt-in); `sys_recycle_bin` `apiEnabled:
false` (`:119-123`) — reached only through `POST
/api/v1/data/:object/recycle-bin/:entryId/restore`
(`rest/recycle-bin-routes.test.ts:78`), which is what the row says.
- Notifications and mail — `sys_notification` `['get','list']`
(`:271-274`); `sys_inbox_message` (`:162`); `sys_email` (`:288-291`);
`sys_mailbox` and `sys_mail_message` are `managedBy: 'engine-owned'`
(`packages/services/service-mailbox/src/objects/sys-mailbox.object.ts:33`,
`sys-mail-message.object.ts:36`), served through get and list only, the
mailbox to `manage_mailboxes` holders; `requires: ['mailbox']` mounts
the objects and the ingest seam and syncs no mailbox — rows exist only
where the host composes `MailboxServicePlugin({ imap })` with an account
source (`packages/services/service-mailbox/README.md:5`, `:11-12`,
`:30`); no Setup entry names the mailbox; `mailAssociation` field type
(`field.zod.ts:2016`). Both rows say so.
- Money, imports and approvals — `sys_exchange_rate` `apiEnabled`
(`:170-173`) read by `homeAmount` (`field.zod.ts:779`); `sys_import_job`
`['get','list']` (`:148-152`) created through `POST
/data/:object/import/jobs`; `sys_approval_request` `['get','list']` +
`aiReadable` (`:943-957`); `sys_approval_action` `['get','list']`;
`sys_approval_delegation` full (`:235-241`).
- Sharing, ownership and routing — `sys_record_share` `['get','list']`
(`:326-329`); `sys_share_link` (`:299-305`); `sys_sharing_rule`,
`sys_queue`, `sys_queue_member`, `sys_assignment_rule` unrestricted,
authored through the stack keys `sharingRules` / `queues` /
`assignmentRules` (`stack.zod.ts:1001`, `:1013`, `:1022`).
- Integration and settings — `sys_webhook` full CRUD, stack key
`webhooks` (`stack.zod.ts:1061`); `sys_setting` `['get','list']`
(`:249-259`); `sys_personal_view` default-open (`:133-137`). Actions may
target platform objects (`stack.zod.ts:6071-6082`).
</details>
### Tests
- `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2
scripts/` — the new `platform-catalog.test.ts` plus the existing
`skill-map-guards.test.ts` (output in Verification).
- `check:skill-refs` round-trips the catalog (`gen:skill-refs` then
`--check`, in sync, 10 files + the catalog);
`check:skill-identifier-liveness` picks the catalog's rows up with no
wiring change (Leg 1 reads table rows whose first cell is one backticked
identifier).
- Evals are fixtures, not executed here (no eval runner in CI); each
case was written against the SKILL text it exercises.
### Acceptance notes
Read first, by risk: (1) `packages/spec/scripts/lib/platform-catalog.ts`
— the `APP_FACING_OBJECT_GROUPS` rows and `PLANNED_ROWS` (the
hand-written prose the page carries); (2)
`skills/objectstack-project/SKILL.md` §0 question 3 (`:46-51`) and §5
step 4 (`:179-181`); (3) `scripts/pm/check-governed-merges.mjs`, the one
regexp line.
Two-minute check: open
`skills/objectstack-project/references/platform-catalog.md`; every
object row shows a `sys_*` name, a package, a "what you would otherwise
build" cell and a reach cell; the Planned table has two rows, both
marked **not available**, each linking to its contract. Then `pnpm
--filter @objectstack/spec gen:skill-refs && git status --short skills/`
prints nothing.
### Verification
Final head `1295eb7c33b9bb1714f0c71ffb2a47f767c78a56` (`373171be` the
work, `fd1c7203` one pre-PR merge of `origin/main` at `c890070f`,
`1295eb7c` the role-word reword). Local scope per os-dev 〈本地验证范围〉: the
touched package built, typechecked and its `scripts/` tests run under
the verify lock; the derived gate families run unlocked; every exit code
captured before any pipe (`cmd :: exit N` record, reconciled with
`dispatch-gates --ran`). `packages/spec/src/**` is untouched, so the
package's full `src/` suite is CI's.
<details><summary>Locked runs (OS_VERIFY_LOCK_SLOT=card-35345), on
373171b's tree</summary>
```
pnpm --filter @objectstack/spec build :: exit 0
pnpm --filter @objectstack/spec typecheck :: exit 0 (covers check:scripts-typecheck for the new lib + test)
pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/ :: exit 0
Test Files 81 passed (81) · Tests 1641 passed (1641) · VERDICT command-exit 0 · held the lock 9m31s
re-run at 1295eb7 (after the reword): vitest run scripts/platform-catalog.test.ts scripts/skill-map-guards.test.ts
Test Files 2 passed (2) · Tests 53 passed (53) · VERDICT command-exit 0
```
</details>
<details><summary>Derived gate families — dispatch-gates --commands (158
commands at fd1c720) → --ran reconciliation</summary>
```
dispatch-gates --ran: 126 derived famil(ies) accounted for — 121 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3), 0 UNRUN
exit 0: 151 of 161 recorded commands
exit 3 (PREREQUISITE NOT MET, a built package or a deep clone this box has not; nothing measured — CI's):
node scripts/check-plugin-teardown-shape.mjs --self-test (fixture pinned to a commit outside the shallow clone)
pnpm --filter @objectstack/lint run check:doc-formula-expressions (@objectstack/formula not built)
pnpm --filter @objectstack/lint run check:doc-security-posture (@objectstack/lint not built)
pnpm --filter @objectstack/spec run check:skill-examples (client-react dist absent)
pnpm check:docs-transcript-drift · check:dual-build-cjs-loads · check:i18n-coverage · check:lean-entry-closure (dist absent)
exit 1:
pnpm check:role-word :: exit 1 → the generated page's sys_user_position row said "user-to-role"; reworded to
"user-to-position" in the lib, page regenerated (1295eb7); re-run :: exit 0
pnpm --dir ui exec vitest run scripts/ :: exit 1 → Test Files 2 failed | 169 passed | 2 skipped; Tests 27 failed | 5050 passed.
Both failing files are ui/scripts/__tests__/date-only-zone-pins-10183.test.ts (27: each spawned ui package test
"ran no case at all: expected 0 to be greater than 0") and unit-registry-absence-collision.test.ts (2). Neither
reads skills/**, packages/spec/scripts/** or the two root scripts this PR touches; the failures are the spawned
ui package runs finding nothing to run on this box (no ui build). Not re-run locally; the family is CI's.
```
Re-run at 1295eb7 after the reword, all exit 0: `check:role-word`,
`check:skill-refs` (in sync), `check-skills-token-ratchet` (+
`--self-test`, 104 cases), `check-governed-merges --self-test` (911
assertions; the live `spec-skill-refs` row keeps the catalog governed
through the manifest), `check-skill-identifier-liveness` (Leg 1 545
citations), `check-skill-links` (269 links), `check-doc-authoring`,
`check-nul-bytes`, `check-closing-keyword-parity`,
`check-issue-citations`, `overlap-check --branch=HEAD` (clean, 0 PR
heads), `check:commit-card-trailers --range origin/main..HEAD` (3
commits, model-free pair).
</details>
<details><summary>Fix round 1 (L2 record 7015659227) — head 0626f7e,
local gates</summary>
```
locked (OS_VERIFY_LOCK_SLOT=card-35345, NODE_OPTIONS=--max-old-space-size=4096):
pnpm --filter @objectstack/spec typecheck && vitest run --maxWorkers=2 scripts/platform-catalog.test.ts scripts/skill-map-guards.test.ts :: exit 0
Test Files 2 passed (2) · Tests 56 passed (56) · VERDICT command-exit 0
(a first attempt with the default 2 GB heap OOMed inside check:test-typecheck's tsc; the earlier full run had the larger heap)
unlocked, exit 0 each: node scripts/pm/check-governed-merges.mjs --self-test (913 assertions) · node scripts/check-skills-token-ratchet.mjs ·
--self-test (104) · pnpm --filter @objectstack/spec run check:skill-refs (in sync, 10 files) · pnpm check:role-word ·
check-skill-identifier-liveness · check-skill-links · check-doc-authoring · check-nul-bytes · check-issue-citations ·
check-closing-keyword-parity · overlap-check --branch=HEAD (clean) · check:commit-card-trailers --range origin/main..HEAD (4 commits)
```
</details>
Dogfood battery: n/a — no `!` in the title and no `(narrowing)` arm. MCP
GitHub calls: reads only (`issue_read` on the card and its comments);
REST writes: none (the PR and the report comment go through the relay
and `post-stamped.mjs`).
<details><summary>skills readings — per file, lines and tokens (ratchet
measure: ceil(utf8 bytes/4), stamp line excluded)</summary>
| File | Before (lines · tokens/ceiling) | After (lines ·
tokens/ceiling) |
|:--|:--|:--|
| `skills/objectstack-project/SKILL.md` | 206 · 2900/2901 | 213 ·
2990/2990 (ceiling raised +89, see below) |
| `skills/objectstack-data/rules/field-types.md` | 265 · 3553/3553 | 267
· 3541/3541 (the `homeAmount` literal back, four restatement cuts, row
lowered to the measurement) |
| `skills/objectstack-project/references/platform-catalog.md` | — | 155
· 2668 (generator-owned, measured, not ratcheted); its hand-written text
1581 tokens, ceiling 1581 in the pin test |
| `skills/objectstack-project/evals/project-process.json` | 108 | 156
(eval fixture, measured, not ratcheted) |
| `skills/objectstack-data/evals/objects-fields-relationships.json` |
387 | 438 (eval fixture) |
</details>
<details><summary>skills readings — whole package</summary>
| Bundle total | Before | After |
|:--|:--|:--|
| sum of all `SKILL.md` (tokens) | 63935 | 64025 (+90: this card's
SKILL.md) |
| ratcheted (authored) tokens / ceilings | 195676 / 200598 | 195754 /
200675 |
| generator-owned (measured, not ratcheted) | 11885 | 14553 (+2668: the
catalog) |
| eval fixtures (measured, not ratcheted) | 67411 | 69045 (+1634: six
cases) |
| whole shipped tree | 274972 | 279352 |
**The ceiling raise, 2901 → 2990 on
`skills/objectstack-project/SKILL.md`.** Authority: the standing path
alone, ruling record 6513306068 (「A:先削重复,余额按实测提高」), on its own form —
two same-file cuts first (142 bytes: the §2 "Inject the defect" aside,
whose technique survives in §2's retire sentence, and the §0 "read it
from there afterwards" clause, restated by the same sentence), then the
measured remainder, +89 tokens, with the row pinned AT the measurement
(2990/2990, zero headroom). Scope: this card's — the maintainer's 「立卡
p1」 on it (2026-11-19); no ruling orders the wording and none is cited
for it. `field-types.md` is paid in full in its own file; its row is
untouched.
</details>
<details><summary>Premise readings A1–A4 (re-anchored at origin/main
94fb8db, then c890070; all hold)</summary>
- A1 — `skills/objectstack-project/SKILL.md:26` was "Two questions"; §3
`:133-144` defects only; `:45` MCP-only builds apply §0 and §3; §5 step
4 at `:172-173` swept blocked issues and `PLATFORM-GAP` tests. After: §0
`:26` three questions, question 3 `:46-51` (after the own-use paragraph
`:42-44`), §5 step 4 `:179-181`, MCP sentence `:53`.
- A2 — `packages/spec/src/shared/value-domain.zod.ts:96-100` three
members, `:114-118` `VALUE_DOMAIN_FIELD_NAMES`;
`platform-object-names.ts:37` `PLATFORM_OBJECTS_BY_PACKAGE`, `:177`
`CLOUD_PROVIDED_OBJECT_NAMES`, `:193` `PLATFORM_PROVIDED_OBJECT_NAMES`.
The generator reads all four; nothing added to `packages/spec/src/**`.
- A3 — `skills/objectstack-ai/SKILL.md:209` `list_objects` filters
system objects by default, so an MCP build cannot discover the platform
objects by listing: the catalog is their only door, which is why
question 3 is inside §0 (the MCP-only set).
- A4 — `check:skill-refs` = `tsx scripts/build-skill-references.ts
--check` (`packages/spec/package.json:281`); the catalog is emitted
through the same `createSink` emit/flush, managed by its own `manageDir`
call (objectstack-project is not in `SKILL_MAP`, unchanged);
`check:skill-identifier-liveness` walks `skills/**/*.md` including
`references/` (its self-test pins that) — Leg 1 counted 545 citations on
this tree, the catalog's included.
</details>
**Deviations from the dispatch order:** none in scope. Two items for L2:
(a) the ceiling raise above (the order says pay for added skill bytes;
the SKILL.md remainder could not be cut from this file without deleting
an instruction, so it went the standing path with the arithmetic in the
row — accepted by the seat as a deviation beyond amendment 7012111198);
(b) branch is `claude/project-thread-1d1bw6` (claim amendment
7011960871). `main` was merged once, before this PR was opened (token
rule: pre-PR).
**Fix round 1 (L2 record 7015659227 → head 0626f7e):** M1 the
value-domain paragraph and eval 23 now state what `main` does (write
refusal; ISO 4217 picker for the currency code only; plain text input
for a time zone or a country; no list or filter reads the domain). M2
the `sys_mailbox` row: engine-owned, read-only for `manage_mailboxes`
holders, mounted by `requires: ['mailbox']`, rows only where the host
composes an IMAP account source, no Setup entry; the `sys_mail_message`
row says where its rows come from. S1 the ceiling row and this body cite
6513306068 alone; the card's own grading is its scope. S2 the
hand-written text is priced in the pin test (1583/1583, shrink-only). S3
eval 22 expects Rec 20 codes as values. S4 the `homeAmount` literal is
back, paid by four same-file cuts. N1 positions distribute permission
sets. N2 question 3 moved after the own-use paragraph (a reorder, +1
byte: 11977 → 11978, still 2990 tokens). N5 two governed-merges
self-test cases (the catalog and its near misses; the prose source
pinned under the trusted prefix). N6 the ruled keys on both master-data
rows. Not taken: N3 (restoring the §2 aside costs bytes this file cannot
pay; its technique is in the retire sentence), N4 (a per-package
mounting table is not a cheap fix; the fallback is true for the rows on
the page), N7 (a follow-up card for a domain-skill pointer, the seat's).
The body's "+89 subtotal pin" line is gone (no such hunk); the size is
the measured one.
**Fix round 2 (L2 delta d1 PASS 7016983755, the seat's routing → head
f4ab3b4):** S5 the catalog's Planned paragraph states the unit codes an
interim field stores (`H87`, `KGM` as values, the business's spellings
as labels), so eval 22's literals have a home in the published text;
paid inside the hand-written ceiling by four cuts in `PROSE` ("If the
platform ships it, use it." — §0 question 3 says it; "instead of
building the service"; the Planned paragraph's repeated
"(objectstack-project §0, question 3)" and "today"; "Maintainers
regenerate this" → "Regenerate"; "this page, not the runtime, is where
to look" → "look here, not at the runtime"), 6321 bytes → 1581, pin
lowered. N10 the ceiling comment reads the file's current bytes (11978,
ceil(11958/4) = 2990). N11 the `field-types.md` row lowered 3553 → 3541.
Left as the seat said: N8, N9. Local at f4ab3b4, all exit 0: spec
typecheck + the two pin tests (56/56) under the lock; governed self-test
(913), ratchet + self-test, skill-refs, role-word, liveness, links,
doc-authoring, nul, citations, closing-keyword, overlap, commit trailers
(5 commits).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Utp6CbQCBay2ZapF4WUt1Y
<!-- signed: repo:objectstack#5 · os-bill ·
session_01Utp6CbQCBay2ZapF4WUt1Y -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7411f9b commit 0ca5218
11 files changed
Lines changed: 1043 additions & 18 deletions
File tree
- .changeset
- packages/spec/scripts
- lib
- scripts
- pm
- skills
- objectstack-data
- evals
- rules
- objectstack-project
- evals
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
448 | 462 | | |
449 | | - | |
| 463 | + | |
450 | 464 | | |
451 | 465 | | |
452 | 466 | | |
| |||
460 | 474 | | |
461 | 475 | | |
462 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
463 | 485 | | |
464 | 486 | | |
465 | 487 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
1114 | | - | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1115 | 1119 | | |
1116 | 1120 | | |
1117 | 1121 | | |
| |||
2058 | 2062 | | |
2059 | 2063 | | |
2060 | 2064 | | |
2061 | | - | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
2062 | 2084 | | |
2063 | 2085 | | |
2064 | 2086 | | |
| |||
2860 | 2882 | | |
2861 | 2883 | | |
2862 | 2884 | | |
| 2885 | + | |
2863 | 2886 | | |
2864 | 2887 | | |
2865 | 2888 | | |
| |||
0 commit comments