feat: enrichment Hub API, feature flags UI/gating, NCM refresher, Agent enrichment worker with tests

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
gti
2026-09-25 18:47:35 -03:00
co-authored by Claude Sonnet 5
parent 27f992d9e0
commit 5deebea14e
22 changed files with 1118 additions and 23 deletions
@@ -32,6 +32,19 @@
{% for release in releases %}<option value="{{ release.id }}" {% if loop.first %}selected{% endif %}>{{ release.version }} ({{ release.platform }}/{{ release.architecture }})</option>{% endfor %}
</select>
</label>
<fieldset class="features">
<legend>Funcionalidades desta instalação</legend>
<input type="hidden" name="features_selected" value="1">
<label><input type="checkbox" name="feature_corrector" value="1" checked> Corretor fiscal (sincroniza e corrige o cadastro existente)</label>
<label>Enriquecimento de produtos novos
<select name="feature_enrichment_mode">
<option value="DISABLED" selected>Desativado</option>
<option value="DRY_RUN">Simulação (não grava)</option>
<option value="ENABLED">Automático</option>
</select>
</label>
<small class="muted">Nada é processado até as funcionalidades estarem definidas. Pode ser alterado depois, no detalhe do Agent.</small>
</fieldset>
<p><button type="submit">Criar instalação</button></p>
</form>
<style>