DashboardopencodePTY JSON envelopes

PTY JSON envelopes

Category: decision
Confidence: 1.00
ID: 01a07f25-913d-7b21-b2df-b64f5dbc392f
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 1T1N67i8cJrqiFqh6
Created: 2026-09-08 03:52:43
Updated: 2026-09-08 03:52:43

Content

Chose JSON-only model-visible envelopes for PTY spawn, read, and exit results over XML-like control tags and interpolated trusted delimiters because terminal output is attacker-controlled and can imitate control messages. Keep operational instructions out of JSON fields; direct tools return data while event-driven completion supplies the exit envelope.

Move to: