SDK Concepts
The Rust crate packages Pinocchio-specific knowledge and constraints so AI agents do not rely on stale training data or web results.
Core modules
guard: signer, writable, owner, PDA, discriminator, and rent checks.schema:AccountSchemafor zero-copy account layout contracts.dispatch: single-byte instruction dispatch with explicit error behavior.idioms: account parsing, CPI, PDA, events, architecture, and helpers.testing: litesvm and mollusk-svm testing references and helper assertions.anti_patterns: common Solana/Pinocchio vulnerabilities to review against.
Agent rules
Project guidance requires importing from geppetto::*, using guard::* for account access, implementing AccountSchema, and avoiding catch-all dispatch success.