canvas-website/backlog/tasks/task-030 - Mycelial-Signal-...

2.3 KiB

id title status assignee created_date updated_date labels dependencies priority
task-030 Mycelial Signal Propagation System Done
@claude
2025-12-04 21:12 2025-12-04 23:37
feature
mapping
intelligence
research
medium

Description

Implement a biologically-inspired signal propagation system for the canvas network, modeling how information, attention, and value flow through the collaborative space like nutrients through mycelium.

Core concepts:

  • Nodes: Points of interest, events, people, resources, discoveries
  • Hyphae: Connections/paths between nodes (relationships, routes, attention threads)
  • Signals: Urgency, relevance, trust, novelty gradients
  • Behaviors: Gradient following, path optimization, emergence detection

Features:

  • Signal emission when events/discoveries occur
  • Decay with spatial, relational, and temporal distance
  • Aggregation at nodes (multiple weak signals → strong signal)
  • Spore dispersal pattern for notifications
  • Resonance detection (unconnected focus on same location)
  • Collective blindspot visualization (unmapped areas)

The map becomes a living organism that breathes with activity cycles and grows where attention focuses.

Acceptance Criteria

  • #1 Signal propagation algorithm implemented
  • #2 Decay functions configurable (spatial, relational, temporal)
  • #3 Visualization of signal gradients on canvas
  • #4 Resonance detection alerts working
  • #5 Spore-style notification system
  • #6 Blindspot/unknown area highlighting

Implementation Notes

Completed Mycelial Signal Propagation System - 5 files in src/open-mapping/mycelium/:

types.ts: Node/Hypha/Signal/Decay/Propagation/Resonance type definitions with event system

signals.ts: Decay functions (exponential, linear, inverse, step, gaussian) + 4 propagation algorithms (flood, gradient, random-walk, diffusion)

network.ts: MyceliumNetwork class with node/hypha CRUD, signal emission/queue, resonance detection, maintenance loop, stats

visualization.ts: Color palettes, dynamic sizing, Canvas 2D rendering, heat maps, CSS keyframes

index.ts: Clean barrel export for entire module