Pipeline Verify.hs: deterministic build verification

t-603.5·WorkTask·
·
·
·Omni/Pipeline.hs
Parent:t-603·Created4 days ago·Updated4 days ago

Description

Edit

Create Omni/Pipeline/Verify.hs - deterministic build verification.

Depends on: Omni/Pipeline/Core.hs, Omni/Pipeline/Git.hs

Replaces the LLM reviewer with deterministic bild calls.

Functions:

  • verifyTask :: FilePath -> Text -> Text -> Maybe Text -> IO VerifyResult

-- (workspace, taskId, baseBranch, maybeNamespace) -- Checks: branch shape (exactly 1 commit), bild, bild --test -- Returns: Pass | Fail Text | Skip Text

  • verifyOnBase :: FilePath -> Maybe Text -> IO VerifyResult

-- (workspace, maybeNamespace) -- Post-integration verification on live. Just runs bild + tests, no branch shape check.

Internal helpers:

  • checkBranchShape :: FilePath -> Text -> Text -> IO (Either Text ())

-- ensures exactly 1 commit between base and task branch

  • runBild :: FilePath -> Text -> IO BildResult

-- data BildResult = BildPass | BildFail Int Text | BildNotBuildable -- exit 0 = pass, exit 2 = not buildable, other = fail

Verify: typecheck.sh Omni/Pipeline/Verify.hs

Timeline (1)

🔄[human]Open → Done4 days ago