Commit graph

8 commits

Author SHA1 Message Date
fullsizemalt
8105c2f05c feat: Daily Walkthrough Spec + Compliance Audit
🔴 CRITICAL: 777 Wolfpack Team Requirements

 Created:
- specs/daily-walkthrough.md (comprehensive feature spec)
- docs/AUDIT-DAILY-WALKTHROUGH.md (compliance audit)
- docs/SESSION-SUMMARY.md (session summary)

📋 Daily Walkthrough Requirements:
1. Reservoir Checks (veg + flower tanks, levels, photos)
2. Irrigation System Checks (drippers, water flow, nutrients, 4 zones)
3. Plant Health Spot Checks (pests, water/food access, photos)

🏗️ Technical Design:
- 4 new models (DailyWalkthrough, ReservoirCheck, IrrigationCheck, PlantHealthCheck)
- Photo upload support
- Zone-based organization (Veg Up/Down, Flower Up/Down)
- Offline support
- Issue flagging + notifications

📊 Spec Compliance:
-  Aligns with constitution
-  Fits existing architecture
-  Mobile-first ready
- 🔴 Elevated to Phase 1.5 (critical priority)

⏭️ Recommendation: Implement as Phase 1.5 (12-15 hours)

Team: 777 Wolfpack
Priority: CRITICAL - First thing every morning
2025-12-09 14:02:44 -08:00
fullsizemalt
4c0aad0e06 feat: Sprint 2.5 - Mobile-First Foundation
 Implemented:
- Mobile-first Tailwind breakpoints (xs: 375px → 2xl: 1536px)
- Tablet-optimized for cultivation floor (md: 768px primary target)
- Touch-friendly spacing (44px minimum tap targets)
- Mobile-optimized font sizes (16px minimum to prevent iOS zoom)
- Touch-friendly base styles (smooth scrolling, tap highlights)
- Added 777 Wolfpack team logo for splash screen

�� Mobile-First Features:
- Responsive container padding (1rem mobile → 3rem desktop)
- Touch target utilities (touch: 44px, touch-lg: 56px)
- iOS-optimized inputs (prevent zoom, smooth scrolling)
- Webkit touch improvements

🎨 Branding:
- Added 777 Wolfpack logo to /frontend/public/assets/
- Team name: 777 Wolfpack (initial cultivation team users)

⏭️ Next: Mobile navigation + responsive page layouts
2025-12-09 13:55:53 -08:00
fullsizemalt
9dc0586d67 feat: Sprint 2 Phase 1 - Auth Core Complete
 Implemented:
- Password hashing with bcrypt (salt rounds = 10)
- JWT token generation (access 15m, refresh 7d)
- Updated login endpoint to return access + refresh tokens
- Added refresh and logout endpoints
- Updated seed script with hashed passwords
- Added test users for all roles (OWNER, MANAGER, GROWER, STAFF)

📝 Files Added/Modified:
- backend/src/utils/password.ts (NEW)
- backend/src/utils/jwt.ts (NEW)
- backend/src/controllers/auth.controller.ts (UPDATED)
- backend/src/routes/auth.routes.ts (UPDATED)
- backend/prisma/seed.js (UPDATED - now hashes passwords)
- CREDENTIALS.md (UPDATED - all test users documented)

🔐 Test Users:
- admin@runfoo.run (OWNER)
- manager@runfoo.run (MANAGER)
- grower@runfoo.run (GROWER)
- staff@runfoo.run (STAFF)
All passwords: password123

⏭️ Next: Auth middleware + RBAC
2025-12-09 13:52:54 -08:00
fullsizemalt
a9ffd1d5ca fix: Correct email domain from .com to .run
- Updated seed script: admin@runfoo.comadmin@runfoo.run
- Updated all documentation to reflect correct email
- Need to re-seed database on deployment
2025-12-09 13:46:25 -08:00
fullsizemalt
7901325974 docs: Complete Sprint 1 - Backend health check fixed
 Sprint 1 Complete:
- Changed health check from curl to wget (alpine compatible)
- Changed localhost to 127.0.0.1 (fixes DNS issues with Tailscale/Docker)
- Backend now shows (healthy) status
- Added CREDENTIALS.md with login info
- Documented solution in SPRINT-1-HEALTHCHECK.md

Login credentials:
- Email: admin@runfoo.com
- Password: password123
- URL: https://777wolfpack.runfoo.run
2025-12-09 13:45:01 -08:00
fullsizemalt
d2c3e67e40 fix: Change health check from curl to wget for alpine compatibility
- Backend container uses node:20-alpine which doesn't include curl
- wget is available by default in alpine
- Health check endpoint is working, just the command was wrong
- Also added Sprint 1 documentation and credentials file
2025-12-09 13:39:43 -08:00
fullsizemalt
28d8e9e4a2 docs: Add agent-optimized debugging workflows for DNS/Routing
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
2025-12-09 08:54:51 -08:00
fullsizemalt
da7729d6e4 Initial commit: Spec Kit foundation complete
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s
- Constitution and project spec (spec.yml)
- 7 comprehensive feature specs (tasks, batches, labor, compliance, inventory, integrations, comms)
- Phase 1 implementation plan (6-week roadmap)
- Week 1 task breakdown (15 concrete tasks)
- Architecture and compliance documentation
- Backend and frontend setup guides
- Deployment guide for nexus-vector
- CI/CD workflows (Forgejo Actions)
- Quick start guide for developers

Project is ready for implementation with:
- Automated testing on every push
- Automatic deployment to nexus-vector on push to main
- Database migrations handled automatically
- Health checks and monitoring

Stack: TypeScript, Fastify, React, Vite, PostgreSQL, Prisma, Docker
2025-12-08 23:54:12 -08:00