Skip to content

Adopt quire-rs 0.65.0; read engine symbol, side and filter in impact output - #300

Merged
kreneskyp merged 2 commits into
mainfrom
peter/quire-rs-0.65.0
Dec 4, 2026
Merged

kreneskyp merged 2 commits into
mainfrom
peter/quire-rs-0.65.0

Conversation

@kreneskyp

Copy link
Copy Markdown
Contributor

Moves quire-rs =0.64.1 to =0.65.0 and reads the new engine fields in quire impact instead of guessing from source text (PLAT-1901, PLAT-1902).

Dependency version move

  • Old: v0.64.1 = 67adafff42bc82278ea5d2546631520fe8ceb159
  • New: v0.65.0 = 3a10a2b14920e66b237c52c7751c15cc972b3a32
  • Cargo.lock moves only: quire-rs, quire-code-extraction (to v0.65.0), agent-ix-semantic-schema (tag semantic-schema-v0.6.0 to rev 850129fa).

git diff --name-status v0.64.1 v0.65.0 touched: CHANGELOG.md, Cargo.{toml,lock}, src/{assurance,impact,lib,traceability,validate_document}.rs, src/corpus/{mod,relation_report,required_relations}.rs, src/semantic/{clauses,record}.rs, schemas/output/semantic-v1.schema.json, FR-058/071/081/084/099 specs, FRR-001/002, mapping and record-section fixtures, and tests (including new tests/it/required_relations_to_where.rs).

Public items that changed:

  • ImpactFinding::{UnresolvedId, UnavailableSpecification, NonBindingMarker} gain symbol and side (FR-099-AC-7).
  • DependencyTestReason gains filter (FR-099-AC-10).
  • RequiredRelation gains to_selector; relation report adds ToRejectedEntry (#815, FR-081-AC-23, FR-058-AC-49/50, FR-084).
  • BREAKING #814: checked clause language is filament, not quire (language pattern in semantic-v1 schema, clause_language_class, semantic-schema dep).

References found in quire-cli

  • ImpactFinding: src/commands/impact_tags.rs only (three exhaustive matches updated).
  • DependencyTestReason: no direct use; the CLI consumed the serialized JSON and derived filter from test_symbol in impact_dependency::add_filters (deleted; human output and JSON now use the engine's filter).
  • RequiredRelation: only DeclarationKind::RequiredRelation in coverage.rs and relations.rs, unaffected. to_selector/ToRejectedEntry: no references.
  • semantic-v1 schema / clause language: no ```quire fences, "quire" language values or semantic-v1 references in src, tests, fixtures or spec; nothing to migrate and no tolerance layer added.
  • Version naming 0.64.1: Cargo.toml (moved); CHANGELOG, spec/anomalies AN-002/005/006 and reviews/ mention 0.64.1 as history of those records and are left as written.

Code changes

  • impact_tags.rs: reads symbol and side from the three variants. Deleted locate_marker, places_for_id, head_symbols, block_start, id_lines, names_id, place_at, with_place, Place. tag_check no longer takes the head snapshot. Entries carry side; source_line is removed; line is the engine's line and appears for non-binding attributes only. The dedup comment now holds: only exact repeats collapse, base and head findings differ by side. Human output shows Affected changed symbol: X (base|head).
  • impact_dependency.rs / impact.rs: engine filter used; add_filters deleted.
  • Behaviour change: invalid/unverifiable entries for a symbol present on both sides now appear twice (base and head) where they used to be collapsed to a single head entry.

Tests

Tests were updated for the engine fields first (the old code no longer compiled against 0.65.0, so the failing state is the compile break rather than a runtime failure); then code changed.

  • cli_impact (25 tests): all pass. New it_impact_tag_check_names_the_base_side_for_a_removed_symbol (removed symbol, finding names base); ..._shows_the_engines_symbol_side_and_line_for_each_revision replaces the base-line guessing test; others assert side and no source_line.
  • Also passing: cli_clauses 8, cli_extract_semantic 6, cli_relations 21, cli_relations_record 3, cli_relations_imports 1, cli_relations_design 10, cli_required_relations_when_any 2, cli_publish_check 6, cli_health_data_flows 21, cli_help 1, output_contract 3.
  • rustfmt clean. Run through ix-build, --test-threads=4.

Not run: other test targets (focused only).

Criteria touched: FR-049-AC-5, FR-049-AC-6 (existing #[implements]/#[trace] tags kept); engine criteria FR-099-AC-7/10.

🤖 Generated with Claude Code

…output

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kreneskyp
kreneskyp requested a review from a team as a code owner December 4, 2026 19:58
…iew fix)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kreneskyp
kreneskyp merged commit 0e2587d into main Dec 4, 2026
4 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