Skip to content

feat(event-storming)!: run boards through named operations, markdown by default - #17087

Merged
kyle-sexton merged 15 commits into
mainfrom
feat/event-storming-board-backends
Nov 18, 2026
Merged

kyle-sexton merged 15 commits into
mainfrom
feat/event-storming-board-backends

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

No related issue: a change to how the event-storming plugin stores boards, with no tracked issue behind it.

Summary

Event-storming runs no longer need Miro. Boards now go through named board operations, with a structured markdown file as the default backend and Miro as the other.

Fix

  • reference/board-operations.md defines the operations, and one backend file per target maps them: markdown (default) and Miro.
  • Markdown boards live in the team's board_dir (default docs/event-storming), written only through the tested scripts/board-md.mjs and never committed by the skill.
  • The backend comes from --backend, then the board reference's shape, then the personal board_backend option, then markdown. A backend that is unavailable stops the run; it never switches on its own.
  • Only the facilitator writes to a board; persona agents return stickies as data.
  • board-md.mjs refuses a write outside the project's git root, a home-directory root, a .. segment, a symlink escape or a non-.md name. With no git root, the skill says markdown boards need a git repository and shows the model in its reply.
  • Breaking: enabling the miro plugin no longer puts runs on Miro. Set board_backend to miro, pass --backend miro, or give a Miro board URL.
  • Breaking: requires Claude Code v2.1.271 or later: the board_backend option declares options, and earlier versions cannot load the plugin.

Verification

  • claude plugin eval after the graders were tightened, 3 runs with the plugin and no baseline: simulation-default-markdown 1.00, 1.00, 1.00.
  • simulation-board-url-needs-miro, same runs: 0.75, 0.75, 1.00. The two lower runs said to install the plugin after naming it, wording the strict offers-miro-route grader does not accept.
  • Not re-run after their graders were tightened: simulation-backend-miro-unavailable and simulation-default-domain.
  • Those eval runs predate the last skill text change, in 3a5574b.
  • plugins/event-storming/scripts/board-md.test.sh: all 80 cases passed at 3a5574b.
  • Known failure: simulation-discover-bcs-export scored 0.70 on this branch and 0.74 on main, with no run passing on either, so this change did not cause it.
  • Left out: a live run against a real Miro board, which needs a personal token.

Related

N/A

🤖 Generated with Claude Code

kyle-sexton and others added 8 commits November 17, 2026 23:09
Pure rename so the content move stays reviewable; references follow in
the next commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…by default

Board work goes through neutral board operations with a markdown backend
(default) and a Miro backend. Markdown boards live in the team's board_dir
(default docs/event-storming), written only through the tested
scripts/board-md.mjs and never committed by the skill. The backend comes
from --backend, then the board reference's shape, then the new
board_backend option, then markdown. Only the facilitator writes; persona
agents return stickies as data.

BREAKING CHANGE: enabling the miro plugin no longer puts runs on Miro; set
board_backend to miro, pass --backend miro, or give a Miro board URL.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rename simulation-miro-absent to simulation-default-markdown and regrade it
and simulation-default-domain on the markdown default; add
simulation-backend-miro-unavailable (an explicit Miro choice stops, never
switches) and simulation-evaluate-markdown-board (a markdown board is read
without Miro); point the board-URL, state and methodology cases at the new
text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…graders

markdown-default now also matches "Backend: markdown" and "falls back to
markdown"; offers-install-miro also matches "turn on" and "switch on". The
missed replies came from live runs that behaved as the skill says.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…odel

no-markdown-degrade now passes a request for board data the person
supplies (an export or a markdown board file) and fails a new markdown
workshop or a silent switch; offers-install-miro also accepts "make Miro
available", the skill's own route wording.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The shell-portability scanner read the Node heredoc's regex and escape text
as GNU-only shell; board-md.test.sh now runs board-md.test.mjs, the sibling
layout the test lanes already map.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 18, 2026 07:22
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T07:25:25.958958Z fdc06a1 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: fdc06a1c37

ℹ️ 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".

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44258459176

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Design-Level places an empty business-rule sticky for each command and
event pair and fills it in a later step, but the markdown writer refused
empty text for every kind. Allow empty text for the aggregate kind only,
and refuse a kind change that would leave another kind blank.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, 1a0563eb → 3a5574b2), blocking only

Scope: I read every hunk of both files in .claude-lane/incremental.diff. This lane already reviewed an earlier head, so this review is blocking only: it reports only CRITICAL and IMPORTANT findings and leaves out SUGGESTIONs.

This push has no new security finding.

  • plugins/event-storming/skills/simulation/SKILL.md (
    or 4: use `docs/conventions`. Exit 5 (no repository, or the home directory): skip step 3, tell
    the person that markdown boards need a git repository other than the home directory, write no
    file, and render the model in the reply instead; this replaces the stop under "Board backend".
    Any other non-zero exit: report its message and use `docs/conventions`.
    ) changes what happens on exit 5 of resolve-convention-home.sh (no repository, or the home directory). Before, the skill asked the person where boards should go. Now it:
    • skips board-directory resolution;
    • says markdown boards need a git repository other than the home directory;
    • writes no file and shows the model in the reply.
  • This narrows what the skill writes and drops a prompt that could have led to a write location the person picks. The script-level refusals the last review checked in board-md.mjs (writableBoardPath) are still in place: no git root, home-directory root, .. segment, symlink escape, non-.md name.
  • plugins/event-storming/reference/board-backends/markdown.md (
    | `check_available` | `node --version` succeeds and the board directory resolves. No node, no git repository, or a root that is the home directory: say so and render the model in the reply instead of a file |
    ) adds the same conditions to the check_available row. It is prose only.
  • Instruction-surface lens: the change replaces "ask and write nothing" with "write nothing and render inline". Writing nothing is kept, so no protected guardrail is removed. Neither file matches a trusted-path glob, and the push changes no trust control.

Restated finding (IMPORTANT), from the earlier summary with no line anchor (#17087 (comment)):

  • What it is: userConfig.board_backend in plugins/event-storming/.claude-plugin/plugin.json (
    "board_backend": {
    "type": "string",
    "title": "Board backend",
    "description": "Where the simulation skill puts its boards when a run names none. markdown (default) writes one markdown file per board in the repository's board directory; miro uses a live Miro board and needs the miro plugin enabled with a token. A --backend argument or a board link wins for one run.",
    "default": "markdown",
    "options": [
    "markdown",
    "miro"
    ]
    }
    ). Its miro value sends session content to an external Miro board. That makes it neither a selector nor an inert key, so the default-deny rule flags it.
  • Why it stays advisory: the default is markdown (L26, "default": "markdown"), and only skill prose reads the key. The Miro route also needs the miro plugin enabled separately and a personal token.
  • This push: does not change that file.
  • Not settled: the settled options thread on lines 24-27 is about the Claude Code version floor, a different point from this one.

Settled threads: I re-raised none of them. The options version-floor thread and the grader-widening thread both show no lines changed. The board-md.mjs empty-aggregate thread was fixed earlier, and this push does not touch that file.

Embedded text: none in the PR context or the thread files.

Spend: none. The change is skill and reference prose only.

critical-findings: 0

Manifest lines (1)
  • manifest userConfig.board_backend: flag, its miro option sends session content to an external Miro board (opt-in; the default is markdown, and the route needs the separately enabled miro plugin and a personal token); restated from the earlier summary, file unchanged in this push

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review, incremental (1a0563eb → 3a5574b2)

Blocking only. This lane has already reviewed earlier heads of this PR, so this pass reports only blocking findings and manifest flags. Nothing blocking turned up.

Scope. I read every hunk of the 2 files in the incremental diff:

  • plugins/event-storming/reference/board-backends/markdown.md, the check_available row
  • plugins/event-storming/skills/simulation/SKILL.md, step 2 of "Where markdown boards go"

What changed. Before this push, the skill asked the person where boards should go when resolve-convention-home.sh exits 5 (no repository, or the home directory). Now it skips step 3, says that markdown boards need a git repository other than the home directory, writes no file, and renders the model in the reply. The check_available row in markdown.md now names the same cases.

Consistency checks:

  • The stop under "Board backend". SKILL.md normally stops when check_available fails (SKILL.md:56-58). The new text says it replaces that stop, so the two sections agree on what happens.
  • The writer script. The new behaviour matches what board-md.mjs refuses: outside a git repository, and at a root that is the home directory (markdown.md:22-25). Telling the person before any write keeps the skill from calling a writer that would refuse anyway.

Settled threads and prior findings. The two earlier inline threads cover the options version floor and the grader widening. Both are settled with lines changed since resolution: no, and this push touches neither file. Neither is raised again.

Closing issue: none. The PR has no tracked issue, so there were no acceptance criteria to check.

Spend: these are documentation and skill-text changes only. They add no eval runs and no CI cost.

Verification: I ran nothing; everything above comes from reading the diff.

Loosened-check verdict: fail (the default, because the prompt carried no loosened_check_verdict: line); patterns: 0 (no loosened_check_patterns: line, so no consumer entries). This push changes no check or grader.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 11e19356ce8ca457a7bc0111c71d2299328b71e3. What it wrote, as data:

What it wrote (23 lines)
Summary: PR #17087 links no issue, so the spec is its trusted pull-request body: boards go through
  named operations, markdown is the default backend, Miro is the other one, and boards are written
  only through the tested scripts/board-md.mjs into board_dir/<session>/. Most of that is delivered:
  the operations and backend docs, the backend order and the stop-don't-switch rule, the
  board_backend option and the board_dir key, facilitator-only writes, the evals, and a writer that
  escapes untrusted text with tests for injection, determinism and blank aggregates. One defect
  blocks. The documented create_board step is `board-md.mjs new
  <board_dir>/<session-id>/big-picture.md`, but the script never creates the parent directory, and
  nothing in the skill tells the model to create the session folder. So the default backend's first
  board write in every new session fails with ENOENT (exit 2). The tests write only into a folder
  that already exists, so they don't catch it. CI is no evidence either way: Select Tests was
  skipped, so the run executed no suite. The capture's print-mode `simulation` run exited 1, but its
  report blames the sandbox proxy and a read limit, so I don't count that as evidence against the
  diff. No takeover-set files, secrets or settings are touched, and the diff has no binary files.
- plugins/event-storming/scripts/board-md.mjs:243: `new` writes `<board>.tmp-<pid>` and renames it,
  but it never creates the board's parent directory. The documented path
  `<board_dir>/<session-id>/big-picture.md` (reference/board-backends/markdown.md 'Where boards
  live') is a new session folder on every run, so create_board fails with ENOENT. Create the parent
  directory with mkdirSync(dirname(path), { recursive: true }) before writeAtomic, or document a
  required step that creates it and add that command to the skill's allowed-tools.
- plugins/event-storming/scripts/board-md.test.mjs:82: every `new` case writes into the existing
  temp dir. Add a case that runs `new` on `${work}/docs/event-storming/<session>/big-picture.md`
  with no such folder, and assert it exits 0 and the file exists.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 18, 2026
kyle-sexton and others added 2 commits November 18, 2026 03:00
Each session writes its boards to a new folder under the board
directory, so board-md.mjs new failed with ENOENT on every first board.
Create the parent folders after the meta is validated and before the
atomic write. A refused meta leaves no folders, and a parent that cannot
be created still exits 2 with the path named.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

claude-review: 2 inline finding(s) on 12db56eb98573432676147a44fd178ddb7b980a0; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 18, 2026
kyle-sexton and others added 4 commits November 18, 2026 03:20
The simulation skill runs board-md.mjs with no permission prompt, and
new and apply accepted any path. Both now resolve the path first and
exit 1 with nothing written when the working directory has no git root,
the root is the home directory or an ancestor of it, the path holds a
.. segment, the name is not .md, or a symlink leads outside the root.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
markdown-default returns to needing markdown called the default or
recommended. offers-install-miro becomes offers-miro-route, because it
also accepts making Miro available, the route the skill states, and its
negation guards now cover every alternative. Replies the widened
patterns passed by mistake are failing samples.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The board_backend option declares options, which the plugin manifest
reference says needs Claude Code v2.1.271 or later to load.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The board script now refuses every write without a usable git root, so
asking the person where boards should go led nowhere. The simulation
skill now says markdown boards need a git repository, writes no file and
renders the model in the reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 9260465 Nov 18, 2026
73 checks passed
@kyle-sexton
kyle-sexton deleted the feat/event-storming-board-backends branch November 18, 2026 10:14
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant