2a8e4c7 · Freeze PROTOCOL.md at v0.2 · 5 days ago

36 lines · 1.2 KB

Channel mapping schema

A mapping is a markdown document. Agents must parse it, not invent a parallel config. Contract: PROTOCOL.md (frozen v0.2).

Front matter

keyrequirednotes
workspaceyesHuman label only. Never sent to the platform.
platformyesslack or discord.
scopeyesOpaque string. The wall.
agentyesProcess name, used in reports.
collect_secondsnoDefault 45.

The mapping source itself is a path or an https:// URL, passed as --mapping.

Table columns

columnrequiredvalues
idyesPlatform snowflake / channel id.
nameyesDocumentation only. Never used for routing.
roleyesmanagement · room · reports
directionyesin · out · both

Invariants

  1. At least one management row with in or both.
  2. At least one reports row with out or both.
  3. Duplicate id values are an error.
  4. Names are not unique and not keys.
  5. Unknown columns are ignored.
  6. Unknown ids never appear in logs, exceptions, or reports. Substitute <outside-scope>.

Machine-readable copy: mapping.schema.json.