tutus-chain/pkg/core/state
Tutus Development 1b4a61fcf7 Add security remediation infrastructure and fixes
Implement comprehensive security infrastructure from Security-Remediation-Plan.md:

New Infrastructure Files:
- circuit_breaker.go (ARCH-001): Circuit breaker pattern for contract failures
  with Closed/Open/Half-Open state machine and emergency shutdown
- invariants.go (ARCH-003): Formal verification with 14 critical invariants
  and TLA+ specifications for runtime verification
- canary_deployment.go (ARCH-004): Feature flags with percentage-based rollout
  and auto-rollback on error rate threshold
- audit_logger.go (ARCH-005): Comprehensive audit logging with multi-index
  querying across 8 categories (Auth, Access, Data, Governance, etc.)
- config_registry.go (LOW-003): Configuration governance infrastructure
- event_archival.go (LOW-001): Event log archival with Merkle commitments
- validation.go (LOW-002): Common input validation constants and utilities
- role_registry_domain.go (CRIT-002): Domain-specific committee roles
  (Legal, Health, Education, Economy, Identity, Governance)

Contract Security Fixes:
- contract.go: Add HasDomainCommitteeAuthority to IRoleRegistry interface
- lex.go: Remove duplicate ErrReasonTooLong declaration
- salus.go, eligere.go, palam.go, pons.go, scire.go, tribute.go:
  Line ending normalization and security validation integration
- collocatio.go: Security validation for investment operations

State Type Updates:
- state/pons.go, state/salus.go, state/tribute.go: Line ending fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 09:06:14 +00:00
..
annos.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
collocatio.go Complete Collocatio native contract for PIO/EIO/CIO investments 2025-12-21 04:18:23 +00:00
contract.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_invocation.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_invocation_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
deposit.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
deposit_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
eligere.go Add Eligere native contract for democratic voting 2025-12-20 06:30:43 +00:00
lex.go Add Lex native contract for universal law and rights framework 2025-12-20 05:33:26 +00:00
mpt_root.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mpt_root_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_state.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_state_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notification_event.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notification_event_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
opus.go Add Opus native contract for AI workforce integration 2025-12-20 08:51:48 +00:00
oracle.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
palam.go Add Palam native contract for programmed transparency 2025-12-20 09:21:25 +00:00
pons.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
role_registry.go Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
salus.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
scire.go Add Scire native contract for universal education 2025-12-20 07:25:08 +00:00
sese.go Add Sese native contract for life planning 2025-12-20 08:54:28 +00:00
storage_item.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
tokens.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
tokens_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
tribute.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
validator.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
vita.go Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
vts.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00