# `MishkaCmsCore.Runtime.PageBuilder.Demo`
[🔗](https://github.com/mishka-group/mishka_cms_core/blob/v0.0.1/lib/mishka_cms_core/runtime/page_builder/demo.ex#L5)

Sample content for the editor's Assistant thread and its audit list, so those panels can be judged
before there is anything real in them.

A freshly opened page has no conversation and no findings, which is correct and also means the
rails are empty rectangles: nobody can tell whether the layout and the plain-language notes look
right. These are the prototype's own entries, in the same shapes the real ones use.

The Record history sample is gone, because the record is real now: it is a log in the database,
read by `MishkaCmsCoreWeb.Templates.HistoryTimeline`. Sample rows there would have been indistinguishable from somebody's actual work. `MishkaCmsCore.Dev.HistorySeeds` fills a page with every
state the timeline draws when a populated one is wanted.

**This is scaffolding.** It is off unless `:builder_demo_data` is set, it never replaces real
content — the moment a session has one edit or one message, its own data is what shows — and every
entry is marked `demo?: true` so nothing downstream can mistake it for a record. Delete this module
and its remaining call sites in `Panels` when the real things arrive.

While any of it is shown, the Assistant and Audit tabs say so in a roadmap notice, and each sample
finding carries a Sample badge and a disabled Fix.

    config :mishka_cms_core, builder_demo_data: false

See `MishkaCmsCoreWeb.Live.Admin.Builder.Panels` (`assistant/1`).

# `audit_findings`

```elixir
@spec audit_findings() :: [map()]
```

Audit lines the real checks do not produce yet, or `[]` when the flag is off.

Every one of these is a placeholder for a check that should exist; see the TODO above.

# `enabled?`

```elixir
@spec enabled?() :: boolean()
```

Whether the sample content is switched on for this environment.

# `messages`

```elixir
@spec messages() :: [map()]
```

The sample conversation, or `[]` when the flag is off.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
