Skip to content

fix(wave-6): docs, cosmetics & minor fixes (L2, L5, L6, L18, L25–L28)#185

Merged
gerfru merged 1 commit into
mainfrom
fix/wave-6-docs-cosmetics
Jun 10, 2026
Merged

fix(wave-6): docs, cosmetics & minor fixes (L2, L5, L6, L18, L25–L28)#185
gerfru merged 1 commit into
mainfrom
fix/wave-6-docs-cosmetics

Conversation

@gerfru

@gerfru gerfru commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • L2 CLAUDE.md .env.sync table: SYNC_HOUR=6SYNC_INTERVAL_HOURS=2 (correct env var name)
  • L5 libre.py: del libre_password immediately after auth call (explicit memory cleanup)
  • L6 deps.py: bcrypt.gensalt(rounds=12) explicit in DUMMY_HASH + hash_password
  • L18 ml-service/db/health.py: add 400-line split-trigger comment
  • L25 .pre-commit-config.yaml: move semgrep hook immediately after bandit (before ruff)
  • L26 CLAUDE.md CI/CD table: correct job count (9 → 12)
  • L27+L28 garmin/client.py (api + sync): structured log event keys, replace German debug string
  • Bonus: switch api/src/garmin/client.py to structlog (was stdlib logging — needed for L27 kwarg)

Test plan

  • All pre-commit hooks pass (mypy, ruff, biome, bandit, semgrep)
  • CI green (lint, typecheck, test, js-test, e2e, trivy)
  • No functional changes — docs/cosmetics only except L5/L6 (defensive cleanup)

🤖 Generated with Claude Code

… L25–L28)

- L2: CLAUDE.md .env.sync table: SYNC_HOUR=6 → SYNC_INTERVAL_HOURS=2 (correct var name)
- L5: libre.py: del libre_password after auth call (explicit memory cleanup)
- L6: deps.py: bcrypt.gensalt(rounds=12) explicit in DUMMY_HASH + hash_password
- L18: ml-service/db/health.py: add 400-line split-trigger comment
- L25: .pre-commit-config.yaml: move semgrep hook after bandit (before ruff)
- L26: CLAUDE.md CI/CD table: correct job count to 12
- L27+L28: garmin/client.py (api + sync): structured log keys + replace German debug string
Also: switch api/garmin/client.py to structlog (was stdlib logging — L27 kwarg fix)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gerfru gerfru merged commit 4e4a7ad into main Jun 10, 2026
12 checks passed
@gerfru gerfru deleted the fix/wave-6-docs-cosmetics branch June 10, 2026 16:56
gerfru added a commit that referenced this pull request Jun 12, 2026
…#185)

- L2: CLAUDE.md .env.sync table: SYNC_HOUR=6 → SYNC_INTERVAL_HOURS=2 (correct var name)
- L5: libre.py: del libre_password after auth call (explicit memory cleanup)
- L6: deps.py: bcrypt.gensalt(rounds=12) explicit in DUMMY_HASH + hash_password
- L18: ml-service/db/health.py: add 400-line split-trigger comment
- L25: .pre-commit-config.yaml: move semgrep hook after bandit (before ruff)
- L26: CLAUDE.md CI/CD table: correct job count to 12
- L27+L28: garmin/client.py (api + sync): structured log keys + replace German debug string
Also: switch api/garmin/client.py to structlog (was stdlib logging — L27 kwarg fix)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant