Skip to main content

ralph-signal-mailbox-protocol

Ralph-v2 live signal mailbox protocol for polling, ack handling, broadcast quorum, and signal routing. Use when a Ralph agent needs to process `signals/inputs`, write ack files, route target-specific signals, or finalize broadcast signals safely.

Ir a la instalación

Datos de origen

Repositorio
arisng/github-copilot-fc
Última actividad en el origen
28 de agosto de 2026 a las 04:25
Idioma detectado de SKILL.md
inglés
Estrellas
5
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
ralph-signal-mailbox-protocol
description
Ralph-v2 live signal mailbox protocol for polling, ack handling, broadcast quorum, and signal routing. Use when a Ralph agent needs to process `signals/inputs`, write ack files, route target-specific signals, or finalize broadcast signals safely.
# Ralph Signal Mailbox Protocol This skill contains the authoritative live-signal mailbox rules for Ralph-v2 agents. ## Signal Artifacts - Inputs: `.ralph-sessions/<SESSION_ID>/signals/inputs/` - Acks: `.ralph-sessions/<SESSION_ID>/signals/acks/` - Processed: `.ralph-sessions/<SESSION_ID>/signals/processed/` ## Recognized Signal Types - `STEER` - `PAUSE` - `ABORT` - `INFO` ## Target Namespace - `ALL` - `Orchestrator` - `Executor` - `Planner` - `Questioner` - `Reviewer` - `Librarian` Never encode runtime or version in `target`. ## Poll-Signals Routine 1. Ensure `signals/acks/` exists. 2. Read `signals/inputs/` in timestamp order. 3. For each candidate signal, inspect `type` and `target` before moving it. 4. Handle `target: ALL` by writing or refreshing `signals/acks/<SIGNAL_ID>/<Agent>.ack.yaml` and leaving the source signal in place. 5. Archive a broadcast signal only after ack quorum is satisfied for all required recipients. 6. For targeted signals: - `ABORT` blocks work immediately. - `PAUSE` waits. - `STEER` changes execution context. - `INFO` injects additional context. 7. Route target-specific signals to the named subagent by buffering context and moving the original file to `signals/processed/`. ## Broadcast Invariant - The first agent that reads `target: ALL` never archives it. - Every recipient writes exactly one ack file per signal ID. - Only the Orchestrator archives the broadcast signal after quorum is met. ## Completion Hygiene Before a session ends, the Orchestrator should sweep remaining `target: ALL` signals and archive them with either: - `delivery_status: delivered` - `delivery_status: partial` plus `unacked_agents`
Ver en GitHub