What this page does
Use this page to update an existing activity tag rule. The edit route can load a single stored rule, or it can load an existing add-rule and remove-rule pair into one grouped operator form when the route receives both IDs.
How the form is rebuilt
- The route always loads the primary rule ID from the URL.
- If add and remove rule IDs are present in the query string, the page loads those records too.
- The visible rule name removes the
(Add)and(Remove)suffixes so the operator edits one clean grouped name. - Existing add and remove records fill the Add Tag and Remove Tag sections separately.
Main actions
- Test Conditions estimates how many users currently match the selected activity and unsaved condition rows. It proves estimator matching only; it does not prove that the live webhook evaluator enforces the same condition keys.
- Save Rule submits updates for enabled sections that already have a stored rule ID.
- Back to List leaves the edit page without submitting the form.
Important caveats
- The shared form can build add and remove payloads, but the verified edit page wrapper only updates payloads that already have an ID.
- Enabling a missing counterpart section in edit is not verified to create a new stored rule from this page.
- Disabling an existing counterpart section is not verified to delete that stored rule from this page.
- When both add and remove sections are enabled, the page lowers the remove rule priority by one in the generated payload.
- There is no dedicated grouped-rule source API in the verified flow; grouped editing is page composition over individual rule reads and updates.
- Grouped updates are submitted sequentially by the page wrapper and are not wrapped in one transaction. If a later update fails, an earlier update is not compensated or rolled back.
- The estimator supports the form's transaction/user condition keys. The live model evaluator supports only
minCount,maxCount,minAmount,maxAmount, andtimeFrame, so saved form conditions are not proof of live filtering. - Estimator Amount labels are inclusive:
greaterThanmeans>=andlessThanmeans<=. Estimator ID Verification Status checks whether document labels exist; it is not a separate ID-verification status predicate. - The edit screen does not provide a durable action-history confirmation. After a partial or failed grouped save, reload the stored rules before retrying.
Route behavior, shared form behavior, grouped rule loading, estimator testing, sequential update flow, and the separate live evaluator have been traced. No workspace-settings or casino-side semantic dependency was found for this edit form.