todo2code

Ticket 045: Kanoniczny dziennik zdarzen logs.dsl.txt

Goal and scope

Define the canonical, append-only t2c.event-log/v1 contract rendered as logs.dsl.txt. The contract must cover the complete governed change lifecycle: ticket transitions, commits and pushes, PR synchronization, checks, findings, fixes, exact-head reviews, merge, branch deletion, tests, analysis and final governance verdicts.

This is the architecture/integration slice. It specifies the grammar, trust boundary, event taxonomy, ordering and tamper-evident digest chain before a separate runtime ticket connects the contract to src/pipeline/** and GitHub event acquisition.

logs.dsl.txt is a generated run/workflow artifact. It must not be updated by a post-merge repository commit: that would create another event, invalidate the reviewed SHA and cause an audit recursion.

Acceptance criteria

Participants

Non-goals

Approval boundary

The user approved continuation and testing on 2026-08-05. This authorizes the two-file integration slice declared in intent.json; protected merge evidence will still require independent exact-head review.

Validation evidence

The contract slice is locally complete. Runtime production, persistence and GitHub event acquisition are deliberately deferred to a dependent ticket and must not be inferred from these results.