feat(ixp): guide the confirm --model-version version guard [ACTV-89481] - #2548
Draft
cezara98t wants to merge 3 commits into
Draft
feat(ixp): guide the confirm --model-version version guard [ACTV-89481]#2548cezara98t wants to merge 3 commits into
cezara98t wants to merge 3 commits into
Conversation
Teach the labelling flow to capture ModelVersion from get-predictions and pass it to `confirm -m/--model-version`, so a retrain mid-review can't stamp drifted predictions as ground truth. Adds Critical Rule 19, the 2a capture note and 2d guidance in the label-documents guide, and the cli-reference get-predictions + confirm rows. Gated on the CLI flag release (UiPath/cli#3539).
"step 2a"/"step 2d" cross-refs; "change the values confirm stamps" instead of "swap" (values drift, they don't swap).
The per-document flow always has the doc's ModelVersion, so always pass -m; and bulk confirm-all is already forbidden by the guide — no reason to carve it out.
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.
What
Teaches the IXP labelling flow to use the new confirm version guard:
ModelVersionfromget-predictions(step 2a).confirm -m/--model-version(step 2d) — a retrain landing between the read and the confirm can't stamp drifted predictions as ground truth; the server rejects withPredictionVersionChangedErrorinstead.get-predictions, re-review, confirm against the new version.cli-referenceget-predictions+confirmrows updated.-m/--model-versiononconfirmships in UiPath/cli#3539 (stacked on theModelVersion-on-get-predictionsPR). Merge this only after that CLI release — otherwise agents on the current CLI hit an unknown flag. Draft until then.Server side
The guard itself is UiPath/DU-App#35850 (returns 409
[PredictionVersionChangedError]when the pinned version drifted).Follow-up
A command-shape smoke task (grade that the agent passes
--model-version) is a good follow-up — mock-based, so it can land independently of the CLI release.🤖 Generated with Claude Code