Repository navigation
feat(omarchy): the verb uses the shared verdict pipeline — expect_non_zero + the step-level matchers (R3) - #2
Conversation
…_zero + the step-level exit_status/stdout/stderr matchers (R3) The omarchy verb hand-rolled a weaker exit-0-only check: it never applied the step-level matchers (op.ExitStatus / op.Stdout / op.Stderr), so a bed's stdout/stderr assertions were silently unenforced. The verb now mirrors plugin-command's canonical verdict pipeline: expect_non_zero asserts the command FAILED (any non-zero exit — the CLI-rejects-X class); otherwise the exact exit code (exit_status, default 0); then the shared sdk.MatchAll stdout/stderr matchers. The step-level modifiers ride the base #Op — the verb never re-implements them. Unit proof: 9 tests covering the verdict pipeline (expect_non_zero, exit_status, stdout/stderr matchers).
Review — BLOCKHead SHA: Change class: code/config — Go verb logic ( Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Blocks
Non-blocking notes
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go verb logic ( Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Blocks
Non-blocking notes
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — Go verb logic ( Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Blocks
Resolved (prior findings, now satisfied)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go verb logic ( Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Blocks
Resolved (prior findings, now satisfied)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Checklist: All applicable rules PASS or NA. Prior BLOCK findings re-derived against the CURRENT state and resolved:
SDD satisfied: Verdict: PASS ollama/deepseek-v4-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives. Checklist: All applicable rules PASS or NA. Prior BLOCK findings re-derived against the CURRENT state and resolved:
SDD satisfied: Verdict: PASS ollama/deepseek-v4-flash — action-review. |
* chore: trigger the tag-on-merge port CI * ci(omarchy): install the org-wide tag-on-merge dispatcher (the plugin-omarchy repo was missing it) The repo's merges went untagged (PR #2 merged with no tag, so the eval-omarchy golden's plugin-omarchy pin could not resolve). The workflow is the org-wide dispatcher - ported verbatim from plugin-check (R3, one canonical copy). --------- Co-authored-by: atrawog <[email protected]>
Summary
The omarchy verb now uses the shared verdict pipeline (R3 — mirrors plugin-command):
Before: the verb hand-rolled a weaker exit-0-only check that never applied the step-level matchers — a bed's stdout/stderr assertions were silently unenforced (a latent defect in the merged verb).
How tested (pasted)
The live proof (the golden VM, the new plugin loaded, the omarchy self-checks in the plan) — ZERO failures:
The changed paths executed live against a real omarchy system: the verb ran the installed CLI (exit=0 + the stdout matcher passed) and asserted the CLI's failure behavior (exit=127 + the stderr matcher passed). The earlier 1-failed run was the record plugin absent from the test plugin dir — fixed by loading it; the clean run is pasted.
The unit suite:
9 tests cover the verdict pipeline: RunsCommand, NonZeroExitFails, EmptyArgsFails, ExpectNonZeroPasses, ExpectNonZeroFailsOnZero, ExitStatusMatcher (exit 1 with exit_status 1 → pass; exit 0 with exit_status 1 → fail), StdoutMatcher (contains pass/fail), StderrMatcher.
Rulebook compliance
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)