Add 'fiscal/' from commit '102ba84500dbd9655a0471288c3e278652593ca9'

git-subtree-dir: fiscal
git-subtree-mainline: d95165fc8f
git-subtree-split: 102ba84500
This commit is contained in:
gti
2026-09-29 14:43:23 -03:00
868 changed files with 566394 additions and 0 deletions
@@ -0,0 +1,71 @@
# PRE-ZAI Local Closure Final
## Status
`STATUS=READY_FOR_ZAI_GOLD_EVAL_WITH_HUMAN_CONTEXT_PENDING`
- `WORKTREE_BRANCH=pre-zai-blocker-closure`
- `WORKTREE_COMMIT=b101319`
- `MERGE_TYPE=fast-forward`
- `MASTER_HEAD=a6492f9`
- `WORKTREE_REMOVED=true`
- `BRANCH_REMOVED_OR_PRESERVED=removed after verified fast-forward integration`
## Validation
- `TESTS_MAIN=321 passed, 1 skipped`
- `TESTS_CENTRAL=200 passed, 1 warning`
- `DIFF_CHECK=pass`
- `SECRET_SCAN=pass for tracked secret/file-name patterns; only templates and source references found`
- `GIT_STATUS=clean`
- `WORKTREE_LIST=only master worktree remains`
The warning is the existing `pytest-asyncio` configuration deprecation in the main suite and the existing `openpyxl` print-area warning in `central/tests`.
## Preserved State
- `HISTORICAL_CONFLICTS=73`
- `HISTORICAL_CONFLICTS_RESOLVED=0`
- `HISTORICAL_CLASSIFICATION=INSUFFICIENT_EVIDENCE for all 73`
- `CURRENT_NCM_CONFLICTS=90`
- Current `NCM_CONFLICT` rows remain blocked; no majority resolution was applied.
- `COMPANY_DECISION_GROUPS=19`
- `COMPANY_DECISIONS_PERSISTED=false`
- `COMPANY_DECISION_SESSION_MODE=REVIEW_ONLY`
- `AI_READY_WORK_ITEMS=511`
- `AI_WORK_ITEMS=750`
- `RETRIEVAL_ACTIVE=V2`
- `RETRIEVAL_V3=not activated without holdout gain`
- `READY_FOR_ZAI_GOLD_EVAL=true`
- `COMPANY_CONTEXT_COMPLETE=false`
- `AI_WRITE_ALLOWED=false`
- `FIREBIRD_AI_WRITES=0`
- `EXTERNAL_API_CALLS=0`
- `SEMANTIC_WRITES=0`
## IPI Impact Preserved
The review-only session still records the following existing IPI coverage. No `STORE_IPI_PROFILE` decision was applied:
- `CONSTRUCAO=0`
- `MMMODAS=1`
- `RINCAO=0`
- `TESTESOFICIAIS=198`
- `UNIAO=1`
## Remaining Blockers
- `REMAINING_TECHNICAL_BLOCKER=EXTERNAL_AI_CREDENTIAL_OR_BALANCE`
- `REMAINING_HUMAN_BLOCKERS=COMPANY_CONTEXT, GROUP_CONTEXT, PRODUCT_CONTEXT, and 73 historical conflicts with missing original evidence`
No company, group, or product context was answered or persisted. No fiscal defaults were inferred, no NCM was selected by majority, and no Firebird write was executed.
## Next Action
1. While Z.ai is unavailable, resolve the pending human decisions when the operator chooses, keeping the session review-only until explicit confirmation.
2. When Z.ai credentials/balance are available, execute only the real GOLD evaluation first.
3. Only after GOLD passes, evaluate residual execution under the existing deterministic guards.
## Verdict
`VERDICT=PRE-ZAI_LOCAL_CLOSURE_VALIDATED; READY_FOR_GOLD_EVAL; HUMAN_CONTEXT_AND_EXTERNAL_ZAI_BLOCKERS_REMAIN`