Skip to content

[Core] Implement organization relationships and DBA names #1256

Closed

Description

@laurabelinfante

Summary

Implements the organization relationship design recorded in ADR 0030 (#1265), which replaces the RelationshipCollection sketch in #1223. OrganizationBase gets optional relationships and dbaNames, available for v0.5. Opportunities, awards, and Award.parent are unchanged for v0.5. Relationship changes stay on organizations for now, and the other models will be aligned in v0.6 or later. supersededBy is replaced by recordReplacedBy, to keep record replacement separate from succeededBy, which is about an organization's lifecycle. The design decisions live in ADR 0030.

Acceptance criteria

  • OrganizationBase has optional relationships and dbaNames matching ADR 0030, all versioned for v0.5, with v0.1-v0.4 unchanged
  • All six Fluxx organization concepts have a recorded representation, cardinality, and one-line meaning
  • Examples, tests, generated artifacts, website model documentation, and the changelog cover the new organization fields
  • OrgSync tests prove OrgPatchData can set nested relationships and clear them without producing an invalid schema
  • Validation pass: before merging to the hold branch, draft the new models in Zod and Pydantic to catch design issues early (not merged, just a check)

Activity

  1. added
    coreIssues related to @common-grants/core library
    sdkIssue or PR related to our SDKs
    featureNew capability. Belongs on a hold branch.
    on Sep 29, 2026
  2. changed the title [-][Core] Implement `RelationshipCollection` with opportunity, award, and organization relationships[/-] [+][Core] Implement organization relationships and DBA names[/+] on Oct 8, 2026
  3. laurabelinfante commented on Oct 8, 2026

    @laurabelinfante
    CollaboratorAuthor

    Updated the title and description to match ADR 0030. The original ticket was written before the design settled, so it still described a RelationshipCollection across opportunities, awards, and organizations.

    • Per @widal001, relationship changes stay on the organization model for v0.5, and we'll align opportunities and awards in v0.6 or later.
    • supersededBy is now recordReplacedBy, so record replacement stays separate from succeededBy (an organization's lifecycle).
    • The first and third ACs changed to reflect the org-only scope and the ADR. The other three are the same as before.

    The original description is in this issue's edit history if anyone needs it.

  4. laurabelinfante commented on Oct 9, 2026

    @laurabelinfante
    CollaboratorAuthor

    All ACs met. Organization relationships (including the dba kind) and aliases landed on CORE-v0.5.0 in #1266, with the ADR in #1265. The Zod and Pydantic check passed before merge, and these ship with the v0.5.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

coreIssues related to @common-grants/core libraryfeatureNew capability. Belongs on a hold branch.sdkIssue or PR related to our SDKs

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions