Tutus Development
f006f1623c
Native contracts complete - all tests passing
2025-12-27 15:45:47 +00:00
Tutus Development
a63b3dcb70
Migrate from GitHub to git.marketally.com
...
Update all module paths and import statements from github.com/tutus-one
to git.marketally.com/tutus-one for self-hosted Git server migration.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-27 09:54:31 -05:00
Tutus Development
32d12b5106
Normalize line endings in security remediation files
...
Convert CRLF to LF line endings in native contract and state files
modified during security remediation. Ensures consistent line endings
across Windows and Linux development environments.
Files normalized:
- pkg/core/native/*.go (15 files)
- pkg/core/state/*.go (3 files)
- devnotes.md
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 04:31:25 -05:00
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
Tutus Development
a2bf6a95df
Complete Annos to Tutus rename across codebase
...
Update all remaining references from Annos (old governance contract name)
to Tutus (blockchain governance contract) across the codebase:
Contract Updates:
- All native contracts: .Annos field → .Tutus field
- Interface references: IAnnos → ITutus
- Method calls: annos.* → tutus.*
Files Updated:
- blockchain.go: annos field → tutus field
- All native contracts (collocatio, designate, federation, lex,
management, native_lub, notary, opus, oracle, palam, policy,
pons, role_registry, salus, scire, sese, treasury, tribute, vts)
- native_tutus.go: Internal struct/method renames
Test Updates:
- Updated all test files to use new Tutus references
- Fixed expected manifest names: NeoToken → TutusToken, GasToken → LubToken
- Updated Vita register calls with birthTimestamp parameter
- Fixed expected error messages (GAS → Lub)
CLI/RPC Updates:
- cli/wallet: Updated native contract references
- rpcclient/neo: Updated for Tutus naming
This completes Phase 1 of the refactoring:
- Tutus = blockchain governance (validators, committee, staking)
- Annos = lifespan/years tracking (age, life stages, entitlements)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 00:56:43 +00:00
Tutus Development
64c682cd68
Rename NEO to Annos and GAS to Lub native contracts
...
Rename the core governance and utility tokens to reflect Tutus
blockchain's identity-centric design:
- NEO -> Annos (Latin for "years" - governance token tied to Vita)
- GAS -> Lub (lubrication - utility/fee token)
File renames:
- native_neo.go -> native_annos.go
- native_gas.go -> native_lub.go
- native_neo_candidate.go -> native_annos_candidate.go
Struct/interface renames:
- NEO struct -> Annos, INEO -> IAnnos
- GAS struct -> Lub, IGAS -> ILub
Constants updated:
- nativenames: Neo="NeoToken" -> Annos="AnnosToken"
- nativenames: Gas="GasToken" -> Lub="LubToken"
- NEOTotalSupply -> AnnosTotalSupply
- GASFactor -> LubFactor
Regenerated nativehashes for new manifest names.
Updated all native contracts, blockchain.go, test files,
CLI wallet, and RPC client packages.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 11:34:42 +00:00
Tutus Development
3a6ee2492e
Add Pons native contract for inter-government bridge protocol
...
Implement comprehensive cross-border cooperation infrastructure:
- Bilateral Agreements: Government-to-government treaties
- Committee-managed agreement lifecycle
- Types: Trade, Identity, Education, Health, Settlement, Comprehensive
- Active/Suspended/Terminated status tracking
- Cross-Border Verification: Identity and credential validation
- Request identity verification from partner governments
- Verification types: Identity, Credential, Health, Employment
- Pending/Verified/Rejected/Expired status management
- International Settlement: Cross-border VTS transactions
- Settlement requests between sovereign chains
- Fee calculation with configurable default (0.5%)
- Complete transaction tracking with proofs
- Credential Sharing: Portable education and health records
- Share Scire (education) and Salus (health) credentials
- Configurable validity periods
- Revocation support for outdated credentials
- Cross-contract integration:
- Vita: Identity verification for requests
- Federation: Complement intra-chain coordination
- RoleRegistry: RoleBridgeOperator (ID 27)
- VTS: Settlement payments
- Scire/Salus: Credential verification
Latin naming: Pons = "bridge" - reflecting the contract's purpose
of connecting sovereign government blockchain instances.
Contract ID: -24
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 09:57:28 +00:00