Skip to content

chore(evals): author skill evals for event-storming, machine-health, skill-quality (6 skills) - #137

Merged
kyle-sexton merged 8 commits into
mainfrom
chore/evals-event-storming-machine-health-skill-quality
Jul 13, 2026
Merged

kyle-sexton merged 8 commits into
mainfrom
chore/evals-event-storming-machine-health-skill-quality

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Jul 13, 2026 •

Copy link
Copy Markdown
Member

Authors rich-form evals/evals.json for six skills across three plugins — one file per skill under plugins/<plugin>/skills/<skill>/evals/evals.json — conforming to the bundled schema plugins/skill-quality/reference/evals.schema.json and modeled on the bug-report rich-form example.

Each set targets trigger/routing, the happy path, at least one refusal/guardrail, and one anti-pattern (4-6 cases each).

Per-skill warrant re-check

Re-checked against the current shipped SKILL.md on origin/main. All six warrant evals — no skips.

Skill Warrant (judgment-bearing contract exercised)
event-storming/methodology format-recommendation routing, Miro-availability gate (skip, don't error), Brandolini source-authority precedence, methodology↔simulation boundary
event-storming/simulation simulate↔methodology routing, Miro-absent structured-markdown degradation, existing-board modes require Miro, never-auto-advance-formats, state under CLAUDE_PLUGIN_DATA
machine-health/machine-health OS routing (UNKNOWN+stop on macOS/Linux), elevation → UNKNOWN not a UAC prompt, surface-over-silently-fix, no-interactive-prompts, append-only history
machine-health/setup read-state-first idempotency, minimal overlay, explicit-approval-only remediations, never edit shipped catalog/install dir, report_dir → plugin config
skill-quality/skill-quality check↔validate-evals routing, absent-evals is not a failure, surface FAIL verbatim / hand-verify refs, not-for-authoring, outside-git-repo env error
skill-quality/setup conventional-location persists nothing, non-default confirm-then-persist, never resolve an unconfirmed location, strict-JSON (no comments), scoped to config not audit

Version bumps

Evals ship as a plugin component, so each touched plugin is version-bumped (minor, matching prior evals-PR precedent):

  • event-storming 0.1.0 → 0.2.0
  • machine-health 0.2.0 → 0.3.0
  • skill-quality 0.1.0 → 0.2.0

Validation

All six validated against the bundled schema with check-jsonschema (ok -- validation done for each). Authored against current shipped behavior; the owning retrofits (simulation miro-reconcile, machine-health behavior/cadence, skill-quality runner/contract) update their own skill's eval if they change behavior.

Refs melodic-software/medley#1454


Note

Low Risk
Additive eval JSON and manifest version bumps only; no production logic or security-sensitive behavior changes.

Overview
Adds rich-form evals/evals.json under six skills in event-storming (methodology, simulation), machine-health (machine-health, setup), and skill-quality (skill-quality, setup). Each file has 4–6 cases with prompts, expected_output, and expectations, encoding routing, happy paths, guardrails, and anti-patterns (e.g. Miro gates, Brandolini precedence, fail-safe audit posture, setup overlay vs plugin config).

Minor version bumps in each touched plugin manifest: event-storming 0.1.0→0.2.0, machine-health 0.2.0→0.3.0, skill-quality 0.1.0→0.2.0, matching prior evals-only releases. No skill runtime or checker script changes in this diff.

Reviewed by Cursor Bugbot for commit 118abe6. Bugbot is set up for automated code reviews on this repo. Configure here.

…skill-quality (6 skills)

Add rich-form evals/evals.json for six skills across three plugins, one file
per skill, conforming to plugins/skill-quality/reference/evals.schema.json and
modeled on the bug-report rich-form example. Each set targets trigger/routing,
the happy path, at least one refusal/guardrail, and one anti-pattern.

Per-skill warrant re-check (against current shipped SKILL.md on origin/main) —
all six warrant evals; no skips:

- event-storming/methodology: format-recommendation routing, Miro-availability
  gate (skip, don't error), Brandolini source-authority precedence, the
  methodology-vs-simulation boundary.
- event-storming/simulation: simulate-vs-methodology routing, Miro-absent
  structured-markdown degradation, existing-board modes require Miro,
  never-auto-advance-formats, state persists under CLAUDE_PLUGIN_DATA.
- machine-health/machine-health: OS routing (UNKNOWN+stop on macOS/Linux),
  elevation returns UNKNOWN not a UAC prompt, surface-over-silently-fix,
  no-interactive-prompts, append-only history.
- machine-health/setup: read-state-first idempotency, minimal overlay,
  explicit-approval-only remediations, never edit shipped catalog/install dir,
  report_dir routes to plugin config.
- skill-quality/skill-quality: check-vs-validate-evals routing, absent-evals
  is not a failure, surface FAIL verbatim / hand-verify refs, not-for-authoring,
  outside-git-repo env error.
- skill-quality/setup: conventional-location persists nothing, non-default
  confirm-then-persist, never resolve an unconfirmed location, strict-JSON
  (no comments), scoped to config not audit.

Bump each touched plugin's version (evals ship as a component): event-storming
0.1.0 -> 0.2.0, machine-health 0.2.0 -> 0.3.0, skill-quality 0.1.0 -> 0.2.0.

All six validated against the bundled schema with check-jsonschema.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_bb606a5b-981d-4966-8224-4786df7084da)

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

PR Review in Progress

  • Read changed files and gather context
  • Review eval JSON files against schema
  • Check skill behavior alignment (warrant re-check)
  • Review plugin.json version bumps
  • Check for schema conformance and structural issues
  • Final review summary

View job run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab46ecd2cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ex P2)

Address two P2 review findings: both happy-path cases assumed an enabling
precondition without stating it, so a correct implementation in a no-Miro or
non-Windows eval environment would take the degradation / UNKNOWN-and-stop path
and false-fail the case.

- event-storming/simulation case 1: state that a Miro MCP server is connected,
  so the on-board Big-Picture-first path is exercised rather than the
  structured-markdown degradation path (the Miro-absent behavior is already
  covered by case 2).
- machine-health/machine-health case 1: state a Windows workstation, so the
  implemented catalog/orchestrator path is exercised rather than the macOS/Linux
  UNKNOWN-and-stop stub (the unsupported-OS behavior is already covered by case 2).

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_381688d5-b8a3-4f3f-8107-0006c25f6c0d)

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 162e6b815b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 2m 42s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files and gather context
  • Review eval JSON files against schema
  • Check SKILL.md alignment for each skill
  • Review plugin.json version bumps
  • Check for outstanding Codex P2 finding (skill-quality git error case)
  • Final review summary

Schema Conformance

All six evals.json files are structurally valid against plugins/skill-quality/reference/evals.schema.json. Required fields (skill_name, evals, id, prompt) are present; name fields are kebab-case; files: [] is legal per the schema. The rich-form fields (expected_output, expectations) are used consistently across all files.


SKILL.md Alignment — Per Skill

event-storming/methodology — 6 cases, all well-grounded:

  • Case 1 (recommend-big-picture-for-domain-discovery): correctly exercises the no-args interactive discovery flow and Brandolini's transition-funnel bias; aligns with SKILL.md:97.
  • Case 3 (miro-absent-skips-board-discovery-no-error): correctly targets the Miro availability gate ("skip board discovery entirely and go straight to Step 2 — do not error") at SKILL.md:38.
  • Case 4 (brandolini-wins-on-source-conflict): matches the source-authority hierarchy at SKILL.md:113–123. ✓

event-storming/simulation — 6 cases; the two fixes from 162e6b8 land cleanly:

  • Case 1 prompt now embeds "A Miro MCP server is connected" inline — this correctly targets the Miro-available path (Big Picture first per SKILL.md:69) without colliding with the Miro-absent case 2.
  • Case 3 (existing-board-mode-requires-miro): correctly identifies that --discover-bcs <url> requires Miro per SKILL.md:51–52. ✓
  • Case 5 (state-persists-outside-install-dir): aligns exactly with the cross-run state contract at SKILL.md:150–156. ✓

machine-health/machine-health — 6 cases; the Windows pinning fix in 162e6b8 is correct:

  • Case 1 prompt now includes "I'm on a Windows workstation" — aligns with the OS routing table at SKILL.md:60–64.
  • Case 3 (elevation-needed-returns-unknown-not-uac-prompt): matches the guardrail at SKILL.md:87. ✓
  • Case 6 (history-is-append-only): matches "Never rewrite history" at SKILL.md:99. ✓

machine-health/setup — 5 cases, all grounded:

  • Case 5 (report-dir-change-routes-to-plugin-configure): correctly exercises the setup skill's routing of report_dir to plugin config rather than the overlay — per SKILL.md:47–49 and the "What this skill does NOT do" section. ✓

skill-quality/setup — 5 cases, all grounded; case 4 (settings-json-is-strict-no-comments) correctly targets the strict-JSON constraint at SKILL.md:33. ✓


Outstanding Issue — skill-quality case 6 prompt framing (Codex P2, unresolved)

skill-quality/skills/skill-quality/evals/evals.json line 67

The Codex P2 comment from the prior review is still open. The prompt reads:

"Run the skill-quality check when the skills directory is not inside a git repository."

But the SKILL.md Gotchas section says:

"The script needs a git repository — several checks read git show HEAD: / git ls-files. Outside a repo it exits 2 (env error)."

"Outside a repo" means the process working directory when the script executes, not the location of the skills directory. A skills root sitting outside the git repo tree can still succeed if check-skill.sh is invoked from within a repo. The two scenarios are distinct:

Scenario exit 2?
Script invoked outside any git repo Yes — git rev-parse --show-toplevel fails
Script invoked inside git repo, skills dir elsewhere No — git commands succeed; CHECK_SKILL_SKILLS_ROOT still resolves

The expected output and expectations are correct (they describe the actual behavior accurately), but the scenario described in the prompt doesn't reliably produce exit 2, which could cause a valid implementation to fail this eval. Suggested fix for the prompt:

"Run the skill-quality check from outside a git repository (the working directory is not inside any git repo). What happens?"

Fix this →


Plugin Version Bumps

Plugin Before After
event-storming 0.1.0 0.2.0
machine-health 0.2.0 0.3.0
skill-quality 0.1.0 0.2.0

All three are minor version increments — correct for additive-only changes (new eval fixtures). Consistent with the precedent set by prior evals PRs.


Minor Observations (non-blocking)

  1. "files": [] on every case — valid per schema (no minItems on the files array), and consistently applied. Slightly verbose but not a problem; the schema intentionally leaves it open.

  2. skill_name: "setup" in both machine-health and skill-quality setup evals — not a schema violation; no uniqueness constraint exists across files. No action needed, but worth noting for future cross-plugin eval runners that aggregate by skill_name.

  3. Inline precondition pattern (cases 1 in simulation and machine-health) — embedding "Miro connected" / "Windows workstation" context into the prompt text is the right call for these rich-form evals where no separate context field exists in the schema. The approach is consistent with how other evals in this repo handle session-state preconditions.


Summary

The eval set is well-authored: schema-valid, SKILL.md-grounded, and the two Codex P2 findings from the prior review (Miro availability gate in simulation case 1, Windows OS pin in machine-health case 1) are correctly resolved in 162e6b8. The one remaining item is the prompt framing in skill-quality case 6, which describes a scenario that doesn't reliably produce the documented exit-2 env error — worth a one-line fix before merge.

…ntract (Codex P2)

Address a P2 review finding: case 6 framed the exit-2 env error as "skills
directory not inside a git repository", but check-skill.sh runs
`git rev-parse --show-toplevel` and exits 2 BEFORE resolving
CHECK_SKILL_SKILLS_ROOT — so the env error fires when the checker is INVOKED
from outside any git repo, not when the skills root merely lives outside the
repo (an external root invoked from inside the repo still passes the gate).

Reframe the prompt to "run the checker from outside a git repository" and pin
the expectation to the repo-root detection that precedes skills-root resolution.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_47023a85-81af-4a9a-af51-1a2c9168188a)

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 8s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files and gather context
  • Verify Codex P2 fix in commit 6f901f2 (skill-quality git-repo case)
  • Confirm all prior findings resolved
  • Final review summary

Codex P2 Resolution — skill-quality case 6

plugins/skill-quality/skills/skill-quality/evals/evals.json line 67

The fix in 6f901f2 is correct and precise. The three changes together close the gap:

Field Before After
prompt "…when the skills directory is not inside a git repository" "…from a working directory that is not inside any git repository" — correctly names the trigger condition
expected_output Attributed exit 2 to "checks that read git show HEAD / git ls-files" Correctly names git rev-parse --show-toplevel, clarifies it runs before CHECK_SKILL_SKILLS_ROOT resolution
expectation 3 "Output attributes the requirement to checks that read git history" "Output attributes the exit-2 gate to the git repo-root detection that runs before skills-root resolution, not to a skills directory merely living outside the repo" — explicitly closes the false-positive scenario

The third expectation is the sharpest part of the fix: it requires the evaluator to confirm the implementation distinguishes the two scenarios correctly (working-dir-outside-repo → exit 2; skills-root-outside-repo-but-invoked-inside → still passes). A correct implementation that only exits 2 on repo-root detection failure will pass this eval; one that exits 2 for any external skills root will fail it.


All Codex P2 Findings — Status

Commit Finding Resolved
162e6b8 Simulation case 1: no Miro-available precondition ✅ Prompt now states "A Miro MCP server is connected"
162e6b8 Machine-health case 1: OS not pinned ✅ Prompt now states "I'm on a Windows workstation"
6f901f2 Skill-quality case 6: wrong trigger condition (skills dir vs. working dir) ✅ Working-dir framing and git rev-parse mechanism correctly named

All three Codex P2 findings from the automated review are resolved. The six evals.json files are schema-valid, correctly grounded in their respective SKILL.md contracts, and the minor observations from the prior review (empty files: [] arrays, shared skill_name: "setup" across plugins) remain non-blocking with no schema violation.


Summary

The three-commit series (ab46ecd → 162e6b8 → 6f901f2) is complete and correct. No outstanding issues remain. The PR is clear to merge.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6f901f2f01

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

… (Codex P2)

Address a P2 review finding: case 4 only paraphrased a broken-internal-ref
failure, so "surface the FAIL line verbatim" was unachievable — a correct
response could only ask for/run the missing output. Embed a concrete
`FAIL: broken skill-internal ref: ... (cited at SKILL.md:42 ...)` line (matching
check-skill.sh's actual message format) directly in the prompt so the
verbatim-surfacing and hand-verify-before-editing behavior is graded against
output the case actually provides.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_06b91560-5376-48ef-82fe-d5840fc711bc)

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fff91c4f74

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…dex P2 x3)

Address three P2 review findings — all the same class: a happy-path case
assumed an enabling precondition or artifact the eval harness may not have, so
a correct implementation would take the precondition-failure / report-missing
path and false-fail the graded happy-path assertions.

- machine-health/machine-health case 1: pin PowerShell 7.4+ and writable
  report/state roots in the prompt (the skill verifies pwsh 7.4+ before the
  Windows orchestrator), and grade "does not fabricate a report if a
  prerequisite is actually unmet".
- skill-quality/skill-quality case 1 (check) and case 2 (validate-evals):
  a fresh harness has no `.claude/skills/my-skill`, so make the expectations
  tolerant of the correct absent-artifact behavior — route to the right action
  and, when the skill/evals file is absent, report the missing directory / file
  (offer setup) rather than fabricate a PASS or a validation result.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_a653e0ca-89cd-440e-bf57-828331b15b0a)

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 2m 8s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files at HEAD (07056e8)
  • Verify final Codex P2 fixes (PowerShell 7.4 pin, skill-quality happy-path fixture tolerance)
  • Review all six evals.json files for schema conformance and SKILL.md alignment
  • Check plugin.json version bumps
  • Final review summary

Codex P2 Resolution — commit 07056e8

Three P2 findings raised against fff91c4 are all resolved:

1. Pin audit happy path to PowerShell 7.4
machine-health/skills/machine-health/evals/evals.json line 7

Field Before (fff91c4) After (07056e8)
prompt Stated Windows workstation, silent on PowerShell version Now states "PowerShell 7.4+ installed and the report and state directories writable"
expected_output Described only the success path Now includes: "Were a prerequisite genuinely unmet, it would report that precondition failure rather than fabricate a report"
expectation 4 Missing the unmet-prereq clause Now: "does not fabricate a report if a prerequisite is actually unmet"

This correctly matches SKILL.md lines 36–66, which mandate #Requires -Version 7.4 enforcement and precondition verification before any orchestration step. A correct implementation that checks PowerShell version first will pass this eval whether or not 7.4+ is present. ✅

2. Provide a real skill for the check happy path
skill-quality/skills/skill-quality/evals/evals.json line 10

Expectations now include: "When the skills root or the my-skill directory is absent, output reports the missing directory (optionally offering /skill-quality:setup) rather than fabricating check results." A correct implementation in a fresh harness (no my-skill present) will surface the absent directory rather than invent a PASS, and this eval will grade that correctly. ✅

3. Back the schema happy path with an evals fixture
skill-quality/skills/skill-quality/evals/evals.json line 26

Expectations now include: "When my-skill or its evals/evals.json is absent, output reports the file is absent rather than fabricating a validation pass or failure." Correct — aligns with the SKILL.md warranted-not-mandatory policy. ✅


All Codex P2 Findings — Full Status

Commit Finding Resolved
162e6b8 Simulation case 1: no Miro-available precondition ✅ Prompt states "A Miro MCP server is connected"
162e6b8 Machine-health case 1: OS not pinned ✅ Prompt states "I'm on a Windows workstation"
6f901f2 Skill-quality case 6: wrong trigger condition (skills dir vs. working dir) ✅ Working-dir framing; git rev-parse mechanism pinned
fff91c4 Machine-health case 1: PowerShell version not pinned ✅ Prompt states "PowerShell 7.4+ installed and … writable"
fff91c4 Skill-quality case 1: no real skill fixture ✅ Expectations tolerate absent-directory report
fff91c4 Skill-quality case 2: no evals fixture ✅ Expectations tolerate absent-file report

All six P2 findings resolved across the five-commit series.


Schema Conformance

All six evals.json files conform to plugins/skill-quality/reference/evals.schema.json. Required fields (skill_name, evals, id, prompt) are present everywhere; name values are kebab-case matching ^[a-z0-9]+(-[a-z0-9]+)*$; "files": [] is legal (no minItems constraint on the array); expectations items are schema-permissive strings. No violations.


SKILL.md Alignment — Summary

All cases verified against current shipped SKILL.md on this branch:

Skill Cases Notable verifications
event-storming/methodology 6 Big Picture routing, Miro availability gate (skip→not error), Brandolini source hierarchy, no-args interactive flow vs. notation reference
event-storming/simulation 6 Miro-present Big Picture first; Miro-absent markdown degradation; existing-board requires Miro; user-driven format progression; ${CLAUDE_PLUGIN_DATA} state; Developer Conference default domain
machine-health/machine-health 6 Windows + PS 7.4+ happy path + graceful prereq-fail; UNKNOWN for macOS/Linux; elevation → UNKNOWN not UAC; fail-safe surface-over-fix; no interactive prompts; append-only history
machine-health/setup 5 Read-before-change idempotency; minimal overlay; explicit per-remediation approval; never edit shipped catalog; report_dir → plugin config not overlay
skill-quality/skill-quality 6 check→gate routing; validate-evals→schema path; absent evals ≠ failure; FAIL verbatim + hand-verify before editing; not-for-authoring; outside-git-repo → exit 2 via git rev-parse before skills-root resolution
skill-quality/setup 5 Conventional location persists nothing; non-default confirm-then-persist; never resolve unconfirmed; strict JSON (no comments); setup scopes to location, not audit

Plugin Version Bumps

Plugin Before After Type
event-storming 0.1.0 0.2.0 Minor ✅
machine-health 0.2.0 0.3.0 Minor ✅
skill-quality 0.1.0 0.2.0 Minor ✅

All minor bumps — correct for additive-only changes (new eval fixtures with no runtime changes). Consistent with prior evals-PR precedent.


Non-Blocking Observations

  1. "files": [] on every case — valid per schema; no minItems constraint. Slightly verbose but structurally sound.
  2. skill_name: "setup" in both machine-health and skill-quality — no schema uniqueness constraint across files. Worth noting for future cross-plugin eval runners that aggregate by skill_name, but not an issue today.

Summary

The five-commit series is complete and correct. All six Codex P2 findings are resolved, all six evals.json files are schema-valid, and each case is grounded in a specific contract clause from its skill's SKILL.md. Documentation and eval fixtures only — no production code, auth, or data-path changes. Clear to merge.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 07056e8e99

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ex P2)

Address a P2 finding: case 6 (--simulate, no domain) conflated the no-mode
"offer methodology reference" behavior with the no-domain case, and ignored
that --simulate always hits the Miro availability gate first. Refocus the case
on domain-defaulting ("Developer Conference") and make it honor the preflight
under either Miro state — proceed on-board when Miro is connected, offer the
structured-markdown / connect-and-retry degradation when absent — so it no
longer false-fails a correct preflight implementation.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_c154ea58-c219-40d6-9707-a85177504ec4)

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 52s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files at HEAD (4300bb4)
  • Verify final Codex P2 fix — bare --simulate case Miro preflight alignment
  • Confirm all prior Codex P2 findings resolved across the commit series
  • Schema conformance check on all six evals.json files
  • Plugin version bumps
  • Final review summary

Final Codex P2 Resolution — event-storming/simulation case 6 (4300bb4)

plugins/event-storming/skills/simulation/evals/evals.json lines 66–76

The fix is correct on all three changed fields:

Field Before After
expected_output Allowed "offer to read facilitation reference instead (/event-storming:methodology)" as a valid outcome for --simulate Now: domain defaults to "Developer Conference", then honors the Miro preflight under either Miro state
Expectation 1 "Output uses 'Developer Conference'…" "Output defaults the domain to 'Developer Conference'…" — same meaning, tighter phrasing
Expectation 3 "Output may offer the methodology reference path as an alternative to running the simulation" "Output honors the Miro preflight — proceeding on-board when Miro is available, or offering the structured-markdown / connect-and-retry degradation when Miro is absent — rather than assuming an unconditional board run"

The old expectation 3 was the defect: --simulate is unambiguously the simulation mode flag, not an ambiguous invocation that could route to methodology reference. A correct implementation that domain-defaults and runs the Miro preflight would have failed that expectation if it didn't also offer methodology routing — a false-positive grading failure. The new expectation correctly requires the Miro preflight contract instead, which is what any correct --simulate implementation must satisfy.


All Codex P2 Findings — Full Resolution

Commit Finding Resolved
162e6b8 Simulation case 1: no Miro-available precondition ✅ Prompt states "A Miro MCP server is connected"
162e6b8 Machine-health case 1: OS not pinned ✅ Prompt states "I'm on a Windows workstation"
6f901f2 Skill-quality case 6: wrong trigger condition (skills dir vs. working dir) ✅ "from a working directory that is not inside any git repository"; git rev-parse gate pinned
fff91c4 Skill-quality case 4: no verbatim FAIL line in prompt ✅ Prompt embeds a concrete FAIL: broken skill-internal ref: reference/big-picture.md (no such file under the skill dir; cited at SKILL.md:42 — hand-verify the line before fixing, may be an illustrative example)
07056e8 Machine-health case 1: PowerShell version not pinned ✅ Prompt states "PowerShell 7.4+ installed and the report and state directories writable"
07056e8 Skill-quality cases 1 & 2: no real skill/evals fixture ✅ Expectations tolerate absent-artifact response rather than demanding a fabricated PASS
4300bb4 Simulation case 6: offered methodology routing as valid outcome of --simulate ✅ Replaced with correct Miro preflight expectation

All seven Codex P2 findings resolved across the six-commit series.


Schema Conformance

All six evals.json files conform to plugins/skill-quality/reference/evals.schema.json. Checks:

  • skill_name (required string, minLength 1): present in all six files ✅
  • evals (required array, minItems 1): 5–6 cases each ✅
  • Each case id (integer or string): integer 1–N throughout ✅
  • Each case prompt (required string, minLength 1): all present ✅
  • name (optional kebab-case ^[a-z0-9]+(-[a-z0-9]+)*$): all 32 names pass the pattern ✅
  • expected_output (optional string): used in every case ✅
  • expectations (optional untyped array): used in every case ✅
  • files: [] (no minItems constraint): legal throughout ✅
  • No additionalProperties violations ✅

Plugin Version Bumps

Plugin Before After Type
event-storming 0.1.0 0.2.0 Minor ✅
machine-health 0.2.0 0.3.0 Minor ✅
skill-quality 0.1.0 0.2.0 Minor ✅

Correct minor increments for additive-only changes (new eval fixtures; no runtime behavior changes).


Summary

The six-commit series is complete and correct. All seven Codex P2 findings are resolved; all six evals.json files are schema-valid; every case is grounded in a specific, verifiable contract clause from its skill's SKILL.md. Documentation and eval fixtures only — no runtime scripts, orchestrators, or skill execution logic changed. Clear to merge.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4300bb4449

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…P2 x2)

Address two P2 findings on skill-quality/setup: both happy paths named a skills
directory the setup skill actively checks for existence (conventional
.claude/skills; non-default packages/agent/skills). A fresh eval harness has
neither, so a correct implementation searches/proposes (default absent) or
reports the root as unverified (non-default absent) rather than confirming.

- case 1 (conventional): grade "persist nothing when .claude/skills exists with
  skill subdirs", and tolerate the search/propose path when it is absent.
- case 2 (non-default): grade confirm-then-persist, and tolerate the
  verification reporting the root missing/unverified when it is absent, rather
  than claiming a verified configuration.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_45880f97-f21c-48ab-8df0-0f517d4ba400)

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 2m 5s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files at HEAD (5117db3)
  • Verify fix for skill-quality/setup cases 1 & 2 (Codex P2 x2)
  • Confirm all prior Codex P2 findings resolved
  • Final review summary

Codex P2 Resolution — skill-quality/setup cases 1 & 2 (5117db3)

plugins/skill-quality/skills/setup/evals/evals.json

Both P2 findings from the latest Codex review are resolved correctly:

Case 1 — conventional-location-persists-nothing (line 6)

Field Before After
expected_output Assumed .claude/skills exists; required the skill to confirm it and persist nothing Now conditional: grades "persist nothing" when the directory exists with skill subdirs, tolerates search/propose when absent
expectation 1 "Output detects the conventional location and confirms it resolves by default" — fails in a fresh harness where .claude/skills is absent "When the conventional .claude/skills directory exists with skill subdirs, output confirms it resolves by default and persists nothing" — conditional on actual presence
expectation 3 "Output does not write a skills_root option for the default" — only covered the persist-nothing path NEW: "If the conventional directory is absent, output reports/searches and proposes a candidate rather than confirming or persisting the default blindly" — covers the fresh-harness path

Grounded in SKILL.md steps 1 + 3: "If it exists and holds skill subdirectories… that is the answer — the conventional default, nothing to persist" / "Else search the repo… and propose the best candidate." ✅

Case 2 — non-default-location-confirm-then-persist (line 18)

Field Before After
expected_output Required verification to succeed (implicit: directory exists) Now explicitly tolerates: "If packages/agent/skills does not actually exist / enumerates no skills, the verification reports the root as missing or unverified"
expectation 1 "Output proposes/confirms the non-default location" — "proposes" was redundant since the user named it explicitly in the prompt "Output confirms the non-default location" — correctly removed the propose step (user already stated the path)
expectation 3 "Output verifies the result by running the checker against the confirmed root" — grades failure in a fresh harness where the directory is absent "Output verifies by running the checker against the confirmed root, and if that root is absent / enumerates no skills it reports it as missing or unverified rather than claiming a verified configuration" — tolerates the absent-root path

Grounded in SKILL.md steps 2 + 3 + 4: confirm in one decision → persist non-default → verify. The absent-root tolerance correctly handles the fresh-harness scenario where packages/agent/skills doesn't exist. The removal of "proposes" from expectation 1 is a precision improvement — the user named the path explicitly, so the SKILL.md step 1 candidate-search is skipped. ✅


All Codex P2 Findings — Complete Resolution

Commit Finding Resolved
162e6b8 Simulation case 1: no Miro-available precondition ✅ Prompt states "A Miro MCP server is connected"
162e6b8 Machine-health case 1: OS not pinned ✅ Prompt states "I'm on a Windows workstation"
6f901f2 Skill-quality case 6: wrong trigger condition (skills dir vs. working dir) ✅ "from a working directory that is not inside any git repository"; git rev-parse gate pinned
fff91c4 Skill-quality case 4: no verbatim FAIL line in prompt ✅ Prompt embeds concrete FAIL: broken skill-internal ref: … line
07056e8 Machine-health case 1: PowerShell version not pinned ✅ Prompt states "PowerShell 7.4+ installed and the report and state directories writable"
07056e8 Skill-quality cases 1 & 2: no real skill/evals fixture ✅ Expectations tolerate absent-artifact report
4300bb4 Simulation case 6: offered methodology routing as valid outcome of --simulate ✅ Replaced with correct Miro preflight expectation
5117db3 Skill-quality/setup case 1: conventional skills root not present in harness ✅ Expectations conditional on actual presence; tolerate absent-root path
5117db3 Skill-quality/setup case 2: non-default skills root not present in harness ✅ Expectations tolerate absent-root as missing/unverified rather than requiring fabricated confirm-good

All 9 Codex P2 findings resolved across the 7-commit series.


Summary

The 7-commit series is complete and correct. All nine Codex P2 findings are resolved; all six evals.json files are schema-valid; every case is grounded in a specific, verifiable contract clause from its skill's SKILL.md. Documentation and eval fixtures only — no runtime scripts, orchestrators, or skill execution logic changed. Clear to merge.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5117db3b8f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

… P2)

Address a P2 finding: case 3 asked to validate-evals "a skill that ships no
evals" without guaranteeing the skill directory itself exists, so a fresh
harness could report a missing skill target instead of the intended
warranted-not-mandatory no-evals path. Reframe as a contract question ("is an
existing-but-eval-less skill a validation failure?") so it tests the exact
absent-evals-is-not-a-failure contract without needing a concrete skill target.

Refs melodic-software/medley#1454
@cursor

cursor Bot commented Jul 13, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_78ee5228-1676-474f-aa09-cfa73c2eb7d1)

@claude

claude Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 39s —— View job


PR Review — chore(evals): skill evals for event-storming, machine-health, skill-quality

  • Read changed files at HEAD (118abe6)
  • Verify final Codex P2 fix — absent-evals case reframe (118abe6)
  • Confirm all prior Codex P2 findings resolved across the full commit series
  • Schema conformance check on all six evals.json files
  • Plugin version bumps
  • Final review summary

Final Codex P2 Resolution — skill-quality case 3 (118abe6)

plugins/skill-quality/skills/skill-quality/evals/evals.json lines 30–40

The final Codex P2 finding — "back absent-evals validation with a fixture" — is resolved cleanly via reframe rather than fixture:

Field Before (5117db3) After (118abe6)
prompt "validate-evals a skill that ships no evals/evals.json file" — an action prompt that requires the skill target to actually exist "When validate-evals is run on a skill that exists but ships no evals/evals.json file, is that a validation failure, and what should it report?" — a contract question that tests the policy without needing a concrete target
expected_output Described the warranted-not-mandatory behavior but needed a harness with the skill present to trigger it Now directly answers the contract question, explicitly covering an existing-but-eval-less skill
Expectations Used passive "reports absence of evals file" phrasing that implicitly assumed the file-locate attempt was made Now: "Output states that an existing skill without an evals/evals.json file is NOT a validation failure" — graded on stated policy, not on artifact presence

The contract-question pattern is the right call here. A correct implementation can answer "is an existing-but-eval-less skill a validation failure?" entirely from its understanding of the warranted-not-mandatory policy — no fixture needed, and no false-positive risk from a missing skill directory. The third expectation ("Output reflects the warranted-not-mandatory policy — validate-evals reports 'ships no evals' rather than failing") pins the grader to the specific language in the SKILL.md contract. ✅


All Codex P2 Findings — Complete Resolution

All ten P2 findings resolved across the 8-commit series:

Commit Finding Resolved
162e6b8 Simulation case 1: no Miro-available precondition ✅ Prompt states "A Miro MCP server is connected"
162e6b8 Machine-health case 1: OS not pinned ✅ Prompt states "I'm on a Windows workstation"
6f901f2 Skill-quality case 6: wrong trigger condition (skills dir vs. working dir) ✅ "from a working directory that is not inside any git repository"; git rev-parse gate pinned
fff91c4 Skill-quality case 4: no verbatim FAIL line in prompt ✅ Prompt embeds concrete FAIL: broken skill-internal ref: … line
07056e8 Machine-health case 1: PowerShell version not pinned ✅ Prompt states "PowerShell 7.4+ installed and the report and state directories writable"
07056e8 Skill-quality cases 1 & 2: no real skill/evals fixture ✅ Expectations tolerate absent-artifact report rather than demanding a fabricated PASS
4300bb4 Simulation case 6: offered methodology routing as valid outcome of --simulate ✅ Replaced with correct Miro preflight expectation
5117db3 Skill-quality/setup cases 1 & 2: fresh-harness happy paths ✅ Expectations conditional on directory presence; tolerate absent-root path
118abe6 Skill-quality case 3: absent-evals prompt requires concrete skill target ✅ Reframed as contract question — tests the policy, not a concrete run

Schema Conformance

All six evals.json files at HEAD conform to plugins/skill-quality/reference/evals.schema.json:

  • skill_name (required string, minLength 1): present in all six ✅
  • evals (required array, minItems 1): 5–6 cases each ✅
  • Each case id (integer): 1–N throughout ✅
  • Each case prompt (required string, minLength 1): all present ✅
  • name (kebab-case ^[a-z0-9]+(-[a-z0-9]+)*$): all pass the pattern ✅
  • expected_output (optional string): used consistently ✅
  • expectations (optional array): used consistently ✅
  • "files": [] (no minItems constraint): legal throughout ✅

Plugin Version Bumps

Plugin Before After Type
event-storming 0.1.0 0.2.0 Minor ✅
machine-health 0.2.0 0.3.0 Minor ✅
skill-quality 0.1.0 0.2.0 Minor ✅

All correct minor increments for additive-only changes (new eval fixtures; no runtime behavior changes).


Summary

The 8-commit series is complete and correct. All ten Codex P2 findings across the series are resolved; all six evals.json files are schema-valid; every case is grounded in a specific, verifiable contract clause from its skill's SKILL.md. Documentation and eval fixtures only — no runtime scripts, orchestrators, or skill execution logic changed. Clear to merge.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low. Not approving: Cursor Bugbot skipped (usage limit reached) and did not complete automated review. Human review is needed; no reviewers were assigned because no suitable non-author reviewers are available in this repository.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@kyle-sexton
kyle-sexton merged commit 3b1d628 into main Jul 13, 2026
4 checks passed
@kyle-sexton
kyle-sexton deleted the chore/evals-event-storming-machine-health-skill-quality branch July 13, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant