Integrated Operations & AI Tool Strategy
Unified operational strategy integrating the Solopreneur Stack (5 apps), AI tool ecosystem, and Shared Utility Mesh into a coherent development workflow. Plane replaces Linear as the central dispatch mechanism. Builds on AI Tool Optimization Strategy and the Organization as Platform model.
The Integrated Stack
Solopreneur Stack (Operational Layer)
| App | Port | Role in AI Workflow |
|---|---|---|
| Plane | 8083 | Task routing, sprint planning, AI dispatch via labels |
| EspoCRM | 8081 | App registry, dependency relationships, blast radius analysis |
| Peppermint | 8084 | Friction capture, internal tooling support tickets |
| Firefly III | 8085 | AI tool spend tracking, ROI per subscription |
| InvoiceNinja | 8082 | Output valuation, velocity tracking |
Shared Utility Mesh (Connective Tissue)
| Organ | Solopreneur App | Capability |
|---|---|---|
| Memory | Peppermint + Knowledge API | Friction, lessons, patterns, anti-patterns |
| Relationships | EspoCRM | App-to-app dependencies, API client registry |
| Valuation | InvoiceNinja + Firefly III | Cost tracking, ROI, output valuation |
| Coordination | Plane | Task routing, velocity, AI tool dispatch |
| Reasoning | AI Tool Layer | Computation, code generation, analysis |
Plane Label Routing System
| Label | Color | Routes To | Security Tier |
|---|---|---|---|
cc-arch | Blue | Claude Code Max | Tier 1 |
cc-security | Red | Claude Code Max (mandatory) | Tier 1 |
gem-docs | Green | Gemini CLI / Deep Research | Tier 2 |
gem-research | Purple | Google Deep Research | Tier 2 |
gem-jules | Teal | Jules (async background) | Tier 2 |
oc-bulk | Gray | OpenCode + OMOC Sisyphus | Tier 3 |
oc-ui | Cyan | OpenCode → Gemini (visual) | Tier 3 |
aid-refactor | Orange | Aider + Gemini API | Tier 3 |
qc-spike | White | Qwen Code / free models | Tier 4 |
gem-quick | Yellow | Gemini CLI (free) | Tier 4 |
friction | Pink | Peppermint (not AI) | N/A |
Dispatch Flow
Plane issue (with label + description) → Dispatch Router (label-based) → AI Tool Executes → Output committed to Git → Issue updated → Friction logged to Peppermint → Cost logged to Firefly III.
Automation Path (Phased)
Phase 1 — Manual Dispatch (Now): Read Plane ticket, decide tool, run manually, update ticket. Dogfooding phase.
Phase 2 — Scripted Dispatch (Week 3-4): Bash script reads Plane tickets via API, spawns appropriate tool in tmux. Human reviews and approves.
Phase 3 — Semi-Automated Pipeline (Month 2+): OpenCode background task system or Celery-based async queue picks up tickets automatically. Human reviews PRs.
Five-App Integration Workflows
Workflow A: New Feature Development
- Plane: Create epic with labeled sub-issues
- EspoCRM: Track app entity and shared API dependencies
- AI Tools: Execute per label routing
- Peppermint: Capture friction during execution
- Firefly III: Log tool costs for the sprint
- InvoiceNinja: Value completed output
Workflow B: Knowledge Harvesting
Plane issue → Deep Research report → Gemini CLI formats → Claude Code reviews → Aider commits → Peppermint logs gaps → EspoCRM updates entity → Google Drive archives. ~25 minutes vs 3-4 hours.
Workflow C: Friction-Driven Improvement
Friction encountered → Peppermint ticket → Plane issue for fix → Resolution → Pattern documented → Anti-pattern committed to ops-core knowledge base.
Future Shared Utility APIs
| Utility API | Consuming Apps |
|---|---|
| Math & Simulation Engine | Finance app, Educational tool, GTD |
| Media Refinery | SoundBoard, Walkie-Talkie, IDE, Chat |
| Syntax & Structure Service | Educational tool, JP Developer IDE, Ghost Writer |
| Local Inference Bridge | Ghost Writer, JP Developer IDE, Eliza |
| Knowledge Query API | All apps — the “organizational brain” |
| Encryption & Privacy Utility | Private Chat, Legal app, all PII handlers |
Security Integration
Boundaries (Non-Negotiable)
| Boundary | Rule |
|---|---|
| ops-core zone | Claude Code Max only |
| API keys & secrets | OpenBao for machines, Bitwarden for humans |
| Stack credentials | ~/.config/solopreneur-stack/credentials.env (chmod 600) |
| OpenCode free models | Non-sensitive code only |
| Peppermint friction logs | No secrets in descriptions |
Least Privilege per Tool
| Tool | Has Access To | Does NOT Have Access To |
|---|---|---|
| Claude Code Max | All zones, all repos | Production credentials |
| Gemini CLI | apps, lab, library zones | ops-core, infra zones |
| OpenCode (free models) | apps, lab zones only | ops-core, infra, staging |
| Aider | Scoped to specific repo | Cross-zone access |
| Qwen Code (local) | Current working directory | Network access |
Cost Tracking (Firefly III)
Monthly ROI formula: (Equivalent Manual Hours × $hourly_rate) / Monthly Subscription Cost
Target: ROI > 3.0x. Example: 120 hrs saved × 9,000 value / $450 subscriptions = 20.0x.
EspoCRM as App Registry
Custom entity type “Application” with fields: Name, Zone, Status, Tech Stack, Shared APIs Consumed, AI Tool Primary, Last Security Review, Architecture Decisions link, Friction Score.
Relationship mapping enables “blast radius” analysis: when updating a shared API, EspoCRM identifies all consuming apps.