Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7103913
Release CATCH code, experiments, and paper figures
woforce Sep 30, 2026
289a9c2
test: publish canonical C0-C6 regression fixture
sachin7x Oct 3, 2026
54ef179
feat: bootstrap realtime verifier orchestrator
sachin7x Oct 4, 2026
b3d140c
feat: add orchestration routing recovery and automation hooks
sachin7x Oct 4, 2026
2445e63
fix: satisfy realtime orchestrator import lint
sachin7x Oct 4, 2026
6a7269f
feat: add open agent application runtime skeleton
sachin7x Oct 4, 2026
4ef967d
build: package open agent app runtime
sachin7x Oct 4, 2026
e8e536b
feat: bridge open agent app to CATCH primitives
sachin7x Oct 4, 2026
71372ea
feat: add open agent web demo
sachin7x Oct 4, 2026
a824fde
feat: add open agent web demo
sachin7x Oct 4, 2026
1068337
feat: add open agent web demo
sachin7x Oct 4, 2026
079be72
feat: add open agent web demo
sachin7x Oct 4, 2026
ce95586
feat: add open agent web demo
sachin7x Oct 4, 2026
c2e1b95
feat: wire phase2 web demo to runtime
sachin7x Oct 4, 2026
6b9b631
fix: make realtime orchestrator packages importable
sachin7x Oct 4, 2026
6a6e162
fix: make realtime orchestrator packages importable
sachin7x Oct 4, 2026
c1bba1f
fix: make realtime orchestrator packages importable
sachin7x Oct 4, 2026
60e5e81
fix: make realtime orchestrator packages importable
sachin7x Oct 4, 2026
1211689
feat(vercel): add lightweight FastAPI demo entrypoint
sachin7x Oct 4, 2026
763097c
feat(vercel): isolate demo runtime dependencies
sachin7x Oct 4, 2026
674c8d7
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
5651014
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
2f294b8
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
1139ab6
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
dd21a64
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
e1dd2a0
feat(vercel): isolate deployable open agent demo
sachin7x Oct 4, 2026
43d7997
chore(vercel): trigger isolated demo deployment
sachin7x Oct 4, 2026
dff7b2c
fix(vercel): bundle demo frontend with FastAPI function
sachin7x Oct 4, 2026
44064d8
fix(vercel): bundle demo frontend with FastAPI function
sachin7x Oct 4, 2026
ce86a36
fix(vercel): bundle demo frontend with FastAPI function
sachin7x Oct 4, 2026
20bab63
feat(app): persist verified cache and conversations
sachin7x Oct 4, 2026
605a21b
docs: add Mac shared agent cache plan
sachin7x Oct 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copy this file to .env and replace the xxxxx placeholders with your values.
# .env is local-only. Existing environment variables take precedence.

# Shared W&B account and project.
WANDB_ENTITY=xxxxx
WANDB_API_KEY=xxxxx
proj_name=catch_rl

# Shared Lark credentials; logging is disabled by default.
LARK_APP_ID=xxxxx
LARK_APP_SECRET=xxxxx
LARK_OPEN_ID=xxxxx
TRAIN_LARK_SAMPLES=0
VAL_LARK_SAMPLES=0

# Shared storage roots for data-preparation defaults and checkpoint outputs.
DATA_ROOT=xxxxx
CHECKPOINT_ROOT=xxxxx

# Shared DeepCoder SWE v4.1 train/validation parquet files.
DEEPCODER_SWE_V4_1_TRAIN_FILE=xxxxx
DEEPCODER_SWE_V4_1_VAL_FILE=xxxxx

# SFT checkpoints reused by multiple RL recipes.
SFT_N10K_T1K_MODEL_PATH=xxxxx
SFT_N8K_T3K_MODEL_PATH=xxxxx

# Data-conversion API, shared by the preparation scripts.
API_MODEL=qwen3.5-plus
API_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
API_KEY=xxxxx

# Monitor API, kept separate from the conversion service as requested.
MONITOR_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
MONITOR_API_KEY=xxxxx

# Runtime settings shared by all retained training scripts.
VLLM_ATTENTION_BACKEND=FLASH_ATTN
PYTORCH_CUDA_ALLOC_CONF="expandable_segments:False"
VLLM_USE_V1=1
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1
VLLM_ENGINE_ITERATION_TIMEOUT_S=1000000000
VLLM_ALLREDUCE_USE_SYMM_MEM=0
RAY_DEBUG_POST_MORTEM=0
5 changes: 5 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
set -eu

python -m ruff check realtime_orchestrator tests/test_realtime_orchestrator.py
python -m pytest -q tests/test_realtime_orchestrator.py
11 changes: 11 additions & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
set -eu

branch="$(git symbolic-ref --short HEAD 2>/dev/null || true)"
case "$branch" in
main)
echo "Running full realtime gate before pushing main..."
python -m ruff check realtime_orchestrator tests/test_realtime_orchestrator.py
python -m pytest -q tests/test_realtime_orchestrator.py
;;
esac
20 changes: 20 additions & 0 deletions .github/workflows/open-agent-app-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Open Agent App CI

on:
pull_request:
paths: ["v_app/**", "tests/test_v_app_cache.py", "docs/**", ".github/workflows/open-agent-app-ci.yml"]
push:
branches: [main]
paths: ["v_app/**", "tests/test_v_app_cache.py", "docs/**"]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: python -m pip install --upgrade pip
- run: pip install fastapi uvicorn pydantic pytest
- run: PYTHONPATH=. pytest -q tests/test_v_app_cache.py
35 changes: 35 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Pre-commit

on:
pull_request:
push:
branches:
- main
- v0.*

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Cache pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
pre-commit-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit

- name: Run pre-commit
run: pre-commit run --all-files
30 changes: 30 additions & 0 deletions .github/workflows/realtime-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Realtime CI

on:
pull_request:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: realtime-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
quality:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install test tooling
run: python -m pip install --upgrade pip pytest ruff
- name: Lint
run: ruff check realtime_orchestrator tests/test_realtime_orchestrator.py
- name: Test
run: pytest -q tests/test_realtime_orchestrator.py
61 changes: 61 additions & 0 deletions .github/workflows/realtime-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Realtime Agent Dispatch

on:
issues:
types: [opened, labeled, assigned]
issue_comment:
types: [created]
pull_request:
types: [opened, synchronize, reopened]
workflow_run:
workflows:
- Realtime CI
- Realtime Nightly Evaluation
types: [completed]
repository_dispatch:
types: [realtime.run, realtime.audit, realtime.replay]
workflow_dispatch:
inputs:
operation:
description: Operation to execute
required: true
default: audit

permissions:
contents: read
issues: write
pull-requests: write
actions: read

concurrency:
group: realtime-dispatch-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }}
cancel-in-progress: false

jobs:
dispatch:
if: >-
${{ github.event_name != 'issue_comment' ||
startsWith(github.event.comment.body, '/realtime ') }}
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: python -m pip install --upgrade pip
- name: Dispatch
env:
PYTHONPATH: .
run: python -m realtime_orchestrator.runner
- name: Record control-plane checkpoint
if: always()
run: |
{
echo "## Realtime dispatch"
echo "- event: ${{ github.event_name }}"
echo "- action: ${{ github.event.action }}"
echo "- run: ${{ github.run_id }}"
echo "- sha: ${{ github.sha }}"
} >> "$GITHUB_STEP_SUMMARY"
28 changes: 28 additions & 0 deletions .github/workflows/realtime-maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Realtime Maintenance

on:
schedule:
- cron: "0 3 * * 1"
workflow_dispatch:

permissions:
contents: write
issues: write

jobs:
maintenance:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Generate maintenance checkpoint
run: |
{
echo "## Maintenance checkpoint"
echo "- repository: ${{ github.repository }}"
echo "- sha: ${{ github.sha }}"
echo "- timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo ""
echo "Automated mutation is intentionally disabled in this bootstrap."
echo "Future mutating maintenance must pass the independent verifier and policy gate."
} >> "$GITHUB_STEP_SUMMARY"
46 changes: 46 additions & 0 deletions .github/workflows/realtime-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Realtime Nightly Evaluation

on:
schedule:
- cron: "30 2 * * *"
workflow_dispatch:
inputs:
scenario:
description: Scenario selector
required: false
default: "smoke"
attempts:
description: Maximum attempts
required: false
default: "3"

permissions:
contents: read
actions: write

concurrency:
group: realtime-nightly
cancel-in-progress: false

jobs:
evaluate:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: python -m pip install --upgrade pip pytest ruff
- name: Run deterministic verifier smoke suite
run: pytest -q tests/test_realtime_orchestrator.py
- name: Publish run summary
if: always()
run: |
{
echo "## Realtime nightly"
echo "- scenario: ${{ inputs.scenario || 'smoke' }}"
echo "- sha: ${{ github.sha }}"
echo "- run: ${{ github.run_id }}"
} >> "$GITHUB_STEP_SUMMARY"
29 changes: 29 additions & 0 deletions .github/workflows/realtime-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Realtime Release Gate

on:
workflow_dispatch:
push:
tags:
- "realtime-v*"

permissions:
contents: read

jobs:
gate:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: python -m pip install --upgrade pip pytest ruff
- name: Static checks
run: ruff check realtime_orchestrator tests/test_realtime_orchestrator.py
- name: Tests
run: pytest -q tests/test_realtime_orchestrator.py
- name: Release summary
run: |
echo "Release gate passed for ${{ github.ref_name }}" >> "$GITHUB_STEP_SUMMARY"
29 changes: 29 additions & 0 deletions .github/workflows/realtime-security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Realtime Security

on:
pull_request:
schedule:
- cron: "0 5 * * 1"
workflow_dispatch:

permissions:
contents: read
security-events: write

jobs:
dependency-and-secret-gate:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Python compile gate
run: python -m compileall -q realtime_orchestrator
- name: Secret-pattern scan
run: |
if grep -RInE 'sk-[A-Za-z0-9_-]{20,}|ghp_[A-Za-z0-9]{20,}|BEGIN (RSA|OPENSSH|EC) PRIVATE KEY' realtime_orchestrator tests .github; then
echo "Potential credential material found"
exit 1
fi
38 changes: 38 additions & 0 deletions .github/workflows/realtime-weekly-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Realtime Weekly Audit

on:
schedule:
- cron: "0 4 * * 0"
workflow_dispatch:

permissions:
contents: read
issues: write

concurrency:
group: realtime-weekly-audit
cancel-in-progress: false

jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: python -m pip install --upgrade pip pytest ruff
- name: Execute verifier suite
run: pytest -q tests/test_realtime_orchestrator.py
- name: Create audit summary
if: always()
run: |
{
echo "## Weekly independent-audit checkpoint"
echo "Commit: ${{ github.sha }}"
echo "Workflow run: ${{ github.run_id }}"
echo ""
echo "This checkpoint is intentionally independent of training reward."
} >> "$GITHUB_STEP_SUMMARY"
Loading