feat(PR-06): one-command frozen-CLI acceptance, evidence and final docs

- tools/acceptance.sh: RFC §18.1 end-to-end acceptance against the frozen CLI
  release archive in an isolated tool home (build/test/bundle/archive-install/
  view help/verify/export/browse/explicit CSRF run/export+security+browser
  suites/CLI SHA check) and generation of docs/evidence/<CLI-SHA>/manifest.json
- tools/test-contract.sh + .woodpecker.yml CI lanes (remote CI unverified)
- docs/ACCEPTANCE.md gate table (P0 all PASS; U-01/U-04 honestly PARTIAL),
  docs/audits/protocol-conformance.md, ADR-0006 documented RFC deviations
- unicode/CRLF/duplicate-text examples + frozen goldens + tests (S-04)
- presentation degradation matrix tests (S-05..S-07), hostile-stdout escaping
  test (X-05), keyboard accessibility browser checks (U-03)
- final README/STATUS/COMPATIBILITY/CHANGELOG with honest limitations
This commit is contained in:
marqdo-view dev committed 2026-11-22 12:06:45 +08:00
1 parent 1f34daffb0
commit d641ca58ac
21 files changed
+1562 -70

No files matched your search

+7 -1
View File
@@ -74,7 +74,13 @@ fn degradation_without_core_keeps_prose_readable() {
// invent semantic annotations or a fake run state.
let project = common::TempProject::new("cli-degrade-no-core");
project.marqdo_project("# @knowledge 标题\n\n正文 **加粗**。\n");
let context = marqdo_view::app::AppContext::open(&project.dir, None).unwrap();
// Explicitly point at a missing core so the test is independent of the
// caller environment (acceptance scripts export MARQDO_BIN).
let context = marqdo_view::app::AppContext::open(
&project.dir,
Some(std::path::Path::new("/definitely/missing/marqdo-frozen")),
)
.unwrap();
let relative = context.project().entry().relative.clone();
let model = context.load(&relative).unwrap();
assert_eq!(model.source_status.data_value(), "core-unavailable");