feat: add legacy security warning API and UI modal for pre-factory-seal machines

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/f7c8f11b-873b-403f-ac55-8b5b7cd9f1fb

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-07 15:49:25 +00:00
committed by GitHub
parent a40ea61415
commit 13c686a8a1
6 changed files with 147 additions and 0 deletions

View File

@@ -99,5 +99,10 @@ const $upgradeConfirmBtn = document.getElementById("upgrade-confirm-btn");
const $upgradeCancelBtn = document.getElementById("upgrade-cancel-btn");
const $upgradeCloseBtn = document.getElementById("upgrade-close-btn");
// Legacy security warning modal
const $securityWarningModal = document.getElementById("security-warning-modal");
const $securityWarningMessage = document.getElementById("security-warning-message");
const $securityWarningDismiss = document.getElementById("security-warning-dismiss-btn");
// System status banner
// (removed — health is now shown per-tile via the composite health field)