# Handoff Packet: SeedVault Inventory Page
**Status:** Active Development
**Current Goal:** Enable public access via Tailscale Funnel.

## Project Overview
A Flask-based web application for managing heirloom seed inventory by weight (grams).

## Technical Stack
- **Language:** Python 3.13
- **Framework:** Flask
- **Database:** SQLite (`inventory.db`)
- **ORM:** SQLAlchemy
- **Virtual Env:** `seedvault-inventory/venv`

## Current Configuration
- **Local Dev Server:** `0.0.0.0:5001`
- **Database Path:** `seedvault-inventory/inventory.db`

## Tasks & Roadmap
- [ ] **Immediate: Set up Tailscale Funnel**
  - Goal: Make the local Flask app (`:5001`) accessible from the internet via a Tailscale URL.
  - Obstacle: Tailscale authorization/configuration issues (previously encountered).
- [ ] Implement mobile-responsive UI (Tailwind/Bootstrap).
- [ ] Add automated stock watchdogs.
- [ ] Sync with WooCommerce (via webhooks/SKUs).

## Known Pitfalls & Notes
- Use `step="any"` for all gram-based number inputs in HTML to avoid browser validation issues.
- The directory structure is nested: `seedvault-inventory/seedvault-inventory/...`. Use absolute paths when possible.
- Tailscale Funnel must be configured to point to port `5001`.