Skip to content

fix(polish-summaries): Batch API custom_id charset (hash ids, path in feature)#91

Merged
silversurfer562 merged 2 commits into
mainfrom
fix/polish-summaries-custom-id
Jul 10, 2026
Merged

fix(polish-summaries): Batch API custom_id charset (hash ids, path in feature)#91
silversurfer562 merged 2 commits into
mainfrom
fix/polish-summaries-custom-id

Conversation

@silversurfer562

Copy link
Copy Markdown
Member

First live run of polish-summaries 400'd at submit: the Batch API enforces ^[a-zA-Z0-9_-]{1,64}$ on custom_id, and the path-based sum__cli/concept.md violates it (slash + dot). Now sum_<sha256(path)[:24]>, with the readable path carried in the request/result feature field — apply_results maps through that, never by parsing the id. Charset regression test added. Suite 1250 green.

🤖 Generated with Claude Code

…n feature

First live run 400'd: custom_id must match ^[a-zA-Z0-9_-]{1,64}$ and
'sum__cli/concept.md' doesn't. custom_id becomes sum_<sha256[:24]>;
the readable rel path rides in the request/result 'feature' field and
apply_results maps through that instead of parsing the id. Regression
test pins the charset.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@silversurfer562 silversurfer562 merged commit 19b6813 into main Jul 10, 2026
14 checks passed
@silversurfer562 silversurfer562 deleted the fix/polish-summaries-custom-id branch July 10, 2026 05:04
silversurfer562 added a commit that referenced this pull request Jul 10, 2026
Version bump + changelog for the summaries-polish release
(PRs #90, #91, #92). See CHANGELOG 0.25.0 section.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant