Skip to content

run events: render every chant run from the run-event stream and retire the log classifier for chant runs #679

Closed

Description

@lex00

Sub-issue of #678. Works on any forge today for chant-run pipelines. Needs INTENTIUS/chant#4019, INTENTIUS/chant#4041 and INTENTIUS/chant#4042.

Context

behold copies chant's RunProgressEvent into src/apply.ts, paints StepRecords with run-playhead.ts, and reads local pipeline runs through a regex classifier in src/ci-run.ts:89 that trusts only the exit code. gh-run.ts polls GitHub runs.

Requirements

  1. Read chant's run-event stream (workspace: one run-event contract for Op, component and pipeline runs, with commit and runtime on every event chant#4019) for every run chant executes, local, steward or forge, and render it on the dial and the ops lens.
  2. Use the exported types; remove the copied RunProgressEvent.
  3. Keep the classifier only for runs chant doesn't execute, and say so in the UI.
  4. Show step start, settle, skipped and gate waiting states as they happen.

Expected outcome

Every chant run shows its real step state live, with no log guessing.

Acceptance

Activity

  1. added
    enhancement
    blocked-upstream
    ci-edges
    on Oct 16, 2026
  2. added
    phase:2
    on Oct 16, 2026
  3. lex00 commented on Oct 17, 2026

    @lex00
    ContributorAuthor

    From INTENTIUS/chant#4042 for this issue: chant run events <run> --json [--follow] replays and tails a run on this host. A local chant run <op> keeps its events whenever it records; run --components, promote, rollback, redeploy, fan-out and pr-plan/pr-apply keep them only when started with --events-json, so behold should start those with --events-json (or read their stdout stream directly). A run killed with SIGKILL never writes run-settle, so a follow of it does not end on its own; behold needs a timeout or a liveness check. Fountain steward runs keep no local file.

  4. lex00 commented on Oct 17, 2026

    @lex00
    ContributorAuthor

    Unblocked: INTENTIUS/chant#4019 (the run-event contract), #4041 (emitters in the local runtime, run --components, fountain and pr-plan/pr-apply) and #4042 (chant run events <run> --json replay and --follow) are closed.

    What remains outside behold: in a CI job chant keeps run events under the checkout's git directory (run-event-store.ts, .git/chant/run-events/, or CHANT_RUN_EVENTS_DIR), which the job throws away. Until INTENTIUS/chant#4007 gives a published copy, a pipeline run's events can be read live only by the job. behold can read local and steward runs now, and CI runs once the events land somewhere a viewer can fetch (for the demo, the driver can copy them beside terragucci's reports).

    These streams are also recordings: behold plays them live or replays them, and a tour file (#711) annotates either.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked-upstreamci-edgesenhancementphase:2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions