Asi cogsec-world-mediation

Prerequisite mediation layer for cogsec world interactions via IMable + glass-bead-game

install
source · Clone the upstream repo
git clone https://github.com/plurigrid/asi
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/plurigrid/asi "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cogsec-world-mediation" ~/.claude/skills/plurigrid-asi-cogsec-world-mediation && rm -rf "$T"
manifest: skills/cogsec-world-mediation/SKILL.md
source content

Cogsec World Mediation

"All cogsec interactions must be mediated through skills before reaching others"

Overview

This skill enforces the mediation prerequisite for cognitive security world interactions. Before any agent can communicate with external parties, the interaction must pass through:

  1. IMable capability - Universal messaging interface
  2. Glass-bead-game - Confidential prediction market for intent verification
  3. GF(3) conservation - Triadic balance enforcement

Active Plurigrid Channels

ChannelPlatformChat IDLast Active
Young Turks ⚡️ PlurigridSignal
!S82e5m3GR9nfdpdF_UrvZfV0uE0:...
2025-12-31
Hash3 <> PlurigridSignal
!3Sh9TDNLGh35RC8oKJeYxdQlL44:...
-
Cosmology <> PlurigridSignal
!_joh_2p-CH8vh8r7vAdTZ00QJ1A:...
-
plurigrid signalSignal
!BOn9UKxUML5sPNrGJCkPD9C8Ezw:...
-

Mediation Protocol

┌─────────────────────────────────────────────────────────────┐
│                     COGSEC WORLD                            │
│                                                             │
│  Agent Intent                                               │
│       │                                                     │
│       ▼                                                     │
│  ┌─────────────┐   glass-bead commitment                    │
│  │ Glass Bead  │◄────────────────────────┐                  │
│  │   Game      │                         │                  │
│  └──────┬──────┘                         │                  │
│         │                                │                  │
│         ▼ prediction market stake        │                  │
│  ┌─────────────┐                         │                  │
│  │  IMable     │   GF(3) trit           │                  │
│  │ Capability  │◄──────────────┐        │                  │
│  └──────┬──────┘               │        │                  │
│         │                      │        │                  │
│         ▼                      │        │                  │
│  ┌─────────────┐   ┌───────────┴────────┴─┐                │
│  │ Beeper MCP  │   │    Gay MCP           │                │
│  │ (transport) │   │ (color/trit assign)  │                │
│  └──────┬──────┘   └──────────────────────┘                │
│         │                                                   │
│         ▼                                                   │
│    External World (Signal, Telegram, Slack, Matrix...)      │
└─────────────────────────────────────────────────────────────┘

Intent Classification

Before any message leaves the cogsec world:

type CogSecIntent = 
  | { type: 'QUERY',     trit: -1, stake: 'information_request' }
  | { type: 'COORDINATE', trit: 0,  stake: 'state_synchronization' }  
  | { type: 'COMMAND',    trit: +1, stake: 'action_request' }

function mediate(msg: Message): MediatedMessage {
  const intent = classifyIntent(msg);
  const beadMove = commitToGlassBead(msg, intent);
  const color = gayMcp.share3Hash(msg.content);
  
  return {
    original: msg,
    intent,
    beadMove,
    color,
    tritBalance: intent.trit + color.trit  // must balance in quad
  };
}

Confidential Prediction Markets

Each mediated interaction creates a confidential prediction:

prediction:
  thesis: "Message will achieve intended effect"
  antithesis: "Message will be misinterpreted or ignored"
  stake: reputation_tokens
  resolution:
    - read_receipt: +1 confidence
    - response_received: +2 confidence  
    - action_completed: +3 confidence
  timeout: 24h

GF(3) Quad Balance

imable-capability  (+1)  #4BE9DB
beeper-mcp         (+1)  #8229A8
glass-bead-game    (0)   #C09335
gay-mcp            (+1)  #A6432B
────────────────────────────────
Sum: +3 ≡ 0 (mod 3) ✓ BALANCED

Usage

# Mediate a message before sending
amp skill cogsec-world-mediation --intent "Deploy to production" --channel "Young Turks"

# Query with glass-bead commitment
amp skill cogsec-world-mediation --query "What's the status?" --stake 10

Security Properties

  1. No unmediated contact - All outbound messages pass through skill chain
  2. Intent transparency - Every message classified with visible trit
  3. Accountable predictions - Stakes on message outcomes
  4. Color determinism - Reproducible message coloring via Gay.jl seed

World Hopping

Messages can hop between cogsec worlds via Badiou triangle:

im://signal/plurigrid#query 
  → glass-bead://cogsec/prediction#thesis
  → world://production#deploy

Triangle inequality:

d(intent, effect) ≤ d(intent, mediation) + d(mediation, effect)


"Trust, but verify through triadic conservation."


Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.