A framework for distributed systems

The State-Based Collaboration Framework

A practical model for designing real-world, multi-user, state-driven systems. It brings order to collaboration on shared state: how it evolves, who can change it, how intent is captured, and how reality is presented to users.

Overview: The 8 components

View framework details →
State-Based Collaboration Framework overview diagram

The framework organizes collaboration concerns into eight components: states, transitions, actions, events, policies, filters, and projections. Together, they describe how shared state changes and how each participant experiences it.

The eight components of state-based collaboration

These components give you a vocabulary for reasoning about multi-user systems. You don't have to adopt all of them at once, but naming them makes collaboration problems tractable.

Why a framework for collaboration on shared state?

Traditional CRUD thinking breaks down when many people touch the same object: approvals, workflows, documents, dashboards, cases, tickets. Conflicts, race conditions, and unclear responsibilities appear everywhere.

Most systems respond with ad-hoc rules sprinkled across services, making behavior hard to reason about and nearly impossible to evolve.

State-based collaboration gives teams a shared model: how state is represented, how it is allowed to change, who can act, and how change is recorded and presented.

Instead of bolting on "real-time" features, you design collaboration as a first-class concern in your architecture.

Featured collaboration patterns

View all patterns →

Articles & essays

View all articles →

Who this framework is for

State-based collaboration is aimed at teams building serious multi-participant systems, not just toy demos.

  • • Engineering leaders adding collaboration to existing products
  • • Architects designing distributed workflows and state machines
  • • Senior developers wrestling with conflicts and consistency
  • • Product teams aligning UX with real architectural constraints

About the framework's author

The State-Based Collaboration Framework is developed by Jorge Leal Portela, based on years of working on distributed systems, collaborative workflows, and state-driven architectures.

This site is a living notebook: patterns, trade-offs, and design notes for teams who need collaboration that survives latency, partial failure, and organizational complexity.

Over time it will grow into a pattern library and a set of implementable guidance you can apply in your own systems.

Ready to go deeper?

Start with the framework overview, then pick one collaboration pattern that matches a real problem in your system today.