Skip to content

Commit 1d2c752

Browse files
committed
fix(orca-core): remove read-only QC skip that broke pappy evaluation
1 parent 0fabecf commit 1d2c752

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

packages/orca-core/src/runtime.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,17 +266,9 @@ export function createOrcaRuntime(deps: OrcaRuntimeDeps): OrcaRuntime {
266266
result: maestroResult,
267267
});
268268

269-
// Skip QC on pure read-only results — no files were written and no tools
270-
// failed, so there is nothing for Pappy to verify. Saves one round-trip
271-
// and the repair loop on tasks like "read this file and explain it".
272-
const isReadOnlyResult =
273-
qcEnabled &&
274-
(!maestroResult.filesChanged || maestroResult.filesChanged.length === 0) &&
275-
(!maestroResult.toolEvents || maestroResult.toolEvents.every((e) => e.ok !== false));
276-
277-
if (!qcEnabled || isReadOnlyResult) {
269+
if (!qcEnabled) {
278270
recordTrace("qc.skipped", {
279-
reason: !qcEnabled ? "pappy_not_configured" : "read_only_result",
271+
reason: "pappy_not_configured",
280272
});
281273
result = {
282274
status: "SUCCESS",

0 commit comments

Comments
 (0)