Skip to content

memories: an omitted caller input carries the callee's default - #2509

Merged
d-morrison merged 3 commits into
mainfrom
ums/omitted-input-carries-a-default
Aug 28, 2026
Merged

memories: an omitted caller input carries the callee's default#2509
d-morrison merged 3 commits into
mainfrom
ums/omitted-input-carries-a-default

Conversation

@d-morrison

Copy link
Copy Markdown
Collaborator

Closes #2508

One entry appended to memories/gha-reusable-workflows.md.

A gha caller stub is mostly commented-out inputs, so finding no
use-ai-config: line invites the conclusion that the feature is off. The file
supports the opposite: an omitted input means the callee's default applies, and
use-ai-config defaults to true in both claude.yml and
claude-code-review.yml at @v2.

Measured 2026-08-28 on
UCD-SERG/shigella#36, which
claimed the reviewer there "works from whatever prose the repo happens to
carry" because neither caller passed the input. The shared ai-config corpus
had been loading on every run all along, so the two PRs that shipped against
that premise are a behavioural no-op --- worth having, since they record intent
and survive a default moving, but not the fix the issue described.

Recorded with its recurrence rather than alone. The entry added in #2504
came from the same session and the same @v2 file, also from assuming a
default instead of reading one. That session had opened
claude-code-review.yml at @v2 three times that evening --- for the
ANTHROPIC_API_KEY secret, then for lint-markdown's companion defaults ---
and never scrolled to this input. The failure is not a missing file; it is
asking the file only the question already in mind, which is why the entry's
remedy is to dump every input's default at once when a caller is under review
rather than to look up one input more carefully.

scripts/semantic-line-breaks.py --base origin/main reports 0 paragraphs would
change; no non-ASCII punctuation added; check-memory-file-size.py clean.

A gha caller stub is mostly commented-out inputs, so an absent line reads as a
disabled feature. It means the opposite: the callee's default applies, and
use-ai-config defaults to true in both Claude workflows at @v2.

Measured on UCD-SERG/shigella#36, which claimed the reviewer worked without the
shared corpus because neither caller passed the input. It had been loading all
along, and the two PRs that shipped against that premise are a behavioural
no-op.

Recorded with the recurrence rather than alone: this is the second entry in
this file from one session, both from assuming a default instead of reading
one, and that session had already opened the same @v2 file three times for
other questions. The remedy in the entry is therefore to dump every input's
default at once when a caller is under review.

Closes #2508

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HYDWsGL8cYC3ptLEL4Wayn
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Three findings, all correct.

The link read [#36] while pointing at pull/38 -- #36 is the issue, already
linked earlier in the same paragraph, so a reader following the link would
land somewhere the text did not promise.

'this file' and 'the same file' four words apart meant the memory file and
the @v2 workflow file respectively. Named the second one.

'and a duplicate' is dropped rather than pinned down. Both use-ai-config
commits on shigella's main (dc87f8e and 41bf0e7) report as belonging to PR
#38, so there is no second PR to name, and the claim is not load-bearing for
the entry.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HYDWsGL8cYC3ptLEL4Wayn
@d-morrison

Copy link
Copy Markdown
Collaborator Author

Dispositions --- all three Addressed in 03e15714

1 (link text vs target) --- Addressed. The link read #36 while pointing
at pull/38. #36 is the issue and was already linked earlier in the same
paragraph, so a reader following it would land somewhere the text did not
promise. Now [#38](.../pull/38).

2 (ambiguous referent) --- Addressed. "this file" and "the same file",
four words apart, meant the memory file and the @v2 workflow file
respectively. The second is now named.

3 ("and a duplicate") --- Addressed by dropping it, and the reviewer was
right to be unable to find it. Both use-ai-config commits on shigella's
main --- dc87f8e ("ci: pin use-ai-config ... (#36)", authored by the bot)
and 41bf0e7 --- report as belonging to PR #38:

$ gh api repos/UCD-SERG/shigella/commits/dc87f8e/pulls --jq '[.[].number]'
[38]
$ gh api repos/UCD-SERG/shigella/commits/41bf0e7/pulls --jq '[.[].number]'
[38]

So there is no second PR to name. Whatever produced two commits with identical
stats under one PR, the claim is not load-bearing for the entry's lesson, and a
memory file is the wrong place to leave an assertion I cannot demonstrate in
one command. Dropped rather than reworded.

Posted by Claude Code (AI agent) --- not written by a human.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

Claude finished reviewView run


Confirmed: the merge commit (current PR head) only pulled in unrelated main changes (scripts/check-pr-fully-clean.py and its test) — the file this PR actually touches, memories/gha-reusable-workflows.md, is byte-identical to the version that received "Ready for merge" in the prior round. This matches the saved diff, which shows only the memories/gha-reusable-workflows.md addition.

Since no content in this PR's actual diff changed since the last clean verdict, this is a confirming review with no new findings.

Review: #2509

Scope: Single new entry appended to memories/gha-reusable-workflows.md (lines 211–237), documenting that an omitted use-ai-config input carries the callee's true default in Morrison-Lab/gha@v2. No code changes.

The current head commit (35d29673353471828ed9815aafdb0337dce5ee2d) is a merge of origin/main into the PR branch on top of commit 03e15714ff946863f9ab038cc9d271dd9b443dc2. I diffed the two and confirmed memories/gha-reusable-workflows.md — the only file this PR touches — is byte-identical between them; the merge only pulled in unrelated main changes to scripts/check-pr-fully-clean.py and its test file, neither authored by this PR.

The most recent substantive review of this PR's content is the second round posted 2026-08-28T08:05:23Z (exact comment URL not independently resolvable from this environment, but identifiable by its timestamp and Reviewed commit: 03e15714ff946863f9ab038cc9d271dd9b443dc2 line), which confirmed all three findings from the first round were resolved (link text/target mismatch, ambiguous "file" referent, unverifiable "and a duplicate" claim) and re-verified the core technical claim (use-ai-config defaults to true in both claude.yml and claude-code-review.yml at Morrison-Lab/gha@v2) directly against the tag, along with the UCD-SERG/shigella#36/#38 narrative. That verdict was Ready for merge.

Since the file under review has not changed since that round, that verdict still stands and I have no new findings to add.

Verdict

Ready for merge

Reviewed commit: 35d2967

@github-actions

Copy link
Copy Markdown
Contributor

💰 Cost: $0.6218 (review) — run

@d-morrison
d-morrison merged commit 870dc50 into main Aug 28, 2026
10 checks passed
@d-morrison
d-morrison deleted the ums/omitted-input-carries-a-default branch August 28, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gha memories: an omitted caller input carries the callee's default, and several default to true

1 participant