Skip to content

Commit f60aba4

Browse files
claude[bot]claude
andcommitted
docs(agents): the os-dev terminal report carries its own session id
The `os-dev-report` JSON gains a `session` field: the id the harness stamps on the run that writes the report, read from the transcript's Claude-Session line (a subagent's is its parent's). The added line is paid in place: the two `premise_still_valid: false` notes compress to one line, so the file stays at its 403-line ceiling with every edited line at or under 120 bytes. Claude-Session: https://claude.ai/code/session_01HZfg2AwVX191qCizp88gQr Co-authored-by: Claude <noreply@anthropic.com>
1 parent c053f74 commit f60aba4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.claude/agents/os-dev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ model: opus
363363
"status": "done | rework | blocked | needs_decision",
364364
"branch": "claude/issue-<n>-<slug>",
365365
"pr": "<url or null>",
366+
"session": "session_<id> — this run's harness-stamped id (transcript Claude-Session: line; subagent = parent's)",
366367
"premise_still_valid": true,
367368
"summary": "what was implemented, 2-4 sentences",
368369
"tests": "commands run + pass/fail evidence (real output excerpts); ablation: rebuild + on-disk mutation proof",
@@ -376,8 +377,7 @@ model: opus
376377
```
377378

378379
- `status: "rework"` = 你自知不完整的部分成果,在 `summary` 里说明为什么。
379-
- `premise_still_valid: false` = 你的核验证伪了 issue 的前提(规则 6):证据写进 `summary`。
380-
- 那时 `pr` 为 null 或只圈存活的部分,PM 重新分诊。
380+
- `premise_still_valid: false` = 核验证伪了前提(规则 6):证据进 `summary`,`pr` null 或只圈存活部分。
381381
- 报告模板是工具,不是真相:某字段的预设与实际发生的对不上时直说。
382382
- 例:反向验证方向反转、前提死了、某个产物在此无意义;按模板硬造比留白更糟。
383383

0 commit comments

Comments
 (0)