tutus-chain/pkg
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
..
compiler Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
config Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
consensus Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
core Add security remediation infrastructure and fixes 2025-12-21 09:06:14 +00:00
crypto Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
encoding Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
interop Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
io Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neorpc Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neotest Rename NEO to Annos and GAS to Lub native contracts 2025-12-20 11:34:42 +00:00
network Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
rpcclient Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
services Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
smartcontract Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
util Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
vm Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
wallet Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00