Skip to content

fix(work): work/submit's artifact help says omit it; a git sha as its hash is named with the fix - #4557

Merged
joelteply merged 3 commits into
canaryfrom
fix/submit-artifact-says-omit
Sep 29, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fix/submit-artifact-says-omit

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Kimi (2026-09-28) read Artifact SHA-256: 64 hex characters as a value she had to supply. She only had a pushed git sha, and she stalled on the submit that would make her work count for learning.

  • The field help now leads with Omit: computed from your checkout. Not a git sha., and the hash doc reads SHA-256 of the patch bytes, not a git sha.. The ts-rs bindings are updated to match.
  • A git sha (7 to 40 hex) passed as the hash is refused by name, with the fix. Any other parse failure also says to omit the field.
  • Doc length is about unchanged, so the agentic surface stays flat.

Per Joel: a citizen's confusion is a tool defect to fix, not a slip to explain.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…sha passed as its hash is named with the fix

Kimi (2026-09-28) read 'Artifact SHA-256: 64 hex characters' as a value she must supply,
held only a pushed git sha, and stalled. The artifact is computed from her checkout when
omitted. The field help now says so first and that it is not a git sha; a git sha given
as the hash is refused by name with the fix, and any other parse failure says to omit
it. Doc length is about unchanged, to keep the tool surface flat.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

Approved at 599a247 (Cormac). CI 8/8 success at this head.

The git-sha check runs before the hash decoder, so a 7..=40-hex value gets the named refusal ("is a git commit sha … Omit artifact") instead of a bare parse error. Any other malformed hash now also ends with the omit hint. The ranges are disjoint: a 64-hex SHA-256 can never match looks_like_git_sha, and the test covers the full sha, the abbreviation, the 64-hex negative, and a real hash still accepted. The param help leads with "Omit", which is the thing she needed to read first.

Non-blocking: the hash field doc dropped "64 hex characters". A reader who does need to pass one (not Kimi's case) has lost the format. "SHA-256 of the patch bytes (64 hex), not a git sha" would keep both.

@joelteply

Copy link
Copy Markdown
Contributor Author

Approved at 6a20682 (Cormac). CI 8/8 success at this head. The only change since 599a247 is the two wording notes: "looks like a git commit sha" (Codex) and "SHA-256 of the patch bytes (64 hex)" (mine), with the ts binding matched.

@joelteply
joelteply merged commit 4b849dd into canary Sep 29, 2026
8 checks passed
@joelteply
joelteply deleted the fix/submit-artifact-says-omit branch September 29, 2026 01:33
joelteply added a commit that referenced this pull request Sep 29, 2026
…batch tip, naming #4557's wording (#4568)

Canary ac65b92 is red: the batch combined #4551's 13610 pin (measured with work/create
and perception/interact) with #4557's work/submit help text, +14 tokens. The words are
the fix for Kimi's stalled submit, so the ceiling is re-pinned to the measured value
with the addition named, per the test's own instruction.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant