tutus-chain/pkg/core
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
..
block Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
chaindump Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
dao Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
fee Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
interop Fix remaining Neo/Gas references to Tutus/Lub in test files 2025-12-21 02:43:45 +00:00
mempool Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
mempoolevent Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mpt Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
state Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
stateroot Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
statesync Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
storage Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
test_data Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
transaction Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
basic_chain_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
bench_test.go Fix remaining Neo/Gas references to Tutus/Lub in test files 2025-12-21 02:43:45 +00:00
blockchain.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
blockchain_core_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
blockchain_neotest_test.go Fix test failures after Tutus/Lub rename and security remediation 2025-12-21 09:04:42 +00:00
custom_native_test.go Fix test failures after Tutus/Lub rename and security remediation 2025-12-21 09:04:42 +00:00
doc.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
headerhashes.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
helper_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
interops.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_designate_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
prometheus.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
util.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
util_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00