filegrc 0.13.5 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/model/index.js +7 -5
- package/model/v11.json +12200 -0
- package/package.json +1 -1
- package/src/agent.js +1 -1
- package/src/cli.js +1 -1
- package/src/collection-review.js +118 -0
- package/src/collection-revision.js +3 -1
- package/src/collection-scope.js +150 -3
- package/src/document-activation.js +28 -4
- package/src/model-migration.js +70 -2
- package/src/policy-activation.js +16 -2
- package/src/program-path.js +64 -14
- package/src/program-readiness.js +37 -14
- package/src/retention-schedule-approval.js +121 -0
- package/src/retention.js +56 -1
- package/src/state.js +19 -22
- package/src/validate.js +70 -1
- package/src/web.js +425 -71
- package/src/workflow-history-integrity.js +5 -1
- package/src/workflow.js +1 -3
|
@@ -224,7 +224,11 @@ export async function validateWorkflowHistoryIntegrity(loaded, diagnostics) {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
if (
|
|
227
|
+
if (
|
|
228
|
+
Array.isArray(first.record.reportingRouteRequirements)
|
|
229
|
+
&& first.record.reportingRouteRequirements.length
|
|
230
|
+
&& !sameJson(first.record.effectiveOn, entry.record.effectiveOn)
|
|
231
|
+
) {
|
|
228
232
|
diagnostics.push(integrityError(
|
|
229
233
|
entry,
|
|
230
234
|
`${entry.record.type} "${entry.record.id}" changed the effective date governing its structured Reporting Route requirements. Preserve the original interval and create a successor decision.`
|
package/src/workflow.js
CHANGED
|
@@ -576,9 +576,7 @@ function finalizationFields(record, model, resources, program) {
|
|
|
576
576
|
],
|
|
577
577
|
control: [
|
|
578
578
|
["procedureRevision", record.status === "implemented"],
|
|
579
|
-
["procedureEffectiveOn", record.status === "implemented"]
|
|
580
|
-
["implementationReviewedByIds", record.status === "implemented"],
|
|
581
|
-
["implementationReviewedOn", record.status === "implemented"]
|
|
579
|
+
["procedureEffectiveOn", record.status === "implemented"]
|
|
582
580
|
]
|
|
583
581
|
}[record.type] || [];
|
|
584
582
|
for (const [field, applies] of requested) {
|