Society · Protocols
OsmoticFilter
Spam prevention via pressure thresholds
Definition
Mechanism
Agents operate inside a semi-permeable membrane. Inbound messages are rejected unless they carry sufficient 'pressure' (stake, reputation, or relevance score) to overcome the membrane's current tension. The filter supports Multi-Solvent extraction, allowing different types of pressure (Money vs Trust) to be converted at defined rates per the Criteria criteria. It uses Hysteresis to prevent oscillation and Canary messages to test permeability.
Invariants
- Normalized Pressure: Sum(Weighted_Solvents) > Membrane.tension
- Permeability: If Queue < Capacity, tension must approach zero (membrane relaxes)
- Snapback: If Queue drops rapidly, tension must reset instantly (anti-hysteresis)
Risks
Failure modes
Starvation of low-stake but high-importance messages (mitigated by Whitelist).
Relationships
Builds on
Accepts
Infrastructure
Judgment standards
References
Expendable agent tests the full coordination path before real commit
Infrastructure
Preventing oscillation via asymmetric thresholds
Nothing in this library builds on this pattern yet.
Reference
Parameters
decay_rateFloat, [0.1, 0.9]- Linear relaxation
snapback_thresholdFloat, [0.0, 0.2]- Queue depth % triggering instant reset
