Shareable instruction files for Cursor, Claude Code, Copilot, Windsurf, and more — installed alongside your existing agent rules.
The MercFlow admin UI is inspired by Shopify Admin: light, clean, and spacious. Every design decision should reduce cognitive load and increase clarity. When in doubt, add more whitespace — not less. **Reference:** Shopify Polaris design system (for inspiration only — do not import it).
**Hybrid Search Strategy**: Combine dense vectors (semantic) with sparse vectors (keyword) for optimal results **Multi-Tenant Isolation**: Strict wallet-based data separation using collection filters **Performance Optimization**: 97% RAM reduction through quantization and smart indexing
To ensure workout data displayed on the dashboard reflects the user's local time perception, specific database query functions in [src/lib/db.ts](mdc:src/lib/db.ts) are timezone-aware: 1. **Dependency:** Uses the `date-fns-tz` library for timezone calculations.
Never do the "wrong but easy" thing if it can produce plausible-but-wrong results. Fuzzy bugs that sometimes work are the worst kind to debug, especially in AI-agent code where outputs are nondeterministic to begin with.