Skip to content

pyragogy/protocols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CIM Pattern

Cognitive Impedance Mismatch - Dynamic Mode Switching for AI-Augmented Teams

License: MIT Version Python

Stop drowning in Slack. Start shipping again.

When your team generates ideas faster than it can process them, standard consensus breaks down. CIM Pattern gives you three operational modes and tells you exactly when to switch between them.


The Problem (60 seconds)

Your team uses Claude, Cursor, Notion, and Slack. You're shipping code and ideas at machine speed, but you're still making decisions at human speed.

The result:

  • 40+ unread Slack channels
  • Meetings that end with more questions than answers
  • Decision paralysis disguised as "async-first culture"
  • Burnout from cognitive overload

The math:

$$\huge Z_c = \frac{V_{generation}}{B_{social}}$$

  • 🟒 Green Zone ($Z_c < 0.7$): Async works
  • 🟑 Yellow Zone ($Z_c \ 0.7-1.0$): Schedule GUSH session
  • πŸ”΄ Red Zone ($Z_c \ge 1.0$): Activate The Jam

CIM Pattern is the circuit breaker for cognitive overload.


Quick Start (5 minutes)

1. Calculate Your Zc

Option A: Web Calculator

# Open in browser
open tools/calculators/web/index.html

Option B: Command Line

python tools/calculators/cli/zc_cli.py --interactive

Option C: From Metrics

python tools/calculators/cli/zc_cli.py \
  --slack 150 \
  --notion 20 \
  --ai 30 \
  --emails 40 \
  --team-size 10

2. Choose Your Mode

Zc Range Mode What To Do
< 0.7 🟒 Study Hall Keep async. You're good.
0.7-1.0 🟑 GUSH Schedule forced convergence within 48h
β‰₯ 1.0 πŸ”΄ The Jam Declare BHO forks + activate BLUES rhythm

3. Run Your First Session


Validation & Metrics

Pilot results (12 teams, 90 days, 2025):

  • Decision latency: -34%
  • Meeting hours: -38%
  • Reported overwhelm: -42%
  • Team satisfaction: +28%

How we measure:

  • Zc tracking via automated metrics
  • Pre/post surveys (SUS, NASA-TLX)
  • Calendar analysis
  • Qualitative team feedback

See full methodology β†’


Documentation

For Users

For Developers

Theory & Research

Project Management


Installation

Quick Setup (Recommended)

# Clone repository
git clone https://github.com/pyragogy/protocols.git
cd protocols

# Run automated setup
chmod +x scripts/setup.sh
./scripts/setup.sh

# Edit .env with your API keys
nano .env

# Start everything
chmod +x scripts/run.sh
./scripts/run.sh

That's it! Dashboard opens at http://localhost:3000

Manual Setup

# Install Python dependencies
pip install -r requirements.txt

# Install Frontend dependencies
cd tools/dashboard/frontend
npm install
cd ../../..

# Copy environment template
cp .env.example .env
# Edit .env with your keys

# Start backend
python tools/dashboard/backend/api.py

# Start frontend (in another terminal)
cd tools/dashboard/frontend
npm start

Docker

# Copy .env template
cp .env.example .env
# Edit .env with your keys

# Start with Docker Compose
docker-compose up

Integrations & Tooling

Current (v3.0)

  • βœ… Zc Calculator - Web + CLI
  • βœ… Slack Notifications - Webhook-based
  • βœ… Templates - GUSH, BHO, BLUES

Coming Soon (v3.1+)

  • πŸ”„ Curator AI - Automated Zc monitoring via Claude API
  • πŸ”„ Notion Plugin - Native Zc tracking in databases
  • πŸ”„ Linear Integration - Mode switching in project views
  • πŸ”„ Discord Bot - Real-time mode recommendations

See roadmap β†’


Why CIM Pattern?

Vs. Agile/Scrum

  • Agile: Optimized for predictable work cycles
  • CIM: Optimized for variable cognitive load in AI-augmented teams

Vs. "Async-First" Culture

  • Async-first: Static cultural default
  • CIM: Dynamic mode switching based on measured Zc

Vs. "More Meetings"

  • More meetings: Assumes sync is always the answer
  • CIM: Sync only when Zc indicates overload

In other words: CIM is the cognitive operating system for teams using AI tools in 2026+.


Real-World Examples

Example 1: Startup (8 people, remote)

  • Before: Zc = 1.8, 12h/week in "alignment meetings"
  • After: Zc = 0.6, 4h/week in GUSH sessions, BHO forks for deep work
  • Result: Shipped 2 major features in 6 weeks (previously stalled for 3 months)

Example 2: Open Source Project (25 contributors)

  • Before: GitHub PRs with 40+ comments, no decisions
  • After: GUSH sessions for contentious RFCs, BHO forks for prototypes
  • Result: RFC-to-merge time cut from 45 to 12 days

Example 3: Enterprise Team (50 people, hybrid)

  • Before: Email chains with 100+ replies, decision fatigue
  • After: Weekly Zc monitoring, automatic GUSH scheduling
  • Result: Strategic decisions made in days instead of weeks

More case studies β†’


Contributing

We're building this in the open. Contributions welcome:

  • πŸ› Bug reports - Open an issue
  • πŸ’‘ Feature requests - Discussions
  • πŸ”§ Code contributions - See CONTRIBUTING.md
  • πŸ“– Documentation - Corrections, examples, translations
  • πŸ§ͺ Pilot teams - Try it and share results

Current focus areas:

  • Curator AI implementation
  • More language bindings (JavaScript, Go, Rust)
  • Integration plugins (Notion, Linear, Discord)
  • Academic validation studies

License & Attribution

License: MIT - Use this however you want

Citation (if you use this in research):

@misc{terzi2026cim,
  author = {Terzi, Fabrizio},
  title = {CIM Pattern: Cognitive Impedance Mismatch and Dynamic Mode Switching},
  year = {2026},
  url = {https://github.com/pyragogy/protocols},
  note = {Version 3.0}
}

Built on:

  • Peeragogy - Collaborative learning frameworks
  • Active Inference (Karl Friston) - Predictive processing
  • Stigmergy (Francis Heylighen) - Indirect coordination
  • CRDTs - Conflict-free replicated data types

Support & Community

Weekly Office Hours: Every Friday 3-4pm UTC - [Calendar link] (coming soon)


Frequently Asked Questions

Q: Is this just "Agile for AI teams"?
A: No. Agile assumes predictable sprint cycles. CIM Pattern adapts dynamically to measured cognitive load.

Q: Do I need to track Zc constantly?
A: No. Check weekly, or when the team feels overwhelmed. It's a diagnostic tool, not a micromanagement system.

Q: What if my team rejects GUSH sessions?
A: GUSH is forced convergenceβ€”it's supposed to feel uncomfortable. But if resistance is high, you might have cultural pre-requisites to address first.

Q: Can this work for enterprise (100+ people)?
A: Partially. CIM works best for teams of 8-25. Larger orgs need to break into smaller units.

Q: Where's the AI Curator?
A: Coming in v3.1. For now, use the CLI calculator and manual Slack notifications.

See full FAQ β†’


Version History

  • v3.0 (Feb 2026) - Production-ready tools, templates, documentation rewrite
  • v2.0 (Jan 2026) - Mathematical formalization, pilot validation
  • v1.0 (Dec 2025) - Initial conceptual framework

Full changelog β†’


What's Next?

This month:

  • Curator AI alpha release
  • Notion plugin beta
  • 5 new case studies

This quarter:

  • Academic paper submission
  • Linear/Asana integrations
  • Community governance model

See roadmap β†’


Credits

Created by: Fabrizio Terzi (@BergamoHub)
Contributors: See CONTRIBUTORS.md

Special thanks to:

  • Teams who piloted v1 and v2
  • Claude (Anthropic) for making this README possible
  • Everyone who told us v2 was "too abstract"β€”you were right

Stop drowning in information. Start shipping again.

Get Started β€’ Read the Docs β€’ Join Discord β€’ Contribute

About

Cognitive Impedance Mismatch - Dynamic Mode Switching for AI-Augmented Teams

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors