regenerate omp port from pi base via port-to-omp
Checks now self-register through the static barrel (src/checks/all.ts) like the pi base: the ?mtime registry-split workaround is gone, check modules and tests are byte-identical to the base, and registration happens in one module graph instance under omp's extension loader.
This commit is contained in:
@@ -29,10 +29,10 @@ import {
|
||||
} from "../src/agent-runner.js";
|
||||
import { handleCheckCommand, type PygieniumCtx } from "../src/commands.js";
|
||||
import { loadRunState } from "../src/run-state.js";
|
||||
import { check as complexityCheck } from "../src/checks/complexity.js";
|
||||
import { check as deadCodeCheck } from "../src/checks/dead-code.js";
|
||||
import { check as deepModulesCheck } from "../src/checks/deep-modules.js";
|
||||
import { check as defensiveGuardsCheck } from "../src/checks/defensive-guards.js";
|
||||
import { complexityCheck } from "../src/checks/complexity.js";
|
||||
import { deadCodeCheck } from "../src/checks/dead-code.js";
|
||||
import { deepModulesCheck } from "../src/checks/deep-modules.js";
|
||||
import { defensiveGuardsCheck } from "../src/checks/defensive-guards.js";
|
||||
|
||||
/** Agent runner that simulates the MagniFluo bug: ok, empty, no writes. */
|
||||
const noopRunner: AgentRunner = async () => ({
|
||||
@@ -41,7 +41,7 @@ const noopRunner: AgentRunner = async () => ({
|
||||
});
|
||||
|
||||
function stubCtx(cwd: string): PygieniumCtx {
|
||||
return { cwd, hasUI: false, ui: undefined } as PygieniumCtx;
|
||||
return { cwd, mode: "print", hasUI: false, ui: undefined } as PygieniumCtx;
|
||||
}
|
||||
|
||||
describe("verify hooks fail loudly on empty agent output", () => {
|
||||
|
||||
Reference in New Issue
Block a user