Skip to content

feat: adds endpoints to get claims by source and proofs by claim#101

Merged
semmet95 merged 3 commits into
mainfrom
feature/claims-proofs-get-by
May 1, 2026
Merged

feat: adds endpoints to get claims by source and proofs by claim#101
semmet95 merged 3 commits into
mainfrom
feature/claims-proofs-get-by

Conversation

@semmet95
Copy link
Copy Markdown
Contributor

@semmet95 semmet95 commented Apr 30, 2026

Adds two read endpoints to list claims by source and proofs by claim, wire them through the generated server, handlers, router, and repository layers, and update the OpenAPI spec and acceptance tests.

Signed-off-by: Amit Singh <singhamitch@outlook.com>
Signed-off-by: Amit Singh <singhamitch@outlook.com>
…proofs by claim

Signed-off-by: Amit Singh <singhamitch@outlook.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 19 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="acceptance/claim_test.go">

<violation number="1" location="acceptance/claim_test.go:119">
P2: Use an exact collection assertion here; the current check allows unrelated claims to slip through and still pass.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread acceptance/claim_test.go
@semmet95
Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai ultrareview

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented Apr 30, 2026

@cubic-dev-ai ultrareview

@semmet95 Ultrareview requires an upgraded plan with Codebase Scans enabled. Please upgrade at https://cubic.dev/settings?tab=subscription

@semmet95
Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented Apr 30, 2026

@cubic-dev-ai review this PR

@semmet95 I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 19 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="acceptance/proof_test.go">

<violation number="1" location="acceptance/proof_test.go:153">
P2: Tighten this assertion so the response must contain only proofs for the requested claim digest.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread acceptance/proof_test.go
@semmet95 semmet95 merged commit 6d030a0 into main May 1, 2026
8 checks passed
@semmet95 semmet95 deleted the feature/claims-proofs-get-by branch May 1, 2026 08:22
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