tutus-chain/pkg/core/native
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
..
native_test Fix test failures after Tutus/Lub rename and security remediation 2025-12-21 09:04:42 +00:00
nativehashes Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativeids Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativenames Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativeprices Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
noderoles Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
annos.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
audit_logger.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
canary_deployment.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
circuit_breaker.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
collocatio.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
compatibility_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
config_registry.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
contract.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
contract_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_blspoints.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
designate.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
doc.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
eligere.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
event_archival.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
federation.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
interop.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
invariants.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
invocation_test.go Fix remaining Neo/Gas references to Tutus/Lub in test files 2025-12-21 02:43:45 +00:00
ledger.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
lex.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
management.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
management_neotest_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
management_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
native_lub.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
native_neo_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_nep17.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_tutus.go Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
native_tutus_candidate.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativenames_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neo_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notary.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
opus.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
oracle.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
oracle_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_types_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
palam.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
policy.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
policy_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
pons.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
role_registry.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
role_registry_domain.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
salus.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
scire.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
sese.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
std.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
tribute.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
util.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
validation.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
vita.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
vts.go Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00