Skip to content

F16: Water usage tracking #67

Description

@mforce

Part of Phase 1.1 (epic #14). Spec §12.5–12.6, §6 Phase 1.1 list ("Water usage").

Scope

  • WaterUsage — date, flock (house later), quantity, unit (liters/gallons), source (well/municipal/tank/other), optional meter start/end (quantity derivable from meter delta), note. Optional daily_entry_id link like feed usage.
  • Endpoints: record + list (flock/date-range filters, paged). Append-only? No — corrections allowed via edit with Version token (unlike inventory movements there is no downstream balance), or delete-and-rerecord; decide in design, document in glossary.
  • SPA: capture on the same Feed & Inventory area or its own simple screen; list with filters.
  • Water-to-feed ratio (§12.6) surfaced later in reports — out of scope here beyond storing clean data.

Acceptance

  • Record water for a flock/date (direct quantity or meter delta) → appears in list; meter_end < meter_start rejected; unit stored per farm default (spec §5 unit_system) with explicit override.
  • Lifecycle gating consistent with production records (no water against archived flocks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions