Skip to content

trace/coverage: shared trace-id fold, scoped module discovery (PLAT-898, 908, 179) - #151

Merged
kreneskyp merged 3 commits into
mainfrom
w10-plat-batch
Nov 8, 2026
Merged

kreneskyp merged 3 commits into
mainfrom
w10-plat-batch

Conversation

@kreneskyp

Copy link
Copy Markdown
Contributor

Adopts quire-rs 0.53.0 (same pin and Cargo.lock as #150) and fixes three tickets.

  • PLAT-898: quire trace --prefix calls the exported trace_id_segments; the duplicate id_segments is deleted.
  • PLAT-908: documents the separator-count divergence between --prefix and --id, pins it with prefix_known_divergence_for_ids_without_a_separator, and matched_ids now covers every id in the payload.
  • PLAT-179: coverage (and trace/symbols, which share load_registry_for) discover modules like validate, including <scope>/.ix/modules. Regression test plat179_* fails on main, passes here.
  • validate.rs: adds the ValidationReason::Regex arm required by 0.53.0. validate: pass repo bundle package; adopt quire-rs 0.53.0 (PLAT-50) #150 also touches validate.rs, so expect a small merge there; the Cargo hunks are identical.

PLAT-315, 70, 251, 178 were verified already done on main; no changes here.

Gate: fmt-check, lint clean; cargo test --workspace: all pass except it_144 (host lacks python jsonschema).

🤖 Generated with Claude Code

…ery in coverage

- PLAT-898: adopt quire-rs 0.53.0 and use its exported trace_id_segments;
  delete the CLI's duplicate id_segments fold.
- PLAT-908: document the --prefix / --id separator-count divergence, pin it
  with a known-divergence test, and make matched_ids cover every id the
  payload returns.
- PLAT-179: coverage (and trace/symbols via load_registry_for) now use the
  same scoped discovery as validate, including <scope>/.ix/modules.
- validate: handle the new ValidationReason::Regex in validation_remedy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kreneskyp
kreneskyp requested a review from a team as a code owner November 8, 2026 05:47

@kreneskyp kreneskyp left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lead review (diff only): PLAT-898 trace.rs now uses quire_rs::symbols::trace::trace_id_segments and drops the duplicate fold; PLAT-908 corrects the false fold-agreement doc, adds matched_ids for every payload id and pins the known separator divergence; PLAT-179 coverage::load_registry_for now uses scoped discovery with defaults (shared with trace/symbols), test fails on old code (SearchPathMissing) and passes on new. main merged in with plain merge; duplicate Regex remedy arm removed. Gate: fmt-check and lint clean; tests green except it_144 (host lacks python jsonschema, not this change). make ci not run. No findings.

@kreneskyp
kreneskyp merged commit dcce9a0 into main Nov 8, 2026
3 checks passed
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