Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bound AgentRx log analysis input
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
  • Loading branch information
Copilot and pelikhan authored Oct 9, 2026
commit 76543d27492a8aa2f827c70c87387cfc1e5a12eb
4 changes: 2 additions & 2 deletions .github/workflows/daily-agentrx-trace-optimizer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions .github/workflows/daily-agentrx-trace-optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ Focus on:
- Use `logs` to download parsed logs for recent runs, specifying `artifacts: ["agent"]` to include agent telemetry (turns, token usage, stdout) needed for AgentRx trajectory analysis.
**`logs` precondition rules (follow strictly):**
- Always include `workflow_name` — never call `logs` without it; an unfiltered scan will time out.
- Cap retries at **2 attempts** per workflow. If both return empty or time out, stop retrying and fall back to `audit` using any known `run_id` (from `status` or prior context).
- Query at most **3 workflows**, with `count: 10` and `start_date: "-1d"` for each. Cap retries at **2 attempts** per workflow; if both return empty or time out, stop retrying and fall back to `audit` using any known `run_id` (from `status` or prior context). Never widen the time window or run count.
- If `logs` returns `total_runs=0` for a workflow with confirmed completed runs, treat this as a tool-health failure. Surface it via `missing_tool` and proceed with `audit`-only data; do not vary parameters and retry further.
```json
{
"workflow_name": "<workflow-id>",
"count": 50,
"start_date": "-2d",
"count": 10,
"start_date": "-1d",
"artifacts": ["agent"]
}
```
Expand Down Expand Up @@ -140,6 +140,8 @@ run_data_path: /tmp/gh-aw/agent/agentrx/mcp-runs.json
Do not invoke `trajectory-builder` in this variant.
{{/if}}

Limit the trajectory to **10 runs total** across all sources. Prioritize failed runs, then the highest-latency runs, and omit raw log text.

### 2) Run AgentRx pipeline

Run the pipeline in stages and preserve outputs under `/tmp/gh-aw/agent/agentrx/runs/<run_name>/`:
Expand Down
Loading