Bracket enforcement + inline gating; global pool prune; compliance JSON artifacts; UI combos gating; compose envs consolidated; fix YAML; bump version to 2.2.5

This commit is contained in:
mwisnowski 2025-09-03 18:00:06 -07:00
parent 42c8fc9f9e
commit 4e03997923
32 changed files with 2819 additions and 125 deletions

View file

@ -0,0 +1,29 @@
{% extends "base.html" %}
{% block content %}
<section>
<h2>Bracket compliance — Enforcement review</h2>
<p class="muted">Choose replacements for flagged cards, then click Apply enforcement.</p>
<div style="margin:.5rem 0 1rem 0;">
<a href="/build" class="btn">Back to Builder</a>
</div>
{% include "build/_compliance_panel.html" %}
</section>
<script>
// In full-page mode, submit enforcement as a normal form POST (not HTMX swap)
try{
document.querySelectorAll('form[hx-post="/build/enforce/apply"]').forEach(function(f){
f.removeAttribute('hx-post');
f.removeAttribute('hx-target');
f.removeAttribute('hx-swap');
f.setAttribute('action', '/build/enforce/apply');
f.setAttribute('method', 'post');
});
}catch(_){ }
// Auto-open the compliance details when shown on this dedicated page
try{
var det = document.querySelector('details');
if(det){ det.setAttribute('open', 'open'); }
}catch(_){ }
</script>
{% endblock %}