fix(pc-audit): AI プロンプトを自律実行・要確認の使い分け方針に書き換え
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
90b02de5b5
commit
2ecd960a54
|
|
@ -684,7 +684,15 @@
|
||||||
|
|
||||||
var lines = [];
|
var lines = [];
|
||||||
lines.push("以下は PC 監査ツール(Posimai PC Audit)の実行結果です。");
|
lines.push("以下は PC 監査ツール(Posimai PC Audit)の実行結果です。");
|
||||||
lines.push("各チェック項目について、Windows での具体的な対処手順をコマンドや設定画面の操作手順を含めて教えてください。");
|
lines.push("各チェック項目への対応をお願いします。");
|
||||||
|
lines.push("");
|
||||||
|
lines.push("## 対応方針");
|
||||||
|
lines.push("- PowerShell コマンドや設定変更など、AI が自律的に実行・提案できる対応はそのまま進めてください。");
|
||||||
|
lines.push("- 以下に該当する場合は、実行前に必ず私に確認してください:");
|
||||||
|
lines.push(" - システム全体に影響する変更(UAC 設定変更・ユーザー権限変更など)");
|
||||||
|
lines.push(" - 元に戻しにくい操作(ファイル削除・レジストリ変更など)");
|
||||||
|
lines.push(" - 私の環境や業務の判断が必要なもの(「このソフトは必要か?」など)");
|
||||||
|
lines.push(" - リスクや副作用が不明確なもの");
|
||||||
lines.push("");
|
lines.push("");
|
||||||
lines.push("## PC 情報");
|
lines.push("## PC 情報");
|
||||||
lines.push("- PC 名: " + (m.Name || "不明"));
|
lines.push("- PC 名: " + (m.Name || "不明"));
|
||||||
|
|
@ -705,13 +713,13 @@
|
||||||
lines.push("");
|
lines.push("");
|
||||||
lines.push("### " + (idx + 1) + ". " + tag + " " + (item.Title || ""));
|
lines.push("### " + (idx + 1) + ". " + tag + " " + (item.Title || ""));
|
||||||
if (item.Body) lines.push((item.Body || "").replace(/\n/g, " "));
|
if (item.Body) lines.push((item.Body || "").replace(/\n/g, " "));
|
||||||
if (item.ActionJa) lines.push("推奨対処: " + item.ActionJa);
|
if (item.ActionJa) lines.push("推奨対処のヒント: " + item.ActionJa);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
lines.push("");
|
lines.push("");
|
||||||
lines.push("---");
|
lines.push("---");
|
||||||
lines.push("それぞれについて Windows での具体的な対処手順(PowerShell コマンドや設定画面の操作など)を教えてください。");
|
lines.push("各項目について対応方針を示した上で、自律実行できるものはそのまま進め、判断が必要なものは確認を入れてください。");
|
||||||
return lines.join("\n");
|
return lines.join("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue