Skip to content

✨ Show dynamic content evidence in context - #334

Open
Robdel12 wants to merge 1 commit into
mainfrom
rd/render-dynamic-region-context
Open

✨ Show dynamic content evidence in context#334
Robdel12 wants to merge 1 commit into
mainfrom
rd/render-dynamic-region-context

Conversation

@Robdel12

Copy link
Copy Markdown
Contributor

Why

The comparison context API already returns confirmed policy revisions plus explained and residual Honeydiff evidence, but the human and --agent output still said 0 confirmed regions and omitted that evidence. That made a correctly contained comparison look unresolved from the CLI.

Approach

Render the API-owned evaluation directly in comparison context. Contained and partial comparisons now show the persisted status, explained component numerator and denominator, residual count, and number of cited confirmed regions. The CLI does not infer policy state or invent values.

Evidence

A real contained comparison now reports 11/11 components explained · 0 left · 1 confirmed region. A partially explained comparison reports 34/37 components explained · 3 left · 2 confirmed regions, matching the JSON response exactly. The complete CLI test suite and lint pass.

Render the API-owned evaluation in human comparison context so contained and partial changes report the same explained, residual, and policy facts already available to JSON consumers.
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