2 Commits

Author SHA1 Message Date
Rene Fichtmueller
86d1531d52 fix(security): scrub hardcoded DB credentials, untrack training data, add scan allowlist
- Replace plaintext tip (transceiver_db) and llm_gateway DB passwords with
  env-var references guarded by fail-fast checks, across 15 scripts + sql runbook.
  Covers quoted exports, unquoted psql calls, python env dicts and
  env-or-hardcoded-default fallbacks.
- Untrack training-data/*.jsonl (~48MB, kept on disk) and gitignore *.jsonl.
- Add .security-scan-allowlist for legit false positives: vendor name flexoptix,
  own homelab infra, sibling-project codenames in the sync journal, env-resolved
  DB URIs, example placeholders, ML tokenizer tokens.
- Pre-push leak scanner goes from 397 to 0 findings, green without --no-verify.

Follow-up (not in this commit): rotate the leaked values (llm_gateway first,
tip fleet-wide coordinated); git history still holds the old passwords.
2026-07-07 12:06:07 +02:00
Rene Fichtmueller
cd90d22762 feat: spec enrichment script — fills 4,400+ products with fiber/connector/wavelength/power/reach
Coverage improvement:
- fiber_type: 44% → 97%
- connector: 19% → 96%
- wavelengths: 23% → 96%
- reach_meters: 42% → 93%
- power_consumption_w: 6% → 79%
2026-03-31 09:02:10 +02:00