Skip to content

docs: align the spec §7.2 flows/cells example with the B2 contract - #104

Merged
DavidVFitzGerald merged 1 commit into
mainfrom
docs/102-spec-72-example
Nov 16, 2026
Merged

DavidVFitzGerald merged 1 commit into
mainfrom
docs/102-spec-72-example

Conversation

@DavidVFitzGerald

Copy link
Copy Markdown
Owner

Refs #102

Behavior / scope

Documentation only, and the maintainer requested this correction on 2026-11-16. In specification §7.2, the POST /api/v1/comparison/flows/cells example now matches the delivered B2 DTOs, FlowCellsRequest and Cells[FlowCell] in apps/api/src/lca_api/dtos.py:

  • revision_snapshot is a list of {release_id, revision_id} objects (RevisionRef) rather than plain UUID strings.
  • comparison_token is added to the request and to the response, where it is required.
  • request_id is added to the response envelope.

The cell objects are unchanged. No code, API, PRD or meaning changes, so no ADR is needed.

Checks

  • git diff --check is clean.
  • Fields were cross-checked against dtos.py (Snapshot, FlowCellsRequest, Envelope, Cells, FlowCell) and lca_shared/contracts.py (RevisionRef, FlowValue).

Limitations

Independent QA is pending.

🤖 Generated with Claude Code

)

Show revision_snapshot as {release_id, revision_id} pairs and add the
required comparison_token (request and response) and request_id
(response), matching apps/api dtos FlowCellsRequest/Cells.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DavidVFitzGerald
DavidVFitzGerald merged commit 0fe3ff3 into main Nov 16, 2026
4 checks passed
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