Git Evolution Timeline
This timeline is derived from salesarck_code commit history and key file-level diffs.
Milestones
| Date | Commit | Milestone | Impact |
|---|---|---|---|
| 2026-04-06 | bbe72f4 | Initial monorepo foundation | Established apps/packages structure and baseline product implementation. |
| 2026-04-06 | bc30ede | Unified portal and RBAC hardening | Consolidated role-based app model and strengthened auth/authorization scaffolding. |
| 2026-04-06 | 0d8b6b0 | Enhanced auth profile flow | Added richer role/status profile handling and auth-path robustness. |
| 2026-04-06 | 8b9d9b0 | PKCE callback hardening | Improved callback processing and post-login routing reliability. |
| 2026-04-06 | f268e4a | Square + wallet pipeline baseline | Introduced OAuth/webhook concepts, ingestion path, and wallet-credit architecture. |
| 2026-04-06 | 27ea451 | POS-first onboarding | Added onboarding profile persistence and POS preference model. |
| 2026-04-06 | 667435f | Multi-merchant polling fallback | Added merchant-wide ListPayments poll flow and supporting cron architecture. |
| 2026-04-06 | e59a5f1 | Admin approval workflows | Added tenant/user admin endpoints with practical approval controls. |
| 2026-04-06 | 3234ae8 | Stub-to-real API wiring | Replaced placeholder frontend behaviors with real backend-integrated flows. |
| 2026-04-06 | 13955de | Workspace provisioning + guided onboarding | Automated merchant workspace creation and enforced onboarding progression. |
| 2026-04-07 | 8690dc4 | POS preference enforcement | Hide Clover when Square is chosen; shorten Square OAuth state. |
| 2026-04-07 | cee518e | OAuth host enforcement | Enforce connect.* OAuth host + client URL normalization. |
| 2026-04-07 | 4595a93 | OAuth URL guardrails and diagnostics | Added strict Square host validation, debug endpoint, and client-side validation. |
| 2026-04-07 | 3bd1c76 | Notification layer | Added Resend-backed points/redeem email notifications. |
| 2026-04-07 | 9be1077 | Wallet/redeem/history UX expansion | Improved consumer wallet flows and merchant-facing interactions. |
| 2026-04-07 | 8859a8b | Mobile navigation consistency | Strengthened responsive shell/navigation behavior across pages. |
| 2026-04-07 | a776ad1 | CI/CD workflow refinement | Updated CI/CD workflows for clarity, removed version specification for pnpm/action-setup. |
| 2026-04-07 | 17571a9 | CI pnpm fix | Remove version specification for pnpm/action-setup in CI workflows. |
Active Feature Branches
| Branch | Status | Description |
|---|---|---|
copilot/improve-test-coverage | Unmerged | Unit tests for rbac, reward-engine, API libs (errors, merchant-workspace, resolve-user). Coverage tooling. |
dependabot/npm_and_yarn/drizzle-orm-0.45.2 | Unmerged | Dependency update: drizzle-orm |
dependabot/npm_and_yarn/hono-4.12.12 | Unmerged | Dependency update: Hono |
dependabot/npm_and_yarn/hono/node-server-1.19.13 | Unmerged | Dependency update: @hono/node-server |
dependabot/npm_and_yarn/vite-6.4.2 | Unmerged | Dependency update: Vite |
Working Tree Changes (Uncommitted)
As of 2026-04-12, the working tree contains uncommitted Clover integration work:
New files:
apps/api/src/lib/clover.ts— Clover OAuth helpers, token exchange, webhook verificationapps/api/src/services/clover-adapter.ts— Clover webhook parsing and payment normalizationapps/api/src/services/clover-api.ts— Clover REST API calls (GetPayment, GetCustomer)
Modified files:
apps/api/src/lib/env.ts— Added Clover environment variablesapps/api/src/routes/client.ts— Added Clover connect endpointapps/api/src/routes/pos-oauth.ts— Added Clover OAuth callbackapps/api/src/routes/webhooks.ts— Added Clover webhook receiverapps/api/src/services/ingestion.ts— Added Clover ingestion pipeline (processCloverWebhook, executeCloverIngestion)apps/web/src/pages/PosSettingsPage.tsx— Added Clover connection UI
This represents a complete Clover POS integration, parallel to the existing Square integration.
Recurrent Engineering Themes
Based on commit subjects and touched file patterns:
- Frontend integration and route hardening
- Auth and profile-state handling
- Square OAuth and webhook processing reliability
- Merchant onboarding and workspace lifecycle
- Admin approvals and governance tooling
- Operational fallback via polling/cron
- Observability/error-surface improvements
- CI/CD pipeline maintenance
- Email notification capabilities
- Multi-POS provider architecture (Square + Clover)
Most Frequently Touched Implementation Files
apps/web/src/App.tsxapps/web/src/pages/PosSettingsPage.tsxapps/web/src/pages/LoginPage.tsxapps/web/src/lib/auth-profile.tsapps/web/src/store/auth.tsapps/web/src/pages/profile/MerchantProfileWizard.tsxapps/api/src/routes/admin.tsapps/api/src/routes/client.tsapps/api/src/routes/auth.tsapps/api/src/lib/env.tsapps/api/src/lib/square.tsapps/api/src/services/ingestion.tspackages/db/src/schema/index.tsrender.yaml
Why This Matters for Documentation
The platform evolved rapidly in a short window with strong focus on runtime correctness and flow hardening. Documentation maintenance should continue to be commit-driven so high-change areas (auth, onboarding, POS, wallet, and Clover integration) remain synchronized with implementation.
Written byDhruv Doshi