log-llm-config 1.3.28 → 1.3.30
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.
|
@@ -141,7 +141,10 @@ export async function runCompliancePromptGate() {
|
|
|
141
141
|
hookRunLog('compliance_prompt_gate: Claude — autofix wrote JSON; recheck still flags same UUID(s) — proceeding (immediate apply)');
|
|
142
142
|
}
|
|
143
143
|
if (deferredSqlitePending || recheckOk || claudeRecheckStaleAfterImmediateApply) {
|
|
144
|
-
const
|
|
144
|
+
const violationLabel = fixed === 1 ? 'policy violation' : 'policy violations';
|
|
145
|
+
const autofixMessage = `Optimus Labs auto-fixed ${fixed} ${violationLabel}:\n\n${appliedViolations
|
|
146
|
+
.map((v) => autofixDialogLine(v))
|
|
147
|
+
.join('\n')}`;
|
|
145
148
|
const payload = { __optimus_autofix: true, autofix_message: autofixMessage };
|
|
146
149
|
if (restartCommands.length > 0)
|
|
147
150
|
payload.restart_commands = restartCommands;
|