Skip to content

Machine-readable RAES semantic diff and impact analysis (GOV-904) #110

Description

@Brad-Edwards

GOV-904 | FUNCTIONAL | SHOULD | Wave 3 | DRAFT

Requirements

  • GOV-904

Statement

RAES shall publish machine-readable semantic diff and impact-analysis contracts and APIs over admitted RAES scenarios, modules, tasks, runs, evidence specifications, and studies, preserving canonical identity, provenance, uncertainty, and explicit semantic loss. Presentation and pack-aware orchestration belong to consuming repositories.

Current ownership boundary

  • RAES owns the semantic comparison model, impact graph, portable result contract, and reference API.
  • env-packs owns pack-aware file selection, migration orchestration, and CLI presentation.
  • Hub owns browser/MCP presentation and user-facing comparison journeys.
  • Adapters and backends contribute authoritative capability or realization facts; RAES does not infer them.

Required outcome

Define a source-neutral comparison request and result that distinguishes textual, structural, and semantic change and reports affected identities, downstream dependencies, uncertainty, and provenance.

Acceptance criteria

  • Results distinguish added, removed, renamed, structurally changed, semantically changed, and unknown/indeterminate cases.
  • Comparisons operate over canonical identities rather than file paths alone.
  • Impact paths identify the rule or dependency that connects a change to an affected artifact.
  • Unresolved references, lossy migrations, and incomparable versions remain explicit.
  • The result is deterministic, versioned, machine-readable, and suitable for CLI, browser, and policy consumers.
  • Fixtures cover scenarios, modules, tasks, evidence specifications, studies, and external concept bindings.
  • No presentation layer is required to use the analysis API.

Non-goals

  • Owning a pack-aware filesystem diff.
  • Rendering a particular CLI or browser experience.
  • Predicting backend behavior without capability or realization evidence.

Tracks Ground Control requirement GOV-904.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-progressAn agent is actively working this issue via /implementrequirementTracks a Ground Control requirementwave-3Wave 3 requirement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions