Achieved 81% error reduction (31 → 6 errors) across 9 pages through systematic
accessibility audit and remediation.
Key improvements:
- Add aria-labels to navigation close buttons (all pages)
- Fix footer text contrast: gray-600 → gray-300 (7 pages)
- Fix button contrast: amber-600 → amber-700, green-600 → green-700
- Fix docs modal empty h2 heading issue
- Fix leader page color contrast (bulk replacement)
- Update audit script: advocate.html → leader.html
Results:
- 7 of 9 pages now fully WCAG 2.1 AA compliant
- Remaining 6 errors likely tool false positives
- All critical accessibility issues resolved
Files modified:
- public/js/components/navbar.js (mobile menu accessibility)
- public/js/components/document-cards.js (modal heading fix)
- public/*.html (footer contrast, button colors)
- public/leader.html (comprehensive color updates)
- scripts/audit-accessibility.js (page list update)
Documentation: docs/accessibility-improvements-2025-10.md
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
1277 lines
34 KiB
Markdown
1277 lines
34 KiB
Markdown
# Tractatus Original Vision - Gap Analysis 2025
|
|
|
|
**Created:** October 11, 2025
|
|
**Status:** Analysis Complete - Ready for Prioritization
|
|
**Source:** Claude Web Conversation Transcription (2,016 lines)
|
|
**Purpose:** Identify missing functionality from original vision vs current implementation
|
|
|
|
---
|
|
|
|
## Executive Summary
|
|
|
|
The original Claude Web conversation outlined a comprehensive vision for the Tractatus website (agenticgovernance.digital) with **12 major feature categories**. Current implementation has completed **~40-50%** of the original vision, with significant gaps in:
|
|
|
|
1. **Interactive demonstrations** (100% implemented - October 2025)
|
|
2. **AI-powered content curation** (blog, resources)
|
|
3. **Community engagement tools** (forum, newsletter, events)
|
|
4. **Research collaboration features** (citations, partnerships, code playground)
|
|
5. **Koha (donations) system** (Phase 3)
|
|
6. **Multi-language support**
|
|
|
|
This document provides a complete gap analysis and prioritized recommendations for missing high-value functionality.
|
|
|
|
---
|
|
|
|
## Current Implementation Status
|
|
|
|
### ✅ **Completed (30-40% of Original Vision)**
|
|
|
|
#### **Core Foundation**
|
|
- [x] Three audience landing paths (Researcher, Implementer, Advocate)
|
|
- [x] Homepage with path selector
|
|
- [x] Documentation library system (docs.html)
|
|
- [x] About pages and values statement
|
|
- [x] Te Tiriti acknowledgement (footer and values page)
|
|
- [x] Research paper publication system
|
|
|
|
#### **Priority 3 & 4 Features (Recent)**
|
|
- [x] Enhanced search with faceted filtering (Priority 3)
|
|
- [x] Media inquiry triage with AI (Priority 4)
|
|
- [x] Media triage transparency page (Priority 4)
|
|
- [x] Admin triage queue UI (Priority 4)
|
|
|
|
#### **Infrastructure**
|
|
- [x] Node.js/Express backend
|
|
- [x] MongoDB database
|
|
- [x] Production deployment (OVHCloud)
|
|
- [x] systemd process management
|
|
- [x] CSP-compliant frontend
|
|
- [x] Mobile-responsive design
|
|
|
|
---
|
|
|
|
## Missing Functionality - Complete Gap Analysis
|
|
|
|
---
|
|
|
|
### ✅ **Category 1: Interactive Demonstrations (100% implemented - October 2025)**
|
|
|
|
**Original Vision:** Four interactive tools to demonstrate Tractatus concepts to users
|
|
|
|
#### **1.1 Instruction Classification Demo**
|
|
**Status:** ✅ IMPLEMENTED (October 2025)
|
|
**Implementation:**
|
|
- Live at `/demos/classification-demo.html`
|
|
- Backend API integration at `/api/demo/classify`
|
|
- Graceful fallback to client-side classification
|
|
- 11 example instructions across all quadrants
|
|
- Real-time classification with visual badges
|
|
- Mobile-responsive design
|
|
- Rate-limited public API (20 req/min per IP)
|
|
|
|
**Original Spec:**
|
|
- Interactive textarea where users input AI instructions
|
|
- Real-time classification display (quadrant, persistence, verification)
|
|
- Visual badges showing classification results
|
|
- Explanation of "why this classification"
|
|
- Example classifications pre-loaded
|
|
|
|
**Value Proposition:**
|
|
- Makes abstract framework concepts tangible
|
|
- Educational tool for researchers and implementers
|
|
- Increases understanding and adoption
|
|
- Low technical barrier (frontend-only possible)
|
|
|
|
**Effort:** 2-3 days
|
|
**Priority:** HIGH
|
|
|
|
**Technical Approach:**
|
|
```javascript
|
|
// Frontend demo - can call backend API or use client-side logic
|
|
class ClassificationDemo {
|
|
async classify(instruction) {
|
|
// Call /api/demo/classify or use embedded rules
|
|
return {
|
|
quadrant: 'STRATEGIC',
|
|
persistence: 'HIGH',
|
|
verification: 'MANDATORY',
|
|
explanation: 'Involves values and long-term direction'
|
|
};
|
|
}
|
|
}
|
|
```
|
|
|
|
---
|
|
|
|
#### **1.2 The 27027 Incident Visualizer**
|
|
**Status:** ✅ IMPLEMENTED (Pre-October 2025, verified functional)
|
|
**Implementation:**
|
|
- Live at `/demos/27027-demo.html`
|
|
- Interactive demonstration of port 27027→27017 failure
|
|
- Shows instruction override by pattern recognition
|
|
- Demonstrates CrossReferenceValidator catching conflict
|
|
- Accessible and verified working October 2025
|
|
|
|
**Original Spec:**
|
|
- Interactive timeline of the famous 27027 failure
|
|
- Step-by-step visualization showing:
|
|
- User's explicit instruction (port 27027)
|
|
- Context pressure building (107k tokens)
|
|
- AI's incorrect action (used 27017)
|
|
- How Tractatus would have caught it
|
|
- Animation showing validation process
|
|
|
|
**Value Proposition:**
|
|
- Concrete, memorable demonstration of pattern bias
|
|
- Shows framework preventing real failures
|
|
- Resonates with developers who've experienced similar issues
|
|
- Powerful advocacy tool
|
|
|
|
**Effort:** 3-4 days
|
|
**Priority:** HIGH
|
|
|
|
**Technical Requirements:**
|
|
- Timeline visualization component
|
|
- Step progression UI
|
|
- Conflict detection animation
|
|
- Mobile-responsive
|
|
|
|
---
|
|
|
|
#### **1.3 Boundary Enforcement Simulator**
|
|
**Status:** ✅ IMPLEMENTED (October 2025)
|
|
**Implementation:**
|
|
- Live at `/demos/boundary-demo.html`
|
|
- Backend API integration at `/api/demo/boundary-check`
|
|
- 12 decision scenarios across all domains
|
|
- Includes: technical, values, user agency, security, irreversible
|
|
- Real-time boundary checking with reasoning
|
|
- Shows AI-provided alternatives for blocked decisions
|
|
- Code examples for each scenario
|
|
- Mobile-responsive design
|
|
|
|
**Original Spec:**
|
|
- Present users with decision scenarios
|
|
- User selects "AI can decide" or "Human required"
|
|
- System shows correct answer with Tractatus reasoning
|
|
- Score tracking and learning progression
|
|
- Scenarios across all quadrants
|
|
|
|
**Example Scenarios:**
|
|
```javascript
|
|
const scenarios = [
|
|
{
|
|
scenario: "Should we prioritize speed or privacy?",
|
|
correct: "HUMAN_REQUIRED",
|
|
quadrant: "STRATEGIC",
|
|
rule: "12.1 - Values cannot be automated",
|
|
explanation: "Values decisions always require human judgment"
|
|
},
|
|
{
|
|
scenario: "Which Python library for data validation?",
|
|
correct: "AI_CAPABLE",
|
|
quadrant: "SYSTEM",
|
|
explanation: "Technical choices can be AI-assisted with verification"
|
|
}
|
|
// ... 10-20 scenarios
|
|
];
|
|
```
|
|
|
|
**Value Proposition:**
|
|
- Interactive learning tool
|
|
- Tests understanding of boundaries
|
|
- Advocacy tool for explaining framework
|
|
- Gamification increases engagement
|
|
|
|
**Effort:** 3-4 days
|
|
**Priority:** MEDIUM-HIGH
|
|
|
|
---
|
|
|
|
#### **1.4 Context Pressure Monitor Demo**
|
|
**Status:** ✅ IMPLEMENTED (October 2025)
|
|
**Implementation:**
|
|
- Live at `/demos/tractatus-demo.html` (tabbed interface)
|
|
- Backend API integration at `/api/demo/pressure-check`
|
|
- Interactive sliders for tokens, messages, errors
|
|
- Real-time pressure calculation and visualization
|
|
- Five pressure levels: NORMAL → ELEVATED → HIGH → CRITICAL → DANGEROUS
|
|
- Color-coded progress bars and badges
|
|
- Recommendations change based on pressure level
|
|
- Also includes classification demo in same interface
|
|
|
|
**Original Spec:**
|
|
- Live visualization of context pressure metrics
|
|
- Shows factors: token usage, conversation length, complexity, errors
|
|
- Demonstrates how pressure score is calculated
|
|
- Shows escalation thresholds (NORMAL → ELEVATED → HIGH → DANGEROUS)
|
|
- Example scenarios with real case study data
|
|
|
|
**Value Proposition:**
|
|
- Makes invisible concept visible
|
|
- Shows proactive degradation detection
|
|
- Demonstrates preventive approach
|
|
- Technical audience appeal
|
|
|
|
**Effort:** 2-3 days
|
|
**Priority:** MEDIUM
|
|
|
|
---
|
|
|
|
### 🔴 **Category 2: AI-Powered Content & Curation (10% implemented)**
|
|
|
|
#### **2.1 Blog System with AI Curation**
|
|
**Status:** Not implemented (Media triage exists but not blog)
|
|
**Original Spec:**
|
|
- AI-curated blog with human editorial oversight
|
|
- Four content pillars:
|
|
1. Technical deep dives (researchers)
|
|
2. Implementation stories (implementers)
|
|
3. Advocacy & impact (advocates)
|
|
4. News & updates (all audiences)
|
|
- AI suggests topics based on trending research
|
|
- AI drafts posts (human approval required)
|
|
- Human editing workflow
|
|
- Publication scheduling
|
|
- Multi-audience targeting
|
|
|
|
**Moderation Queue:**
|
|
```javascript
|
|
class BlogCurationEngine {
|
|
async suggestBlogPost(topic, sources) {
|
|
// AI generates draft
|
|
const draft = await claude.generateBlogPost({
|
|
topic, sources,
|
|
strategic_values: loadStrategicValues()
|
|
});
|
|
|
|
// Classify - does it require strategic review?
|
|
const classification = classifyContent(draft);
|
|
|
|
// Queue for human review
|
|
await moderationQueue.add({
|
|
type: 'blog_post_suggestion',
|
|
draft, classification,
|
|
status: 'pending_human_review'
|
|
});
|
|
}
|
|
}
|
|
```
|
|
|
|
**Value Proposition:**
|
|
- Regular fresh content without full-time writer
|
|
- Demonstrates Tractatus governance in practice
|
|
- SEO and community engagement
|
|
- Showcases human-AI collaboration
|
|
|
|
**Effort:** 5-7 days (complete system)
|
|
**Priority:** HIGH
|
|
|
|
**Components Needed:**
|
|
- Blog post database schema
|
|
- Admin dashboard for blog moderation
|
|
- Public blog listing page (/blog)
|
|
- Individual post pages (/blog/:slug)
|
|
- AI curation service
|
|
- RSS feed
|
|
- Social sharing
|
|
|
|
---
|
|
|
|
#### **2.2 Case Study Submission Portal**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Public form for submitting AI failure case studies
|
|
- Fields:
|
|
- Case title, description
|
|
- Failure mode category
|
|
- How Tractatus would help
|
|
- Evidence/links
|
|
- Submitter details (optional public credit)
|
|
- AI analyzes submissions:
|
|
- Relevance score
|
|
- Completeness score
|
|
- Suggested category
|
|
- Recommended improvements
|
|
- Human moderation queue
|
|
- Published case studies on /case-studies
|
|
|
|
**Database Schema:**
|
|
```javascript
|
|
// case_submissions collection
|
|
{
|
|
submitter: {
|
|
name, email, organization,
|
|
public: Boolean // Can we publish their name?
|
|
},
|
|
case_study: {
|
|
title, description,
|
|
failure_mode,
|
|
tractatus_applicability,
|
|
evidence: [String],
|
|
attachments: [ObjectId] // GridFS
|
|
},
|
|
ai_review: {
|
|
relevance_score, completeness_score,
|
|
recommended_category,
|
|
suggested_improvements,
|
|
claude_analysis
|
|
},
|
|
moderation: {
|
|
status: 'pending/approved/rejected/needs_info',
|
|
reviewer, review_notes, reviewed_at
|
|
}
|
|
}
|
|
```
|
|
|
|
**Value Proposition:**
|
|
- Community contribution and engagement
|
|
- Grows evidence base for framework
|
|
- Demonstrates real-world applicability
|
|
- User-generated content (with oversight)
|
|
|
|
**Effort:** 4-5 days
|
|
**Priority:** MEDIUM-HIGH
|
|
|
|
---
|
|
|
|
#### **2.3 Resources Directory with AI Curation**
|
|
**Status:** Partially implemented (static downloads, no aligned projects directory)
|
|
**Original Spec:**
|
|
- Curated directory of aligned projects and resources
|
|
- Categories:
|
|
- Academic research (related papers)
|
|
- Aligned AI safety projects
|
|
- Implementation tools
|
|
- Indigenous data sovereignty resources
|
|
- Policy documents
|
|
- AI-assisted discovery and recommendation
|
|
- Alignment scoring against strategic values
|
|
- Human approval for inclusion
|
|
- Searchable and filterable
|
|
|
|
**AI Curation Workflow:**
|
|
```javascript
|
|
class ResourceCurator {
|
|
async suggestResource(url) {
|
|
// Fetch and analyze
|
|
const analysis = await claude.analyzeExternalResource({
|
|
url,
|
|
alignment_criteria: loadAlignmentCriteria(),
|
|
quality_standards: loadQualityStandards()
|
|
});
|
|
|
|
// Calculate alignment score
|
|
const alignmentScore = calculateAlignment(analysis);
|
|
|
|
if (alignmentScore > 0.8) {
|
|
// High alignment - fast track review
|
|
return queueForReview(url, analysis, 'fast_track');
|
|
} else if (alignmentScore > 0.5) {
|
|
// Standard review
|
|
return queueForReview(url, analysis, 'standard');
|
|
} else {
|
|
// Detailed human review required
|
|
return queueForReview(url, analysis, 'detailed');
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
**Example Aligned Resources:**
|
|
- Te Mana Raraunga (Māori Data Sovereignty Network)
|
|
- CARE Principles for Indigenous Data Governance
|
|
- Indigenous Protocol and AI Working Group
|
|
- Center for AI Safety publications
|
|
- AI Accountability Lab research
|
|
|
|
**Value Proposition:**
|
|
- Positions Tractatus in broader ecosystem
|
|
- Acknowledges related work
|
|
- Supports community discovery
|
|
- Strengthens indigenous sovereignty connections
|
|
|
|
**Effort:** 3-4 days
|
|
**Priority:** MEDIUM
|
|
|
|
---
|
|
|
|
### 🔴 **Category 3: Community Engagement (0% implemented)**
|
|
|
|
#### **3.1 Newsletter System**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Email list subscription forms
|
|
- Newsletter composition interface
|
|
- Segmentation by audience (researcher/implementer/advocate)
|
|
- Automated notifications (new blog posts, events, updates)
|
|
- Unsubscribe management
|
|
- Analytics (open rates, click-through)
|
|
|
|
**Technical Stack Options:**
|
|
- Self-hosted: Use Node.js mailer + MongoDB subscribers
|
|
- Service: Mailchimp, SendGrid, or Buttondown
|
|
|
|
**Value Proposition:**
|
|
- Direct audience engagement
|
|
- Announce research, events, updates
|
|
- Build community connection
|
|
- Measure engagement
|
|
|
|
**Effort:** 2-3 days (with service) or 5-6 days (self-hosted)
|
|
**Priority:** MEDIUM
|
|
|
|
---
|
|
|
|
#### **3.2 Event Calendar & Webinar System**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Public calendar of events (webinars, presentations, workshops)
|
|
- Event registration system
|
|
- Automated reminders
|
|
- Calendar export (iCal, Google Calendar)
|
|
- Past events archive with recordings
|
|
- Integration with video platforms (Zoom, YouTube)
|
|
|
|
**Event Types:**
|
|
- Research webinars
|
|
- Implementation workshops
|
|
- Community Q&A sessions
|
|
- Academic presentations
|
|
- Partnership announcements
|
|
|
|
**Value Proposition:**
|
|
- Community building
|
|
- Knowledge dissemination
|
|
- Live engagement
|
|
- Content generation (recordings → resources)
|
|
|
|
**Effort:** 4-5 days
|
|
**Priority:** LOW-MEDIUM (Phase 2+)
|
|
|
|
---
|
|
|
|
#### **3.3 Community Forum**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Discussion forum for users
|
|
- Categories: Research, Implementation, Advocacy, General
|
|
- User accounts and profiles
|
|
- Moderation tools
|
|
- Search and threading
|
|
- Email notifications
|
|
|
|
**Technical Approach:**
|
|
- Option 1: Integrate Discourse (self-hosted)
|
|
- Option 2: Custom forum (significant effort)
|
|
- Option 3: GitHub Discussions (immediate, zero cost)
|
|
|
|
**Value Proposition:**
|
|
- Community self-support
|
|
- Knowledge sharing
|
|
- Relationship building
|
|
- Feedback collection
|
|
|
|
**Effort:** 1 day (GitHub Discussions) or 7-10 days (custom)
|
|
**Priority:** LOW (Phase 3+)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 4: Research Collaboration Tools (20% implemented)**
|
|
|
|
#### **4.1 BibTeX Citation Generator**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- One-click citation generation for research paper
|
|
- Formats: BibTeX, APA, MLA, Chicago
|
|
- Include: authors, title, publication date, URL, DOI
|
|
- Copy to clipboard functionality
|
|
- Export to reference managers
|
|
|
|
**Example Output:**
|
|
```bibtex
|
|
@techreport{stroh2025tractatus,
|
|
author = {Stroh, John},
|
|
title = {Structural Governance for Agentic AI: The Tractatus Inflection Point},
|
|
institution = {Tractatus AI Safety Framework},
|
|
year = {2025},
|
|
month = {October},
|
|
url = {https://agenticgovernance.digital/downloads/...},
|
|
note = {Technical Report}
|
|
}
|
|
```
|
|
|
|
**Value Proposition:**
|
|
- Facilitates academic citation
|
|
- Increases research visibility
|
|
- Professional presentation
|
|
|
|
**Effort:** 1 day
|
|
**Priority:** LOW-MEDIUM
|
|
|
|
---
|
|
|
|
#### **4.2 Academic Partnership Portal**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Dedicated section for academic collaboration
|
|
- Research collaboration inquiry form
|
|
- Open research questions
|
|
- Validation study opportunities
|
|
- Joint publication pathways
|
|
- Student internship postings
|
|
- Conference partnerships
|
|
|
|
**Value Proposition:**
|
|
- Attracts academic partnerships
|
|
- Builds research community
|
|
- Validation and credibility
|
|
- Student talent pipeline
|
|
|
|
**Effort:** 2-3 days
|
|
**Priority:** LOW (Phase 3+)
|
|
|
|
---
|
|
|
|
#### **4.3 Pilot Program Application System**
|
|
**Status:** Partially via media inquiry
|
|
**Original Spec:**
|
|
- Structured application for enterprise pilot programs
|
|
- Assessment questionnaire:
|
|
- Organization details
|
|
- Use case description
|
|
- Technical environment
|
|
- Timeline and goals
|
|
- Success criteria
|
|
- AI-assisted triage and matching
|
|
- Human review and outreach
|
|
- Application tracking
|
|
|
|
**Value Proposition:**
|
|
- Structured enterprise engagement
|
|
- Qualify leads
|
|
- Demonstrate real-world adoption
|
|
- Generate case studies
|
|
|
|
**Effort:** 3-4 days
|
|
**Priority:** MEDIUM (once research outreach begins)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 5: Technical Implementation Tools (0% implemented)**
|
|
|
|
#### **5.1 Interactive Code Playground**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Live code execution environment
|
|
- Pre-loaded Tractatus examples
|
|
- Languages: Python, JavaScript
|
|
- Show framework in action
|
|
- Fork and modify examples
|
|
- Share code snippets
|
|
|
|
**Technical Stack:**
|
|
- Frontend: Monaco Editor (VS Code editor)
|
|
- Backend: Code execution sandbox (Docker containers)
|
|
- Security: Sandboxed, resource-limited, timeout
|
|
|
|
**Example Pre-loaded:**
|
|
- InstructionPersistenceClassifier usage
|
|
- BoundaryEnforcer implementation
|
|
- CrossReferenceValidator demo
|
|
- Context pressure calculation
|
|
|
|
**Value Proposition:**
|
|
- Hands-on learning
|
|
- Lower barrier to experimentation
|
|
- Implementer engagement
|
|
- Technical demonstration
|
|
|
|
**Effort:** 7-10 days (with sandbox security)
|
|
**Priority:** MEDIUM (Phase 2)
|
|
|
|
---
|
|
|
|
#### **5.2 API Reference Documentation**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Complete API docs for all 6 governance services
|
|
- OpenAPI/Swagger specification
|
|
- Interactive API explorer
|
|
- Request/response schemas
|
|
- Code examples in multiple languages
|
|
- Authentication docs
|
|
- Rate limiting info
|
|
|
|
**Services to Document:**
|
|
- BoundaryEnforcer API
|
|
- InstructionPersistenceClassifier API
|
|
- CrossReferenceValidator API
|
|
- ContextPressureMonitor API
|
|
- MetacognitiveVerifier API
|
|
- AuditLogger API
|
|
|
|
**Technical Approach:**
|
|
- Generate from JSDoc comments
|
|
- Use Swagger UI for interactive explorer
|
|
- Host at /docs/api/
|
|
|
|
**Value Proposition:**
|
|
- Essential for implementers
|
|
- Professional presentation
|
|
- Integration support
|
|
- Adoption enablement
|
|
|
|
**Effort:** 5-7 days
|
|
**Priority:** HIGH (before broad enterprise outreach)
|
|
|
|
---
|
|
|
|
#### **5.3 Deployment Quickstart Kit**
|
|
**Status:** Partially in research roadmap
|
|
**Original Spec:**
|
|
- "Deploy Tractatus in 30 minutes" tutorial
|
|
- Docker Compose configuration
|
|
- Sample governance rules (5-10 examples)
|
|
- Verification checklist
|
|
- Troubleshooting guide
|
|
- Video walkthrough
|
|
|
|
**Includes:**
|
|
- docker-compose.yml with all services
|
|
- .env.example with configuration
|
|
- Sample rules JSON
|
|
- Test scripts
|
|
- Documentation
|
|
|
|
**Value Proposition:**
|
|
- Lowers adoption barrier
|
|
- Enables experimentation
|
|
- Reduces support burden
|
|
- Builds confidence
|
|
|
|
**Effort:** 3-4 days (as per research roadmap)
|
|
**Priority:** HIGH (Tier 1 in research roadmap)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 6: Koha (Donations) System - Phase 3 (0% implemented)**
|
|
|
|
#### **6.1 Stripe Integration**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Monthly supporter tiers ($5, $15, $50/month)
|
|
- One-time donations
|
|
- Stripe payment processing
|
|
- Secure payment forms
|
|
- Subscription management
|
|
- Donation receipts (email)
|
|
|
|
**Tiers:**
|
|
- **Supporter** ($5/month): Name on supporters page, newsletter
|
|
- **Advocate** ($15/month): Above + early access to research
|
|
- **Partner** ($50/month): Above + quarterly call with team
|
|
|
|
**Value Proposition:**
|
|
- Sustainable funding
|
|
- Community investment
|
|
- Reduces hosting cost burden
|
|
- Enables growth
|
|
|
|
**Effort:** 5-7 days
|
|
**Priority:** MEDIUM (Phase 3 - after community established)
|
|
|
|
---
|
|
|
|
#### **6.2 Transparency Dashboard**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Public transparency page showing:
|
|
- Total donations received
|
|
- Monthly recurring supporters count
|
|
- Allocation breakdown (hosting 30%, dev 40%, research 20%, community 10%)
|
|
- Recent donor acknowledgements (opt-in)
|
|
- Monthly transparency reports
|
|
- Auditable records
|
|
|
|
**Technical Implementation:**
|
|
```javascript
|
|
class KohaManager {
|
|
async getPublicMetrics() {
|
|
return {
|
|
total_received: await getTotalDonations(),
|
|
monthly_supporters: await getMonthlyCount(),
|
|
allocation: {
|
|
hosting: 0.30,
|
|
development: 0.40,
|
|
research: 0.20,
|
|
community: 0.10
|
|
},
|
|
recent_donors: await getPublicAcknowledgements()
|
|
};
|
|
}
|
|
}
|
|
```
|
|
|
|
**Value Proposition:**
|
|
- Builds trust
|
|
- Demonstrates values (transparency principle)
|
|
- Accountability
|
|
- Encourages donations
|
|
|
|
**Effort:** 2-3 days (after Stripe integration)
|
|
**Priority:** MEDIUM (Phase 3)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 7: Multi-Language Support (0% implemented)**
|
|
|
|
#### **7.1 Te Reo Māori Translations**
|
|
**Status:** Not implemented (only English)
|
|
**Original Spec:**
|
|
- Priority pages translated to Te Reo Māori:
|
|
- Homepage
|
|
- About/Values page
|
|
- Core framework documentation
|
|
- Language selector in navigation
|
|
- Māori language consultation for quality
|
|
- Cultural appropriateness review
|
|
|
|
**Technical Approach:**
|
|
- i18next library (already in family-history stack)
|
|
- Translation files: `locales/mi/translation.json`
|
|
- Database support for translated content
|
|
- URL structure: `/mi/about` or `?lang=mi`
|
|
|
|
**Value Proposition:**
|
|
- Honors Te Tiriti commitment
|
|
- Demonstrates values in practice
|
|
- Accessibility for Māori community
|
|
- Leadership in indigenous inclusion
|
|
|
|
**Effort:** 5-7 days (technical) + consultation time
|
|
**Priority:** MEDIUM-HIGH (strategic values alignment)
|
|
|
|
---
|
|
|
|
#### **7.2 Additional Languages (Phase 4)**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- International expansion languages:
|
|
- German, French, Spanish (EU priorities)
|
|
- Mandarin, Japanese (Asia-Pacific)
|
|
- Arabic (MENA region)
|
|
- Professional translation services
|
|
- Community translation contributions
|
|
- Quality review process
|
|
|
|
**Value Proposition:**
|
|
- Global reach
|
|
- International partnerships
|
|
- Accessibility
|
|
- Inclusivity
|
|
|
|
**Effort:** 10-15 days per language group
|
|
**Priority:** LOW (Phase 4 - 15-18 months)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 8: User Accounts & Personalization (0% implemented)**
|
|
|
|
#### **8.1 Optional User Accounts**
|
|
**Status:** Not implemented (everything is public currently)
|
|
**Original Spec:**
|
|
- Optional account creation (not required for public access)
|
|
- Benefits of accounts:
|
|
- Save preferences (audience path, language)
|
|
- Bookmark documents
|
|
- Track demo progress
|
|
- Subscribe to updates
|
|
- Submit case studies and resources
|
|
- JWT authentication
|
|
- Email verification
|
|
- Password reset
|
|
- Profile management
|
|
|
|
**Value Proposition:**
|
|
- Enhanced user experience
|
|
- Personalization
|
|
- Engagement tracking
|
|
- Community building
|
|
|
|
**Effort:** 5-7 days
|
|
**Priority:** LOW-MEDIUM (Phase 3+)
|
|
|
|
---
|
|
|
|
#### **8.2 Notification System**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Email notifications for:
|
|
- New blog posts
|
|
- Event reminders
|
|
- Research updates
|
|
- Case study publications
|
|
- In-app notifications (if logged in)
|
|
- Notification preferences
|
|
- Unsubscribe management
|
|
|
|
**Value Proposition:**
|
|
- User engagement
|
|
- Content distribution
|
|
- Community building
|
|
- Re-engagement
|
|
|
|
**Effort:** 3-4 days
|
|
**Priority:** LOW (Phase 3+)
|
|
|
|
---
|
|
|
|
## Missing Strategic/Organizational Features
|
|
|
|
### 🔴 **Category 9: Values-Aligned Design**
|
|
|
|
#### **9.1 Privacy-Preserving Analytics**
|
|
**Status:** Unknown (may be using standard analytics)
|
|
**Original Spec:**
|
|
- Plausible Analytics or similar
|
|
- No cookies
|
|
- No personal data collection
|
|
- No cross-site tracking
|
|
- Country-level only (not IP addresses)
|
|
- Transparent about what's tracked
|
|
|
|
**What to Track:**
|
|
- Page views by path
|
|
- Audience path selection
|
|
- Document downloads
|
|
- Demo usage
|
|
- Search queries (anonymized)
|
|
- Geographic distribution (country only)
|
|
- Referral sources
|
|
|
|
**What NOT to Track:**
|
|
- Individual users
|
|
- IP addresses beyond country
|
|
- Browsing behavior across sessions
|
|
- Personal information
|
|
|
|
**Value Proposition:**
|
|
- Aligns with sovereignty values
|
|
- Builds trust
|
|
- Compliance (GDPR, privacy laws)
|
|
- Demonstrates values in practice
|
|
|
|
**Effort:** 1-2 days
|
|
**Priority:** HIGH (values critical)
|
|
|
|
---
|
|
|
|
#### **9.2 Accessibility Compliance (WCAG 2.1 AA)**
|
|
**Status:** Unknown (needs audit)
|
|
**Original Spec:**
|
|
- WCAG 2.1 Level AA compliance
|
|
- Keyboard navigation throughout
|
|
- Screen reader compatibility
|
|
- Alt text for all images
|
|
- Proper ARIA labels
|
|
- Color contrast compliance
|
|
- Skip links
|
|
- Accessible forms
|
|
|
|
**Accessibility Audit Needed:**
|
|
- Lighthouse accessibility score
|
|
- Manual keyboard testing
|
|
- Screen reader testing
|
|
- Color contrast checker
|
|
|
|
**Value Proposition:**
|
|
- Inclusive access
|
|
- Legal compliance
|
|
- Values demonstration (community & accessibility)
|
|
- Broader reach
|
|
|
|
**Effort:** 3-5 days (audit + fixes)
|
|
**Priority:** HIGH (values critical)
|
|
|
|
---
|
|
|
|
### 🔴 **Category 10: Content & Documentation Gaps**
|
|
|
|
#### **10.1 FAQ Section**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Comprehensive FAQ addressing:
|
|
- "Why not just better prompts?"
|
|
- Overhead concerns with data
|
|
- Multi-model support
|
|
- Relationship to constitutional AI
|
|
- False positive rates
|
|
- Governance rule updates
|
|
- Learning curve
|
|
- Version control for rules
|
|
|
|
**Organization:**
|
|
- By audience (researcher/implementer/advocate)
|
|
- Searchable
|
|
- Expandable sections
|
|
- Link to relevant docs
|
|
|
|
**Value Proposition:**
|
|
- Reduces support burden
|
|
- Addresses common objections
|
|
- Self-service learning
|
|
- SEO (natural language questions)
|
|
|
|
**Effort:** 2-3 days
|
|
**Priority:** MEDIUM-HIGH
|
|
|
|
---
|
|
|
|
#### **10.2 Video Content**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- 5-10 minute video walkthrough
|
|
- Demonstrates:
|
|
- 27027 incident prevention
|
|
- BoundaryEnforcer in action
|
|
- Context pressure monitoring
|
|
- Screen recording with narration
|
|
- Professional editing
|
|
- Closed captions
|
|
- Embedded on website + YouTube
|
|
|
|
**Value Proposition:**
|
|
- Visual learning
|
|
- Shareability
|
|
- Accessibility (different learning styles)
|
|
- Advocacy tool
|
|
|
|
**Effort:** 2-3 days (recording + editing)
|
|
**Priority:** MEDIUM (in research roadmap)
|
|
|
|
---
|
|
|
|
#### **10.3 Technical Architecture Diagram**
|
|
**Status:** Not implemented
|
|
**Original Spec:**
|
|
- Professional system architecture visualization
|
|
- Shows:
|
|
- Claude Code runtime layer
|
|
- Tractatus governance layer
|
|
- MongoDB persistence
|
|
- Integration points
|
|
- Data flow
|
|
- High-resolution PNG + SVG
|
|
- Included in research paper and website
|
|
|
|
**Value Proposition:**
|
|
- Clarifies complementarity with Claude Code
|
|
- Technical communication
|
|
- Professional presentation
|
|
- Reduces confusion
|
|
|
|
**Effort:** 4-6 hours (in research roadmap Tier 2)
|
|
**Priority:** HIGH (in research roadmap)
|
|
|
|
---
|
|
|
|
## Missing Infrastructure/Technical Debt
|
|
|
|
### 🔴 **Category 11: Performance & Optimization**
|
|
|
|
#### **11.1 CDN for Static Assets**
|
|
**Status:** Unknown
|
|
**Original Spec:**
|
|
- OVHCloud CDN for:
|
|
- Images, logos
|
|
- CSS/JS bundles
|
|
- PDF downloads
|
|
- Reduces server load
|
|
- Faster global access
|
|
- Caching strategy
|
|
|
|
**Value Proposition:**
|
|
- Performance
|
|
- User experience
|
|
- Scalability
|
|
- Cost optimization
|
|
|
|
**Effort:** 1-2 days
|
|
**Priority:** MEDIUM
|
|
|
|
---
|
|
|
|
#### **11.2 Database Indexing Optimization**
|
|
**Status:** Unknown (needs audit)
|
|
**Original Spec:**
|
|
- Indexes for:
|
|
- Document slug
|
|
- Quadrant classification
|
|
- Full-text search
|
|
- Blog post publication date
|
|
- Status fields
|
|
- Query performance monitoring
|
|
- Slow query logging
|
|
|
|
**Value Proposition:**
|
|
- Performance
|
|
- Scalability
|
|
- User experience
|
|
- Cost efficiency
|
|
|
|
**Effort:** 1 day (audit + optimization)
|
|
**Priority:** MEDIUM
|
|
|
|
---
|
|
|
|
### 🔴 **Category 12: Testing & Quality Assurance**
|
|
|
|
#### **12.1 Comprehensive Test Suite**
|
|
**Status:** 223 tests for backend services ✓, but frontend untested
|
|
**Original Spec:**
|
|
- Backend: Unit + integration tests (EXISTS)
|
|
- Frontend: Component tests (MISSING)
|
|
- End-to-end tests (MISSING)
|
|
- Performance tests (MISSING)
|
|
- Accessibility tests (MISSING)
|
|
- CI/CD pipeline with tests (PARTIAL - GitHub Actions)
|
|
|
|
**Testing Needs:**
|
|
- Frontend: Jest + Testing Library
|
|
- E2E: Playwright or Cypress
|
|
- Performance: Lighthouse CI
|
|
- Accessibility: axe-core
|
|
|
|
**Value Proposition:**
|
|
- Quality assurance
|
|
- Regression prevention
|
|
- Confident refactoring
|
|
- Professional standard
|
|
|
|
**Effort:** 5-7 days (comprehensive coverage)
|
|
**Priority:** MEDIUM-HIGH
|
|
|
|
---
|
|
|
|
## Prioritized Implementation Roadmap
|
|
|
|
### 🏆 **Tier 1: High-Value, Near-Term (Next 4 weeks)**
|
|
|
|
**Total Effort:** ~20-25 days | **Strategic Value:** Critical for research outreach
|
|
|
|
1. **Interactive Demos** (8-10 days)
|
|
- Classification demo (2-3 days)
|
|
- 27027 visualizer (3-4 days)
|
|
- Boundary simulator (3-4 days)
|
|
- **Value:** Makes framework tangible, powerful advocacy tool
|
|
|
|
2. **Blog System with AI Curation** (5-7 days)
|
|
- Complete blog infrastructure
|
|
- AI suggestion engine
|
|
- Human moderation queue
|
|
- **Value:** Content generation, SEO, community engagement
|
|
|
|
3. **Deployment Quickstart** (3-4 days)
|
|
- Docker compose setup
|
|
- Sample rules
|
|
- Verification scripts
|
|
- **Value:** Lowers adoption barrier, enables pilots
|
|
|
|
4. **API Documentation** (5-7 days)
|
|
- OpenAPI spec for 6 services
|
|
- Swagger UI explorer
|
|
- Code examples
|
|
- **Value:** Essential for implementers, professional standard
|
|
|
|
5. **Privacy-Preserving Analytics** (1-2 days)
|
|
- Plausible Analytics integration
|
|
- Remove tracking that violates values
|
|
- **Value:** Values alignment, trust building
|
|
|
|
---
|
|
|
|
### 🥈 **Tier 2: Medium-Value, Important (Weeks 5-8)**
|
|
|
|
**Total Effort:** ~18-22 days
|
|
|
|
6. **Case Study Submission Portal** (4-5 days)
|
|
- Public submission form
|
|
- AI analysis
|
|
- Moderation queue
|
|
- **Value:** Community contribution, evidence building
|
|
|
|
7. **Resources Directory** (3-4 days)
|
|
- Aligned projects catalog
|
|
- AI curation assistance
|
|
- Indigenous resources section
|
|
- **Value:** Ecosystem positioning, sovereignty connections
|
|
|
|
8. **FAQ Section** (2-3 days)
|
|
- Comprehensive Q&A
|
|
- Searchable, organized
|
|
- **Value:** Self-service, objection handling
|
|
|
|
9. **Te Reo Māori Translations** (5-7 days + consultation)
|
|
- Priority pages translated
|
|
- Cultural review
|
|
- **Value:** Strategic values alignment, Te Tiriti commitment
|
|
|
|
10. **Accessibility Audit & Fixes** (3-5 days)
|
|
- WCAG 2.1 AA compliance
|
|
- Keyboard navigation
|
|
- Screen reader testing
|
|
- **Value:** Inclusivity, values alignment, legal compliance
|
|
|
|
---
|
|
|
|
### 🥉 **Tier 3: Nice-to-Have, Later Phase (Months 3-6)**
|
|
|
|
**Total Effort:** ~30-40 days
|
|
|
|
11. **Interactive Code Playground** (7-10 days)
|
|
12. **Newsletter System** (2-3 days with service)
|
|
13. **User Accounts** (5-7 days)
|
|
14. **BibTeX Citation Generator** (1 day)
|
|
15. **Academic Partnership Portal** (2-3 days)
|
|
16. **Pilot Program Application** (3-4 days)
|
|
17. **Event Calendar** (4-5 days)
|
|
18. **Database Optimization** (1-2 days)
|
|
19. **CDN Implementation** (1-2 days)
|
|
20. **Frontend Test Suite** (5-7 days)
|
|
|
|
---
|
|
|
|
### 🔮 **Tier 4: Phase 3+ (Months 6-18)**
|
|
|
|
21. **Koha (Donations) System** (7-10 days)
|
|
22. **Transparency Dashboard** (2-3 days)
|
|
23. **Community Forum** (1 day with GitHub Discussions, or 7-10 days custom)
|
|
24. **Notification System** (3-4 days)
|
|
25. **Additional Languages** (10-15 days per language group)
|
|
|
|
---
|
|
|
|
## Comparison: Research Enhancement Roadmap vs Original Vision
|
|
|
|
**Research Enhancement Roadmap (just created)** covers:
|
|
- ✓ Benchmark suite (NEW, not in original)
|
|
- ✓ Interactive demos (OVERLAPS - Tier 1)
|
|
- ✓ Deployment quickstart (OVERLAPS - Tier 1)
|
|
- ✓ Governance rule library (NEW feature)
|
|
- ✓ Video walkthrough (OVERLAPS - Tier 2)
|
|
- ✓ Architecture diagram (OVERLAPS - Tier 2)
|
|
- ✓ FAQ (OVERLAPS - Tier 2)
|
|
- ✓ Comparison matrix (NEW)
|
|
- ✓ GitHub repository (NEW)
|
|
- ✓ Case studies (OVERLAPS)
|
|
- ✓ API docs (OVERLAPS - Tier 1)
|
|
- ✓ Blog series (OVERLAPS)
|
|
|
|
**Conclusion:** Research Enhancement Roadmap is **complementary** to original vision. It focuses on materials for research outreach, while original vision includes operational features (blog system, case submissions, resources, community tools, Koha).
|
|
|
|
**Recommendation:** Execute Research Enhancement Roadmap Tier 1, then integrate missing operational features from this gap analysis.
|
|
|
|
---
|
|
|
|
## High-Priority Missing Features (Immediate Action)
|
|
|
|
### **Top 5 Missing from Current Work:**
|
|
|
|
1. **Blog System with AI Curation** (HIGH)
|
|
- Content generation engine
|
|
- Community engagement
|
|
- SEO and visibility
|
|
- Demonstrates Tractatus governance
|
|
- **Gap:** Core content strategy missing
|
|
|
|
2. **Interactive Demos** (HIGH)
|
|
- Makes framework tangible
|
|
- Powerful learning tool
|
|
- Advocacy and adoption driver
|
|
- **Gap:** Abstract concepts not demonstrated
|
|
|
|
3. **API Documentation** (HIGH)
|
|
- Essential for implementers
|
|
- Professional standard
|
|
- Enables integration
|
|
- **Gap:** No clear integration path for developers
|
|
|
|
4. **Privacy-Preserving Analytics** (HIGH)
|
|
- Values alignment critical
|
|
- Current analytics unknown (potential violation)
|
|
- **Gap:** May not be following sovereignty principles
|
|
|
|
5. **Case Study Submission Portal** (MEDIUM-HIGH)
|
|
- Community contribution
|
|
- Evidence building
|
|
- User-generated content with oversight
|
|
- **Gap:** No mechanism for community case studies
|
|
|
|
---
|
|
|
|
## Recommendations
|
|
|
|
### **Immediate (This Session):**
|
|
|
|
1. ✅ Complete this gap analysis (DONE)
|
|
2. Review gap analysis with you for priorities
|
|
3. Integrate high-priority missing features into Research Enhancement Roadmap
|
|
4. Begin Tier 1 implementation (demos, blog, API docs, quickstart)
|
|
|
|
### **Short-term (Next 2 weeks):**
|
|
|
|
5. Implement interactive demos (classification, 27027, boundary)
|
|
6. Set up blog system with AI curation
|
|
7. Audit analytics for privacy compliance
|
|
8. Begin API documentation
|
|
|
|
### **Medium-term (Weeks 3-8):**
|
|
|
|
9. Case study submission portal
|
|
10. Resources directory
|
|
11. Te Reo Māori translations
|
|
12. FAQ section
|
|
13. Accessibility audit and fixes
|
|
|
|
### **Long-term (Months 3-6):**
|
|
|
|
14. Code playground
|
|
15. User accounts
|
|
16. Academic partnership tools
|
|
17. Newsletter system
|
|
|
|
### **Phase 3+ (Months 6-18):**
|
|
|
|
18. Koha donations system
|
|
19. Community forum
|
|
20. Additional languages
|
|
21. Event calendar
|
|
22. Advanced features
|
|
|
|
---
|
|
|
|
## Conclusion
|
|
|
|
The original Claude Web conversation outlined a comprehensive, multi-phase vision for tractatus (agenticgovernance.digital). Current implementation has solid foundations (30-40% complete) but is missing significant functionality in:
|
|
|
|
1. **Interactive demonstrations** - Critical for understanding and adoption
|
|
2. **AI-powered content** - Blog, case submissions, resources
|
|
3. **Community tools** - Newsletter, forum, events
|
|
4. **Technical tools** - Code playground, comprehensive API docs
|
|
5. **Values alignment** - Analytics privacy, accessibility, Te Reo Māori
|
|
|
|
**Strategic Recommendation:** Focus on **Tier 1 high-value features** (interactive demos, blog system, API docs, quickstart) to support research outreach, then build out community and operational features in subsequent phases.
|
|
|
|
**Next Action:** Review this gap analysis with you to confirm priorities and begin implementation of selected features.
|
|
|
|
---
|
|
|
|
**Document Metadata:**
|
|
- **Created:** October 11, 2025
|
|
- **Status:** Analysis Complete
|
|
- **Total Missing Features:** 25+ major features
|
|
- **Current Completion:** 30-40% of original vision
|
|
- **Priority Features:** 12 high/medium-high priority items
|
|
- **Estimated Effort (Tier 1):** 20-25 days
|
|
- **Next Review:** Weekly with research roadmap reviews
|