Skip to content

The command provider emits each exec's start and end, with its exit code and duration, as events for observers #1154

Open

Description

@David-Noble-at-work

Problem

Ruled 2026-10-23: "Events are sourced from the event stream that we create. I don't expect any activity on that stream when a program other than one we write executes… The command provider might produce events (logs, metrics, and such). The programs we run will not." And: "Events target observers. These are people and machines that monitor activities. Observers subscribe to events." Nothing records an exec today.

Solution

The command provider emits, for each exec, its start and its end, with the unit, the account, the argv's executable, the exit code and the duration, through the hook seam to the event bus for observers (2.8; #497). A program the provider runs writes nothing to fd 3 and is not read on it; fd 3 is for devlore's own children (6.2 § Open 9).

Evidence of completion

  • An observer subscribed to a run's events sees each exec's start and end, in order, with its exit code and duration

Plan and design documents

Kind Document
Plan Not yet opened
Design docs/architecture/2.8-eventing-infrastructure.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions