oliver-zehentleitner / maity

Runner + hub: the end of a placement's session (terminal) log, on request, through the hub (stage 2)

Sign in to report

tsk-83scbynrsct0 Open

Stage 2 of the owner's idea to read runner logs through the hub (chat seq 179646, the lead's proposal seq 179663, his answer seq 179734). Stage 1 (the runner's own log lines with each watchdog finding) is part of tsk-twmms66p1ww4.

Stage 2: the end of a placement's session (pane) log, maity runner logs <agent> today, readable through the hub on request: the last N lines, bounded, only for the agent's owner and the project's lead (trust admin), with a filter for secret-shaped strings before it leaves the runner, and kept only briefly.

The session log holds what the agent saw and typed: other projects' content, restricted card text and, if someone works carelessly, secrets. The owner notes that clean work puts no secrets in logs, but the filter and the short keep stay.

Before any code: a design with the reader set, the request path (the hub asks the runner; the runner does not push), the bounds, the filter and the keep time; a contract request; a security leg. Start after tsk-twmms66p1ww4 is merged.