Internal Tech Stack
How Prime Ledger operates: systems, workflows, people, and automations on the critical path.
Permissions, overrides, events, insights
Data Flows Out
Access matrix, user roster, security events, AI insights
Used By
Permissions API, Reports API, Command Center
Staging: dev.primeledger.space
Production: primeledger.space
Capabilities
API routes, CI/CD from GitHub, edge caching
Integrations
GitHub webhooks, environment variables, preview deployments
main → prod, dev → staging
Data Flows To
Push triggers Vercel build
Teams
CTO, Dev engineers (code-level access)
Future: Bot management, rate limiting
Future Scope
Web application firewall, analytics
Priority
Q2 2026 integration
Source of truth for team, comms, scheduling
Data Flows In/Out
Email triage, calendar-based reporting, user provisioning
API Integrations
Admin Directory (users), Gmail API (Email Triage), Calendar API (Scheduling)
Master record for sales & revenue
Data Flows Out
Pipeline view, deal scoring, revenue reporting
Integrations
Private App Token, OAuth for user tokens
Real-time balance & spend visibility
Data Flows Out
Account balance, transaction history, expense categorization
Used By
Dashboard, Finance reporting, Spend analysis
KPIs, calendar, email, pipeline at a glance
Data Sources
HubSpot, Gmail, Calendar, Mercury, Strategy
SMART workflow: Sense → Map → Act → Report
AI Governance
3-tier classification, human approval gate
Pillars → Objectives → Rollout
Structure
6-tab: Vision, Pillars, Cascade, Rollout, Governance, Readiness
Weekly status, approval workflow, audit trail
Access
CTO creation, C-Suite approval and viewing
Share classes, vesting, scenarios
Access
CTO only (sensitive data)
Per-user skills, memory, context blocks
Capabilities
Email triage, deal scoring, reporting drafts
Governance
3-tier data classification, human approval always
Gmail, Calendar, HubSpot, Mercury integration
Enables
Real-time data fetching, action execution
Role Playbook, Comms Style, Strategic Alignment
Pattern
3 inseparable skills per person (Phase 2 rollout)
Permission health score, anomaly detection
Rules
Title-tier mismatch, orphan overrides, expired access, stale sessions
Sees all modules, controls configuration
Tier
-1 (highest privilege)
Key Workflows
Reports, Cap Table, Permissions config
Dashboard, Strategy, Status Reports
Tier
0 (C-Suite)
Key Workflows
Weekly status, strategy cascade, deal reviews
Dashboard, Strategy, Status reports
Tier
0 (C-Suite)
Key Workflows
Process optimization, metric tracking
Phase 2/3 AI enablement rollout
Onboarding
Role playbook creation, skills training, test gates
| Person | Gmail | Calendar | Drive | HubSpot | Mercury | Command Center | Claude/Cowork | GitHub | Vercel | AI Skills ✓ |
|---|---|---|---|---|---|---|---|---|---|---|
| Matthew (CTO) | Admin | Admin | Admin | Admin | Admin | Admin | Admin | Admin | Admin | ✅ |
| Rob (CEO) | Editor | Editor | Editor | Admin | Viewer | Editor | Editor | — | — | ✅ |
| John (COO) | Editor | Editor | Editor | Viewer | Viewer | Editor | Editor | — | — | ✅ |
| Sales Team | Editor | Viewer | Viewer | Editor | — | Viewer | Viewer | — | — | ⏳ |
| Advisors | Viewer | Viewer | Viewer | Viewer | — | Viewer | — | — | — | ❌ |
| Future Hires | Editor | Editor | Editor | Viewer | — | Viewer | Viewer | — | — | ⏳ |
Legend
Admin — Full control, can modify settings and permissions
Editor — Can create, edit, and manage content
Viewer — Read-only access
— — No access
AI Skills: ✅ = Complete (Role Playbook, Comms Style, Strategic Alignment) | ⏳ = In Progress | ❌ = Not Started