ReviewOS

also looking at this

stacks/uplink

feat: let a text switch one thread between Claude and Codex

#52
Merged glennmichael123 wants to merge feat/per-thread-engine into main
16 files +316 -27
app/Models/Run.tsmodified+12-0
Changes to app/Models/Run.ts
@@ -110,5 +110,17 @@ export default defineModel({
110110 validation: { rule: schema.number() },
111111 factory: () => Date.now(),
112112 },
113
114 /**
115 * Which agent answered. Nullable rather than defaulted: rows written
116 * before a thread could choose predate the question, and calling them all
117 * Claude would be a guess recorded as a fact.
118 */
119 engine: {
120 order: 14,
121 fillable: true,
122 validation: { rule: schema.enum(['claude', 'codex']) },
123 factory: faker => faker.helpers.arrayElement(['claude', 'codex']),
124 },
113125 },
114126} as const)