feat(local): authorize reconciliation automation decisions

This commit is contained in:
whyour
2026-08-22 18:01:24 +08:00
parent 35efa1f33e
commit e6615c7088
15 changed files with 3444 additions and 8 deletions
+21
View File
@@ -2018,6 +2018,21 @@ function auditSourceImports(root, packagePath, findings) {
'@qinglong/local-sqlite/authentication-read',
].includes(specifier)
) &&
!(
path.relative(packageDirectory, filePath) ===
'src/deployment/reconciliation/application/automation/decisionCoordinator.ts' &&
[
'@qinglong/local-admin/reconciliation-automation-decision',
'@qinglong/local-owner-console/authenticated-command',
'@qinglong/local-sqlite/authentication-read',
].includes(specifier)
) &&
!(
path.relative(packageDirectory, filePath) ===
'src/deployment/reconciliation/application/automation/planReader.ts' &&
specifier ===
'@qinglong/local-admin/reconciliation-automation-decision'
) &&
!(
path.relative(packageDirectory, filePath) ===
'src/deployment/reconciliation/application/automation/rowPlan.ts' &&
@@ -2195,6 +2210,12 @@ function auditSourceImports(root, packagePath, findings) {
(path.relative(packageDirectory, filePath) ===
'src/legacy-adoption/legacyCrontabDecisionIssuerKeyring.ts' &&
specifier === '@qinglong/runtime-core/local-secret') ||
(path.relative(packageDirectory, filePath) ===
'src/legacy-adoption/reconciliationAutomationDecision.ts' &&
[
'@qinglong/runtime-core/local-secret',
'@qinglong/runtime-core/security',
].includes(specifier)) ||
(path.relative(packageDirectory, filePath) ===
'src/plugin-package/pluginPackageStaging.ts' &&
[