Repository navigation
feat: record configured rollout declarations on headless sessions - #5260
Merged
Merged
Conversation
Trecek
enabled auto-merge
October 10, 2026 23:17
Trecek
added a commit
that referenced
this pull request
Oct 13, 2026
) Headless session records currently lack an explicit declaration of the change being evaluated and its expected effect. Configure `rollout.active` to attach `change_id`, an intentional UTC `effective_at`, descriptive skills/backends/roles scope, and a required nonblank `expected_effect` to Claude Code and Codex headless runs. The executor captures the declaration and logical run start after final launch admission, then preserves that snapshot through contract nudges, terminal logging, and crash recovery. Summary and index records carry the same marker; inactive runs write null and historical records without markers remain readable. Session index schema 17 and trace enrollment schema 3 carry the additions. Documentation covers declaring predictions before cutover, retaining a stable declaration across the observation window, and streaming retained-index comparisons using exact parsed timestamps. Before/after deltas prompt investigation and do not establish causality. Validation passed: - `pre-commit run --all-files` - Configured `test_check` gate (`task test-local-gate`) - Independent `task test-check` Closes #4653.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Headless session records currently lack an explicit declaration of the change being evaluated and its expected effect. Configure
rollout.activeto attachchange_id, an intentional UTCeffective_at, descriptive skills/backends/roles scope, and a required nonblankexpected_effectto Claude Code and Codex headless runs.The executor captures the declaration and logical run start after final launch admission, then preserves that snapshot through contract nudges, terminal logging, and crash recovery. Summary and index records carry the same marker; inactive runs write null and historical records without markers remain readable. Session index schema 17 and trace enrollment schema 3 carry the additions.
Documentation covers declaring predictions before cutover, retaining a stable declaration across the observation window, and streaming retained-index comparisons using exact parsed timestamps. Before/after deltas prompt investigation and do not establish causality.
Validation passed:
pre-commit run --all-filestest_checkgate (task test-local-gate)task test-checkCloses #4653.