AGENTS.md@src/gateway/server-methods · git:20260328.33f9833 · 2026-03-28 · sha256 4cfcbf5a85e2c53c

AGENTS.md@src/gateway/server-methods git:20260328.33f9833A

Immutable. This exact content is served forever at /api/v1/blob/4cfcbf5a85e2c53c.

# Gateway Server Methods Notes

- Pi session transcripts are a `parentId` chain/DAG; never append Pi `type: "message"` entries via raw JSONL writes (missing `parentId` can sever the leaf path and break compaction/history). Always write transcript messages via `SessionManager.appendMessage(...)` (or a wrapper that uses it).