Skip to content

Add review workflow to approve predicted phrases before injection - #5267

Open
Kaushik-Kumar-CEG wants to merge 2 commits into
aboutcode-org:developfrom
Kaushik-Kumar-CEG:gsoc/review-ml-phrases
Open

Add review workflow to approve predicted phrases before injection#5267
Kaushik-Kumar-CEG wants to merge 2 commits into
aboutcode-org:developfrom
Kaushik-Kumar-CEG:gsoc/review-ml-phrases

Conversation

@Kaushik-Kumar-CEG

@Kaushik-Kumar-CEG Kaushik-Kumar-CEG commented Aug 16, 2026

Copy link
Copy Markdown

Part of #5244. Depends on #5262.

Adds a predict, review, and apply workflow for model-generated required phrases. Every prediction requires an explicit decision before it can be applied.

The command saves review decisions, shows the exact rule diff, supports phrase editing, rejects stale review records, validates the complete apply batch before mutation, and writes each changed rule once.

Validation: 62 focused tests, Ruff, git diff --check, and a smoke prediction with the final hardened model.

@Kaushik-Kumar-CEG
Kaushik-Kumar-CEG marked this pull request as draft August 16, 2026 17:46
@Kaushik-Kumar-CEG Kaushik-Kumar-CEG changed the title add review workflow for ml predicted required phrases Add review workflow to approve predicted phrases before injection Aug 17, 2026
Signed-off-by: Kaushik Kumar <kaushikrjpm10@gmail.com>
Signed-off-by: Kaushik <kaushikrjpm10@gmail.com>
@Kaushik-Kumar-CEG
Kaushik-Kumar-CEG marked this pull request as ready for review September 7, 2026 15:21
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