chore: establish project baseline

This commit is contained in:
OpenCode
2026-09-21 15:51:47 -03:00
commit 9dcc263217
459 changed files with 447890 additions and 0 deletions
@@ -0,0 +1,57 @@
# Firebird Installation Inventory
## Scope and Safety
- Inventory performed read-only on 2026-09-16.
- `D:\PROJETOS\GTISISTEMAS\` outside `Projeto` was treated as a read-only external system.
- No source code, ERP files, services, processes, configuration, database objects, or permissions were modified.
- `ERP_FILES_MODIFIED = 0`
- No target database was accessed during inventory. `D:\PROJETOS\GTISISTEMAS\Projeto\TESTESOFICIAIS.FDB` was not opened, connected to, queried, or inspected through a database tool.
- Another database file was visible under the external ERP tree, but it was also not opened.
- Credentials, passwords, connection values, and other secret values are omitted as `<redacted>`.
## Firebird Installation
- Installation root: `C:\Program Files\Firebird\Firebird_2_5\`.
- Registry instance `DefaultInstance` points to that installation root.
- Server family/version: Firebird 2.5, build `2.5.9.27139` (`WI-V2.5.9.27139`).
- Present server/client binaries include `fbserver.exe`, `fbguard.exe`, `fbclient.dll`, `isql.exe`, `gbak.exe`, `gstat.exe`, `gfix.exe`, `fbsvcmgr.exe`, `fbtracemgr.exe`, and `instsvc.exe`; these report build `2.5.9.27139` where version metadata is available.
- Firebird ICU DLLs report version `3.0.0.0`.
- `security2.fdb` exists in the installation root; it was not opened.
## Services and Process
- `FirebirdGuardianDefaultInstance`: running, automatic start, `LocalSystem`; executable is `fbguard.exe -s DefaultInstance`.
- `FirebirdServerDefaultInstance`: running, manual start, `LocalSystem`; executable is `fbserver.exe -s DefaultInstance`.
- `fbserver.exe` is running and responsive; process ID was observed but is not recorded as a stable inventory fact.
- Firebird server is listening on `0.0.0.0:3050`.
- No service was started, stopped, restarted, or reconfigured.
## Configuration
- `firebird.conf` exists and contains an active `RemoteAuxPort = 3051` setting.
- `aliases.conf` exists; no active alias facts were recorded.
- `databases.conf` was not present.
- Configuration values that could identify credentials, database locations, or endpoints are intentionally `<redacted>` or omitted.
## ERP Artifacts
- ERP executables observed include `GtiVendas_NFCe.exe` version `3.5.5.475`, `SGV_5.0.6.124.exe` version `5.0.6.124`, `configpdv.exe` version `1.00`, `Envio NF-e.exe` version `1.0.1.1`, and `GtiServer_v2.0.1.18.exe` version `2.0.1.18`.
- ERP Firebird client libraries observed include `fbclient.dll` version `2.5.9.27139` and `GDS32.DLL` version `2.5.8.27089`.
- Additional ERP DLLs and support libraries were inventoried; missing or blank embedded version metadata was recorded as unavailable rather than inferred.
- ERP configuration/document file types found include `.ini`, `.xml`, `.cfg`, `.conf`, and `.txt`, including `com.ini`, `Config_GtiServer.ini`, `ConfigBoleto.ini`, and `FTPConfig.ini`.
- Configuration and document contents were not reproduced in this report. Secret-bearing and database-related values are `<redacted>`.
## Verification and Git
- Exact command: `python -m pytest tests -q`
- Reported result: `58 passed in 0.15s`.
- Git identity check: `GIT_IDENTITY_NOT_CONFIGURED`.
- No commit was created and Git configuration was not changed.
## Unavailable Checks and Concerns
- The process API did not expose a usable executable path or command line for the running `fbserver.exe`; service configuration was used for the executable path.
- `isql-fb` was not available as a distinct command; the installed Firebird 2.5 `isql.exe` was present.
- No database metadata, schema, connection test, or database-level configuration was collected because database access was explicitly prohibited for this task.
- The running Firebird 2.5 service and the presence of `GDS32.DLL` version `2.5.8.27089` should be considered when planning later read-only discovery work.
@@ -0,0 +1,28 @@
# Task 3 Report
Status: COMPLETE
Runtime evidence/status:
- Pre-import dependency/client gate: `UNKNOWN` unless provenance, client
version, client architecture, and Python/client architecture match are
proven before importing `fdb`.
- Runtime compatibility fixture: `VALID` for `fdb 2.0.4`, client `2.5.9.27139`,
matching x64 architecture, and the exact read-only TPB.
- `validate_firebird_runtime(fdb_module=None)`: `UNKNOWN` with
`compatibility_unproven`; read-only API proof is mandatory.
- Success output exposes only compatibility categories/statuses and excludes
client paths, database identities, and internal provenance evidence.
- Blocked output exposes only status, blocker, and safety counters; provenance
path fields are not serialized.
Safety:
- No database, external ERP file, DLL, service, registry, or system
configuration was accessed or modified.
- `GIT_IDENTITY_NOT_CONFIGURED`.
Tests:
- `python -m pytest tests/test_dependency_compatibility.py -q`: 6 passed.
- `python -m pytest tests -q`: 255 passed, 1 skipped.