Skip to content

feat(cli): add capglyph conformance test harness (CTX-0041) - #33

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0041/harness
Aug 31, 2026
Merged

feat(cli): add capglyph conformance test harness (CTX-0041)#33
Xuepoo merged 1 commit into
mainfrom
ctx-0041/harness

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Companion to capglyph-spec v1.0.0 and capglyph-test-vectors 1024 fixtures.

Implements capglyph conformance test --vectors <path> [--verbose] [--json-report] via capglyph_core::framing::open + error::classify_str.

  • valid 256, invalid 128, malformed 128, tampered 256, expired 128, revoked 128
  • Rust harness passes 1024/1024 (verified via capglyph conformal)
  • Python harness tools/conformance.py passes 1024/1024
  • wasm graph stays clean (clap/glob gated via cfg(not wasm32))
  • Also updates clap subcommand Conformance(Test)

Verification: cargo fmt, clippy -- -D warnings, cargo test, cargo check --target wasm32-unknown-unknown, capglyph conformance test --vectors ../capglyph-test-vectors/vectors

Related: CTX-0041, depends on CapGlyph/capglyph-core# (error codes) and spec/test-vectors initial population.

Signed-off-by: Muse Spark muse-spark@capglyph

Implements `capglyph conformance test --vectors <path> [--verbose] [--json-report]`
validating 1024 fixtures from CapGlyph/capglyph-test-vectors via
capglyph_core::framing::open + error::classify_str. Covers valid,
invalid, expired, revoked, malformed, tampered, images + manifest.

Companion to capglyph-spec v1.0.0 and capglyph-core error codes.
Rust harness passes 1024/1024; Python harness tools/conformance.py
passes 1024/1024; wasm graph stays clean (clap/glob gated).

Signed-off-by: Muse Spark <muse-spark@capglyph>
@Xuepoo
Xuepoo merged commit 8a34f3c into main Aug 31, 2026
8 checks passed
@Xuepoo
Xuepoo deleted the ctx-0041/harness branch August 31, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant