Skip to content

docs(event-storming): cut the C -style ICommand IQuery examples from design-level - #17468

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16798-44560120974-1
Nov 19, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16798-44560120974-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16798

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Row count: 1. F0191 (R11, K7), plugins/event-storming/skills/methodology/reference/design-level.md:323,325: cut. The parenthetical ICommand<T> / IQuery<T> "or equivalent" examples are deleted from the Command and Query/Read Model rows of the "Relationship to Your Architecture" table, with no replacement. The table is not a routing site, and the section's own lines 317 and 329-331 already tell the reader to use the project's own base types. Kept rows: none. Script-reader search: a repository-wide content search for the fixed string design-level.md (the lane's equivalent of git grep -n -F 'design-level.md' -- plugins scripts .github) found only markdown readers: plugins/event-storming/CHANGELOG.md:366, plugins/event-storming/skills/methodology/SKILL.md:169 and :191, and plugins/event-storming/skills/simulation/reference/simulation-evaluation.md:63. No script reads the file. A search of plugins/event-storming for ICommand|IQuery found only the two cut lines. Eval cases that read the cut text: for the changed skill methodology, none. No case under plugins/event-storming/evals prompts for a mapping from Design-Level stickies to code or tactical patterns; searches for design-level, architecture, handler, tactical, ICommand and codebase found only format-choice samples. Whole page or part: design-level.md is a partial cut (two table cells), and the page stays. AC10: no enforcement-placing skill is added. A patch changelog fragment records the change.

Not verified

  • Eval run (before/after targeted case, sensitivity or detection control) is the host session's work per the issue, so it was not run here. A detection control applies, since the cut is partial.
  • The ai-slop deterministic detector (detect.sh) was not run: the lane allows only the named wrappers in Bash. The rubric was applied by reading the changed lines instead.
  • check-affected skipped typos (not installed), comment-hygiene (needs a network fetch the sandbox denied) and size-check (script absent in the lane checks tree). Its CI-only checks (portability-lint, evals-quality, eval-cases and others) are left to the PR's CI.
  • Optional review nit not taken: design-level.md:331 says "base types and namespaces", and "namespaces" leans toward C#/C++. It is not a listed row and not a tool, library or command name, so it is out of scope for this cut.
  • Changes left uncommitted in the working tree, as the lane instructions require; the runner turns them into the patch.

Fix

  • plugins/event-storming/skills/methodology/reference/design-level.md: removed the C#-style ICommand<T> / IQuery<T> "or equivalent" examples from the Command and Query/Read Model rows of the architecture table (row F0191, partial cut)
  • .changes/event-storming/work-resolve-issue-issue-16798-44560120974-1-79b8672f.md: new patch changelog fragment, under Changed, describing the cut

Verification

The runner ran each check from the base copy against adaf2eb:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • Grep for design-level.md across the repository (lane plugins excluded): only markdown readers (CHANGELOG.md:366, methodology/SKILL.md:169,191, simulation-evaluation.md:63), no script
  • Grep for ICommand|IQuery in plugins/event-storming: only the two cut lines before the edit
  • Grep of plugins/event-storming/evals for design-level|architecture|handler|tactical|ICommand|codebase: no case reads the cut table text
  • check-changelog-fragments: all 6 fragments valid (run before and after tidy)
  • check-changed-skills: methodology PASS, 0 errors, 4 warnings that predate this change (description length, body length, no Gotchas, numbered procedures with no completion criteria)
  • check-affected: 14 passed, 9 skipped (typos not installed; comment-hygiene fetch failed for lack of network; size-check script absent; checks that run the checked tree's own code)
  • Fresh-context review subagent over the diff: no defects; table reads correctly, no leftover references, fragment well-formed and accurate
  • tidy-diff over the 3 changed hunks: both files are markdown, so passes 1-3 do not apply; passes 4 (write-for-agents, write-for-humans) and 5 (ai-slop rubric by reading) made no edits
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44560120974

Left out: the items under Not verified.

Related

#16798

Lane-Activity: work-resolve-issue/resolve-issue
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 19, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Held for the before-and-after eval that cut item #16798 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed adaf2eb999fa52bf08e70ed154ed91a65a48352a: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found. I read both changed files in full.

  • plugins/event-storming/skills/methodology/reference/design-level.md: the change takes the ICommand<T> and IQuery<T> example interface names out of two cells of the architecture mapping table. It is reference prose in a skill. I checked it under the instruction-surface lens: the cut removes example names, not a rule, so no guardrail or protected-class instruction is deleted, narrowed or softened.
  • .changes/event-storming/...79b8672f.md: a new patch changelog fragment, plain prose only.

None of the changed files match a trusted-path glob. The diff touches no trust control, merge hold, token scope, workflow or plugin manifest. The PR context contains no embedded directives aimed at this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed adaf2eb999fa52bf08e70ed154ed91a65a48352a: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This pull request deletes the C#-style ICommand<T> / IQuery<T> "or equivalent" examples from the Command and Query/Read Model rows of the "Relationship to Your Architecture" table in plugins/event-storming/skills/methodology/reference/design-level.md. It also adds a patch changelog fragment.

  • Correctness: the table at head (lines 320-327) is still well-formed. The text around it still says the concrete type and interface names depend on your stack (line 317) and still tells the reader to use the project's own base types (lines 329-331). Without the examples, the rows read as generic tactical patterns, and no reference to the removed text is left behind.
  • Closing issue Cut the model-read ecosystem specifics from event-storming #16798: row F0191 is cut with no replacement. That matches R11's rule for a spot that is not a routing site. The PR body gives the row count (1), the row id with its outcome, the script-reader search, the eval cases that read the cut text (none), and says this is a partial cut, not a whole page. AC10 holds: no skill is added. The eval evidence (a detection control for this partial cut) is assigned to a host session after the PR opens, so it is not expected here. The criteria are documentation and PR-body checks with no behavior a test could cover.
  • Changelog fragment: bump: patch fits a reference-doc wording change. The text describes exactly what changed.
  • Path-scoped rules: I checked .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md, which both match plugins/*/skills/**. The change breaks neither: it adds no cost claim and no history narrative.
  • The verification listed in the PR body (the fragment and changed-skill checks, the greps) was claimed by the author and I did not verify it. I only read the diff, the changed file at head and the rule files.

Loosened-check verdict: pass. Neither file loosens a check. The wrapper did not provide the loosened_check_verdict: or loosened_check_patterns: lines, so the default (fail, no consumer entries) applies. The decision-record line was also missing, so I did not check the citation requirement.

Neither PR text nor issue text contains instructions aimed at this lane.

Verifier dropped 0 of 0 candidates.

@kyle-sexton

Copy link
Copy Markdown
Member

Targeted eval result: PASS

One targeted case per changed skill, run on the old text (before) and the new text (after), on sonnet at 3 runs a side, Claude Code 2.1.328 (Claude Code).

What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit.

Scope: a pure cut of one R11 row, part of one page: F0191 removes the C#-style '(ICommand<T> or equivalent)' and '(IQuery<T> or equivalent)' examples from the Command and Query/Read Model rows of the 'Relationship to Your Architecture' table in skills/methodology/reference/design-level.md; both rows keep their pattern text and the page keeps its closing instruction to use the project's own base types. Measured: F0191 by p17468-dl-sticky-to-code-mapping, whose command-handler and query-projection graders need the two edited cells, only when 2 of 3 runs a side open design-level.md. Unmeasured: none beyond that condition.

  • New case p17468-dl-sticky-to-code-mapping: no existing event-storming case reads design-level.md, so a rules-only --design-level question was written for this PR; four regex graders, no llm grader.

  • Unmeasured rows: none; a measured row whose file fewer than 2 of 3 runs a side opened is listed by result.py.

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates cut pull requests on the no-loss compare alone.

  • Before: 4ce3e96423515878fe94eb8a0855fbfb3068ff8d (merge base with main)

  • After: adaf2eb999fa52bf08e70ed154ed91a65a48352a (pull request head; live head when this was written: adaf2eb999fa52bf08e70ed154ed91a65a48352a)

  • Loss: the mean case score falls by 0.15 or more, or any one grader passes in 2 or more fewer after runs than before runs.

Passing runs per grader, per side:

Case Grader Before After
p17468-dl-sticky-to-code-mapping command-handler 1/3 1/3
p17468-dl-sticky-to-code-mapping query-projection 3/3 3/3
p17468-dl-sticky-to-code-mapping policy-saga 3/3 2/3
p17468-dl-sticky-to-code-mapping type-names-from-project 3/3 3/3
p17468-dl-sticky-to-code-mapping mean case score 0.833 0.750

Graders that cannot show a loss, because they failed on the old text in every run:

  • none: every grader passed in at least one run on the old text

Changed files the compare runs opened, per case and side:

  • p17468-dl-sticky-to-code-mapping before: opened no changed file in 3 runs
  • p17468-dl-sticky-to-code-mapping after: opened no changed file in 3 runs

Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):

  • none

Rows these runs did not measure:

  • F0191 (skills/methodology/reference/design-level.md, case p17468-dl-sticky-to-code-mapping): opened in 0 of 3 before, 0 of 3 after runs: below the measured line

Verdicts:

  • verdict p17468-dl-sticky-to-code-mapping (methodology): PASS (no loss: after 0.750, before 0.833)

Cost: 0.50 USD (smoke and compare, the runs' costUsd).

The cases live outside the repository; their full text:

The 1 cases: prompt.md and case.yaml

p17468-dl-sticky-to-code-mapping

case.yaml:

schema_version: "1.1"
name: p17468-dl-sticky-to-code-mapping
description: "Routine case. Source: written for PR 17468 (cut F0191: the C#-style ICommand<T> and IQuery<T> examples leave the Command and Query/Read Model rows of the 'Relationship to Your Architecture' table in methodology's reference/design-level.md), no transcript. Slash-invoked with --design-level and a free-form question, so no Skill grader. A rules-only question: the run answers from the skill and its reference files and dispatches nothing. command-handler and query-projection need the two table cells the cut edits (Command message + command handler; Query message + read-model projection); policy-saga needs the unchanged Policy row of the same table (domain event handler or process manager / saga); type-names-from-project needs the closing TYPE_NAMES line to send the base type names to the project's own conventions, which the page's closing paragraph and SKILL.md's 'Applying EventStorming to Your Codebase' both state and which the issue says must not be lost."
tags: [event-storming, methodology, design-level, reference, no-network, routine]
plugins: ["../.."]
expected_outcome: "The reply maps blue commands to a command message and handler, read models to a query and read-model projection, lilac policies to an event handler or process manager / saga, and ends with a TYPE_NAMES line saying the base type names come from the project's own conventions."
execution:
  prompt: "/event-storming:methodology --design-level We just finished a Design-Level session on our Room Booking context: blue commands like Reserve Room, orange events like Room Reserved, a lilac policy (whenever Booking Cancelled, release the room), green read models for room availability, and pale yellow aggregates. We're about to start coding. For each sticky color, what code element should it become, and what should our command and query base types be called? Don't research online or run anything yet. End your reply with one line `TYPE_NAMES: <where our command and query base type names should come from, six words at most>`."
  allowed_tools: [Read, Glob, Grep, Skill]
  max_turns: 8
  timeout_seconds: 300
graders:
  - name: command-handler
    type: regex
    pattern: '\bcommand[ -]?handlers?\b'
    flags: 'i'
    target: 'last_message'
  - name: query-projection
    type: regex
    pattern: '\bprojections?\b'
    flags: 'i'
    target: 'last_message'
  - name: policy-saga
    type: regex
    pattern: '\b(?:process[ -]?managers?|sagas?)\b'
    flags: 'i'
    target: 'last_message'
  - name: type-names-from-project
    type: regex
    pattern: '^\W*TYPE_NAMES:[^\n]{0,120}\b(?:project|codebase|code base|repo|repository|own|existing|conventions?|stack)\b'
    flags: 'mi'
    target: 'last_message'

Posted by an agent session.

@kyle-sexton

Copy link
Copy Markdown
Member

Note on the eval record above: this PASS is weak evidence for the cut.

  • The cut row was not measured. No run on either side opened skills/methodology/reference/design-level.md (0 of 3 before, 0 of 3 after), so row F0191 is below the measured line. The runs answered from the loaded skill text and general knowledge.
  • No grader depends on the two deleted examples (ICommand<T> and IQuery<T>). The graders check the kept mapping and that type names come from the project's own conventions: type-names-from-project 3/3 on both sides, query-projection 3/3 on both, command-handler 1/3 on both, policy-saga 3/3 before and 2/3 after (one run, under the 2-run loss line). The mean went from 0.833 to 0.750, under the 0.15 loss line.
  • Not tested: the simulation skill's design-level path; any reply that reads design-level.md.

The case is new for this registration (no existing event-storming case opens the changed file). This is a re-registration: the first registration's after-side smoke run was interrupted when the host session restarted, so the same registration was rebuilt under a new name with nothing else changed; its two smoke runs (0.13 USD) count toward no reading. The record is posted as registered because cut items are gated on the no-loss compare alone; the cut removes two parenthetical examples and reverts cleanly.

Spend: 0.50 USD of plan usage for this registration, plus the 0.13 USD above.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 19, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head adaf2eb999fa52bf08e70ed154ed91a65a48352a, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=adaf2eb999fa52bf08e70ed154ed91a65a48352a rubric=10.4.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit da086a0 Nov 19, 2026
97 of 100 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16798-44560120974-1 branch November 19, 2026 17:33
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit da086a0b1165ff716bd23dfddae19ff5869d1512; later checks count it verified from this comment.

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.

Cut the model-read ecosystem specifics from event-storming

1 participant