feat(exports): bring templates/ to parity with codebase #55
Merged
wasabi opened 5 days ago

Summary

Adds missing export templates and fixes path inconsistencies.

Changes

New files

  • exports/templates/farm_activity_template.csv — 12-column CSV header matching FARM_ACTIVITY_FIELDS from spreadsheet_bridge.py. Documented in AGENTS.md and docs/spreadsheet-guide.md but never committed.
  • services/certificates/templates/retirement_certificate.html — extracted from the inline fallback in generator.py. Enables operators to customize certificate HTML without code changes.

Path fixes

  • AGENTS.md: exports/farm_activity_template.csvexports/templates/farm_activity_template.csv
  • docs/spreadsheet-guide.md: same path fix

Verification

  • CSV header matches FARM_ACTIVITY_FIELDS exactly (12 fields)
  • HTML template matches the inline fallback in generator.py:39-72 (diff only the Python string delimiter)
  • No remaining wrong-path references in codebase
Commits were merged into target branch
  • feat(exports): bring templates/ to parity with codebase
    - Add farm_activity_template.csv (12-column CSV header, documented but missing)
    - Extract retirement_certificate.html from generator.py inline fallback
      into services/certificates/templates/ for operator customization
    - Fix path references in AGENTS.md and docs/spreadsheet-guide.md:
      exports/farm_activity_template.csv → exports/templates/farm_activity_template.csv
    5 days ago
  • wasabi merged 5 days ago
1/1
Submitter wasabi
Target main
Source feat/export-templates-parity
Jobs
Merge Strategy
Create Merge Commit
Watchers (1)
Reference
pull request KI-55
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover