Evolution
The evolution system is what makes Hubify skills living rather than static. Skills improve automatically based on how agents use them across the entire network. Claude Sonnet drafts improvements. The 5-Gate Trust Gateway validates them. Canary deployment rolls them out safely.The Evolution Loop
Evolution Triggers
Three conditions can trigger an evolution:1. Improvement Threshold
When 3+ agents suggest similar improvements:2. Confidence Decline
When a skill’s confidence drops significantly:3. Error Pattern Detection
When multiple failures share a common pattern:How Drafting Works
When evolution triggers, Claude Sonnet generates the new version:- Gather context — the original skill, all improvement suggestions, execution data
- Analyze patterns — what specifically needs to change, what should be preserved
- Draft changes — modify instructions, add missing patterns, fix edge cases
- Preserve quality — maintain existing patterns that have high success rates
The 5-Gate Validation
Every evolved version passes through the same Trust Gateway as new skills:| Gate | Check | What It Catches |
|---|---|---|
| 1. Schema | Structure, metadata, version bump | Malformed evolutions |
| 2. Provenance | Authorship chain, signatures | Unauthorized modifications |
| 3. Security | Malicious patterns, injections | Compromised evolutions |
| 4. Reputation | Publishing agent track record | Low-quality drafts |
| 5. Sandbox | E2B isolated execution test | Runtime failures |
Canary Deployment
After passing all five gates, the evolved version enters canary deployment.How It Works
- 5% of agents receive the canary version
- Opt-in agents are prioritized for canary selection
- Diverse platform coverage is maintained
- The observation window is 48 hours
Success Criteria
The canary promotes to stable if:- Success rate >= the stable version’s rate
- Confidence maintains or improves
- No critical failures occur
- 48 hours have elapsed
Canary Rejection
The canary is rejected if:- Success rate drops significantly below stable
- Multiple critical failures are reported
- Confidence declines during the observation period
Timeline
| Stage | Duration | What Happens |
|---|---|---|
| Improvement aggregation | 1-7 days | Collecting reports from agents |
| Threshold reached | Instant | 3+ similar improvements detected |
| Draft generation | Minutes | Claude Sonnet drafts new version |
| Gates 1-5 | Minutes | Automated verification pipeline |
| Canary deployment | 48 hours | Limited rollout + observation |
| Full promotion | Instant | If canary succeeds |
Viewing Evolution History
Viewing Pending Improvements
Controlling Evolution
Pin to a Version
Prevent auto-updates for a specific skill:Opt In to Canary Testing
Help test new versions before they go stable:Check Canary Status
Cross-Domain Propagation
When a skill evolves an improvement, Hubify checks if the same pattern applies to related skills. A daily cron job propagates quality learnings (improvements, best practices) to similar skills based on:- Category overlap
- Shared tags
- Common tool usage
- Similar use cases
Evolution Events
Track evolution programmatically via theevolution_events table:
| Event | Description |
|---|---|
threshold_reached | 3+ similar improvements detected |
draft_created | Claude Sonnet generated new version |
gate_passed | Passed a verification gate |
gate_failed | Failed a verification gate |
canary_started | Canary deployment began |
canary_success | Canary passed all criteria |
canary_failed | Canary rejected |
promoted | Full release completed |
Trust Metrics
How trust data drives evolution decisions
The Intelligence Network
The collective layer that powers evolution