#+TITLE: 2026-03-10 - Agora Design Session
#+author: Amero Garcia
#+created: [2026-03-16 Mon 14:28]
#+DATE: 2026-03-10
#+STARTUP: content

* Daily Log

** Agora Project - Decentralized Social Network Design
*** Session Duration: ~8 hours
*** Participants: Amr G, AI Agent
*** Focus: Comprehensive technical architecture

** Major Design Decisions Made

**** Identity Layer (Complete)
- Contract-first architecture
- Master key hierarchy with HD derivation
- Personas as legal/technical entities
- Social recovery (Shamir's Secret Sharing)
- Key rotation and revocation protocols

**** Content System (Complete)  
- Unified content primitive with behavioral flags
- No artificial type distinctions (text is text)
- Thread relationships instead of separate thread type
- Ephemeral, paywalled, index flags

**** Economic Layer (Complete)
- Multi-currency support (BTC, Lightning, stablecoins)
- Persona-generated Lightning keys
- Marketplace personas (collective contracts)
- Creator revenue model (90% vs platform 50%)

**** Data & Infrastructure (Complete)
- Personal Data Store (PDS) architecture
- Friend-to-friend backup with erasure coding
- Content-addressed storage (IPFS-like)
- Relay network for distribution

**** Governance (Complete)
- Layered moderation (user, community, network)
- Voter eligibility (DEC-001 marked as critical)
- Multi-level arbitration (4 tiers)

**** Mobile & UX (Complete)
- Progressive security model
- Software key storage option (most users)
- Hardware key option (advanced)
- Offline-first architecture

**** Discovery & Search (Complete)
- Social graph traversal (primary)
- Topic-based matching
- Reputational discovery
- Paid discovery (non-extractive)

**** Forums & Marketplaces (Complete)
- Forums as personas (collective contracts)
- Marketplaces as personas (multiple stores)
- Content flags for marketplace items

**** Code Collaboration (Complete)
- Decentralized GitHub replacement
- Repositories as content-addressed
- CI as validator oracle network
- Code review with cryptographic signatures

** Critical Decisions Marked
- DEC-001: Protocol governance voter eligibility (OPEN)
- Multi-default currency support (Lightning + stablecoins)
- AI-assisted development estimate (2-3 years)
- Codebase size estimate (300-500k lines)

** Honest Assessment Documented
- Cold start problem is severe
- Performance gap vs centralized (2 seconds → sovereignty)
- CSAM content deletion unsolved (fundamental tension)
- Success probability: 30-50% for 100K users
- Regulatory risk (Lightning centralization pressure)

** Executive Summary Key Points
- "You trade 2 seconds for sovereignty" (marketing hook)
- Strategic positioning in Big Tech wars
- Apple: May tolerate (weakens Meta)
- Google: Will resist (threatens ads)
- Meta: Existential threat (replaces model)

** Commits
- TECHNICAL_SPEC.md v2: 698 lines, comprehensive architecture
- Located: workspace/memex/5_projects/Agora/

* Next Steps
- Version 3 specification refinement
- DEC-001 resolution (governance voter eligibility)
- Implementation roadmap details
- Security audit planning

* Open Questions
- Governance voter eligibility model (DEC-001)
- Multi-currency bridge architecture
- Mobile key UX specifics
