docs(website): demo mode step 2 built — DM18, MODULE_API 1.19.0 #380

Merged
whitlocktech merged 1 commits from docs/demo-mode-module into main 2026-10-26 05:51:15 -05:00
Member

Docs for RunicGateway/website#224 (core hook) and RunicGateway/Module-Rust#62 (the module half), step 2 of website/DEMO_MODE.md §10.

Decision (org lead, 2026-10-24):

  • DM18: core's event save never asked a module about a step's params, so the console-command deny list could not refuse at save. The fix is a new core hook: an event action's optional demoRefuses(params).
    • Core asks it at create, save and publish on the demo.
    • A sentence refuses the write 403 DEMO_LOCKED; a throw refuses too.
    • This is MODULE_API 1.19.0, so Module-Rust needs ^1.19.0, and the kit re-pins to 1.19.0 in step 3.

What changed:

  • DEMO_MODE.md

    • §3.4: where the save-time check lives.
    • The DM18 row.
    • Step 2 marked built: the module's bridge-path canonicalisation, the RunicGateway floor beside the catalogue's self, and an unparseable config withheld whole.
    • The Rust fixture section's shape (servers, links).
  • MODULE_API.md: 1.19.0 in §1.1 and in the changelog, demoRefuses in the registerEventActions signature, and an action rule.

  • BACKEND_DESIGN.md §5.1: event steps on the demo.

  • AI-assisted: written with Claude Code (Claude Opus 5.5).

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

Docs for RunicGateway/website#224 (core hook) and RunicGateway/Module-Rust#62 (the module half), step 2 of `website/DEMO_MODE.md` §10. **Decision (org lead, 2026-10-24):** - **DM18:** core's event save never asked a module about a step's params, so the console-command deny list could not refuse at save. The fix is a new core hook: an event action's optional **`demoRefuses(params)`**. - Core asks it at create, save and publish on the demo. - A sentence refuses the write `403 DEMO_LOCKED`; a throw refuses too. - This is `MODULE_API` **1.19.0**, so Module-Rust needs `^1.19.0`, and the kit re-pins to 1.19.0 in step 3. **What changed:** - **DEMO_MODE.md** - §3.4: where the save-time check lives. - The DM18 row. - Step 2 marked built: the module's bridge-path canonicalisation, the `RunicGateway` floor beside the catalogue's `self`, and an unparseable config withheld whole. - The Rust fixture section's shape (`servers`, `links`). - **MODULE_API.md:** 1.19.0 in §1.1 and in the changelog, `demoRefuses` in the `registerEventActions` signature, and an action rule. - **BACKEND_DESIGN.md** §5.1: event steps on the demo. - [x] AI-assisted: written with Claude Code (Claude Opus 5.5). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-10-26 03:41:42 -05:00
DM18 (org lead, 2026-10-24): core's event save never asked a module
about a step's params, so the console-command deny list's save-time
refusal is a new core hook, demoRefuses(params), asked at create, save
and publish on the demo. MODULE_API 1.19.0.

- DEMO_MODE.md: §3.4 says where the save-time check lives; DM18 row;
  step 2 marked built (website#224, Module-Rust#62) with the module's
  bridge recognition and fail-closed rules; the Rust fixture section.
- MODULE_API.md: 1.19.0 in §1.1, the changelog, the registerEventActions
  signature and the action rules.
- BACKEND_DESIGN.md §5.1: event steps on the demo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 53539d35a5 into main 2026-10-26 05:51:15 -05:00
whitlocktech deleted branch docs/demo-mode-module 2026-10-26 05:51:16 -05:00
Sign in to join this conversation.
No description provided.