Repository navigation
docs(skills): the checked action examples drop their locations key - #37947
Conversation
Seven checked examples (six os:check TypeScript blocks and the served Actions JSON fence) drop their `locations` key, so each one compiles against the action location vocabulary on main and against the one that replaces it. No prose, table or teaching changes, and no new word is taught. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
The checked action examples lost their `locations` key, so three published skill files are shorter: 6799 to 6791, 2264 to 2256 and 3890 to 3844 tokens. Each row is pinned at its file's measurement. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
The published skills package ships the catalog, so the examples that dropped their `locations` key take a patch changeset with both declaration lines. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
|
repo:objectstack#3 · os-tesla · session_01L9qibztwLPZEpzDMBn2GM6 {
"issue": 37895,
"status": "done",
"branch": "claude/project-thread-36zx33",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37947",
"pr_number": 37947,
"head_sha": "661e8e90a2a9081825c476239120b1b96acfa7f0",
"base_sha": "f926dfaba8e95847cd6dcbfab547a996c87834e8",
"session": "session_01L9qibztwLPZEpzDMBn2GM6",
"served_tier": "CONTRACT_REVIEW_TIER (read from the harness-written system statement of this subagent's model id, compared with the constant in scripts/pm/dispatch-gates.mjs; get_session was not used)",
"premise_still_valid": true,
"summary": "PR 1 of 2, Part of the card. Seven checked examples (six os:check blocks and the served Actions JSON fence) drop their `locations` key, nine old words in all, so they compile on main and on the retirement branch; no prose, table or new word. The token ratchet refused three rows left above their measurement, so those rows follow the files down, and a patch changeset for @objectstack/skills is added because that package ships the catalog. Both spec gates were red on the retirement branch head e3b2ea95 before the edits and green with them.",
"files_changed": [
"skills/objectstack-ai/SKILL.md (+0/-1)",
"skills/objectstack-ui/SKILL.md (+1/-1)",
"skills/objectstack-ui/rules/actions.md (+0/-5)",
"scripts/check-skills-token-ratchet.mjs (+10/-3)",
".changeset/37895-skills-action-examples-no-location-key.md (+10/-0)"
],
"line_budget": {
"skills_added": 1,
"skills_removed": 7,
"skills_net": -6,
"budget": "net added lines in skills/** at most 0",
"within_budget": true,
"whole_diff": "+21/-10, 5 files",
"per_file_lines_before_after": {
"skills/objectstack-ai/SKILL.md": [
487,
486
],
"skills/objectstack-ui/SKILL.md": [
165,
165
],
"skills/objectstack-ui/rules/actions.md": [
266,
261
]
},
"per_file_tokens_before_after": {
"skills/objectstack-ai/SKILL.md": [
6799,
6791
],
"skills/objectstack-ui/SKILL.md": [
2264,
2256
],
"skills/objectstack-ui/rules/actions.md": [
3890,
3844
]
},
"bundle_all_skill_md_lines_before_after": [
4959,
4958
],
"bundle_all_skill_md_tokens_before_after": [
65451,
65435
],
"ratcheted_authored_tokens_before_after": [
199689,
199627
]
},
"tests": "All at head 661e8e90 on base f926dfab. Main-based tree: `pnpm --filter @objectstack/spec run check:skill-examples` exit 0, '352 prose examples type-check across 3 surface(s)'; `pnpm --filter @objectstack/spec run check:skill-served-sections` exit 0, '24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators.'; `node scripts/check-skills-token-ratchet.mjs` exit 0, '61 authored bundle file(s) within their ceilings' (exit 1 before the rows moved: '3 of 114 published bundle file(s) failed their check', rows above measurement by 8, 8, 46); its `--self-test` exit 0, '111 cases pass'; `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts` under the verify lock, VERDICT command-exit 0, Test Files 1 passed (1), Tests 20 passed (20). Retirement branch, second worktree detached at e3b2ea95, spec + client + client-react built there (turbo closure, 47 tasks, VERDICT command-exit 0): control on the untouched tree, check:skill-served-sections exit 1 ('skills/objectstack-ui/SKILL.md § Actions: JSON fence 1 is refused as Action: locations.0') and check:skill-examples exit 1 (8 TS2322 at skills/objectstack-ai/SKILL.md:189:15 and skills/objectstack-ui/rules/actions.md 69:15, 69:32, 96:15, 96:32, 180:15, 205:15, 239:15); with this PR's skills diff applied by git apply (the two objectstack-ui files byte-identical to the PR head), check:skill-served-sections exit 0 and check:skill-examples exit 0 ('352 prose examples type-check'). No ablation: the diff changes examples, three ratchet constants and a changeset, no behaviour a test pins.",
"gates": {
"local_head": "661e8e90",
"derived": "node scripts/pm/dispatch-gates.mjs --commands: 68 commands for 5 changed paths vs merge base f926dfaba",
"ran_reconciliation": "✓ dispatch-gates --ran: 68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).",
"exit_0": 67,
"not_measured": [
"pnpm check:dual-build-cjs-loads — exit 3, PREREQUISITE NOT MET: it reads every package's dist and this tree built only the spec, client and client-react closure; left to CI"
],
"outside_derivation_run": [
"pnpm --filter @objectstack/spec run check:skill-examples — exit 0"
],
"named_by_the_order": {
"check:skill-examples": 0,
"check:skill-served-sections": 0,
"check-skills-token-ratchet": 0,
"check:nul-bytes": 0
},
"ci_check_runs_at_head": "22 check runs read once after the PR opened. success: Governed Surface Queue Guard. in_progress: Check Changeset, Check PR Size, PR-body guards (claim · duplicate · Part-of · single-writer path), filter, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, Type Check · consumer gates, Type Check · debt ledger, Type Check · source gates, Type Check · workspace. skipped: 18.x upgrade harness (opt-in), Borrowed queue verdict, Packed-tarball smoke (opt-in), Queue verdict, Schedule gate. Not waited for."
},
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"deviations": [
"The order's pr_create shape carries a `draft` key; the relay's validator refuses it ('not a key pr_create takes') and forces draft itself, so the key was dropped. The PR reads draft: true.",
"Base is f926dfab, not 73d5e347: origin/main had moved when the worktree was made. The seven sites were re-measured there at the same lines. origin/main has since moved to a3c229ea; none of the five files changed there, git merge-tree is clean, and the readings were not repeated on the merged tree.",
"Honesty gap left as ordered: the examples now show an action with no placement while the text above them says such an action renders nowhere; no sentence was added.",
"A changeset and three ratchet rows were added to the three skills files, both measured as owed (the ratchet's red verdict; @objectstack/skills ships the catalog).",
"check:dual-build-cjs-loads NOT MEASURED locally (above). test:repo and the repo-wide lint were not run locally; they are CI's.",
"The retirement branch was measured in a second worktree with this PR's skills diff applied by git apply, not by a merge.",
"Commit trailers are the model-free pair; the harness reminder proposed a trailer naming a model, which AGENTS.md outranks.",
"No empty probe push: the branch is the platform-named thread branch; the first push carried the first commit."
],
"mcp_calls": "0",
"api_writes": "2 relay strokes, each POST /repos/objectstack-ai/objectstack/dispatches (fleet-write): (1) pr_create, executed as POST /repos/objectstack-ai/objectstack/pulls then POST /repos/objectstack-ai/objectstack/issues/37947/assignees; (2) this comment, POST /repos/objectstack-ai/objectstack/issues/37947/comments. Also 3 git pushes to claude/project-thread-36zx33, which are not REST writes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: 37895 (PR 2) · noted, not filed · an action copied from one of the seven examples as it stands draws the `action-no-placement` warning at `os validate` (packages/lint/src/validate-action-locations.ts, severity warning) and no button; the Ask AI paragraph at skills/objectstack-ai/SKILL.md line 178 still says to declare the action in `locations` and the example under it no longer does. PR 2 gives each example its placement in the new words.",
"carrier: 37895 (PR 2) · noted, not filed · the three ceilings are 62 tokens lower; writing `locations` back grows those files, and the ratchet's header gives one path up: restatement cut from the same file first, then the measured remainder, with the standing ruling quoted.",
"carrier: 37857 · noted, not filed · branch claude/project-thread-q0nzop deletes the whole Ask AI block; whichever lands second takes the deletion and re-pins the skills/objectstack-ai/SKILL.md row (a hand-read conflict on that row).",
"carrier: seat repo:objectstack#3 · noted, not filed · the claim comment 7217620809 spells the tier's value on its `Container & model:` and `Tier note:` lines, where scripts/pm/dispatch-gates.mjs says a claim's `model:` value carries the constant's name."
]
} |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 661e8e9 · 2026-11-27T12:38Z L1-a (the seat's L1 thread) runs the isolated |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Inputs read: card #37895 (body and its three comments, re-scope 7217457078 and claim 7217620809 included), PR #37947 (body, dev report 7218465652, five-file list), the net diff Check-runs at 12:41Z. Success: ① Derived judgments
② Semver level
Clause-②: no, on the PR body and on the changeset, and it holds: no declared capability is narrowed and nothing is refused that parsed before. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each
Tried to break it, and it held: no refinement on The interim state is a deliberate, disclosed trade: for the window between this PR and PR 2, seven published examples show a button with no placement under text that says a button needs one. The card's re-scope ruled it, no word both vocabularies share means a record-header button, and every failure an author can hit from it is reported by Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The filled brief the record above was rendered from (L1-a, isolated Contract review brief — PR #37947 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 REWORK (merge owed) at What blocks. After the merge. The merge touches a rules face, so record 7218604431 does not carry over. The same reviewer runs a delta on the merge head (the resolution, the ratchet row against the merged bytes, and whether main's new text changes any carried sentence), then the L1 reads it. The L1 ACCEPT drafted for this head (Tier H, then to the seat's hand-off) carries the record's nits N1–N3 for PR 2 unchanged. |
One conflict, in scripts/check-skills-token-ratchet.mjs: main's side of the file is kept, and the three rows this branch moves are pinned again at their measurement on the merged tree (6795 to 6787, 2264 to 2256, 3890 to 3844). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
Main lowered the objectstack-ai row to 6795 before this branch merged it, so the note's first pair is 6795 to 6787. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
|
repo:objectstack#3 · os-tesla · session_01L9qibztwLPZEpzDMBn2GM6 {
"issue": 37895,
"status": "done",
"round": "rework 1: merge of origin/main after the PR read dirty",
"branch": "claude/project-thread-36zx33",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37947",
"pr_number": 37947,
"head_sha": "d7c3960e9c1581413cc2bbf1a0a5be84129c730f",
"merge_commit": "4566c5c3 (parents 661e8e90 and bc173343; a merge commit, no rebase, no force push)",
"merged_main_sha": "bc173343ea57fb854994a9d59e9145a52656f8e9",
"session": "session_01L9qibztwLPZEpzDMBn2GM6",
"served_tier": "CONTRACT_REVIEW_TIER (same reading as the first report)",
"premise_still_valid": true,
"summary": "origin/main bc173343 is merged into the PR branch in a fresh worktree. One conflict, scripts/check-skills-token-ratchet.mjs: main's side of the file is kept and the three rows this PR moves are pinned again, only down, at their measurement on the merged tree. skills/objectstack-ai/SKILL.md merged by itself; the Ask AI block is still there and its example has no `locations`. One follow-up commit corrects the changeset's first number pair, which the merge made stale. The PR reads mergeable true, state clean, and Actions ran on the new head.",
"ratchet_rows_on_merged_tree": {
"skills/objectstack-ai/SKILL.md": {
"main_row": 6795,
"measured": 6787,
"pinned": 6787,
"bytes_before_after": [
27207,
27175
],
"lines_before_after": [
486,
485
]
},
"skills/objectstack-ui/SKILL.md": {
"main_row": 2264,
"measured": 2256,
"pinned": 2256,
"bytes_before_after": [
9082,
9050
],
"lines_before_after": [
165,
165
]
},
"skills/objectstack-ui/rules/actions.md": {
"main_row": 3890,
"measured": 3844,
"pinned": 3844,
"bytes_before_after": [
15559,
15373
],
"lines_before_after": [
266,
261
]
},
"ratcheted_authored_tokens_before_after": [
199685,
199623
],
"bundle_all_skill_md_tokens_before_after": [
65447,
65431
],
"bundle_all_skill_md_lines_before_after": [
4958,
4957
]
},
"old_words_after_merge": "The 9 words are gone from the seven compiled examples. `git grep` for the four retired words under skills/, eval fixtures aside, finds 11 lines, all prose or the location table (objectstack-ai/SKILL.md line 177, objectstack-formula/SKILL.md line 139, rules/actions.md lines 21, 22, 25, 26, 33, 34, 35, 218, rules/record-page.md line 40). Main did not delete the Ask AI block.",
"files_changed": [
"skills/objectstack-ai/SKILL.md (+0/-1)",
"skills/objectstack-ui/SKILL.md (+1/-1)",
"skills/objectstack-ui/rules/actions.md (+0/-5)",
"scripts/check-skills-token-ratchet.mjs (+10/-3)",
".changeset/37895-skills-action-examples-no-location-key.md (+10/-0)"
],
"line_budget": {
"skills_added": 1,
"skills_removed": 7,
"skills_net": -6,
"within_budget": true,
"whole_diff_vs_merged_main": "+21/-10, 5 files"
},
"tests": "All at head d7c3960e, merge base bc173343, spec + client + client-react rebuilt on the merged tree (turbo closure, 47 tasks, VERDICT command-exit 0). `pnpm --filter @objectstack/spec run check:skill-examples` exit 0, '352 prose examples type-check across 3 surface(s)'; `pnpm --filter @objectstack/spec run check:skill-served-sections` exit 0, '24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators.'; `node scripts/check-skills-token-ratchet.mjs` exit 0, '61 authored bundle file(s) within their ceilings' (exit 1 on main's side of the file before the re-pin: three rows above measurement by 8, 8, 46); its `--self-test` exit 0, '111 cases pass'; `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts` under the verify lock, VERDICT command-exit 0, Test Files 1 passed (1), Tests 20 passed (20). The retirement branch was not measured again: the skills diff is byte-for-byte the one measured at 661e8e90 for the two objectstack-ui files, and the objectstack-ai example hunk is unchanged.",
"gates": {
"local_head": "d7c3960e",
"derived": "node scripts/pm/dispatch-gates.mjs --commands: 68 commands for 5 changed paths vs merge base bc173343e (the same list as the first run)",
"ran_reconciliation": "✓ dispatch-gates --ran: 68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).",
"exit_0": 67,
"not_measured": [
"pnpm check:dual-build-cjs-loads — exit 3, PREREQUISITE NOT MET (needs every package's dist); CI's `Lint & Repo Gates` concluded success on this head"
],
"outside_derivation_run": [
"pnpm --filter @objectstack/spec run check:skill-examples — exit 0"
],
"ci_check_runs_at_head": "45 check runs at d7c3960e: 29 success, 16 skipped, 0 failing, 0 in progress. success: Auto Label, Build Core, Check Changeset, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, Lint & Repo Gates, Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Lint · scoped · tooling self-tests, Live E2E UI, PR-body guards (claim · duplicate · Part-of · single-writer path), Plan Test Core shards, Test Core, Test Core (1/10), Test Core (2/10), Test Core (3/10), Test UI, Type Check · consumer gates, Type Check · debt ledger, Type Check · source gates, Type Check · workspace, TypeScript Type Check, filter. skipped: the opt-in, queue-only and UI path-scheduled jobs.",
"pr_merge_state": "mergeable true, mergeable_state clean, draft true (first read after the push: blocked; no longer dirty)"
},
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"deviations": [
"One commit beyond the merge: the changeset's first number pair read 6799 to 6791, which the merge made false; it now reads 6795 to 6787. The contract record is a PASS at 661e8e90 and this head is new.",
"The PR body is stale and was not patched (a dev writes the body at create only): it names head 661e8e90 and base f926dfab, the objectstack-ai row as 6799 to 6791 and lines 487 to 486, the bundle sums 65451 to 65435 and 4959 to 4958, the authored total 199689 to 199627, and old-word line numbers on the earlier base. The numbers in this report replace them.",
"The conflict was settled inside the merge commit: main's side of the ratchet file plus the three re-pinned rows, so no commit on the branch has a red ratchet.",
"origin/main moved again, to 21ad7c54, while the gates ran. None of the five files changed there, git merge-tree is clean, and it was not merged.",
"check:dual-build-cjs-loads NOT MEASURED locally; test:repo and the repo-wide lint were not run locally. All three are covered by the CI conclusions above.",
"Commit trailers are the model-free pair."
],
"mcp_calls": "0",
"api_writes": "1 relay stroke in this round, POST /repos/objectstack-ai/objectstack/dispatches (fleet-write), executed as POST /repos/objectstack-ai/objectstack/issues/37947/comments for this report. Also 1 git push to claude/project-thread-36zx33 (661e8e90..d7c3960e, fast-forward), not a REST write. Whole card so far: 3 relay strokes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: 37895 (PR 2) · noted, not filed · unchanged from the first report: the seven examples show an action with no placement, which draws the `action-no-placement` warning at `os validate`; and the three ceilings are banked 62 tokens lower.",
"carrier: 37857 · noted, not filed · unchanged: branch claude/project-thread-q0nzop deletes the whole Ask AI block; whichever lands second re-pins the skills/objectstack-ai/SKILL.md row, now 6787."
]
} |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head d7c3960 · 2026-11-27T13:31Z L1-a runs the merge delta of record 7218604431 on this head, by the same |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Merge delta on the record for How the merge was read: the clone is shallow, so the re-merge view has no merge base and reports every file Check-runs on ① Derived judgments
② Semver levelUnchanged: Clause-②: no, and ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. The delta adds no sentence and no example to any The earlier nits, none closed by this delta and none made worse by it:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 ACCEPT at Contract review. Record 7218604431 on Face. Changeset, read sentence by sentence. For PR 2 and the approver (carried, from the record):
|
Two conflicts. Main replaced the Ask AI section of skills/objectstack-ai/SKILL.md, the example this branch edited included, so main's side of that file is kept and this branch no longer changes it. In scripts/check-skills-token-ratchet.mjs that file's row is main's 6609 with main's notes; the two rows this branch still moves measure 2256 and 3844 on the merged tree, as before. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
Main replaced the Ask AI section, so this branch changes six examples and two token ceilings; the note no longer names the seventh example or the objectstack-ai row. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
|
repo:objectstack#3 · os-tesla · session_01L9qibztwLPZEpzDMBn2GM6 {
"issue": 37895,
"status": "done",
"round": "rework 2 (delta): second merge of origin/main",
"branch": "claude/project-thread-36zx33",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37947",
"pr_number": 37947,
"head_sha": "78295ae309aac3fd5c88ddd4ab1439037928e7f9",
"merge_commit": "e5898ad9, parents d7c3960e (this branch) and 4de4e3e9 (origin/main); a merge commit, no rebase, no force push",
"session": "session_01L9qibztwLPZEpzDMBn2GM6",
"premise_still_valid": true,
"summary": "Two files conflicted, not one. Main replaced the Ask AI section of skills/objectstack-ai/SKILL.md, the example this PR edited included, so main's side of that file is kept and the PR no longer changes it: six examples remain (the served JSON fence and five os:check blocks), four files in the diff. The two rows the PR still moves measure the same on the merged tree. The changeset now says six examples and two ceilings.",
"conflicts": [
"skills/objectstack-ai/SKILL.md — main's side kept whole (byte-identical to main); the Ask AI block and its example are gone, as the first report said would happen to whichever landed second",
"scripts/check-skills-token-ratchet.mjs — one hunk, the objectstack-ai row: main's row 6609 and main's two notes kept; this PR's '6795 -> 6787' note is dropped, because that step is not on main and the example it describes no longer exists"
],
"ratchet_rows_on_merged_tree": {
"skills/objectstack-ai/SKILL.md": {
"main_row": 6609,
"measured": 6609,
"pinned": 6609,
"moved_by_this_pr": false
},
"skills/objectstack-ui/SKILL.md": {
"main_row": 2264,
"measured": 2256,
"pinned": 2256,
"moved_by_this_pr": true
},
"skills/objectstack-ui/rules/actions.md": {
"main_row": 3890,
"measured": 3844,
"pinned": 3844,
"moved_by_this_pr": true
},
"ratcheted_authored_tokens_before_after": [
199497,
199443
],
"other_rows_touched": 0
},
"files_changed": [
"skills/objectstack-ui/SKILL.md (+1/-1)",
"skills/objectstack-ui/rules/actions.md (+0/-5)",
"scripts/check-skills-token-ratchet.mjs (+7/-2)",
".changeset/37895-skills-action-examples-no-location-key.md (+10/-0)"
],
"line_budget": {
"skills_added": 1,
"skills_removed": 6,
"skills_net": -5,
"within_budget": true,
"whole_diff_vs_merged_main": "+18/-8, 4 files"
},
"old_words_after_merge": "No retired word is left in a compiled example. Eval fixtures aside, 10 prose or table lines still carry one: objectstack-formula/SKILL.md line 139, rules/actions.md lines 21, 22, 25, 26, 33, 34, 35, 218, rules/record-page.md line 40.",
"gates": {
"local_head": "78295ae3",
"merge_base": "4de4e3e9",
"check:skill-examples": "exit 0 — '351 prose examples type-check across 3 surface(s)' (352 before; the Ask AI example left with main's section)",
"check:skill-served-sections": "exit 0 — '24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators.'",
"check-skills-token-ratchet": "exit 0 — '61 authored bundle file(s) within their ceilings'",
"check-skills-token-ratchet --self-test": "exit 0 — '111 cases pass'",
"platform-catalog.test.ts": "VERDICT command-exit 0 — Test Files 1 passed (1), Tests 20 passed (20)",
"derived": "68 commands for 4 changed paths, the same list as the last round",
"ran_reconciliation": "✓ dispatch-gates --ran: 68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).",
"not_measured": [
"pnpm check:dual-build-cjs-loads — exit 3, PREREQUISITE NOT MET (needs every package's dist); CI's Lint & Repo Gates concluded success on this head"
],
"ci_check_runs_at_head": "45 check runs at 78295ae3: 29 success, 16 skipped, 0 failing, 0 in progress",
"pr_merge_state": "mergeable true, mergeable_state clean (blocked on the first read after the push; not dirty), draft true, changed_files 4"
},
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"deviations": [
"The order said to keep both sides' notes in the ratchet conflict. Only main's are kept on the objectstack-ai row: this PR no longer changes that file, so a note saying it moved the row would be false.",
"The changeset changed beyond its number pairs: 'Seven examples ... the Ask AI example' is now 'Six examples', and 'Three token ceilings (6795 to 6787, 2264 to 2256, 3890 to 3844)' is now 'Two token ceilings (2264 to 2256, 3890 to 3844)'. The old sentence would have shipped a false statement about a section main removed.",
"The PR body is stale and was not patched (a dev writes the body at create only): it still lists seven examples, the objectstack-ai file and row, five files, and heads and totals from the first base. This report's numbers replace them.",
"The retirement branch was not measured again; the two objectstack-ui files are byte-identical to the ones measured green there at 661e8e90.",
"origin/main moved again, to 30a8047b, while the gates ran. Its version-packages commit rewrote the release-stamp line of skills/objectstack-ui/SKILL.md, which the ratchet does not price: the row still measures 2256 on the merge-tree result. git merge-tree is clean and the PR reads mergeable_state clean. Not merged.",
"check:dual-build-cjs-loads NOT MEASURED locally; test:repo and the repo-wide lint not run locally; CI concluded success on all three."
],
"mcp_calls": "0",
"api_writes": "1 relay stroke in this round, POST /repos/objectstack-ai/objectstack/dispatches (fleet-write), executed as POST /repos/objectstack-ai/objectstack/issues/37947/comments for this report. Also 1 git push (d7c3960e..78295ae3, fast-forward), not a REST write. Whole card so far: 4 relay strokes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: 37895 (PR 2) · noted, not filed · unchanged: the six examples show an action with no placement (the `action-no-placement` warning at `os validate`), and the two ceilings are banked 54 tokens lower."
]
} |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 78295ae · 2026-11-27T15:10Z L1-a runs the second merge delta of records 7218604431 / 7219654200 on this head, by the same |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: Second merge delta, on the records for How the merge was read: as in the first delta, by its result. The tree at this head against Check-runs on ① Derived judgments
② Semver level
Clause-②: no, and ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. The delta adds no sentence and no example to either remaining The earlier nits on this head:
Tried to break the delta, and it held: no leftover of this PR's note on the Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1 ACCEPT (second merge delta) at Contract review. The same reviewer's second merge delta 7221765741 (claim 7221721119) is a PASS: no must-fix, no should-fix.
Face. CI at this head: 29 success · 16 expected skip · 0 failed · 0 pending; Carried to PR 2 (from the record).
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-27T15:16Z.
席位意见:可以合。第七个示例(objectstack-ai 的 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU 维护者速读
|
…-ai#37929) <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoM3531xPi2L3EUw2ayzmaM3)_ Part of objectstack-ai#36495 ## What changes An action's `locations` now say what the action acts on, not the part of the page it sits in. `ACTION_LOCATIONS` is `list`, `record`, `record_page`, `record_row`, `record_related`, `record_section`. The page-part words `list_toolbar`, `list_item`, `record_header` and `record_more` are retired. - `record` is new: the action acts on one record, so it is drawn on the record page's header and in each list row's menu. - The record header's ⋯ fold, which `record_more` used to say, is the action's `component: 'action:menu'`. - Which actions are buttons and in what order stays the object's `actionLayout`. Clause-②: yes (narrowing) Metadata-protocol: narrowed Skills-docs: follow-up objectstack-ai#37895 A replacement with a registered conversion, so `yes (narrowing)` as on main's precedents (`.changeset/pre/37086-define-metadata-form-rename.md`, `.changeset/pre/37304-knowledge-source-governed-type.md`). Narrowed: the four retired words are refused wherever a location is read. Widened in the same change: - the four newly accepted values `list`, `record`, `record_page` and `record_row`, at the same positions; - the new `@object-ui/types` export `actionFoldedIntoMenu`; - eight new `@object-ui/i18n` Studio keys for the location labels (en, zh), replacing the eight keys of the retired words. ## ADR-0087 conversion `action-locations-acted-on` (lossless) FROM → TO. Each action is drawn in exactly the places it was drawn before: - `list_toolbar` → `list` - `list_item` → `record_row` - `record_header` / `record_more` → `record_page` - `record_header` or `record_more` beside `list_item` → `record` - `record_more` without `record_header` → `record_page` + `component: 'action:menu'` - A component's single `location` (`record:quick_actions`, `action:group`, `action:bar`) is mapped the same way. The conversion is retired from the load path from day one, as every protocol-19 entry is. An old word is refused at authoring, and the refusal names the word to write instead. Stored items, built artifacts and `os migrate meta --from 18` replay the conversion. It leaves a TODO and changes nothing in four cases that have no lossless rewrite: - a `record_more`-only action that is also on `list_toolbar`, without `component: 'action:menu'` already (with it, the rewrite is lossless); there are 0 in this repo - an action at `record_header` with an authored `component: 'action:menu'`: the header folded it into its ⋯ while a `record:quick_actions` bar at `record_header` drew it as a button, and `record_page` has one state for both; 0 in objectstack and HotCRM. Pinned in `packages/spec/src/conversions/action-locations-acted-on.test.ts`; removing the TODO turns 3 of its cases red - a component whose `location` is `record_more` - an `action:group` at `record_header` with a `record_more`-only member A site left as stored keeps its old word, which a protocol-19 runtime matches to no surface: that action or block is drawn nowhere until it is rewritten by hand. The semantic entry `action-locations-page-parts-retired` carries the step into the protocol-19 upgrade guide. ## Readers - `@object-ui/types`: - `actionRendersAt` reads `record` as covering `record_page` and `record_row`. - The new `actionFoldedIntoMenu` tells whether an action is folded into the ⋯. - `arrangedHeaderActions` pins and unpins through `component`. - `page:header` sends every folded action to its ⋯. Every other `record_page` action takes the inline budget. - `record:quick_actions` at `record_page` leaves folded actions out. - The related list reads `record` as a row action. - The record-scoped checks in core and runtime (`isRecordScopedAction`, `requiresRecord`) accept `record`. - Studio: - The action inspector and the `record:quick_actions` location dropdown offer `record`. - The action preview draws the fold as "record_page · ⋯". - Lint: the record-page header, related-list and action-layout rules read the new words. The related-list hint now groups locations that draw the same thing, which keeps the one-line fix under 200 characters. - Declarations under `packages/**`, `examples/**` and `ui/**`, plus `content/docs/**`, use the new words. The generated references, `sdui.manifest.json` and the component reference pages are regenerated. ## Not moved - objectstack-ai#37895: the `skills/**` teaching. It is Blocked-by this card. - objectstack-ai#37895 PR 1 (objectstack-ai#37947, skills-only) merged as b492198 and main is merged here; `check:skill-examples` and `check:skill-served-sections` are green. - objectstack-ai#37895 PR 2 (the teaching of the new words) follows this PR. - HotCRM's declarations ride the HotCRM pin bump. - `docs/qa/**` keeps the old words; it is outside the card's file surface. The recorded builds `docs/qa/scenarios/builds/travel_expense.json` and `order_to_cash.json` declare `engines.protocol: ^19` and are replayed through the conversion. The checklist's scratch bodies sent to the save door are refused now; the seat files that follow-up. ## Size 421 files, +2478/−1631 (4109 changed lines). This is over 3000, so it is a class (c) landing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L9qic11optJUat6U8X67jY <!-- signed: repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU --> --------- Co-authored-by: Claude <noreply@anthropic.com>
… on (objectstack-ai#38104) repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoEfAeSobHZgSLfHP3844ZfC)_ Fixes objectstack-ai#37895 This is PR 2 of 2 on that card. PR 1 was objectstack-ai#37947 (merged as `b4921982`); objectstack-ai#37929 put the new words on `main` as `58b513a6`. **Ordering: this must land before the next `next` prerelease is cut** (serial note 7227457027 on the card). `main` has refused the four retired location words since `58b513a6`, and the published skills still teach them. A prerelease cut before this lands ships skills that teach words its own save door refuses. Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:写应用的 AI 助手读到的「按钮放在哪里」说明换成了新词,只说按钮作用在列表上还是一条记录上;六个按钮示例重新写明了位置。 - 为什么做:「按钮位置改用新词」这项工作已经合入主线,旧的四个位置词保存时会被拒绝,而技能包还在教旧词。 - 出错会怎样:照技能包写按钮的 AI 助手会写出保存不了、或者哪里都不显示的按钮;本改动只动说明文字和示例,可以直接撤回。 - 要你做什么:在下一个预发布版本切出之前合并本改动(技能包属于要你亲手合并的范围)。 ## What changes The published skills teach the action `locations` vocabulary that `@objectstack/spec` 19 accepts: `list` (acts on no record) and `record` (acts on one record: the record page and each list row), with the narrow words `record_page`, `record_row`, `record_related` and `record_section`. Vocabulary ruling on objectstack-ai#36495, verbatim: 「照卡上这套」 (7213827153). | File | Change | |:--|:--| | `skills/objectstack-ui/rules/actions.md` | The location table's four page-part rows become `list`, `record`, `record_page`, `record_row`. One line under the table names what replaced each old word. The `actionLayout` paragraph says the `record` arm takes `record` / `record_page` actions and the `list` arm takes `list` actions, which is what `validateObjectActionLayout` enforces. The `defaultFromRow` sentence names `record` / `record_row`. Five checked examples declare `locations` again. The opening sentence is cut (see the token rows). | | `skills/objectstack-ui/SKILL.md` | The "Mark as done" JSON in Actions declares `"locations": ["record"]`. Nothing else changes: against `main` the file differs by that key alone. | | `skills/objectstack-ui/rules/record-page.md` | A `record_section` action that must show on the standard page also lists `record_page`. | | `skills/objectstack-formula/SKILL.md` | "a list row" in place of the retired word in the sparse-row paragraph. | | `skills/objectstack-ui/evals/views-apps-actions-pages.json` | Cases 3, 14, 24 and 26 expect the new words. Case 3's `must_contain` token is `'record'`. | | `skills/objectstack-ui/evals/record-page.json` | Case 3: `placedActions: true` draws the actions placed at `record` or `record_page`. | | `scripts/check-skills-token-ratchet.mjs` | Three rows move to their measurements (below). | | `.changeset/37895-skills-action-locations-acted-on.md` | `patch` for `@objectstack/skills`. | `skills/objectstack-ai` is not touched: no Ask AI example and no placement is written back there. ### The word each example takes | Example | Before PR 1 | Now | Drawn | |:--|:--|:--|:--| | `crm_reassign_lead` | `record_header`, `list_item` | `record` | as before | | `crm_convert_lead` | `record_header`, `list_item` | `record` | as before | | `crm_print_a3` | `record_header` | `record_page` | as before | | `mark_done` (SKILL.md JSON) | `record_header` | `record` | also on each list row | | `crm_open_invoice_pdf` | `record_header` | `record` | also on each list row | | `crm_add_invoice_line` | `record_header` | `record` | also on each list row | The first three are the lossless conversion (`action-locations-acted-on`). The last three were header-only and now take `record`. This is a judgement, and the alternative is `record_page` on those three lines: - The spec's docblock calls `record` "the word an action that acts on a record writes by default", and the ruled vocabulary treats the other four as exception words. Nothing in these three examples, or in eval case 14's prompt (a "button on `task` records"), limits the action to the record page. - An agent copies the placement it sees. With `record_page` on four of six examples, agent-written apps would use an exception word as the norm. - None of the three carries a `visible` or `disabled` predicate, so the sparse list row adds no risk to them. - `crm_print_a3` keeps `record_page`: N1 asks for its placement back, and it gives the file one checked example of a narrow word in the `record` arm. Eval cases 24 and 26 use `record_page`: case 24 describes existing header actions, and case 26's prompt asks for a button "on the record page". ## Why objectstack-ai#37929 retired `list_toolbar`, `list_item`, `record_header` and `record_more` on `main`. The skills are what an agent reads before it writes an action, so an agent following them wrote a word that validate and save refuse. PR 1 had also left six examples with no placement at all, which made the `actionLayout` example beside them an error (N1). ## Acceptance checklist - [x] Card: `git grep -nE "record_header|record_more|list_item|list_toolbar" -- skills/` returns one line, `skills/objectstack-ui/rules/actions.md:28`, the line that names the conversion. - [x] Card: eval expected outputs use the new words; the token rows follow the measurement; the skills checks pass (Tests). - [x] N1 (7218905729): `crm_convert_lead` and `crm_print_a3` are placed in the `record` arm's scope again. A probe that runs `@objectstack/lint`'s two rules over the examples as written reports 2 `object-action-layout-not-placed` on `main` and 0 at this head. - [x] N2 as corrected in 7221834136: six examples declare a placement again, and the eval cases that expected the old words moved with them. Nothing is written back into `skills/objectstack-ai`; its eval case 10 still refuses `locations:`. - [x] Ordering (7227457027): stated at the top of this body. ## Size of the published skills | Reading | Lines before | Lines after | Tokens before | Tokens after | |:--|--:|--:|--:|--:| | `skills/objectstack-ui/rules/actions.md` | 262 | 268 | 3844 | 3918 | | `skills/objectstack-ui/SKILL.md` | 165 | 165 | 2256 | 2262 | | `skills/objectstack-ui/rules/record-page.md` | 64 | 64 | 990 | 990 | | `skills/objectstack-formula/SKILL.md` | 485 | 485 | 6090 | 6088 | | `skills/objectstack-ui/evals/views-apps-actions-pages.json` | 275 | 275 | not ratcheted | not ratcheted | | `skills/objectstack-ui/evals/record-page.json` | 119 | 119 | not ratcheted | not ratcheted | | Bundle: all 14 `SKILL.md` files | 4936 | 4936 | 65337 | 65341 | | Authored files the ratchet prices | n/a | n/a | 199591 | 199669 | | Eval fixtures (measured, not ratcheted) | n/a | n/a | 88563 | 88550 | Net change under `skills/`: 26 lines added, 20 removed, **+6** against a budget of +6. Tokens are the ratchet's own count, `ceil(utf8 bytes / 4)` with the release-stamp line left out. ### Token rows - `skills/objectstack-ui/rules/actions.md` **3844 to 3918 (+74)**, by the standing maintainer ruling of 2026-10-27, verbatim: 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). Restatement cut first, in the same file: the opening "Actions are user-triggered operations on an object or a view." (62 bytes; the paragraph under it says how `objectName` binds an action to an object and how a view names one). The new text adds 359 bytes, of which 130 are the five `locations` lines PR 1 took out as 186. The file is 15373 to 15670 bytes, and the row is pinned at the measurement. It is 28 above the 3890 the row held before PR 1. - `skills/objectstack-ui/SKILL.md` **2256 to 2262 (+6)**, by the same standing ruling, verbatim: 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). Nothing is paid down: the file has no restatement to cut, and the seat ruled at 2026-11-28T02:42Z that the gallery phrase " over an image, avatar or file field" teaches and stays (ruling on the card). The +25 bytes are the `"locations": ["record"],` key PR 1 removed as 32 bytes; the file is 9050 to 9075 bytes (9048 priced), and the row ends 2 under the 2264 it held before this card. - `skills/objectstack-formula/SKILL.md` 6090 to 6088: 7 bytes shorter; the row follows it down. - `skills/objectstack-ui/rules/record-page.md`: 990, unchanged (the two words have the same length). ## Tests The gates below were re-run at head `a7aee8ef` (the seat's 02:42Z rework, which restored one phrase in `skills/objectstack-ui/SKILL.md` and moved its row); the branch's diff against `main` (`f72f3353`) was empty before the first edit. The placement probe, the `platform-catalog` test and the eval dry run were read at `27cb6e21`; the rework touches no example, fixture or script logic. <details> <summary>Skills gates: all exit 0</summary> `@objectstack/spec`, `@objectstack/client` and `@objectstack/client-react` were built first (turbo, 47 tasks, 0 cached, `VERDICT command-exit 0`). - `pnpm --filter @objectstack/spec run check:skill-examples`: exit 0. `351 prose examples type-check across 3 surface(s)`. - `pnpm --filter @objectstack/spec run check:skill-served-sections`: exit 0. `24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.` - `pnpm --filter @objectstack/spec run check:skill-docs`: exit 0. `Skill docs in sync`. - `pnpm --filter @objectstack/spec run check:skill-refs`: exit 0. `10 generated files in sync with packages/spec`. - `node scripts/check-skills-token-ratchet.mjs`: exit 0. `61 authored bundle file(s) within their ceilings`. On the first commit, before the rows moved, it was exit 1, `3 of 114 published bundle file(s) failed their check`; at this head the three rows sit at their measurement (3918, 2262, 6088). - `node scripts/check-skills-token-ratchet.mjs --self-test`: exit 0. `111 cases pass`. - `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts` (the one test file that names the ratchet script): `Test Files 1 passed (1)`, `Tests 21 passed (21)`. - `pnpm --filter @objectstack/scenarios skill-evals --dry-run --skills objectstack-ui` (the strict reader of the eval fixtures; no model call): exit 0, `objectstack-ui: 51 case(s)`. - `pnpm check:nul-bytes`: exit 0. </details> <details> <summary>Derived gate families: 68 derived, 67 run, 1 not measured</summary> `node scripts/pm/dispatch-gates.mjs --commands` derived 68 commands for the 8 changed paths. Each ran with its exit code recorded before any pipe, and `--ran` answered: `68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)`. - 67 commands: exit 0. - NOT MEASURED: `pnpm check:dual-build-cjs-loads`, reason: exit 3, `PREREQUISITE NOT MET`. It reads the `dist/` of every package, and this tree built only the three packages above. The diff changes no package source, so this one is CI's. - Outside the derived list, run because the order names them: `check:skill-examples`, `check:skill-refs`, the `platform-catalog` test and the eval reader's dry run. - `pnpm --dir ui run check:skill-eval-tokens` exits 0, but it scans the `skills/objectui` bundle only. It is no reading about the fixtures this PR edits. - `pnpm check:dev-prereqs` (local-only family) exits 1: 63 of 110 packages have no `dist/` here, which is the targeted build above and nothing about this diff. </details> <details> <summary>Does any gate check the examples for a missing or misplaced placement? No.</summary> - `check:skill-examples` type-checks the marked TypeScript blocks. An action with no `locations` compiles. - `check:skill-served-sections` parses the JSON fences with the spec schema. `locations` is optional there. - `action-no-placement` and `object-action-layout-not-placed` are `@objectstack/lint` rules. They run in `os validate`, `os build` and `os lint` over a whole stack, and no gate feeds them the skill examples. One-off probe (not committed): it reads the `defineAction` blocks of `rules/actions.md`, the Actions JSON fence of `SKILL.md` and the `actionLayout` example at a git ref, builds a stack from them, and calls `validateActionLocations` and `validateObjectActionLayout` from the built `@objectstack/lint`. | Ref | `action-no-placement` | `object-action-layout-not-placed` | |:--|:--|:--| | `origin/main` (`f72f3353`) | 7 | 2 (`record.pinned[0]`, `record.more[0]`) | | `27cb6e21` (examples unchanged at `a7aee8ef`) | 1 (`crm_create_campaign`) | 0 | `crm_create_campaign` has never carried `locations`: a list view's `bulkActions` places it by name, and the probe's stack has no view. </details> ## Acceptance notes - **PR 1's changeset is not edited.** It says an action copied from one of the six examples needs its `locations` added. This PR's changeset says that it replaces that note. Both ship in the same release. - **The branch.** The remote branch was absent when this run started: `git ls-remote` listed no such head, and `refs/pull/37947/head` still held `78295ae3`. The work starts from `78295ae3` plus a real merge of `main` (`b8b31cca`), and the first push created the branch again, with no force. - **NOT MEASURED: a skill-evals round** (the with-skill and no-skill pass rates), reason: it needs a Claude Code login and model calls, and it is not a merge gate. - **Case 3's token.** `'record'` is single-quoted, as the file's other code tokens are. An answer that writes `['record_page', 'record_row']` is valid metadata and fails the token. The old token, `record_header`, had the same limit. - **Not changed, outside this card:** `rules/actions.md` line 3 says "the six types", and the Action Types table it links to has seven rows. `content/docs/protocol/objectui/actions.mdx` says the console does not draw `record_related` yet, while `RelatedRecordActionsBridge.tsx` reads it; this is a reading of the source and was not exercised. - **Main moved after the merge.** `origin/main` went from `f72f3353` to `93fa9118` during the run (two commits: `packages/runtime`, a changeset, and the lockfile and workspace files). Neither touches a file of this PR, and the branch was not merged again. At `a7aee8ef`, `origin/main` is `6e06729a`; `git merge-tree` with it is clean and the PR reads `mergeable_state: clean`. ## Verification Read first, by risk: 1. `skills/objectstack-ui/rules/actions.md`: the location table hunk, and the `locations` line of each of the five examples (the word chosen for the three header-only ones). 2. `scripts/check-skills-token-ratchet.mjs`: the two raises, the `rules/actions.md` row (3844 to 3918) and the `skills/objectstack-ui/SKILL.md` row (2256 to 2262). 3. `skills/objectstack-ui/evals/views-apps-actions-pages.json`: case 3's `must_contain`. Two-minute check: run `git grep -nE "record_header|record_more|list_item|list_toolbar" -- skills/`. Expect exactly one line, `skills/objectstack-ui/rules/actions.md:28`, which begins "Until protocol 19:". ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (No schema is touched.) - [x] 2. Every name I added uses the casing for its kind. (No name is added.) - [ ] 3. No formatter ran; `pnpm lint` passes. (No formatter ran. `pnpm lint` is CI's run and was not run locally.) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (Not touched; `check:skill-docs` and `check:skill-refs` are in sync.) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. (The maintainer's rulings are quoted in their own words, and the quick-read section is the house form.) - [ ] The *Before Submitting* list in CONTRIBUTING.md is done. (All but `pnpm lint`, as item 3.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6 --------- Co-authored-by: Claude <noreply@anthropic.com>
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Requested by Tesla · project thread
Part of #37895
This is PR 1 of 2 on that card. It lands before #36495 (draft PR #37929), so that #37929's
check:skill-examplesandcheck:skill-served-sectionsgo green. PR 2, the teaching of the new words, stays behind #36495.Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Six checked examples in the published skills drop their
locationskey. Eight old words leave compiled text; no word is added. (A seventh,ask_about_contractinskills/objectstack-ai/SKILL.md, left with C1s #37937, which deleted its whole Ask AI block; see the update below.)skills/objectstack-ui/SKILL.mdmark_done, § Actions, JSON fence 1record_headerskills/objectstack-ui/rules/actions.mdcrm_reassign_lead(os:check)record_header,list_itemskills/objectstack-ui/rules/actions.mdcrm_convert_lead(os:check)record_header,list_itemskills/objectstack-ui/rules/actions.mdcrm_print_a3(os:check)record_headerskills/objectstack-ui/rules/actions.mdcrm_open_invoice_pdf(os:check)record_headerskills/objectstack-ui/rules/actions.mdcrm_add_invoice_line(os:check)record_headerTwo more files move because the gates measure them as owed:
scripts/check-skills-token-ratchet.mjs: two rows follow their files down to the measurement (2264 to 2256, 3890 to 3844). The gate refuses a ceiling above its file's measurement. Theobjectstack-airow ismain's own (6609) after the merges below..changeset/37895-skills-action-examples-no-location-key.md: apatchfor@objectstack/skills, which ships the catalog.Not changed: every sentence, the location table (
actions.mdlines 17 to 26), theactionLayoutparagraph,actions.mdline 222,skills/objectstack-formula/SKILL.md,skills/objectstack-ui/rules/record-page.mdand the eval fixtures. None of them is compiled, and they are PR 2's.Why
On #37929's branch the action location vocabulary is
list,record,record_page,record_row,record_related,record_section. On main it islist_toolbar,list_item,record_header,record_more,record_related,record_section. The only words both accept arerecord_relatedandrecord_section, and neither means a record-header button. So each example drops the key instead of taking a word with a different meaning.Size of the published skills
skills/objectstack-ai/SKILL.mdskills/objectstack-ui/SKILL.mdskills/objectstack-ui/rules/actions.mdSKILL.mdfilesNet change under
skills/: 1 line added, 7 removed. Tokens are the ratchet's own count,ceil(utf8 bytes / 4)with the release-stamp line left out.Tests
Update at head
78295ae3. Two real merges ofmain(d7c3960e, thene5898ad9on4de4e3e9) and one changeset commit. Net diff againstmain: 4 files, +18 / −8,skills/net −5. The twoobjectstack-uirows measure 2256 and 3844 on the merged tree.check:skill-examplesexits 0 with 351 examples (the one that left is Ask AI).check:skill-served-sections, the ratchet and its--self-testexit 0. Merge delta reports are on #37895; the review records are on this PR. The size table and readings below are the first measurement and still count theobjectstack-airow.The readings below are at head
661e8e90, on basef926dfab(origin/main when the worktree was made).Main-based tree: the two spec gates and the token ratchet
pnpm --filter @objectstack/spec run check:skill-examples: exit 0.352 prose examples type-check across 3 surface(s).pnpm --filter @objectstack/spec run check:skill-served-sections: exit 0.24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.node scripts/check-skills-token-ratchet.mjs: exit 0.61 authored bundle file(s) within their ceilings. Before the three rows moved it was exit 1,3 of 114 published bundle file(s) failed their check, each row above its measurement (by 8, 8 and 46).node scripts/check-skills-token-ratchet.mjs --self-test: exit 0.111 cases pass.pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts(the one test file that names the ratchet script):Test Files 1 passed (1),Tests 20 passed (20).#37929's branch at e3b2ea9: red before these edits, green with them
Method: a second worktree, detached at
e3b2ea95.@objectstack/spec,@objectstack/clientand@objectstack/client-reactwere built there (turbo, 47 tasks). The gates ran once on the untouched tree, as the control. Then this PR'sskills/diff was applied withgit apply, and the gates ran again. The twoobjectstack-uifiles were byte-identical to this PR's head after the apply.check:skill-served-sections: exit 1.skills/objectstack-ui/SKILL.md § Actions: JSON fence 1 is refused as Action: locations.0.check:skill-examples: exit 1. EightTS2322errors, atskills/objectstack-ai/SKILL.md:189:15andskills/objectstack-ui/rules/actions.md69:15, 69:32, 96:15, 96:32, 180:15, 205:15, 239:15.check:skill-served-sections: exit 0.10 JSON fence(s) parse and pass their spec validators.check:skill-examples: exit 0.352 prose examples type-check across 3 surface(s).The token ratchet on that tree stays red on that branch's own three rows until main, with this PR in it, is merged there. That is not a reading about this PR.
Derived gate families: 68 derived, 67 run, 1 not measured
node scripts/pm/dispatch-gates.mjs --commandsderived 68 commands for the 5 changed paths. Each was run with its exit code recorded before any pipe, and--rananswered:68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).pnpm check:dual-build-cjs-loads, reason: exit 3,PREREQUISITE NOT MET. It reads thedist/of every package and this tree built only the three packages above. The diff changes no package source, so this one is CI's.check:skill-examplesis outside the derived list; it was run because the order names it.Acceptance notes
locationsnor a list view naming it renders nowhere, and the Ask AI paragraph still says to declare the action inlocations. An action copied from one of these seven examples as it stands draws theaction-no-placementwarning atos validateand no button. No sentence was added to say so: the order set a budget of zero added lines and no new word. PR 2 gives each of the six examples its placement again, in the new words. Carrier: PR 2 on this card.locationsback, those three files grow again. The ratchet's header gives one path for a row to go up: restatement cut from the same file first, then the measured remainder, with the standing ruling quoted in the PR body.4de4e3e9) deleted the whole Ask AI block. The mergee5898ad9keepsmain'sskills/objectstack-ai/SKILL.mdbyte for byte, so this PR no longer touches that file, and the ratchet row staysmain's 6609.git grepfor the four retired words underskills/still finds prose, the location table and eval fixtures. They are not compiled and they are PR 2's.f926dfabtoa3c229eaduring the run. None of the five files changed there andgit merge-treereports a clean merge. The readings above were not repeated on the merged tree.Verification
Read first, by risk:
skills/objectstack-ui/SKILL.md, the hunk at line 136. This JSON is served to clients by the hosted door, and it is the one example in a section whose headline is that a write button needs a placement.skills/objectstack-ui/rules/actions.md, the hunks at lines 69 and 96. Each dropped two words, a header placement and a row placement.scripts/check-skills-token-ratchet.mjs, the three rows. Each new number is the gate's own measurement.Two-minute check, no build needed:
pnpm --filter @objectstack/spec run check:skill-served-sections. Expect the last line to end with10 JSON fence(s) parse and pass their spec validators.and exit 0.Human Minimum
packages/specholds no runtime logic. (No schema changes.)pnpm lintis CI's on this PR.main, one pull request.packages/spectouched: not touched.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6