diff --git a/packages/opencode/src/question/index.ts b/packages/opencode/src/question/index.ts index 38acf58e8f..ef871c8aa4 100644 --- a/packages/opencode/src/question/index.ts +++ b/packages/opencode/src/question/index.ts @@ -8,16 +8,20 @@ import { QuestionID } from "./schema" const log = Log.create({ service: "question" }) -// Schemas +// Schemas — these are pure data; nothing checks class identity (see PR +// description) so they're plain `Schema.Struct` + type alias. That lets +// `Question.ask` and other internal sites trust the type contract without a +// re-decode to coerce nested class instances. -export class Option extends Schema.Class