From e62915d5c49d142c2e39d682cfae3f5c8c70d1b6 Mon Sep 17 00:00:00 2001 From: damocles Date: Fri, 20 Nov 2026 04:59:06 +0100 Subject: [PATCH] docs: ci-log --job past the last job is an error --- docs/4-implementation/agent-tools/forge.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/4-implementation/agent-tools/forge.md b/docs/4-implementation/agent-tools/forge.md index e8baa2b04..ee1f59ef2 100644 --- a/docs/4-implementation/agent-tools/forge.md +++ b/docs/4-implementation/agent-tools/forge.md @@ -298,8 +298,9 @@ to discover valid label names before triaging or to audit the label set. that order — only the streamer honors per-step framing (the persisted log is flat), so `--step` goes straight to the streamer and an out-of-range index surfaces as a hard error instead of silently - falling back. `--job` selects the job (0-based, default 0); - `--attempt` picks the run attempt for the durable path (default 1; + falling back. `--job` selects the job (0-based, default 0); an index + past the run's last job is an error naming the job count, because the + server would otherwise answer with job 0's log. `--attempt` picks the run attempt for the durable path (default 1; re-runs increment it). `--json` wraps the output. - `ci-rerun` re-runs CI: it dispatches a **fresh** run of the workflow via the workflow-dispatch API