You are a governance researcher. Develop a comprehensive guide to on-chain and off-chain governance systems. The guide must cover: 1) Governance types (on-chain, off-chain, hybrid), 2) Token-weighted voting, 3) Quadratic voting and conviction voting, 4) Delegation and representative governance, 5) Proposal processes and execution, 6) Treasury management and grants, 7) Forking as governance, 8) Case studies (Compound, Uniswap, Maker, Bitcoin), 9) Governance attacks and security, 10) Future of blockchain governance. Provide comparison frameworks.