Skip to content

fix(OPENFRAM-002-6): CU-86akn96pf OAuthToken lacks the full Lombok quartet required for @Document classes - #2426

Draft
flamingo[bot] wants to merge 1 commit into
mainfrom
ai-fix/openfram-002-6-0a7df116-9a25c19f
Draft

flamingo[bot] wants to merge 1 commit into
mainfrom
ai-fix/openfram-002-6-0a7df116-9a25c19f

Conversation

@flamingo

@flamingo flamingo Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes findings from rule OPENFRAM-002-6 — OAuthToken lacks the full Lombok quartet required for @document classes.

Draft — this is a starting point, not a finished change. The fix required judgment, so read it before trusting it.

# Fix confidence Finding Location
1 🟢 92 high OAuthToken lacks the full Lombok quartet required for @document classes openframe-data-mongo-common/src/main/java/com/openframe/data/document/oauth/OAuthToken.java:8

What changed — and what was deliberately left — is explained per finding as inline review comments on the lines each finding touched.


Run: https://product-hub.flamingo.so/admin/code-review
Run id: 9a25c19f-a499-4571-bb37-da3cba9b8394

Merging this PR is recorded as acceptance of the rule that produced it;
closing it unmerged is recorded as rejection. Both feed rule health, so
closing a wrong suggestion is useful rather than merely tidy.

ClickUp task: CU-86akn96pf OpenFrame lib batch review findings sweep (7 PRs)

@flamingo flamingo Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🦩 What this fix changed, finding by finding

1 finding(s) fixed in this draft — 1 explained inline on the diff.

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.time.Instant;
@Data

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🦩 🟠 OAuthToken lacks the full Lombok quartet required for @document classes

Added @Builder, @NoArgsConstructor, and @AllArgsConstructor annotations (with corresponding lombok imports) to the OAuthToken class in openframe-data-mongo-common/src/main/java/com/openframe/data/document/oauth/OAuthToken.java, alongside the existing @Data and @Document annotations, completing the required Lombok quartet.

🤖 Prompt for AI agents
In openframe-data-mongo-common/src/main/java/com/openframe/data/document/oauth/OAuthToken.java around line 8, review and complete this code-review fix: OAuthToken lacks the full Lombok quartet required for @Document classes.
What the draft fix changed: Added `@Builder`, `@NoArgsConstructor`, and `@AllArgsConstructor` annotations (with corresponding lombok imports) to the `OAuthToken` class in `openframe-data-mongo-common/src/main/java/com/openframe/data/document/oauth/OAuthToken.java`, alongside the existing `@Data` and `@Document` annotations, completing the required Lombok quartet.
Verify the change is correct and complete; do not refactor unrelated code.

fix confidence: 🟢 92 high — react 👍/👎 to teach the reviewer

@flamingo flamingo Bot changed the title fix(OPENFRAM-002-6): OAuthToken lacks the full Lombok quartet required for @Document classes fix(OPENFRAM-002-6): CU-86akn96pf OAuthToken lacks the full Lombok quartet required for @Document classes Sep 29, 2026
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.

0 participants