[GH-ISSUE #395] Consolidate WindowsNativeAuthority and PermissionAuthority validation helpers #243

Closed
opened 2026-10-15 18:22:53 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @morluto on GitHub (Jul 20, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/395

Extract repeated same-module policy projections into shared helpers, starting with WindowsNativeAuthority resource/report validation and PermissionAuthority path/grant branches.

Part of #172.

Acceptance:

  • npm run jscpd duplicate percentage decreases for these modules.
  • Behavior is unchanged.
Originally created by @morluto on GitHub (Jul 20, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/395 Extract repeated same-module policy projections into shared helpers, starting with `WindowsNativeAuthority` resource/report validation and `PermissionAuthority` path/grant branches. Part of #172. Acceptance: - `npm run jscpd` duplicate percentage decreases for these modules. - Behavior is unchanged.
bsakaguchi 2026-10-15 18:22:53 +00:00
Author
Owner

@morluto commented on GitHub (Jul 20, 2026):

Closing as no longer actionable. npm run lint reports 0 warnings/errors and npm run jscpd shows only 1.65% duplicated lines, so these metric-driven refactors would force harmful cross-layer abstractions without improving real correctness.

<!-- gh-comment-id:5023567235 --> @morluto commented on GitHub (Jul 20, 2026): Closing as no longer actionable. `npm run lint` reports 0 warnings/errors and `npm run jscpd` shows only 1.65% duplicated lines, so these metric-driven refactors would force harmful cross-layer abstractions without improving real correctness.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#243
No description provided.