Files
GTI_GERENCIADOR_FISCAL/deploy/agent-windows/agent.env.template
T
gtiandClaude Sonnet 5 6f0f072d84 fix: fresh install archives stale state of a previous installation; a fatal Agent loop error stops the service instead of leaving a dead 'Running' one; 1.2.3
Found by uninstall + fresh install on the clean Windows Sandbox: the old agent_state.sqlite identity conflicted with the new enrollment and the service sat idle.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 12:25:53 -03:00

23 lines
854 B
Bash

# GTI Fiscal Agent - generic installation template
# NO SECRETS in this file. Copy to <install>\.env (gti-agent configure -FromTemplate) and fill AGENT_TOKEN / FB_PASSWORD locally.
GTI_HUB_URL=https://fiscal.example.gti
AGENT_TOKEN=
AGENT_ID=
# Company context (deterministic resolver; never the first row of C000004)
COMPANY_CODE=
COMPANY_CNPJ=
# AUTO = resolve automatically ONLY when there is no CRT conflict; otherwise preflight FAILS until EMISSOR or C000004 is chosen explicitly
COMPANY_CRT_SOURCE=AUTO
# COMPANY_UF= is an explicit override only when the database proves nothing; it never replaces the resolver silently.
# Real path of the client's SGV database ON THIS HOST (do not reuse the path of any local copy)
FIREBIRD_DATABASE_PATH=
FB_USER=
FB_PASSWORD=
FISCAL_MODE=DRY_RUN
FIREBIRD_WRITES=0
POLL_INTERVAL_SECONDS=5
AGENT_VERSION=1.2.3