docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai - #14819

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause
Sep 3, 2026
Merged

docs(skills): the AI domain has no CEL site — correct the os validate clause in objectstack-ai#14819
os-zhuang merged 1 commit into
mainfrom
claude/issue-14797-ai-skill-cel-predicate-clause

Conversation

@os-litant

Copy link
Copy Markdown
Collaborator

Fixes#14797

One clause in skills/objectstack-ai/SKILL.md, under Verify your work, told an author that os validate CEL-checks a model-registry prompt template. It does not, and there is no CEL site anywhere in the AI domain. Three lines change; nothing else in the file moves.

Before / after — verbatim

Before (:404-408 at 5a5336b399):

It confirms the skill / tool / model metadata conforms to the protocol and that
any CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`; `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

After (:404-408 at 90670f2b4a):

It confirms the skill / tool / model metadata conforms to the protocol. This
domain has no CEL site — a model-registry `promptTemplate.system` / `.user` is
the `template` dialect (`{{var}}`); `ToolSchema` carries no expression field of
any kind. In a scaffolded project the gate is `npm run validate`. See
objectstack-platform → **Verify your work**.

Lines 3, 4 and 5 of the paragraph are byte-identical to before — the ToolSchema clause, the npm run validate sentence and the platform pointer are kept exactly as they were, and the diff is 3 insertions(+), 3 deletions(-) in one file.

Every claim, cited — read in this branch, not recalled

ClaimSource
promptTemplate.system / .user are TemplateExpressionInputSchemapackages/spec/src/ai/model-registry.zod.ts:121-122
Their own .describe() text says "supports {{var}} interpolation"same two lines
TemplateExpressionInputSchema is dialect template: a bare string becomes { dialect: 'template', source }packages/spec/src/shared/expression.zod.ts:116-124 (doc comment :116-120, union :121-124)
predicate occurs 0 times in the model registrygrep -c 'predicate' packages/spec/src/ai/model-registry.zod.ts = 0
ToolSchema carries no expression field of any kind — the clause keptgrep -Eic 'cel|formula|expression' packages/spec/src/ai/tool.zod.ts = 0
Those two keys are the ONLY Expression-typed sites in the whole AI domaingrep -rn 'ExpressionInputSchema|ExpressionSchema|PredicateSchema|PredicateInputSchema' packages/spec/src/ai/ returns exactly three lines — the import at model-registry.zod.ts:4 and the two uses at :121-122. 22 files in packages/spec/src/ai/, no other hit.
CEL is a real dialect elsewhere, so the domain claim is a measurement and not a definitionpackages/spec/src/shared/expression.zod.ts:99-101ExpressionInputSchema is the one whose bare-string shorthand is dialect: 'cel'

What os validate actually does here — checked, not assumed

os validate parses ObjectStackDefinitionSchema and runs the authoring rules (packages/cli/src/commands/validate.ts:7-16 imports, :39-41 description). Two readings matter for this clause:

  • The expression-validation rule enumerates its own scope in its header — flow predicates, FLOW_NODE_EXPRESSION_PATHS slots, object validation-rule / formula predicates, and UI action visible / disabled predicates (packages/lint/src/validate-expressions.ts:4-17, scope table :34-44). Grepping that file for promptTemplate, modelRegistry, knowledgeSource or an ai/ path returns nothing: no AI slot is expression-validated.
  • So for this domain the gate's contribution is protocol/shape conformance, which is what the retained first sentence already says. The new text therefore makes no claim about a check that does not exist — it only corrects what the two keys are.

One thing the card asked for that the tree does not support

The card and the triage both proposed also naming "the 5-field cron at packages/spec/src/ai/knowledge-source.zod.ts:28" as the domain's other expression-typed site. Measured at 5a5336b399, it is not one. The field is cron: z.string().optional() at packages/spec/src/ai/knowledge-source.zod.ts:33 — a plain string; :28 is the doc comment that calls it 5-field. It is absent from the ExpressionSchema grep above. Writing "and the cron on knowledge sources" into a sentence about expression checking would have replaced one false claim with another of the same class, so it is omitted. The omission also keeps this paragraph consistent with skills/objectstack-ai/SKILL.md:332, which already tells the author that agents / tools / skills are the only AI stack collections and that knowledge sources have none.

Token accounting — shrink, per the lane rule

Convention is the ratchet's own: ceil(utf8 bytes / 4) (scripts/check-skills-token-ratchet.mjs:184, TOKEN_CONVENTION).

BytesTokensLines
skills/objectstack-ai/SKILL.md before21,9035,476417
skills/objectstack-ai/SKILL.md after21,9005,475417
Delta-3-10

Package total is the same delta — this is the only file touched, and no new file is added. The paragraph itself went 358 B to 355 B, so the new clause is shorter than the one it replaces rather than merely neutral. No re-wrap of untouched lines: the line count is unchanged and only the three lines shown above differ. The ceiling row is untouched (['skills/objectstack-ai/SKILL.md', 6806], scripts/check-skills-token-ratchet.mjs:286); lowering it is permitted but not required by the script's own discipline note at :85-87.

Fence census — nothing moved

The file's os:check machinery all sits above the edit, so it cannot have shifted. Measured both sides:

Fence linesos:check markers
Before31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241
After31, 37, 94, 115, 181, 185, 242, 258, 399, 40293, 241

The fenced os validate comment at :400# Zod schema + CEL predicate validation + bindings (no artifact) — is deliberately not touched: it describes the command platform-wide, where CEL validation is real, and it is not this domain claim.

Edit-landed-on-disk proof

ProbeBeforeAfter
grep -c 'CEL predicate parses' skills/objectstack-ai/SKILL.md10
grep -c 'no CEL site' skills/objectstack-ai/SKILL.md (injected text)01
grep -c 'ToolSchema' skills/objectstack-ai/SKILL.md44
grep -c 'npm run validate' skills/objectstack-ai/SKILL.md11

Gates — all at head 90670f2b4a

The union was re-derived after the last edit with node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands, which reported gate list derived from the tree of 'objectstack-ai/objectstack' at commit 90670f2b4a and 16 commands over the 1-path change set. Every one was run; exit codes captured by redirect before any pipe.

GateExitIts own verdict line
node scripts/check-skills-token-ratchet.mjs0✓ check-skills-token-ratchet: skills/objectstack-ai/SKILL.md is 5475 tokens (ceiling 6806; headroom 1331). and ✓ … 36 authored bundle file(s) within their ceilings
node scripts/check-skills-token-ratchet.mjs --self-test0✓ check-skills-token-ratchet self-test: 64 cases pass.
node scripts/check-ci-filter-parity.mjs0OK: all 133 declared cross-package glob(s) (93 unique) are covered …
node scripts/check-cross-package-test-inputs.mjs0OK: 25 package(s) read outside themselves, all declared …
node scripts/check-shard-attestation.mjs0✓ check-shard-attestation: 2 aggregate gate(s) count 3 declared leg(s) across 3 attesting job(s).
node scripts/check-test-completeness.mjs3PREREQUISITE NOT MET — this gate grades a saved 'turbo run test' log, and no log was named. NOT MEASURED — the log is produced by the CI test run, which this gate cannot produce.
pnpm --filter @objectstack/lint run check:doc-formula-expressions0✓ check:doc-formula-expressions (spec TSDoc, #6763): 9 @example(s) judged clean across 1120 packages/spec/src files
pnpm --filter @objectstack/spec run check:skill-docs0✅ Skill docs in sync
pnpm check:agent-test-spelling0✓ check-agent-test-spelling: 0 violations — 430 file(s) …
pnpm check:corpus-claim-drift0Scanned: 224 .md/.mdx file(s) … Rules: 4 row(s) … (no violations)
pnpm check:cross-package-test-inputs0All 117 self-test cases passed. / OK: 25 package(s) …
pnpm check:doc-authoring0✓ doc authoring guard: 14546 customer-facing string(s) across 710 spec sources clean
pnpm check:pm-governed-merges0✓ check-governed-merges --self-test: 243 assertions …
pnpm check:role-word0Scanned: 224 .md/.mdx file(s) read across 2 root(s) — content/docs 190, skills 34. (no violations)
pnpm check:skill-compatibility0✓ check-skill-compatibility-version: 11 SKILL.md file(s) reconciled against 79 workspace packages
pnpm check:skill-frame-sync0✓ check-skill-frame-sync: 4 copies of the decision frame are structurally isomorphic across 3 files
pnpm check:skill-identifier-liveness0check-skill-identifier-liveness OK — Leg 1: 465 citation(s) over 46 published file(s) … Leg 2: 8 registered exhaustive section(s), 0 ledgered gap(s).

Named in the dispatch and run although the derivation did not list them:

GateExitIts own verdict line
pnpm --filter @objectstack/spec check:skill-examples0✅ 256 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them
node scripts/check-nul-bytes.mjs0check-nul-bytes: OK (scanned 8070 text file(s) … no raw ASCII control bytes).

Three gates first answered PREREQUISITE NOT MET (exit 3) or refused, and were re-run to a real verdict rather than reported as red: check-ci-filter-parity and check-shard-attestation wanted pnpm install in the fresh worktree, and check:doc-formula-expressions / check:skill-examples wanted compiled output. Builds went through the shared lock (OS_VERIFY_LOCK_SLOT=issue-14797) — pnpm --filter @objectstack/spec --filter @objectstack/formula build, then turbo run build --filter=@objectstack/lint --filter=@objectstack/client-react --filter=@objectstack/client --concurrency=2 — both ending os-verify-lock: VERDICT command-exit 0, 34/34 turbo tasks successful. The rows above are the post-build runs. check-test-completeness is the one that stays NOT MEASURED; only CI can feed it.

ESLint — a measured total, not a narrowing

Three pieces, each read from ESLint rather than assumed:

  1. Population, from the config itself. All 7 files: blocks in eslint.config.mjs (:971, :1015, :1054, :1103, :1172, :1212, :1238 via COMMENT_SWALLOW_FILES at :785) are scoped to {ts,tsx,mts,cts,js,jsx,mjs,cjs}. grep -n '\.md\|mdx' eslint.config.mjs returns 0 hits — Markdown is not in the linted population at all.
  2. Count, from --format json.pnpm exec eslint --no-inline-config --format json skills/objectstack-ai/SKILL.md exits 0 with "errorCount":0 and the message File ignored because no matching configuration was supplied. So 0 of the 1 changed paths are lintable, and the run over the change set is complete rather than narrowed.
  3. Invariance for untouched files. The config states at :328 that there is (no parserOptions.project, no typed @typescript-eslint rules) for ANY block, and the grep confirms only parserOptions: { ecmaVersion, sourceType }. With no type-aware program there is no cross-file coupling, and this diff edits no config, manifest, tsconfig or TS/JS source — so it cannot move any untouched file's verdict.

Labels

skip-changeset: this PR releases nothing. The change set is one path under skills/**, and scripts/check-empty-changeset.mjs:359-362 enumerates that case in its own words — It releases nothing (.github/, .claude/, skills/, docs/, content/, examples/, tests-only, and the like) -> delete the changeset and apply the 'skip-changeset' label (route 2). The gate pins exactly this shape as GREEN 3 at :559-568: "a skills/**-only PR carrying NO changeset (route 2) … must be green here". No package version moves, so no changeset file is added.

needs:contract-review: the rewritten clause asserts what the AI surfaces are and what the author-time gate does with them.

Review posture

Draft, and it stays draft — governed skills/**, human merge is the review record. Not flipped ready, not enqueued, no auto-merge, no reviewers requested.

Out of scope and untouched, as the triage directed: skills/README.md:105 (PR #14795 holds it), and the reference index SKILL_MAP#14462 is a different defect and is not addressed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1


Generated by Claude Code

… clause
`skills/objectstack-ai/SKILL.md` told an author that `os validate` checks "any
CEL predicate parses and resolves — in this domain that is a model-registry
`promptTemplate.system` / `.user`". Those two keys are
`TemplateExpressionInputSchema` (`packages/spec/src/ai/model-registry.zod.ts`
:121-122), which `packages/spec/src/shared/expression.zod.ts:121-124` defines as
the `template` dialect — `{{var}}` interpolation, not CEL, not a predicate.
`predicate` occurs 0 times in `model-registry.zod.ts`, and those two keys are
the only Expression-typed sites anywhere in `packages/spec/src/ai/`.
The true half of the sentence is kept verbatim: `ToolSchema` carries no
expression field of any kind (`ai/tool.zod.ts` matches `cel|formula|expression`
0 times). The `npm run validate` sentence and the platform pointer are kept.
The fenced comment above the paragraph is untouched — it describes the command
platform-wide, not this domain.
Shrink-or-neutral: 21,903 B -> 21,900 B (5,476 -> 5,475 tokens at
`ceil(utf8/4)`), 417 lines unchanged, no re-wrap of untouched lines.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
@github-actionsgithub-actionsBot added size/xs documentation Improvements or additions to documentation labels Sep 3, 2026
@os-litantos-litant added skip-changeset PR has no user-facing published change; bypasses the changeset gate needs:contract-review labels Sep 3, 2026 — with Claude
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/xsskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants

@os-litant@os-zhuang@claude