You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][Medium]- Reachable diagnostic routes reveal program source and prompt traces #98
When an operator exposes the CLI listener while serving a private program, GET /program returns its canonical .dsrs source, and a caller can request /run?trace=1 to receive trace JSONL. The source can include instructions, demonstrations, and tool code; the trace can include rendered prompts. These diagnostic routes have no caller access check.
Restrict diagnostic routes and trace selection to authorized callers, or disable them by default on exposed listeners.
Provide redaction or an explicit operator opt in for returning source and rendered prompts.
Acceptance criteria
A caller without diagnostic access cannot retrieve program source or prompt traces.
Authorized diagnostics still work when intentionally enabled.
Related issues
#56 asks for tracing, and #70 asks for richer history. This ticket concerns access to diagnostic data already returned over HTTP, not how that data is recorded.
Activity
fix: authenticate and bound HTTP serving (krypticmouse#96 krypticmous…