Repository navigation
feat(insurance): preserve selected comparison amounts - #435
Conversation
Independent review at 829ae14Verdict: no actionable findings. Source of truth: the live Public OpenAPI schema (the two local spec files named in the brief were absent, so I fetched the schema from the vendor's unauthenticated openapi endpoint and parsed it). Checked:
Mutation probes (scratch copy, each reverted):
Info only: |
|
Independent adversarial review: CLEAN at
Local verification (macOS; httptest/JSON fixture evidence only, no live Archera calls): CI green on |
|
Automated review of
Posted by a read-only review sweep. It stays silent on this commit and re-reviews only after a new push. |
829ae14 to
3adf47b
Compare
|
Rebased onto main |
3adf47b to
99c7310
Compare
|
CI was green on |
|
Main moved to |
99c7310 to
0a018e8
Compare
|
CI on |
0a018e8 to
eee7a2c
Compare
|
CI green on |
eee7a2c to
7a1704f
Compare
|
Merge evidence at |
What
Keep the selected comparison amount (the
selected_commitmentside of an Archera comparison row) instead of dropping it when quotes are decoded.Why
The Public Archera CommitmentPlanLineItem schema carries
account_id,offer.provider_offering_idandselected_commitment. Comparison rows join to line items byline_item_id, so the selected amount must survive decoding for that join to be useful (#434).Test evidence
Synthetic httptest fixtures only; no live Archera calls.
cd pkg && gofmt -l .clean,go vet ./insurance/...cleancd pkg && go test ./insurance/...ok;go test -race -short ./insurance/...okcd pkg && go build ./...okgolangci-lintcould not run (built with go1.26, repo needs go1.27); relying on CI lint.Stack
PR 1 of 3 (base: main). Followed by the line-item decode PR and the pagination PR.
Refs #434
🤖 Generated with Claude Code
Summary by CodeRabbit