From a5ec0fe720f992abcdd7195b1b634d04d499632f Mon Sep 17 00:00:00 2001 From: Julie Yaunches Date: Wed, 28 Oct 2026 21:43:55 -0400 Subject: [PATCH] fix(skills): inspect session records before reporting gaps --- .../nemoclaw-contributor-create-pr/SKILL.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.agents/skills/nemoclaw-contributor-create-pr/SKILL.md b/.agents/skills/nemoclaw-contributor-create-pr/SKILL.md index 0d87d272a2f..c19e60d15f7 100644 --- a/.agents/skills/nemoclaw-contributor-create-pr/SKILL.md +++ b/.agents/skills/nemoclaw-contributor-create-pr/SKILL.md @@ -34,7 +34,12 @@ Preserve historical reports and their cutoffs. Optional later commit or merge re ## Session Report -Report the session that wrote the change, up to a cutoff you state; if this session only publishes the PR, mark every row unavailable. +Report the session that wrote the change, up to a cutoff you state. A publishing session must use the authoring record, not its own activity. + +Before assigning statuses, locate and inspect the available authoring record through that cutoff. Use the harness session identity and recorded repository or branch activity to confirm the match; a PR mention alone is insufficient. +Inspect persisted records even after conversation compaction. A compacted conversation does not establish that the underlying record is missing. +For each field, extract the available evidence first. Use `partial` or `unavailable` only for a concrete gap after inspection; state the source checked and the missing evidence or access failure. “Not audited” is not an evidence gap. +If the authoring record cannot be located or accessed, report that limitation; do not substitute a publishing session or invent values. Give each row one status: - `recorded`: the session record covers the whole session. @@ -42,8 +47,13 @@ Give each row one status: - `unavailable`: it can't establish the field; the value is `-`, and the last column says why. A missing record never means zero. +Read harness/version metadata, model and reasoning changes, timestamps, compaction events, tool invocations, and instruction injections/read results. Do not infer historical settings from current defaults. +Count attempted tool invocations, including failures, at a stated layer. Report wrapper calls and observable nested invocations separately; never add them together. Unobserved nested calls remain a limitation. +State the session window and elapsed time, including idle time. Distinguish the whole session from a task-only interval; other work in that session does not make its totals unavailable. +For forks or branches, identify inherited history and the active authoring scope. Exclude inherited calls from new activity counts; disclose gaps when the boundary cannot be established. Count a skill or instruction file only when its full contents appear in the record, injected or completely read; instruction files are guidance outside skills, such as `AGENTS.md`, not source files read for the change. -Don't publish session file paths or IDs; comments are public. +Include guidance templates in the instruction inventory when fully read. A listed skill, file path, or truncated read does not establish a complete read. +Don't publish raw records, session file paths, IDs, or secrets; comments are public. For example: @@ -58,9 +68,9 @@ For example: | Models | recorded | gpt-6-astra | Turn context; no changes | | Reasoning levels | recorded | medium; high | Effort changes, in order | -Where to find the record: +Locate the record using the harness’s available session metadata or export, then its local storage when accessible: -- **Codex CLI:** `CODEX_HOME/sessions/YYYY/MM/DD/rollout-….jsonl`, which is not a stable interface. In a forked session, exclude the parent's activity. +- **Codex CLI/Desktop:** `${CODEX_HOME:-$HOME/.codex}/sessions/YYYY/MM/DD/rollout-….jsonl`; also check `archived_sessions` under that root when appropriate. Paths and record schemas can change; confirm identity from metadata. - **Pi:** `~/.pi/agent/sessions/----/_.jsonl`. Read only the active branch; a branch summary is not a compaction. ## Completion