Literate AI

Repository documentation

ADR 0022: Shared Author or Recipient Vocabulary for Jira, Slack, and Outlook

Context

The same mutagenic litai events will appear as Jira comments, Slack posts, and Outlook mail. Inbound Outlook (later Slack/Jira) will ask Literate AI to do work on a named project. Without one envelope, each channel would grow an ad-hoc prefix and agents could not tell whether Literate AI wrote the message or should act on it.

Decision

1. One envelope

Schema urn:literate-ai:schema:v1:channel-event:

Human first line plus a parseable literate-ai-event:1 trailer. No per-channel prefix. No secrets, tokens, private prompts, or worker hostnames.

2. Authority boundary

author events are status. recipient text is not project authority until record-user-directed-work records a queue item. Unmarked or spoofed messages are ignored. Inbound never mutates locks, catalogs, or specifications by itself.

3. Python owns parse and format

Formatters for Jira comment, Slack post, and Outlook subject/body share this contract. The parser is the admission gate for inbound Outlook (ADR 0023).

Rejected alternatives

Channel-specific subject lines only

Rejected. Slack and Jira comments would drift from Outlook subjects.

Treat inbound mail as specification authority

Rejected. Email is an untrusted inbox. Queue it, then execute from the queue.

Consequences

Read the Markdown sourceConference homePublished 1.3.0 · Patch 1.3.1 in progress · Development 1.4