Implement ESI Wave 4D exemption and authority controls - #122
Implement ESI Wave 4D exemption and authority controls#122hrtechifyed wants to merge 21 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7b6300e31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ] | ||
| }] | ||
| });} | ||
| const ESI_WAVE4D_PROFILE_DEFINITIONS=deepFreeze(CONFIGS.map((config)=>({featureId:config.featureId,ruleId:config.ruleId,productRuleId:config.productRuleId,queryTerms:clone(config.queryTerms),maxChunks:5}))); |
There was a problem hiding this comment.
Retrieve the selected order-authentication source
For order-authentication-context requests using the default lexical route, retrieval uses only the static profile terms and this five-chunk cap; the ranking returns the inspector, central-rules, Code, recovery-officer, and authorised-officer chunks, omitting esi-orders-authentication-wave4d-001 and its S.O. 2354(E) citation. Consequently, an order-authentication review does not cite the controlled source that specifically governs the selected context; increase the cap or make the declared context influence retrieval.
Useful? React with 👍 / 👎.
What changed
Source-governance boundary
Deliberately not decided
Wave 4D does not grant, validate, renew, withdraw or interpret an exemption; authenticate a notice, order, officer or signature; decide liability, default, recovery, limitation, penalty, prosecution or jurisdiction; or calculate an enforcement amount.
Authority and privacy boundary
specialist-review; absent facts returnmore-information-neededneeds-legal-reviewValidation target
Current validation status
The first browser run reached Playwright and exposed a brittle citation-number assertion; the rendered source title and all authority/privacy behavior were otherwise correct. The assertion now checks the stable source title instead of punctuation-sensitive notification text.
Corrected final head:
b7b6300e317e4d59689ae41a910678206f6a7b02.GitHub has created fresh All-Laws RAG, Executive Assessment, M4 Report Integration and M7 Hardening runs for the corrected head. All four are currently queued without runner assignment, so none is represented as passed or failed yet.
Review gates still open
This stacked PR targets the integrated Wave 4C head on
agent/esi-wave4b-coverage-routing. Qualified legal, privacy, RAG, security, test and release approvals remain required. Passing software tests is not legal approval.