Skip to content

fix(torghut): add offline replay triage sidecar#7998

Merged
gregkonush merged 1 commit into
mainfrom
codex/torghut-offsession-replay-triage-20260526
May 26, 2026
Merged

fix(torghut): add offline replay triage sidecar#7998
gregkonush merged 1 commit into
mainfrom
codex/torghut-offsession-replay-triage-20260526

Conversation

@gregkonush
Copy link
Copy Markdown
Member

@gregkonush gregkonush commented May 26, 2026

Summary

  • Adds a bounded offline_replay_triage sidecar for target-plan-exclusive paper-route runtime-window imports that are deferred because the target window is not closed or settlement grace is still pending.
  • Marks the sidecar and all triage candidates as non-authoritative research only, with promotion_allowed: false, authority: non_authoritative_research_triage, and excluded_from_runtime_window_import_proof: true.
  • Parses only explicit local artifact refs from selected targets for exact-replay ranking or handoff context, without adding sidecar candidates to authoritative imports or proof gates.
  • Adds regression coverage for fallback skipping, deferred triage emission, unchanged proof authority, and import-ready paper-route behavior.

Related Issues

None

Testing

  • cd services/torghut && PATH="$HOME/.local/bin:$PATH" uv run --frozen pytest tests/test_run_empirical_promotion_jobs.py -k 'runtime_window_target_plan_exclusive or offline_replay_triage' — passed, 7 passed / 49 deselected.
  • cd services/torghut && PATH="$HOME/.local/bin:$PATH" uv run --frozen pytest tests/test_run_empirical_promotion_jobs.py — passed, 56 passed.
  • cd services/torghut && PATH="$HOME/.local/bin:$PATH" uv run --with ruff ruff check scripts/renew_latest_empirical_promotion_jobs.py tests/test_run_empirical_promotion_jobs.py — passed.
  • cd services/torghut && PATH="$HOME/.local/bin:$PATH" uv run --with ruff ruff format --check scripts/renew_latest_empirical_promotion_jobs.py tests/test_run_empirical_promotion_jobs.py — passed.
  • cd services/torghut && PATH="$HOME/.local/bin:$PATH" uv run --with coverage python scripts/check_diff_coverage.py --coverage-xml coverage.xml --threshold 90 — passed after local coverage generation, 149/149 changed renewal-script lines covered.

Screenshots (if applicable)

N/A

Breaking Changes

None

Checklist

  • Testing section documents the exact validation performed.
  • Screenshots and Breaking Changes sections are handled appropriately.
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush gregkonush force-pushed the codex/torghut-offsession-replay-triage-20260526 branch from 0c232f4 to 8a24a28 Compare May 26, 2026 01:32
@gregkonush gregkonush merged commit 74336a0 into main May 26, 2026
43 of 45 checks passed
@gregkonush gregkonush deleted the codex/torghut-offsession-replay-triage-20260526 branch May 26, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant