{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RFC-001 Canonical Lane Registry",
  "version": "1.0.1-pilot",
  "updatedAt": "2026-03-14T07:20:00Z",
  "advisoryMode": true,
  "roles": {
    "orchestration": {
      "canonicalSessionKey": "agent:main:main",
      "allowedPatterns": [
        "^agent:main:main$"
      ],
      "notes": "Primary orchestration lane."
    },
    "user_interaction_telegram_direct": {
      "canonicalPattern": "^agent:main:telegram:direct:[0-9]+$",
      "allowedPatterns": [
        "^agent:main:telegram:direct:[0-9]+$"
      ],
      "notes": "One canonical user-interaction lane per Telegram direct chat."
    },
    "user_interaction_telegram_slash": {
      "canonicalPattern": "^agent:main:telegram:slash:[0-9]+$",
      "allowedPatterns": [
        "^agent:main:telegram:slash:[0-9]+$"
      ],
      "notes": "Canonical lane for Telegram slash-command entrypoints."
    },
    "integration_hook_notion": {
      "canonicalSessionKey": "agent:main:hook:notion",
      "allowedPatterns": [
        "^agent:main:hook:notion$"
      ],
      "notes": "Canonical main-hook lane for Notion webhook/automation ingress."
    },
    "execution": {
      "canonicalSessionKey": "agent:worker:main",
      "allowedPatterns": [
        "^agent:worker:main$",
        "^agent:worker:subagent:[0-9a-f-]{36}$"
      ],
      "notes": "Worker main lane; subagent lanes are explicitly allowed descendants."
    },
    "maintenance": {
      "canonicalSessionKey": "agent:ops-maintainer:main",
      "allowedPatterns": [
        "^agent:ops-maintainer:main$"
      ],
      "notes": "Maintenance and governance lane."
    }
  },
  "cron": {
    "approvedSessionPatterns": [
      "^agent:main:cron:[0-9a-f-]{36}$",
      "^agent:ops-maintainer:main$"
    ],
    "disallowedSessionPatterns": [
      "^agent:main:telegram:direct:[0-9]+$",
      "^agent:worker:subagent:[0-9a-f-]{36}$"
    ]
  }
}
