Skip to main content

MGCCapstoneReconMatchRuleSet

Matching rule-set header (B1, D-CAP-B4): one ordered, stop-on-match rule set assignable to an account scope in the native main-account grammar; a single main account, a main account category (the account class of B12), or every designated account. The engine resolves the most specific enabled set for each account: an account-scoped set beats a category-scoped set beats an all-scoped set, and within one specificity the earliest row wins deterministically (MGCCapstoneReconMatchEngine::resolveRuleSet; the same resolution grammar CAP-001's policy scope rows use). The scope grammar is validated on the ROW (validateWrite), not on the form, so the grid and a data-management import obey one rule: an account-scoped set names an account and no category, a category-scoped set names a category and no account, an all-scoped set names neither. AutoAcceptThreshold is the confidence gate (B4): proposals whose rule confidence is at or above it commit as match groups; below it they queue in the workbench as Open proposal groups. It ships at 100 on a new set; only a perfectly confident rule commits until a human deliberately lowers the bar, because the threshold decides when matching happens with no second look. Deletion is refused while any match group carries this set's id as rule-hit provenance (validateDelete): the group's RuleSetId + RuleSequence stamp is what an auditor attests the deterministic covenant against, and the set it points at must remain inspectable. Rules cascade with their set (the child relation's OnDelete) only when nothing ever matched by it.

Fields​

NameTypeMandatoryDescription
RuleSetIdMGCCapstoneReconRuleSetIdYesIdentifier of a matching rule set (B1). The engine resolves the most specific enabled rule set for each designated account.
DescriptionDescription255No
AccountScopeTableGroupAllNoWhat this rule set covers (B1): a single main account (Table), a main account category (Group), or every designated account (All). The engine resolves the most specific enabled set per account; account beats category beats all.
MainAccountIdMainAccountNumNoThe main account this set covers when the scope is a single account (B1). Blank on category- and all-scoped sets.
MainAccountCategoryRefRefRecIdNoThe main account category (the account class) this set covers when the scope is a category (B1, B12). Blank on account- and all-scoped sets.
AutoAcceptThresholdMGCCapstoneReconConfidenceNoProposals whose rule confidence is at or above this commit as match groups; below it they queue in the workbench for a human accept (B4). 0..100 percent scale. Ships at 100; nothing commits unseen until a human lowers it.
EnabledNoYesNoOnly enabled sets resolve for an account. Disabling a set is the reversible alternative to deleting it; and the only alternative once match groups carry it as provenance.