process: automate backtest gate for PR/push/schedule (#314) #315

Merged
agentson merged 1 commits from feature/issue-314-backtest-gate-automation into feature/v3-session-policy-stream 2026-02-28 03:25:45 +09:00
Collaborator

Summary

  • Add automated backtest gate script for deterministic PR/push/schedule checks.
  • Add dedicated Gitea CI workflow to trigger gate on feature PRs/pushes and daily schedule.
  • Document mandatory backtest gate policy and local run commands.

Scope

  • scripts/backtest_gate.sh
  • .github/workflows/backtest-gate.yml
  • docs/testing.md
  • docs/workflow.md
  • workflow/session-handover.md

Validation

  • BACKTEST_MODE=smoke bash scripts/backtest_gate.sh
  • python3 scripts/validate_ouroboros_docs.py
  • python3 scripts/validate_governance_assets.py
  • python3 scripts/session_handover_check.py --strict

Ticket

## Summary - Add automated backtest gate script for deterministic PR/push/schedule checks. - Add dedicated Gitea CI workflow to trigger gate on feature PRs/pushes and daily schedule. - Document mandatory backtest gate policy and local run commands. ## Scope - `scripts/backtest_gate.sh` - `.github/workflows/backtest-gate.yml` - `docs/testing.md` - `docs/workflow.md` - `workflow/session-handover.md` ## Validation - `BACKTEST_MODE=smoke bash scripts/backtest_gate.sh` - `python3 scripts/validate_ouroboros_docs.py` - `python3 scripts/validate_governance_assets.py` - `python3 scripts/session_handover_check.py --strict` ## Ticket - Closes #314
agentson added 1 commit 2026-02-28 03:25:13 +09:00
process: automate backtest gate for PR/push/schedule (#314)
Some checks are pending
Gitea CI / test (push) Waiting to run
Gitea CI / test (pull_request) Waiting to run
8396dc1606
Author
Collaborator

Decision log:

  • Gate mode uses auto on PR/push and full on schedule to minimize wasted runtime while preserving daily hard validation.
  • Changed-file detector is limited to backtest-sensitive paths to avoid noisy failures on unrelated docs/code.
  • python3 execution is enforced in gate to prevent interpreter mismatch seen in prior sessions.
Decision log: - Gate mode uses `auto` on PR/push and `full` on schedule to minimize wasted runtime while preserving daily hard validation. - Changed-file detector is limited to backtest-sensitive paths to avoid noisy failures on unrelated docs/code. - `python3` execution is enforced in gate to prevent interpreter mismatch seen in prior sessions.
agentson merged commit 0542e78f90 into feature/v3-session-policy-stream 2026-02-28 03:25:45 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#315