Repository navigation
docs: align the spec §7.2 flows/cells example with the B2 contract - #104
Merged
Merged
Conversation
) 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]>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/cellsexample now matches the delivered B2 DTOs,FlowCellsRequestandCells[FlowCell]inapps/api/src/lca_api/dtos.py:revision_snapshotis a list of{release_id, revision_id}objects (RevisionRef) rather than plain UUID strings.comparison_tokenis added to the request and to the response, where it is required.request_idis 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 --checkis clean.dtos.py(Snapshot,FlowCellsRequest,Envelope,Cells,FlowCell) andlca_shared/contracts.py(RevisionRef,FlowValue).Limitations
Independent QA is pending.
🤖 Generated with Claude Code