Skip to content

fix: skip tracking comment update when no new findings - #35

Closed
tend-agent wants to merge 1 commit into
mainfrom
hourly/review-23499813132
Closed

tend-agent wants to merge 1 commit into
mainfrom
hourly/review-23499813132

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Summary

The review-reviewers skill instructs bots to append findings to a monthly
tracking issue, but doesn't say to skip updating when there are no new findings.
Every hourly run — even those with no sessions or clean sessions — appends a
"no new findings" entry. This has bloated the tracking comment on #12 to 34KB
with 29 run entries, where the majority are empty noise like:

## Run 23496877984 — 2026-03-24T15:14Z
No completed runs with session logs...
### No new below-threshold findings
Previously recorded observations remain unchanged (7 findings, none at threshold)

This makes it harder to scan for actual historical evidence when evaluating gates.

Fix

Add explicit guidance before the "append" instructions: only update the tracking
comment when there are actual new below-threshold findings to record. Empty runs
should skip the tracking comment entirely.

Gate assessment

  • Evidence level: High — consistent pattern, 20+ occurrences across all runs
    since tracking issue review-reviewers tracking: 2026-03 #12 was created
  • Change type: Targeted fix (4 lines of guidance added)
  • Historical evidence: 29 run entries in tracking comment, majority are
    "no new findings" noise entries (verified by reading issue review-reviewers tracking: 2026-03 #12 comment
    4113696426)
  • Both gates passed

Sessions analyzed this run

Run Workflow Repo Assessment
23494523814 tend-review (PR #34) tend Correct — reviewed artifact_suffix fix, correctly skipped self-approval
23494122035 review-reviewers tend→worktrunk Correct — no sessions in window, reported all clear
23496877984 review-reviewers tend→worktrunk Correct — found skipped runs, reported all clear
23496995775 tend-mention tend Skipped (no artifacts)

🤖 Generated with Claude Code

review-reviewers runs were appending "no new findings" entries to the
tracking issue on every hourly run, even when there were no sessions to
analyze. The tracking comment on issue #12 grew to 34KB with 29 run
entries, the majority being empty noise. This makes it harder to scan
for actual historical evidence.

Add explicit guidance to skip the tracking comment entirely when a run
has no new below-threshold findings to record.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@tend-agent tend-agent added the claude-behavior Behavioral issues found by review-reviewers label Mar 24, 2026
@max-sixty max-sixty closed this Mar 25, 2026
@max-sixty
max-sixty deleted the hourly/review-23499813132 branch March 25, 2026 23:57
max-sixty pushed a commit that referenced this pull request Apr 27, 2026
…ar (#335)

## Summary

The `### Recording below-threshold findings` section reads as "skip when
no findings" — and the section heading reinforces that interpretation.
The bot has been silently inheriting that read on all-clear runs,
omitting the per-run `## Run <id>` heading. The shared
`@review-gates.md` finding format spec actually says **each run**
appends a heading, so the SKILL.md text is the source of the divergence.

This adds one paragraph at the top of the section making the
always-record requirement explicit. Six lines, no logic change.

## Evidence

Cumulative occurrences of all-clear runs that completed analysis but
skipped the gist `## Run <id>` recording on `max-sixty/tend`:

| # | Run | Time | Notes |
|---|---|---|---|
| 1 |
[24965736233](https://github.com/max-sixty/tend/actions/runs/24965736233)
| 2026-04-26T20:00Z | Surfaced by run 24968093086 |
| 2 |
[24966937709](https://github.com/max-sixty/tend/actions/runs/24966937709)
| 2026-04-26T21:00Z | Surfaced by run 24968093086 |
| 3 |
[24972039459](https://github.com/max-sixty/tend/actions/runs/24972039459)
| 2026-04-27T01:16Z | Surfaced by run 24974051333 |
| 4 |
[24975936220](https://github.com/max-sixty/tend/actions/runs/24975936220)
| 2026-04-27T04:02Z | Surfaced this run |
| 5 |
[24978620309](https://github.com/max-sixty/tend/actions/runs/24978620309)
| 2026-04-27T05:44Z | Surfaced this run |

Verified by `grep "^## Run \(<id>\)" findings.md` against the current
evidence gist — none of the five appended a heading. All five completed
`success` across all matrix cells; the omission is at the recording
step, not the analysis step.

## Gate assessment

- **Confidence**: Medium evidence, **5 cumulative occurrences** — meets
the 5+ threshold for stochastic findings per `review-gates.md`. The 3rd
cumulative entry recorded by run 24974051333 explicitly recommended this
fix once cumulative reaches 5+.
- **Classification**: Stochastic. The skill text is genuinely ambiguous
between (a) always-record and (b) skip-when-empty. Past runs sometimes
record, sometimes don't.
- **Magnitude**: Targeted fix — one paragraph clarifying intent. No
section rename, no logic change.
- **Both gates pass.**

## Why this direction (not skip-when-empty)

[PR #35](#35) (closed 2026-03-25)
proposed the opposite — skip recording when no new findings — under the
prior architecture, where evidence lived in a single tracking-issue
comment and bloated past 34 KB. That bloat concern doesn't carry to the
current per-month gist architecture: gists are rotated monthly and
unbounded for practical purposes, so the audit-trail value of
always-record outweighs the body-size cost. Each preserved heading is
also load-bearing for **this skill itself** — gate evaluation reads
prior `## Run <id>` entries to count cumulative occurrences, and missing
headings make recurrence undercounted (the very dynamic that delayed
acting on this finding). If the maintainer prefers the skip-when-empty
direction, closing this PR is the cleanest signal — happy to reverse
course.

## Evidence gist

`max-sixty/tend` 2026-04:
https://gist.github.com/8f10d7c1abcb07c79bef00ee6d02d315

Linked from tracking issue
[#133](#133).

Co-authored-by: continuous-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Behavioral issues found by review-reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants