You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while verifying an unrelated plugin-tree change (objectui#8666). ⛔ Not graded, not assigned, and not touched by that PR — filed so it is not lost.
What is red
pnpm check:doc-examples exits 1 on a built tree at origin/main645087cd3:
UNDECLARED FAILURE packages/types/src/zod/imported-defaults.ts:318 stripImportedDefaults
[semantic] packages/types/src/zod/imported-defaults.ts:319:28 TS2304: Cannot find name 'stripImportedDefaults'.
Fix the example, or declare it: add a row keyed `packages/types/src/zod/imported-defaults.ts:318 stripImportedDefaults`
carrying codes [2304], a written reason and the card that owns it.
The same run's own census names the cause in its injection control:
injection 106 of 125 block(s) received the documented symbol's import; 4 documented symbol(s) are NOT on a public entry
not on a public entry: @object-ui/data-objectstack MetadataCache
not on a public entry: @object-ui/types safeValidateSchema
not on a public entry: @object-ui/types stripImportedDefaults
not on a public entry: @object-ui/types validateSchema
⇒ The gate injects the documented symbol's own import into each @example block so the block can compile. stripImportedDefaults is not exported from a public entry point, so no import is injected, and the block's second line references a name that is then undefined. The block itself reads fine to a human — the symbol it calls is the very symbol it documents.
Provenance — it is on main, not in the PR that found it
The finding branch's diff touches five files, zero of them under packages/types; git diff BASE --name-only -- packages/types returns nothing. The failing @example block is byte-identical at BASE.
The three sibling doc gates on the same built tree are green: check:doc-snippets (exit 0), check:readme-exports (exit 0), check:doc-types (exit 0). Only check:doc-examples is red, and only on this one block.
⚠️Read the gate on a BUILT tree only. Unbuilt, check:doc-snippets exits 2 and prints PRECONDITION NOT MET — the snippet program was NOT run, and check:readme-exports exits 1 with the population COLLAPSED -- this run proves nothing. Neither is a verdict about any document. The scoped build the gates ask for is pnpm exec turbo run build $(node scripts/check-doc-snippet-types.mjs --build-filter) --concurrency=2; it took 96s here, so this is cheap to reproduce and easy to misread without it.
Three routes, ⛔ not a ruling
Put the symbol on a public entry — correct only if stripImportedDefaults is meant to be public API. It is a spec-import-boundary helper, so that is a real question and not a formality.
Rewrite the block so it does not call the undeclared name (e.g. show the call as prose, or document the exported binding the helper produces).
Declare the row in the ledger with a written reason and an owning card, which is the escape hatch the gate's own message offers.
The other three not on a public entry symbols (MetadataCache, safeValidateSchema, validateSchema) are in the same position but are not currently failing; whichever route is taken should say whether it covers them, because they are one @example edit away from the same red.
What is NOT claimed
⛔ No priority and no severity. Whether this blocks CI depends on the lint workflow's gate list, which was not read.
Found while verifying an unrelated
plugin-treechange (objectui#8666). ⛔ Not graded, not assigned, and not touched by that PR — filed so it is not lost.What is red
pnpm check:doc-examplesexits 1 on a built tree atorigin/main645087cd3:The same run's own census names the cause in its
injectioncontrol:⇒ The gate injects the documented symbol's own import into each
@exampleblock so the block can compile.stripImportedDefaultsis not exported from a public entry point, so no import is injected, and the block's second line references a name that is then undefined. The block itself reads fine to a human — the symbol it calls is the very symbol it documents.Provenance — it is on main, not in the PR that found it
645087cd3, which isorigin/main's tip: "fix(types): strip the imported defaults at the spec import boundary — this mirror authors no default, imported subschemas included (objectui#8317) (fix(types): strip the imported defaults at the spec import boundary — this mirror authors no default, imported subschemas included (objectui#8317) #8721)".packages/types;git diff BASE --name-only -- packages/typesreturns nothing. The failing@exampleblock is byte-identical atBASE.check:doc-snippets(exit 0),check:readme-exports(exit 0),check:doc-types(exit 0). Onlycheck:doc-examplesis red, and only on this one block.check:doc-snippetsexits 2 and printsPRECONDITION NOT MET — the snippet program was NOT run, andcheck:readme-exportsexits 1 withthe population COLLAPSED -- this run proves nothing. Neither is a verdict about any document. The scoped build the gates ask for ispnpm exec turbo run build $(node scripts/check-doc-snippet-types.mjs --build-filter) --concurrency=2; it took 96s here, so this is cheap to reproduce and easy to misread without it.Three routes, ⛔ not a ruling
stripImportedDefaultsis meant to be public API. It is a spec-import-boundary helper, so that is a real question and not a formality.The other three
not on a public entrysymbols (MetadataCache,safeValidateSchema,validateSchema) are in the same position but are not currently failing; whichever route is taken should say whether it covers them, because they are one@exampleedit away from the same red.What is NOT claimed
check:doc-examples, and whether fix(types): strip the imported defaults at the spec import boundary — this mirror authors no default, imported subschemas included (objectui#8317) #8721 introduced the block or merely made it reachable.Filed by the dev seat working objectui#8666, under the shared agent identity; the session that measured it is
session_01YBWFb5YgMU5dw8p2VKj16S.