feat(PR-01): 0.2.0 Tool v1 bundle, scripts/ layout and CI lanes
- bump View product version to 0.2.0 (Cargo.toml, Cargo.lock, tool.json, CLI) - move all maintenance scripts from tools/ to scripts/ per RFC-0002 §5.3 - add scripts/verify-frozen-cli.sh: records version/SHA and fails if the frozen CLI changes across a command sequence - add .github/workflows/ci.yml: quality lane + frozen-CLI acceptance lane with archive SHA verification and evidence upload; update .woodpecker.yml paths - record PR-01 black-box evidence: tool install/list/view --help/version, tamper rejection, tool remove, frozen CLI SHA unchanged
This commit is contained in:
1 parent
d0f1834e98
commit
5a61788bc9
26 files changed
+269
-57
No files matched your search
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Security/contract suite: HTTP boundary, CSRF/Origin, path escapes, XSS
|
||||
# sanitization, export-no-exec, architectural coupling gates.
|
||||
#
|
||||
# Usage: scripts/test-security.sh
|
||||
set -euo pipefail
|
||||
|
||||
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$repo_root"
|
||||
|
||||
cargo test --locked --test http_live
|
||||
cargo test --locked --test rendering
|
||||
cargo test --locked --test export
|
||||
cargo test --locked --test no_coupling
|
||||
cargo test --locked --test asset_integrity
|
||||
|
||||
if [[ -n "${MARQDO_FROZEN_BIN:-}" ]]; then
|
||||
MARQDO_BIN="$MARQDO_FROZEN_BIN" ./scripts/test-export.sh
|
||||
else
|
||||
echo "note: MARQDO_FROZEN_BIN not set; skipped real-core export script"
|
||||
fi
|
||||
echo "security: PASS"
|
||||
Reference in new issue
Block a user