test: local demo server for screenshots and manual checks #22

Merged
KofTwentyTwo merged 2 commits from feature/demo-server into develop 2026-10-14 17:24:02 +00:00
KofTwentyTwo commented 2026-10-14 17:06:06 +00:00 (Migrated from github.com)

Summary

MarketingDemoServer (test sources only, never shipped), modelled on qbit-alerts' demo server:

  • H2 in memory, mock login granting every marketing permission, no bundled frontend; port MARKETING_DEMO_PORT (default 8000).
  • Real data: the verified starter data (LOAD_STARTER_DATA), then history made through the real actions: readiness checks, Draft with Agent on the scripted provider, edit, review, approve, schedule, Run Due Executions on the controlled test transport (an Accepted execution with an attempt and a test delivery), a second item In review, and fixture outcome events flagged as test data.
  • ScriptedModelProvider made public for the demo package; qqq-middleware-javalin added at test scope.
  • Javadoc: how to run it and point the Next UI at it.

Used for the 0.1.0 screenshots (app home, product, campaign, content, execution, agent run; light/dark; 390/1440). Findings fixed in #21.

Tests

./mvnw verify green locally (develop merged in).

Written by a Sonnet subagent, reviewed by Claude Opus.

🤖 Generated with Claude Code

## Summary `MarketingDemoServer` (test sources only, never shipped), modelled on qbit-alerts' demo server: - H2 in memory, mock login granting every marketing permission, no bundled frontend; port `MARKETING_DEMO_PORT` (default 8000). - Real data: the verified starter data (LOAD_STARTER_DATA), then history made through the real actions: readiness checks, Draft with Agent on the scripted provider, edit, review, approve, schedule, Run Due Executions on the controlled test transport (an Accepted execution with an attempt and a test delivery), a second item In review, and fixture outcome events flagged as test data. - `ScriptedModelProvider` made public for the demo package; `qqq-middleware-javalin` added at test scope. - Javadoc: how to run it and point the Next UI at it. Used for the 0.1.0 screenshots (app home, product, campaign, content, execution, agent run; light/dark; 390/1440). Findings fixed in #21. ## Tests `./mvnw verify` green locally (develop merged in). Written by a Sonnet subagent, reviewed by Claude Opus. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.