Skip to content

Commit e0b999d

Browse files
committed
chore: update changelog for spec 21
1 parent 4c50421 commit e0b999d

File tree

1 file changed

+66
-2
lines changed

1 file changed

+66
-2
lines changed

CHANGELOG.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,70 @@
11
# Changelog
22

3+
## Spec 21
4+
5+
This release introduces major architectural changes to enable decentralized economic relationships, improved governance flexibility, and preparation for off-chain service integration. The changes span several months of development focused on creating a more sophisticated and scalable network.
6+
7+
### Major Features
8+
9+
#### Permission System (permission0 pallet)
10+
11+
A comprehensive permission framework that revolutionizes how agents interact economically within the network:
12+
13+
- Agents can now share their token emissions with contributors through recursive permission trees. Supports percentage-based streams or fixed amounts, with flexible distribution controls (manual, automatic threshold, scheduled).
14+
- Permissions can be managed by arbiters (multi-sig groups) for enhanced security and decentralized control.
15+
- Governance powers are now granular with specific permissions for application review, whitelist management, and penalty control. Replaces the old curator system with a more flexible approach.
16+
- Built-in protections against double-spending and infinite recursion ensure tokenomics.
17+
18+
#### Namespace System
19+
20+
A hierarchical naming system that functions as decentralized DNS/capability listing for agent services:
21+
22+
- Agents can create dot-separated paths like `agent.alice.api.v2` to organize their off-chain services.
23+
- Owning a namespace gives control over all sub-paths, enabling structured delegation of services.
24+
- Base fees go to treasury while refundable deposits incentivize efficient storage use.
25+
- Namespaces can be delegated through the permission system, enabling complex service architectures.
26+
27+
#### Agent Management Improvements
28+
29+
- Agent names are automatically converted to namespace-compliant format (lowercase, no spaces) during the upgrade.
30+
- Curators can now freeze/unfreeze agents, adding a new governance tool for spam control.
31+
- Agent metadata updates now have cooldowns to prevent spam and ensure stability.
32+
- Burn parameters adjusted for better economic balance during high registration activity.
33+
34+
#### Economic Enhancements
35+
36+
- All transaction fees now flow to the treasury instead of being burned, providing sustainable funding for network development.
37+
- Only whitelisted agents receive emissions, ensuring quality participants chosen by the DAO are rewarded.
38+
- Permission holders can dynamically adjust how they distribute received emissions.
39+
- Distribution remainders are now properly accumulated, preventing token loss.
40+
41+
#### Developer Experience
42+
43+
- Proof-of-work based faucet for obtaining testnet tokens, preventing abuse while maintaining accessibility.
44+
- Comprehensive docs for all pallets now auto-published to GitHub Pages.
45+
- New `torus0_namespacePathCreationCost` RPC for calculating namespace fees upfront.
46+
- Integrated coverage reporting with `cargo xtask coverage` for maintaining code quality.
47+
48+
### Bug Fixes & Safety Improvements
49+
50+
- Critical fix ensuring stakes are properly refunded before clearing storage during de-registration.
51+
- Banned arithmetic side effects throughout the runtime, using saturating operations to prevent overflows.
52+
- All agents now automatically delegate weights to allocators, simplifying the onboarding process.
53+
54+
### Governance Changes
55+
56+
- Instead of all-or-nothing curator status, specific permissions can be granted.
57+
- Improved with better event emissions and clearer execution flows.
58+
- Now integrated with the permission system for more flexible control.
59+
60+
### Infrastructure
61+
62+
- Enhanced GitHub Actions for automated testing, documentation, and Docker builds.
63+
- Added development container configuration for consistent environments.
64+
- Migrated CI infrastructure for better performance.
65+
66+
This release represents a fundamental evolution of the Torus Network, creating the foundation for a truly decentralized economy where agents can form complex relationships, share resources, and organize their services in meaningful ways.
67+
368
## Spec version 12
469

570
### Critical Migration & Bug Fix
@@ -50,7 +115,7 @@ You can find the migration here:
50115

51116
The migration calculates the difference between `TotalStake` (which remained **correctly** unchanged) and sums all actual stakes on the network. The difference is then sent to a recovery account, and redistributed to the original stakers via script
52117

53-
**Original Stakers (OS)**
118+
**Original Stakers (OS)**
54119

55120
```text
56121
5CuBSdUuBeLVxtzrTtrdiCjipEgjbvUoMJjxrss4T9f1MEoZ: 178467095451535513057748
@@ -87,4 +152,3 @@ The migration calculates the difference between `TotalStake` (which remained **c
87152
- Applied saturating arithmetic in various runtime and pallet modules to prevent overflow issues.
88153
- Improved arithmetic safety and robustness in emission and governance modules.
89154
- Refined author identification and gas limit calculations with safer arithmetic operations.
90-

0 commit comments

Comments
 (0)