Skip to content

fix(ui): resolve unique catalog affiliations, omit distinct multiples - #112

Closed
cursor[bot] wants to merge 7 commits into
mainfrom
cursor/bc-c13f581e-c1fe-412c-9fcb-517156f231ce-82d2
Closed

fix(ui): resolve unique catalog affiliations, omit distinct multiples#112
cursor[bot] wants to merge 7 commits into
mainfrom
cursor/bc-c13f581e-c1fe-412c-9fcb-517156f231ce-82d2

Conversation

@cursor

@cursor cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Buyer impact

Related-person chips now show an organization only when exactly one identity is known. After make seed, walk from Demo Corp and you should see Ada West, Demo Corp (Our side). Walk from Ada West and Priya stays Priya Nair (Counterparty) — she has two unresolved orgs, so the chip must not invent Northridge Grid as a primary. When the one identity is a resolved catalog org, the chip uses corporate_entity.entity_name, not the raw extraction string.

Open this instead of merging #92 at c72317cc. That head dropped catalog identity, left CHANGELOG 0.75.0 advertising the invented Priya caption, and left the live-stack API test asserting it.

What to verify

  • Unique unresolved name still appears on the chip.
  • Two distinct unresolved names are omitted.
  • Two raw aliases of one corporate_entity_id collapse to the catalog name.
  • An unresolved alias that casefold-matches the catalog label is not a second org.
  • A catalog org plus a different unresolved name stays omitted.
  • Frontend accessible names match those captions.

Local evidence on e41e5bf: affiliation unit tests 7 passed; frontend App.test.tsx 42 passed; oxlint clean.

Merge boundary

Do not merge until exact-head/live-base Tests, Frontend, Semgrep, Security Scan, and required review gates are terminal-success on this head. Do not treat #92's predecessor-head evidence as current. Queued or stale-base checks are non-passing.

Open in Web View Automation 

seonghobae and others added 7 commits August 16, 2026 23:08
…2.0)

Related chips still said "Ada West (Person)" even though the payload
already had person_side_code. Attach person_side_label from
common_lookup_value and use that caption (and accessible name) so the
buyer sees Our side / Counterparty, not the ontology class.
Buyer gap: after person chips used Our side / Counterparty, org chips
still said Demo Corp (Organization). Hydrate entity_level_label from
common_lookup_value so the walk reads Demo Corp (Company). Missing
lookups fall back to the code. Never invents a level.
Buyer gap: person chips say Our side / Counterparty and org chips
say Company, but post chips still appended (Post). The related
walk now shows the post title only.
Related person chips use the primary affiliation organization when one exists. After make seed, Ada West walks to Priya Nair, Northridge Grid (Counterparty) and Demo Corp walks to Ada West, Demo Corp (Our side). Missing affiliations stay omitted.
Related-node chips now treat a resolved corporate_entity as one
identity and display its catalog name. Distinct unresolved orgs stay
omitted so the seeded Priya path is side-only, matching the 0.75.0
contract.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Caption contract on this head is the right one: unique catalog identity shows entity_name, aliases collapse, distinct multiples are omitted, and Priya stays side-only after make seed.

#113 (5eeaa7f) carries the same caption rule plus the ADR-0013 payload-literal lock that #109 left as a residual scan. Prefer #113 if both slices should land together; this PR remains the caption-only alternative.

CodeRabbit CLI is not authenticated in this environment. Local affiliation unit tests and frontend tests on #113 passed; this comment does not re-run #112's suite.

View PR

Open in Web View Automation 

Sent by Cursor Automation: Fix Issues

@seonghobae

Copy link
Copy Markdown
Contributor

Landed on #92 as 15de5d4 (unique catalog identity, omit distinct multiples).

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.

2 participants