Split out of #10581 (member of sweep #10616) — the sweep fixes the 22 instances; this card records the CLASS.
Observation
packages/spec/scripts/check-skill-examples.ts compiles {/* os:check */} fenced blocks in content/docs/**, so nonexistent identifiers and type errors are caught. But author-time lint rules enforced by os validate (packages/lint/**) never run over those blocks. Measured consequence: 22 ObjectSchema.create() examples omitted sharingModel — z.enum([...]).optional() with no .default(), so the omission type-checks clean, while os validate rejects it as severity: 'error' (SECURITY_OWD_UNSET, packages/lint/src/validate-security-posture.ts:266-281). A reader copying a canonical docs example gets a failing os validate with no hint from the page.
Shape of a fix (for grading, not a ruling)
Run the relevant packages/lint author-time rules (or full os validate) over os:check blocks that construct authorable metadata (ObjectSchema.create at minimum). Producer is the spec-lane docs-gate toolchain (packages/spec/scripts/**), hence domain:spec (same anchoring as #10457).
Grading questions for first touch
Back-links: #10581, #10616, #10563. Dedupe: semantic search zero-hit, channel verified against #10563.
Split out of #10581 (member of sweep #10616) — the sweep fixes the 22 instances; this card records the CLASS.
Observation
packages/spec/scripts/check-skill-examples.tscompiles{/* os:check */}fenced blocks incontent/docs/**, so nonexistent identifiers and type errors are caught. But author-time lint rules enforced byos validate(packages/lint/**) never run over those blocks. Measured consequence: 22ObjectSchema.create()examples omittedsharingModel—z.enum([...]).optional()with no.default(), so the omission type-checks clean, whileos validaterejects it asseverity: 'error'(SECURITY_OWD_UNSET,packages/lint/src/validate-security-posture.ts:266-281). A reader copying a canonical docs example gets a failingos validatewith no hint from the page.Shape of a fix (for grading, not a ruling)
Run the relevant
packages/lintauthor-time rules (or fullos validate) overos:checkblocks that construct authorable metadata (ObjectSchema.createat minimum). Producer is the spec-lane docs-gate toolchain (packages/spec/scripts/**), hencedomain:spec(same anchoring as #10457).Grading questions for first touch
Back-links: #10581, #10616, #10563. Dedupe: semantic search zero-hit, channel verified against #10563.