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

83 lines
3.5 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