Context
src/schema/result.ts carries a workaround, added in the 2026-09-04 regeneration (#93). The published JSON Schema document is generated from RunResultDocument — a Schema.Struct — rather than from the RunResult class, because core drops a Schema.Class's own title/description when it hoists the class into $defs. Both are built from one shared fields object, so nothing is duplicated, but the second export exists only to work around the upstream gap.
Upstream: spencerbeggs/effected#606.
Removal condition
When a Schema.Class's annotations reach its encoded definition — whether fixed in Effect core, carried by StoreDocument.fromSchema, or exposed as a SchemaTarget annotation override:
Re-audit this on every @effected/* bump, per B7's rider and the shim register's own re-audit rule.
Context
src/schema/result.tscarries a workaround, added in the 2026-09-04 regeneration (#93). The published JSON Schema document is generated fromRunResultDocument— aSchema.Struct— rather than from theRunResultclass, because core drops aSchema.Class's owntitle/descriptionwhen it hoists the class into$defs. Both are built from one sharedfieldsobject, so nothing is duplicated, but the second export exists only to work around the upstream gap.Upstream: spencerbeggs/effected#606.
Removal condition
When a
Schema.Class's annotations reach its encoded definition — whether fixed in Effect core, carried byStoreDocument.fromSchema, or exposed as aSchemaTargetannotation override:title/descriptionannotations ontoRunResultand deleteRunResultDocument.SchemaTargetinlib/scripts/generate-schema.tsback atRunResult.$ref), so this needs aRESULT_SCHEMA_VERSIONbump, not an in-place rewrite — the generator's gate will refuse otherwise, which is the intended behavior.src/schema/result.tsand the paragraph indocs/04-output-schema.md.RunResultDocumentassertions in__test__/unit/schema/result.test.tsin spirit: the published document must still carry a roottitleand adescriptionending in a documentation URL.Re-audit this on every
@effected/*bump, per B7's rider and the shim register's own re-audit rule.