-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing Guidelines
How to Contribute to Post-Capitalist Innovation
Contributing to FoundUps means joining the planetary-scale transformation from extractive capitalism to regenerative collaboration. Every line of code you contribute helps build the infrastructure for a fundamentally different world.
You're not just contributing to software - you're building the economic and technological foundation for post-scarcity abundance.
- Build solutions that benefit everyone, not just those who can afford them
- Prioritize planetary health over quarterly profits
- Create regenerative systems that heal rather than extract
- Enable collaborative abundance instead of competitive scarcity
- Write code that will outlast its creators
- Follow WSP protocols religiously - they ensure long-term sustainability
- Document everything - knowledge must be accessible to all
- Build for recursive improvement - systems that evolve themselves
- Design for agent orchestration rather than human micromanagement
- Enable self-monitoring and recovery capabilities
- Implement clean interfaces that agents can coordinate through
- Plan for recursive self-improvement of your contributions
# Clone the repository
git clone https://github.com/Foundup/Foundups-Agent.git
cd Foundups-Agent
# Set up development environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install pytest pytest-cov pytest-asyncio
# Verify everything works
python -m pytest modules/ -v
python tools/modular_audit/modular_audit.py modules/Before contributing, understand the existing patterns:
# Explore the enterprise domain architecture
ls modules/
cat modules/README.md
# Study successful modules in your area of interest
find modules/communication/ -name "*.py" | head -3 | xargs cat
find modules/ai_intelligence/ -name "*.py" | head -3 | xargs cat# Always start with a clean state snapshot
python -c "
from modules.wre_core.src.components.clean_state_manager import WSP2CleanStateManager
from pathlib import Path
csm = WSP2CleanStateManager(Path('.'))
result = csm.create_clean_state_snapshot('Starting my contribution')
print(f'Safe rollback point: {result[\"tag_name\"]}')
"Most Valuable: Create entirely new capabilities
High-Priority Areas:
- Bitcoin/Lightning Network integration - Enable decentralized value flows
- Social media platform adapters - Twitter, LinkedIn, YouTube automation
- AI agent coordination systems - Multi-agent collaboration patterns
- Testing and quality tools - Improve WSP compliance automation
- Documentation generators - Make knowledge more accessible
Process:
- Choose appropriate domain (function over platform)
- Use WSP 33 autonomous workflow for guided creation
- Follow established patterns from existing modules in that domain
- Achieve ≥90% test coverage (WSP 5 requirement)
- Document interfaces thoroughly (WSP 7-10 requirements)
Incremental Improvement: Enhance existing modules
Focus Areas:
- Performance optimization - Faster, more efficient implementations
- Feature completions - Finish placeholder functionality
- Integration improvements - Better cross-module coordination
- Error handling enhancement - More robust autonomous operation
- Documentation updates - Keep knowledge current and accurate
Framework Evolution: Improve the protocols themselves
Advanced Contributions:
- New WSP protocols for emerging needs
- WSP validation tools for better compliance automation
- WSP metric collection for ecosystem health monitoring
- WSP integration patterns for external systems
Autonomous Capabilities: Create new autonomous agents
Agent Types Needed:
- Domain-specific agents for specialized module types
- Cross-domain coordinators for complex multi-module workflows
- Quality assurance agents for specialized testing patterns
- Optimization agents for performance and resource management
Knowledge Sharing: Make the ecosystem more accessible
Documentation Needs:
- Tutorial series for different skill levels
- Best practices guides for common patterns
- Integration examples showing real-world usage
- Vision articulation helping others understand the mission
# 1. Identify what you want to contribute
# 2. Search existing issues and discussions
# 3. Check if similar work exists
# 4. Plan your approach# 1. Create feature branch
git checkout -b feature/your-contribution-name
# 2. Use WSP 33 for module creation (if applicable)
cd modules/wre_core
python src/wre_core_poc.py
# Select option 2: "New Module Build"
# 3. Follow WSP protocols throughout development
python tools/modular_audit/modular_audit.py modules/
pytest modules/your_module/ --cov=modules.your_module.src --cov-report=term-missing
# 4. Document everything as you go
# Update README.md, create INTERFACE.md, maintain ModLog.md# 1. Achieve full WSP compliance
python tools/modular_audit/modular_audit.py modules/
# 2. Ensure comprehensive test coverage
pytest modules/ -v --cov=modules --cov-report=term-missing
# 3. Validate agent integration (if applicable)
cd modules/wre_core
python src/wre_core_poc.py
# Test your module through orchestration workflows
# 4. Create clean state snapshot of completion
python -c "
from modules.wre_core.src.components.clean_state_manager import WSP2CleanStateManager
from pathlib import Path
csm = WSP2CleanStateManager(Path('.'))
result = csm.create_clean_state_snapshot('Completed: your-contribution-name')
print(f'Completion snapshot: {result[\"tag_name\"]}')
"# 1. Commit with WSP-compliant messages
git add .
git commit -m "WSP: Add [module_name] - [brief_description]
- WSP 1: Modular design with clear interfaces
- WSP 3: Correctly placed in [domain] domain
- WSP 5: [X]% test coverage achieved
- WSP 6: All tests passing
- Implements: [specific_functionality]
- Dependencies: [list_dependencies]
- Agent Integration: [orchestration_capabilities]"
# 2. Push feature branch
git push origin feature/your-contribution-name
# 3. Create Pull Request with detailed descriptionEvery contribution MUST comply with:
WSP 1: Framework Principles
- ✅ Agentic Responsibility
- ✅ Protocol-Driven Development
- ✅ Recursive Self-Improvement
- ✅ Traceable Narrative
- ✅ Modular Cohesion
- ✅ Quantum Temporal Decoding
WSP 3: Enterprise Domain Architecture
- ✅ Correct domain placement (function over platform)
- ✅ Clear interface boundaries
- ✅ No hidden cross-domain dependencies
- ✅ Standard module structure
WSP 4: FMAS Compliance
# Must pass structural audit
python tools/modular_audit/modular_audit.py modules/
# Result must show: "✅ All modules passed structural compliance"WSP 5: Test Coverage
# Must achieve ≥90% test coverage
pytest modules/your_module/ --cov=modules.your_module.src --cov-report=term-missing
# Coverage must show ≥90%WSP 6: Test Quality
# All tests must pass
pytest modules/ -v
# Result must show: "X passed, 0 failed"Required Files:
-
README.md- Implementation overview and usage -
INTERFACE.md- Public API specification -
ModLog.md- Change history and decisions -
module.json- Metadata and configuration
Documentation Quality:
- Clear explanations of purpose and functionality
- Code examples showing real usage patterns
- Integration guidance for other developers
- WSP compliance status explicitly documented
# 1. Implement health monitoring
class YourModule:
async def health_check(self):
"""Return current module health status."""
return {
"status": "healthy",
"performance_metrics": self.get_performance_data(),
"resource_usage": self.get_resource_usage(),
"error_count": self.get_error_count()
}
# 2. Enable autonomous error recovery
async def handle_error(self, error, context):
"""Autonomous error handling and recovery."""
if error.is_recoverable():
return await self.attempt_recovery(error)
else:
return await self.graceful_degradation(error)
# 3. Support agent orchestration
async def execute_with_context(self, orchestration_context):
"""Execute module function within agent orchestration."""
result = await self.primary_function(orchestration_context.input)
orchestration_context.update_with_result(result)
return result# Register with WRE orchestration system
from modules.wre_core.src.components.agentic_orchestrator.orchestration_context import OrchestrationTrigger
@register_orchestration_handler(OrchestrationTrigger.YOUR_TRIGGER_TYPE)
async def handle_orchestrated_workflow(context):
"""Handle agent orchestration requests."""
return await your_module.execute_with_context(context)- Platform-specific silos (put YouTube functionality in platform_integration, not youtube_domain)
- Proprietary dependencies that create vendor lock-in
- Competitive features designed to exclude or disadvantage others
- Extractive patterns that benefit few at expense of many
- Hidden interfaces that prevent agent orchestration
- Non-WSP compliant code that doesn't follow protocol standards
❌ "This module only works with our specific setup" ✅ "This module follows WSP interfaces for maximum interoperability"
❌ "We'll document this later"
✅ "Documentation is complete and WSP-compliant"
❌ "Tests are optional for this feature" ✅ "95% test coverage achieved, exceeding WSP 5 requirement"
❌ "This gives us a competitive advantage" ✅ "This creates value for the entire ecosystem"
- Module Contributors - Created or significantly enhanced modules
- Agent Developers - Built autonomous capabilities
- Protocol Architects - Extended WSP framework
- Ecosystem Gardeners - Documentation, testing, quality improvements
- Vision Ambassadors - Spread FoundUps mission and onboard others
As Bitcoin integration develops, contributors will benefit from:
- Decentralized attribution tracking all contributions via blockchain
- Value capture for contributors based on module usage and impact
- Regenerative rewards that grow over time rather than diminish
- No gatekeepers - direct value flows without intermediaries
- GitHub Issues - Technical problems and feature discussions
- GitHub Discussions - Architectural decisions and design questions
- Wiki Pages - Comprehensive guides and reference documentation
- Code Examples - modules/wre_core/ and other modules for patterns
"Which domain should my module go in?" → See Module Ecosystem for enterprise domain guide
"How do I make my module work with agents?"
→ See Agent System for orchestration patterns
"What does WSP compliance actually require?" → See WSP Framework for complete protocol reference
"How do I follow the FoundUps vision?" → See FoundUps Manifesto for philosophical foundation
Every contribution moves humanity closer to:
- Post-capitalist innovation where collaboration replaces competition
- Regenerative abundance where technology heals rather than extracts
- AI accessibility where everyone benefits from artificial intelligence
- Economic sovereignty where value flows without gatekeepers
- One excellent module is better than ten mediocre ones
- Follow WSP protocols religiously - they ensure 100-year lifespans
- Build for autonomous operation - agents must be able to use your work
- Document everything - knowledge must outlast its creators
Your contribution could be the module that makes FoundUps work at planetary scale.
Your code could be the foundation that enables post-scarcity abundance.
Your documentation could be what helps the next contributor build something incredible.
Start now. Build for humanity. Transform everything.
The revolution needs your code. 🌍⚡
Get Started
Architecture
- WSP Framework
- Module Ecosystem
- Agent System
- WRE Core Engine
- HoloIndex
- DAE Architecture
- 0102 Digital Human Twin
- MCP Infrastructure
- FoundUps MCP Bridge
- FoundUps API Gateway
OpenClaw & Execution
Research & Economics
- rESP Framework
- PQN
- Geometry Bridge
- Simulator
- ROC Displacement Law
- CABR Engine
- PAVS Treasury Economics
- Published Articles & Research
FoundUps
Phases
- Phase 1: Foundation ✅
- Phase 2: Platform & Execution 🚧
- Phase 3: Economic Integration
- Phase 4: Planetary Scale
Discord & Community