@devexcelsior/healing-governor-ui-overlay
Version:
Displays fallback suppression warnings when healing is blocked by governance.
12 lines (11 loc) • 620 B
JavaScript
;
// © 2025 DevExcelsior – Commercial use prohibited. License required.
Object.defineProperty(exports, "__esModule", { value: true });
exports.showGovernanceOverlay = showGovernanceOverlay;
function showGovernanceOverlay(reason) {
// Evaluation mode only — for dev use
const el = document.createElement('div');
el.style.cssText = 'position:fixed;bottom:0;left:0;right:0;background:#f00;color:#fff;padding:1em;font-size:14px;z-index:99999;text-align:center;font-family:sans-serif';
el.textContent = `[Governance Blocked] ${reason} (evaluation mode)`;
document.body.appendChild(el);
}