Files
marqdo/examples/web-site/DEMO.md
T
cflmy 9331af78e2 release(2.8.0): 合入 CHANGELOG/README/发版说明/skills prove 任务;CI 链接指向 doc/releases
- CHANGELOG.md:v2.8.0 条目(中英双语);
- README.md:版本行 2.7.1→2.8.0 + 愿景第 6 条(知识可证明);
- doc/releases/v2.8.0.md:双语发版说明(亮点/用法/已知限制);
- skills/marqdo-dev/index.mq.md:新增 prove 任务(路径/目录模式/
  require_lean/json;参数用 + 行声明升参,check 与 narrative-ratio 通过);
- 设计文档 §12.5 标记已合入;发版链接统一指向 doc/releases/v2.8.0.md。
2026-11-18 10:29:26 +08:00

28 lines
2.5 KiB
Markdown
Executable File

# Complete-site walkthrough
Start through the callable workflow in [README](README.md). For a fresh owned database the site seeds eight articles; an existing database retains its actual rows and must not be reset merely to reproduce that count.
| Step | Actual action | Evidence to inspect |
|---|---|---|
| 1 | Open Home | Original theme, Markdown introduction, badges, reading steps and summary cards |
| 2 | Open a card | Declared /post/{slug} route; full Markdown body rather than its summary |
| 3 | Read index and follow components/index | Actual parent/child tree, terminal Markdown and typed data/form/navigation resources |
| 4 | Submit New with an empty title | Actual server rule message; retry retains current CSRF |
| 5 | Submit title, slug, summary and body | New row appears on Home and in the gated desk without restart |
| 6 | Follow Login, use admin/demo, open Admin | Real route gate; separate desk navigation, no public rail, shared form and current cards |
| 7 | Return Home and log out | Session-specific links switch with the real identity; direct Admin access redirects again |
| 8 | Narrow the browser | The original 860px breakpoint puts main before the side rail without overflow |
Source responsibilities remain separate. Route metadata lives in each Document, form data is [forms.tables.md](forms.tables.md), current data behavior is [components/articles](components/articles.mq.md), SEO/fonts are [components/head](components/head.mq.md), and theme source plus explicit View mapping begins at [styles/index](styles/index.mq.md). No compose mutation chain or author page HTML is required.
The callable [verification tool](verify.mq.md) compares 412 original declaration rows and returns actual baseline/projected CSS hashes. It does not replace visual or HTTP acceptance. The real-browser suite deliberately aborts external font requests and verifies declared font families and local fallback rendering; it makes no claim about external service delivery.
Use native file discovery for author-asset checks, excluding the explicitly generated stylesheet directory:
```sh
target/debug/marqdo call lib/fs.mq.md find 'path="."' 'pattern="**/*.js"' 'exclude=["public/generated/**"]' --effects fs.read --fs-root examples/web-site --json
target/debug/marqdo call lib/fs.mq.md find 'path="."' 'pattern="**/*.css"' 'exclude=["public/generated/**"]' --effects fs.read --fs-root examples/web-site --json
```
Both author-asset lists are empty. This says nothing about generated runtime resources or native rendering internals, which are separate declared boundaries.