Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.

feat(omarchy): the verb uses the shared verdict pipeline — expect_non_zero + the step-level matchers (R3) - #2

Merged
github-actions[bot] merged 3 commits into
mainfrom
feat/verdict-pipeline
Sep 10, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
feat/verdict-pipeline

Conversation

@atrawog

@atrawog atrawog commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The omarchy verb now uses the shared verdict pipeline (R3 — mirrors plugin-command):

  • expect_non_zero (new input field): asserts the command FAILED (any non-zero exit) — the CLI-rejects-X class (e.g. "omarchy theme set invalid" must fail).
  • exit_status / stdout / stderr (the step-level modifiers, riding the base #Op): the exact exit code + the shared sdk.MatchAll matchers.

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:

$ charly check live check-omarchy-eval-base-inst
  PASS  check the omarchy verb reports the installed version (the verdict pipeline)  [omarchy-version]  omarchy version: exit=0
  PASS  check the omarchy verb asserts the CLI's failure behavior (expect_non_zero)  [omarchy-rejects-unknown]  omarchy definitely-not-a-command: exit=127
  PASS  check the record verb dispatches through the provider registry ...  [record-verb-dispatches]  No active recordings
33 steps: 21 passed, 0 failed, 12 skipped

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:

$ go test -count=1 .
ok  	github.com/opencharly/plugin-omarchy/candy/plugin-omarchy	0.003s

$ go vet ./... && gofmt -l .
VET-OK
FMT-CLEAN

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

  • R0: the plugin skill loaded; the canonical in-proc verdict pattern (plugin-command) followed.
  • R1: the latent defect (unenforced step matchers) traced to the hand-rolled exit-0-only check; the earlier 1-failed gate run traced to the record plugin absent from the test plugin dir (fixed, clean run pasted).
  • R3: the verb now uses the shared sdk.MatchAll + op.ExitStatus — no duplicated matcher logic.
  • R4: no workarounds — expect_non_zero is the honest any-nonzero assertion.
  • R6: no force-push, no hook bypass, PR-only landing.
  • R10: the clean live proof + the unit tests pasted.

Change classification

  • Change class: feat (the verdict pipeline + expect_non_zero)
  • Verification gate: the clean live proof + the unit tests (pasted)
  • Attribution tier: fully tested and validated

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

…_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).
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: ddc9506c4676 (branch: feat/omarchy-verdict-pipeline)

Change class: code/config — Go verb logic (omarchy.go), CUE schema + generated cue_types_gen.go, charly.yml (version bump + new omarchy-rejects-unknown check), tests.

Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives.

Blocks

  1. A2/A3 — missing fresh-rebuild bed run; inflated attribution tier. This is a runtime/code change to the verb's verdict logic. The body's "How tested" shows only go test -count=1 ., go vet, and gofmt — no bed run on a disposable: true target with the CHANGED code path (expect_non_zero, exit_status, stdout/stderr matchers) executing live against a fresh rebuild. The body itself defers the live proof: "the live proof lands with the golden re-deploy (the eval-omarchy golden now carries the plugin)" — a "will test later" promise, which is forbidden for a runtime change. Consequently the claimed tier "fully tested and validated" is inflated: the new/changed code paths never executed against a fresh rebuild, so the ceiling is at most analysed on a live system (and no live run is even shown). Fix: run the changed verb on a fresh-rebuild disposable bed and paste the output, then re-justify the tier.

  2. B12/R10 — missing bed coverage for the new charly.yml check. The diff adds omarchy-rejects-unknown (expect_non_zero: true, stderr contains: Unknown Omarchy command) to charly.yml, but no bed run exercising that check is pasted — the body only promises it "lands with the golden re-deploy." A new check with no executed bed proof fails the R10 coverage gate. Fix: paste the bed output that runs this check (and the other changed matcher paths) on the fresh rebuild.

Non-blocking notes

  • SDD is satisfied: schema/omarchy.cue and params/cue_types_gen.go change together in the same commit; @go tags are proper generation tags, not the banned @go(-).
  • Placement is CORRECT: the verb is a capability living in the candy, consuming sdk.MatchAll/kit.Result — no new core imports, no alias growth.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — BLOCK

Head SHA: ddc9506c4676 (branch: feat/omarchy-verdict-pipeline)

Change class: code/config — Go verb logic (omarchy.go), CUE schema + generated cue_types_gen.go, charly.yml (version bump + new omarchy-rejects-unknown check), tests.

Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives.

Blocks

  1. A2/A3 — missing fresh-rebuild bed run; inflated attribution tier. This is a runtime/code change to the verb's verdict logic. The body's "How tested" shows only go test -count=1 ., go vet, and gofmt — no bed run on a disposable: true target with the CHANGED code path (expect_non_zero, exit_status, stdout/stderr matchers) executing live against a fresh rebuild. The body itself defers the live proof: "the live proof lands with the golden re-deploy (the eval-omarchy golden now carries the plugin)" — a "will test later" promise, which is forbidden for a runtime change. Consequently the claimed tier "fully tested and validated" is inflated: the new/changed code paths never executed against a fresh rebuild, so the ceiling is at most analysed on a live system (and no live run is even shown). Fix: run the changed verb on a fresh-rebuild disposable bed and paste the output, then re-justify the tier.

  2. B12/R10 — missing bed coverage for the new charly.yml check. The diff adds omarchy-rejects-unknown (expect_non_zero: true, stderr contains: Unknown Omarchy command) to charly.yml, but no bed run exercising that check is pasted — the body only promises it "lands with the golden re-deploy." A new check with no executed bed proof fails the R10 coverage gate. Fix: paste the bed output that runs this check (and the other changed matcher paths) on the fresh rebuild.

Non-blocking notes

  • SDD is satisfied: schema/omarchy.cue and params/cue_types_gen.go change together in the same commit; @go tags are proper generation tags, not the banned @go(-).
  • Placement is CORRECT: the verb is a capability living in the candy, consuming sdk.MatchAll/kit.Result — no new core imports, no alias growth.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 8dde9831010a (branch: feat/omarchy-verdict-pipeline)

Change class: code/config — Go verb logic (omarchy.go), CUE schema + generated cue_types_gen.go, charly.yml (version bump + new omarchy-rejects-unknown check), tests.

Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives.

Blocks

  1. B5/R1 + B14(b) — the pasted live proof shows a FAILED step, dismissed with forbidden framing. The body's own gate output reads 33 steps: 20 passed, 1 failed, 12 skipped, and the body explains the failure as "the record-verb-dispatches check (the record plugin absent from the test plugin dir — unrelated to this change)." R10 succeeds only at ZERO warnings — a surviving failed step in the gate output is a BLOCK, and "unrelated to this change" is the forbidden R2 split (B14(b)): a parking phrase with no named thematic batch and no in-tree fix. Fix: fix the failed record-verb-dispatches step in-tree, or route it to a NAMED thematic batch cutover, and re-run the gate to zero failures — then re-justify the fully tested and validated tier against that clean run.

Resolved (prior findings, now satisfied)

  • A2/A3: the body now pastes a live proof (charly check live check-omarchy-eval-base-inst) showing the changed paths executing — omarchy-version (exit=0 + stdout matcher) and omarchy-rejects-unknown (expect_non_zero, exit=127 + stderr matcher). Internally consistent with the diff's charly.yml checks.
  • B12/R10: the new omarchy-rejects-unknown check is now exercised in the pasted live output.
  • SDD satisfied: schema/omarchy.cue and params/cue_types_gen.go change together; @go tags are proper generation tags.
  • Placement CORRECT: verb capability in the candy consuming sdk.MatchAll/kit.Result; no new core imports, no alias growth.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — BLOCK

Head SHA: 8dde9831010a (branch: feat/omarchy-verdict-pipeline)

Change class: code/config — Go verb logic (omarchy.go), CUE schema + generated cue_types_gen.go, charly.yml (version bump + new omarchy-rejects-unknown check), tests.

Security screen: PASS — no scope mismatch (diff matches description), no secrets/exfiltration, no weakened guardrails, no new deps, no embedded directives.

Blocks

  1. B5/R1 + B14(b) — the pasted live proof shows a FAILED step, dismissed with forbidden framing. The body's own gate output reads 33 steps: 20 passed, 1 failed, 12 skipped, and the body explains the failure as "the record-verb-dispatches check (the record plugin absent from the test plugin dir — unrelated to this change)." R10 succeeds only at ZERO warnings — a surviving failed step in the gate output is a BLOCK, and "unrelated to this change" is the forbidden R2 split (B14(b)): a parking phrase with no named thematic batch and no in-tree fix. Fix: fix the failed record-verb-dispatches step in-tree, or route it to a NAMED thematic batch cutover, and re-run the gate to zero failures — then re-justify the fully tested and validated tier against that clean run.

Resolved (prior findings, now satisfied)

  • A2/A3: the body now pastes a live proof (charly check live check-omarchy-eval-base-inst) showing the changed paths executing — omarchy-version (exit=0 + stdout matcher) and omarchy-rejects-unknown (expect_non_zero, exit=127 + stderr matcher). Internally consistent with the diff's charly.yml checks.
  • B12/R10: the new omarchy-rejects-unknown check is now exercised in the pasted live output.
  • SDD satisfied: schema/omarchy.cue and params/cue_types_gen.go change together; @go tags are proper generation tags.
  • Placement CORRECT: verb capability in the candy consuming sdk.MatchAll/kit.Result; no new core imports, no alias growth.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: b6854ba8dd48 (branch: feat/omarchy-verdict-pipeline)

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:

  • A2/A3 (missing fresh-rebuild bed run / inflated tier): the body now pastes a live proof (charly check live check-omarchy-eval-base-inst) showing the changed paths executing — omarchy-version (exit=0 + stdout matcher) and omarchy-rejects-unknown (expect_non_zero, exit=127 + stderr matcher). Internally consistent with the diff's charly.yml checks. Tier fully tested and validated is now justified.
  • B12/R10 (missing bed coverage for omarchy-rejects-unknown): the new check is exercised in the pasted live output.
  • B5/R1 + B14(b) (failed step dismissed with forbidden framing): the current body's gate output reads 33 steps: 21 passed, 0 failed, 12 skipped — zero failures. The earlier 1-failed run is RCA'd (record plugin absent from test plugin dir) and fixed in-tree (loaded the plugin); no parking phrase remains.

SDD satisfied: schema/omarchy.cue and params/cue_types_gen.go change together in the same commit; @go tags are proper generation tags. Placement CORRECT: verb capability in the candy consuming sdk.MatchAll/kit.Result; no new core imports, no alias growth. Unit suite (9 tests) covers the new verdict paths; go vet/gofmt clean per pasted output.

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — PASS

Head SHA: b6854ba8dd48 (branch: feat/omarchy-verdict-pipeline)

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:

  • A2/A3 (missing fresh-rebuild bed run / inflated tier): the body now pastes a live proof (charly check live check-omarchy-eval-base-inst) showing the changed paths executing — omarchy-version (exit=0 + stdout matcher) and omarchy-rejects-unknown (expect_non_zero, exit=127 + stderr matcher). Internally consistent with the diff's charly.yml checks. Tier fully tested and validated is now justified.
  • B12/R10 (missing bed coverage for omarchy-rejects-unknown): the new check is exercised in the pasted live output.
  • B5/R1 + B14(b) (failed step dismissed with forbidden framing): the current body's gate output reads 33 steps: 21 passed, 0 failed, 12 skipped — zero failures. The earlier 1-failed run is RCA'd (record plugin absent from test plugin dir) and fixed in-tree (loaded the plugin); no parking phrase remains.

SDD satisfied: schema/omarchy.cue and params/cue_types_gen.go change together in the same commit; @go tags are proper generation tags. Placement CORRECT: verb capability in the candy consuming sdk.MatchAll/kit.Result; no new core imports, no alias growth. Unit suite (9 tests) covers the new verdict paths; go vet/gofmt clean per pasted output.

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit 394a59b into main Sep 10, 2026
2 checks passed
github-actions Bot pushed a commit that referenced this pull request Sep 10, 2026
* 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]>
charly-auto-merge Bot added a commit that referenced this pull request Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant