todo2code

Ticket 051: Wire github-event-log acquisition into CI

Goal and scope

Ticket-048 publishes scripts/github-event-log.mjs as a callable adapter with required flags and no environment reads. Wiring it into .github/workflows/** was an explicit non-goal of 048 so publication could stay small.

This ticket adds a minimal, fail-closed CI (or reusable workflow) step that:

  1. passes --event-path, --repository, and other flags explicitly from the Actions context (shell expansion of $GITHUB_* into argv is fine; process.env inside the script is not),
  2. writes an artifact logs.dsl.txt for supported events only,
  3. never soft-fails into guessing provenance or ambient state,
  4. stays outside the trust root that approves merges (this step produces SYSTEM_FACT evidence; it does not approve PRs).

Prefer landing after ticket-048 merges so the script already exists on main.

Acceptance criteria

Participants

Non-goals