Skip to content

CAP-PFM-ELG-002Locate rules and understand their dependencies

Markdown

CAP-PFM-ELG-002

Locate rules and understand their dependencies

Markdown
  • DocumentDraft
  • Product intentConfirmed
  • ImplementationObserved

KindCapabilityProduct areaPlatformModuleEligibility, Responsibilities and AttentionRevision1

Read atservices-platform ad3f6a65react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Search locates definitions by their name, lifecycle, owner or included condition.Dependency review identifies consumers and included-rule references before a change.
Surfaces
consoleapi
Intent sources
services-platform:docs/milestones/plans/PLAT-M11-plan.md#3. How it works for the userservices-platform:docs/milestones/PLAT-M11-eligibility-rules.md#Decisions

Controls

25 controls apply, from the corpus control catalogue.

TC-AVL-004 TC-AVL-005 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-DAT-001 TC-DAT-003 TC-DAT-004 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-PI-001 TC-PI-002 TC-PI-003 TC-PI-004 TC-PI-005 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-TEN-004 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
platform.eligibility.readapitenant

Business Rules

11 rules, 8 to be proved before approval. A rule's product intent is derived from its origin: 11 confirmed by a product decision, the rest inheriting this capability's confirmed.

IdRuleKindEnforced atProvenance
01must prove
Confirmed
Rule, version, usage and decision reads require eligibility read authority, rejecting callers without it, without a role or outside the authorized customer.
permissionapitest
services-platform:modules/eligibility/tests/e2e/eligibility-definitions.e2e.spec.js#refuses a caller without platform.eligibility.read, 403
02must prove
Confirmed
Portal callers cannot enter the rule administration routes.
permissionapitest
services-platform:modules/eligibility/tests/e2e/eligibility-definitions.e2e.spec.js#refuses a portal caller every definitions route, as a context mismatch
03must prove
Confirmed
The explorer returns only workspace rules in key order and supports status, ownership, reuse, subject kind, used condition and literal case-insensitive name or key filters.
policyservicetest
services-platform:modules/eligibility/tests/integration/services/model/explorer.integration.spec.js#takes a percent sign in the text literally rather than as a wildcard
04must prove
Confirmed
Searches exceeding 200 characters and unsupported filter choices fail with the offending parameter named.
validationapitest
services-platform:modules/eligibility/tests/e2e/eligibility-definitions.e2e.spec.js#refuses an explorer filter outside the closed list, 400
05must prove
Confirmed
Rule pages resume after the preceding page’s last key, return 50 entries by default and allow no more than 200.
policyapi, servicetest
06
Confirmed
A rule overview returns its latest publication, current draft and dependency counts.
policyservicetest
07must prove
Confirmed
Usage organizes bindings by purpose, presents their consumer and version choices, flags outdated pins and lists live referencing rules with their own usage.
calculationservicetest
services-platform:modules/eligibility/tests/integration/services/governance/usage.integration.spec.js#groups the bindings by consumer kind in kind order, each labelled from the registry and counted
08must prove
Confirmed
Reference counts include current drafts, published versions of live or deprecated rules and versions pinned by active uses, consistently across discovery, detail, usage and archive refusals.
calculationservicetest
09must prove
Confirmed
A rule outside the current workspace is reported as absent.
invariantservice, databasetest
10
Confirmed
The console configuration list reveals archived rules through Show Inactive and product-specific rules through Show Private Rules, identifying the owning product.
policyconsoleobserved
11
Confirmed
The product should make eligibility rules available to reporting; the proposed dataset is absent and the explorer currently reads the rule store directly.
policyservicedocumented

Scenarios

IdGivenWhenThenProvenance
01The organization has 60 qualification definitions.A librarian traverses default and maximum pages and searches a subset.Each matching rule appears once during traversal.test
02A shared expression has a price use, an outdated auditor pin and two references.The administrator inspects dependencies before editing.Purpose groups show the uses, flag the lagging pin and include each referencing rule’s usage.test

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.