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>
Extend Federation contract to protect citizens when their home government
becomes hostile:
- Add Asylum Registry for refugee protection
- grantAsylum/revokeAsylum methods (committee only)
- hasAsylum/getAsylumInfo query methods
- AsylumGranted/AsylumRevoked events
- Asylum seekers get 100% local Treasury funding with NO inter-chain
debt to avoid funding hostile governments
- Add Naturalization (Vita Transfer) for permanent immigration
- naturalize method for permanent citizenship transfer
- isNaturalizedCitizen/getNaturalizationInfo query methods
- CitizenNaturalized event
- Naturalized citizens treated same as local Vita holders
- Add VitaExemptAsylum type for humanitarian override
- Fee exemption priority: Local Vita > Naturalized > Visitor > Asylum
- Asylum: 100% from local Treasury, zero inter-chain debt
- Protects refugees even if home chain revokes their Vita
- Update IsVitaFeeExempt() to check all exemption types
- Local Vita, naturalized citizens, visitors, and asylum seekers
The one-Vita-per-person rule remains inviolable - Vita is tied only to
a living person globally. This enables protection without duplication.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Rename PersonToken to Vita (soul-bound identity token) and implement
fee exemption system for citizens:
- Add Federation native contract for cross-chain Vita coordination
- Visitor registry for Vita holders from other chains
- Configurable visiting fee percentage (default 50%)
- Inter-chain debt tracking for settlement between chains
- Modify GAS contract to burn fees from Treasury for Vita holders
- Local Vita: 100% paid by local Treasury
- Visiting Vita: Split between local Treasury and inter-chain debt
- Deficit tracking when Treasury is underfunded
- Update mempool and blockchain to skip fee checks for Vita exempt users
- Add IsVitaFeeExempt() to Feer interface
- Modify verifyAndPoolTx() to allow zero-fee transactions
- Rename PersonToken -> Vita across codebase
- Update state, native contract, and tests
- Maintain same functionality with clearer naming
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>