Project: WildVision - Wildlife Surveillance & Movement Analytics Platform
Client: Forest Department of India
Current Sprint: Week 1 (Jan 30 - Feb 5, 2026)
Sprint Goal: Monorepo setup and RBAC schema design
Overall Progress: 0%
Design System: shadcn/ui with muted palette (Forest Green + Beige) · See design_guidelines.md
Quality Standards: Production-ready · Integration-first · Government-grade · No temporary solutions
Module 0: Project Foundations
-
Task 0.1.1 - Create monorepo structure (4h)
- Set up apps/api, apps/web, apps/ai-node directories
- Configure Turborepo or Nx for monorepo management
-
Task 0.1.2 - Initialize Git standards (2h)
- Conventional commits, branch protection, CODEOWNERS
-
Task 0.1.3 - Development environment setup (3h)
- Install Bun.js, configure VS Code, ESLint, Prettier
Module 1: Authentication & RBAC
-
Task 1.1.1 - Design RBAC schema (6h)
- 4 roles: Admin, Divisional Officer, Range Officer, Ground Staff
- Permission matrix with role inheritance
-
Task 1.1.2 - Implement authentication (8h)
- JWT tokens, password hashing, device binding
Additional Setup
- Set up PostgreSQL + PostGIS database
- Set up MinIO object storage
- Create initial Docker Compose configuration
Sprint Status: 🔵 Not Started (0/10 done, 0%)
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- Monorepo setup (Bun.js + React + AI node)
- Authentication & RBAC (4-tier hierarchy)
- Database schema (PostgreSQL + PostGIS)
- MinIO storage configuration
- Docker Compose setup
Current: Planning phase
Next: Task 0.1.1 (Monorepo structure)
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- Camera lifecycle management
- Camera movement tracking (immutable history)
- Forest geography (divisions, ranges, beats)
- Google Maps integration
- Image ingestion pipeline (SD card uploads)
- MinIO bucket structure
Status: Not started (begins Week 5)
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- YOLOv8 model setup (wildlife + human + vehicle)
- Night IR image support
- Confidence-based auto-approval (≥ 0.85)
- Human-in-the-loop verification UI
- Audit trail for verifications
Status: Not started (begins Week 9)
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- Flower FL server (Central HQ)
- Flower FL clients (Range HQs)
- Secure TLS communication
- Training triggers (time/data-based)
- Model governance & versioning
- Drift detection
Status: Not started (begins Week 13)
Risk: HIGH - Most complex module
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- Analytics dashboards (role-aware)
- Core KPIs (animal counts, intrusions, camera uptime)
- Plotly charts (density, trends, altitude vs species)
- Animal movement tracking
- Flagship species alerts (tiger, leopard)
- Interactive maps with filters
Status: Not started (begins Week 17)
Progress: ░░░░░░░░░░░░░░░░░░░░ 0%
Scope:
- Bun.js API architecture (layered, event-driven)
- Docker deployment (edge + central profiles)
- Security & compliance (audit logs, encryption)
- Testing & simulation (synthetic data, load tests)
- Documentation & SOPs (role-specific manuals)
Status: Not started (begins Week 21)
Total Tasks: 100+
Completed: 0 (0%)
In Progress: 0 (0%)
Remaining: 100+ (100%)
Days Elapsed: 0/180 (0%)
Weeks Remaining: 26
Goal: PostgreSQL + PostGIS setup, JWT auth implementation
Tasks: 1.1.2-1.1.3
Key: Login working, RBAC enforced
Goal: Login/register UI, camera database design
Tasks: 1.1.4, 2.1.1
Key: Users can log in, camera model defined
Goal: Camera CRUD, movement tracking
Tasks: 2.1.2, 2.2.1
Key: Camera locations tracked with PostGIS
Goal: Administrative boundaries, Google Maps
Tasks: 2.2.2, 3.1.1
Key: Map showing divisions/ranges/cameras
Active Blockers: None
Top Risks:
- Federated Learning Complexity (HIGH) - Allocate extra time, consult experts
- Field Connectivity Issues (MEDIUM) - Offline-first design required
- YOLOv8 Model Accuracy (MEDIUM) - Human verification as fallback
Local Services (After Setup):
- Web Dashboard: http://localhost:3000
- Bun.js API: http://localhost:4000
- MinIO Console: http://localhost:9001
- PostgreSQL: localhost:5432
- Flower FL Server: http://localhost:8080
Documentation:
- TASKS.md - Full task list (100+ tasks)
- PROGRESS.md - Weekly progress tracker
- Surveillance Spec - Original requirements
Tech Stack:
- Bun.js - Backend runtime
- React - Frontend framework
- PostGIS - Geospatial database
- YOLOv8 - Object detection
- Flower FL - Federated learning
- MinIO - Object storage
Critical Path:
- Set up monorepo with Bun.js + React
- Install and configure PostgreSQL + PostGIS
- Design RBAC schema (4 roles with inheritance)
- Set up MinIO for object storage
- Create initial Docker Compose file
Success Criteria:
- ✅ All developers can run
bun installand start services - ✅ PostgreSQL + PostGIS accessible
- ✅ MinIO accessible via console
- ✅ RBAC schema documented and reviewed
- ✅ Git repository with proper structure
Blockers to Watch:
- Bun.js compatibility issues (new runtime)
- PostGIS installation on Windows (if applicable)
- Team familiarity with monorepo tools
- ✅ Project kickoff completed
- ✅ Tech stack finalized
- ✅ Task breakdown created (100+ tasks)
- ✅ Documentation structure established
| Date | Event |
|---|---|
| Jan 30, 2026 | Project start |
| Feb 5, 2026 | Week 1 review |
| Feb 28, 2026 | M0: Foundation complete |
| Mar 31, 2026 | M1: Camera & geospatial |
| Apr 30, 2026 | M2: AI inference |
| May 31, 2026 | M3: Federated learning |
| Jun 30, 2026 | M4: Analytics & maps |
| Jul 30, 2026 | M5: Full deployment |
┌─────────────────────────────────────────────────────────┐
│ Central HQ (Forest Dept) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Bun.js API │ │ React Web │ │ Flower FL │ │
│ │ │ │ Dashboard │ │ Server │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ ┌──────────────┐ ┌──────────────┐ │
│ │ PostgreSQL │ │ MinIO │ │
│ │ + PostGIS │ │ Storage │ │
│ └──────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────────┘
↕ TLS
┌─────────────────────────────────────────────────────────┐
│ Range HQ (Edge Node) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ AI Node │ │ Flower FL │ │ Local DB │ │
│ │ (YOLOv8) │ │ Client │ │ (Sync) │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ │
│ ┌──────────────────────────────────────────────────┐ │
│ │ Ground Staff Upload Interface │ │
│ └──────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────┘
Last Updated: Jan 30, 2026
Next Update: Feb 1, 2026