feat(supply-chain): portfolio overview, components, export, and comparison - #109
Merged
balcsida merged 2 commits intoSep 22, 2026
Merged
Conversation
balcsida
added this pull request to stack #114
September 22, 2026 21:06
balcsida
force-pushed
the
feat/supply-chain/m3-portfolio
branch
2 times, most recently
from
September 22, 2026 22:19
c5ef8d2 to
21b084a
Compare
balcsida
marked this pull request as ready for review
September 22, 2026 22:20
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…omparison APIs Add cross-repository read APIs computed strictly inside the caller's authorized scope: an overview whose every count names its denominator, keyset-paginated unique coordinates with ecosystem/search/license/ assessment filters and filter-bound cursors, bounded facets, a coordinate detail listing authorized occurrences, a CSV export of one snapshot with provenance columns and formula neutralization, and a snapshot comparison that separates component, declared-license, and edge changes from document metadata changes. Design the routes in OpenAPI and prove authorization, pagination, and CSV safety against PostgreSQL. Co-Authored-By: Claude <noreply@anthropic.com>
Add Overview (every count with its named denominator, no percentages), Components (facet filters, server pagination with filter-bound cursors, cross-repository occurrence detail handing off to the evidence panel), CSV download, and snapshot comparison to the embedded inventory page. Views and filters are addressable in the hash; DOM, contract, and screenshot fixtures follow the API enums, and both themes are captured. Co-Authored-By: Claude <noreply@anthropic.com>
balcsida
force-pushed
the
feat/supply-chain/m3-portfolio
branch
from
September 22, 2026 22:30
21b084a to
961c1ad
Compare
balcsida
force-pushed
the
feat/supply-chain/m3-portfolio
branch
from
September 22, 2026 22:59
961c1ad to
444f036
Compare
balcsida
force-pushed
the
feat/supply-chain/m3-portfolio
branch
from
September 22, 2026 23:51
444f036 to
961c1ad
Compare
Merged
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.
Summary
Milestone 3. Depends on #108.
GET /v1/supply-chain/overview(every count names its denominator; no compliance percentages),/components(unique coordinates, keyset pagination, cursor bound to the filter set),/facets,/components/{key}(authorized occurrences only),/exports/{id}/components.csv(provenance columns; cells starting with= + - @ | %or control characters are apostrophe-prefixed),/compare(component changes by coordinate, declared-license changes, resolved-edge deltas, and document-metadata changes reported separately; cross-producer comparisons flagged).Verification
Integration test against PostgreSQL: cross-repository authorization on counts/facets/pages/detail/export/compare across two installations, stable pagination across three pages, cursor reuse across filters rejected, literal
%search, CSV formula neutralization, snapshot comparison with a foreign snapshot ID refused. DOM/contract tests and screenshots for the UI.make openapi-checkpasses.Implications
No migrations. Exports are bounded (
413beyond the limit).Part of the Dependencies & Licenses stack (native GitHub stack #114, ten layers,
main ← #104 ← #105 ← #106 ← #107 ← #108 ← #109 ← #110 ← #111 ← #112 ← #113). Design: ADR-0017; living plan with the full validation table:docs/execplans/supply-chain.md. All commits are SSH-signed. Nothing here calls a live GitHub Enterprise Server or a live package registry; GitHub and registry behavior is exercised against fixtures and fake servers only.Stack created with GitHub Stacks CLI