feat: ship the unique offline marqdo web Tool (WEB-02 candidate)
Implement the first Preview candidate in its unique owner repository: - marqdo web check/preview/handoff with explicit ENTRY/--unit/--root/--out/ --theme; independent executable packaged with tool.json (command web, api_revision/analysis requirements). - Consume only the public marqdo-web-design crate at a fixed git revision (Cargo.lock pinned; no ../design path dependency, no Markdown re-parsing). - preview renders one offline index.html: strict hashed CSP (default-src 'none', no network), visible prototype banner and build summary, escaped Design ContentBlocks (raw HTML stays inert), finite-state scenario panels with hashed inline script and reset, no server/timer/eval business logic. - Publication refuses existing outputs and symlink targets, builds in a private sibling staging dir and renames atomically; 0/1/2 exit codes with stderr diagnostics. - scripts/ci.sh installs the Tool through the real CLI, runs all three commands on a fixture project, asserts the offline/safety facts, verifies the CLI binary digest is unchanged and removes the Tool. - Evidence records we do NOT yet claim real-browser/responsive acceptance, image assets, the full negative matrix, budgets/timeouts or WEB-05 cold install. Refs cflmy/marqdo-web-preview#1, cflmy/marqdo#6
This commit was merged in pull request #2.
This commit is contained in:
1 parent
8b3281bac0
commit
e739f4504a
12 files changed
+928
-26
No files matched your search
+3
-26
@@ -1,26 +1,3 @@
|
||||
# Rust 构建与本地缓存
|
||||
/target/
|
||||
/.cache/
|
||||
/dist/
|
||||
/bin/
|
||||
|
||||
# 本地 tool bundle 与测试输出
|
||||
**/*.analysis.json.tmp
|
||||
**/*.ast.json.tmp
|
||||
*.tmp
|
||||
|
||||
# 真实浏览器测试
|
||||
/tests/browser/node_modules/
|
||||
/tests/browser/artifacts/
|
||||
/tests/browser/screenshots/
|
||||
|
||||
# Python 辅助脚本(CI/测试胶水)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# 本地配置与编辑器
|
||||
.env
|
||||
.env.*
|
||||
.cargo-home/
|
||||
.DS_Store
|
||||
*.swp
|
||||
/target
|
||||
/dist
|
||||
/out
|
||||
Reference in new issue
Block a user