1_general_forum/currency-ledger/policies/validation-rules.yml

117 lines
4.9 KiB
YAML

# Currency Ledger Validation Rules
# Ensures system integrity and democratic oversight
# Updated: 2025-01-15
# Transaction Validation
transaction_rules:
requires_defender_approval: true
requires_captain_approval: true # Team Captain must approve team transactions
requires_evidence: true # Link to completed work required
max_transaction_age_days: 7 # Must be processed within week
retroactive_limit_days: 30 # Can't claim SC for work >30 days old
# Democratic Oversight
approval_process:
small_transactions_threshold: 100 # SC amounts ≤ 100 need team approval
large_transactions_threshold: 200 # SC amounts > 200 need community review
founding_work_review_days: 7 # Community review period for founding audit
binding_vote_threshold: 3 # Major issues need General Forum vote
lazy_consensus_hours: 48 # 48h for community feedback
# License Integration (Progressive Transparency)
license_requirements:
campaign_license:
can_view_ledger: true
can_propose_transactions: false
can_approve_transactions: false
watch_license:
can_view_ledger: true
can_propose_transactions: false
can_approve_transactions: false
work_license:
can_view_ledger: true
can_propose_transactions: true # Can claim SC for completed tasks
can_approve_transactions: false
organizational_license:
can_view_ledger: true
can_propose_transactions: true
can_approve_transactions: false # No special approval powers
# Treasury Protection
treasury_validation:
max_outstanding_ratio: 3.0 # Outstanding SC ≤ 3x treasury EUR
min_treasury_reserve: 1000 # Always keep €1000 emergency reserve
redemption_window_trigger: 0.8 # Open redemption at 80% treasury capacity
fifo_redemption: true # First earned, first redeemed
# Quality Assurance
quality_rules:
requires_task_reference: true # Must link to Forgejo issue/task
requires_time_estimate: true # Estimate vs actual hours tracking
requires_defender_review: true # Code/work quality confirmation
allows_partial_payments: true # Can pay in installments for large tasks
# Anti-Fraud Measures
security_rules:
max_daily_sc_per_person: 500 # Prevents gaming
requires_captain_countersign: true # Team Captain must approve team payments
founder_cap_total: 10000 # Max retroactive SC for any founder
community_veto_window: 48 # Hours for community to object
permanent_public_record: true # All transactions permanent in git history
# Integration Rules
technical_integration:
forgejo_issue_required: true # Must reference actual task
element_notification: true # Announce all awards in General Forum
engelbot_automation: true # Bot handles routine validations
open_collective_sync: true # Treasury sync with OC EU
# Phase-Specific Rules
phase_rules:
validation_phase:
founding_work_audit: true # Special process for entrepreneur work
community_vote_required: true # Major SC awards need approval
conservative_rates: true # Start with proven rates
design_phase:
increased_complexity_bonus: true # Higher rates for complex design work
science_team_veto: true # Science team can halt inappropriate awards
cross_team_collaboration_bonus: true
production_phase:
crunch_time_multiplier: 1.2 # 20% bonus during intensive development
quality_gates: true # Extra validation for production code
user_feedback_integration: true # Bonus for incorporating
# Founding Work and Vesting Policies
founding_work_policies:
max_self_validation_sc: 0 # Founders cannot validate own work
requires_team_captain_review: true
requires_community_vote: true
max_founding_work_sc: 10000 # Total cap remains
# Vesting Schedule for Large Founding Awards
vesting_schedule:
design_phase:
percentage: 0.30 # 30% released when teams form
trigger: "2+ Team Captains recruited"
validation: "Team Captain review + Leadership vote"
production_phase:
percentage: 0.40 # 40% released at community maturity
trigger: "50+ active owners OR working MVP"
validation: "Community binding vote"
organization_phase:
percentage: 0.30 # 30% released at market success
trigger: "Revenue milestone OR market launch"
validation: "Automatic vesting"
# Validation Requirements
validation_thresholds:
small_pending_sc: 500 # <500 SC needs 1 Team Captain
large_pending_sc: 2000 # >2000 SC needs community vote
founder_pending_sc: 1 # Any founder SC needs extra validation
# Pending SC Transaction Rules
pending_sc_rules:
max_pending_duration_days: 365 # Must be validated within 1 year
auto_reject_threshold: 730 # Auto-reject after 2 years pending
validation_evidence_required: true # Must link to verifiable work