Skip to content

[spec-extractor] Update package specifications for stringutil, styles, testutil, timeutil#44007

Merged
pelikhan merged 1 commit into
mainfrom
spec-extractor/2026-07-07-stringutil-styles-testutil-timeutil-f2d42987c6b62fc6
Jul 7, 2026
Merged

[spec-extractor] Update package specifications for stringutil, styles, testutil, timeutil#44007
pelikhan merged 1 commit into
mainfrom
spec-extractor/2026-07-07-stringutil-styles-testutil-timeutil-f2d42987c6b62fc6

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Package Specification Updates

This PR updates README.md specifications for the following packages (round-robin run 28859537798):

Package Status Changes
stringutil Updated Corrected SanitizeToolID, SanitizeForFilename, SanitizeParameterName, SanitizePythonVariableName descriptions; added code examples
styles No changes README already accurate and comprehensive
testutil Updated Corrected CaptureStderr description (uses defer, not t.Cleanup)
timeutil No changes README already accurate and comprehensive

What Changed

  • stringutil: Corrected SanitizeToolID — it removes MCP prefixes/suffixes, not generic identifier sanitization. Corrected SanitizeForFilename — it preserves letter case and returns "clone-mode" for empty input. Added concrete code examples for SanitizeParameterName, SanitizePythonVariableName, SanitizeToolID, and SanitizeForFilename.
  • testutil: Corrected CaptureStderr API table — os.Stderr is restored via defer (not t.Cleanup) when fn returns.

Extraction Method

  • Source code analysis of exported symbols, types, and constants
  • Cross-referenced implementation with existing README descriptions
  • Verified examples against source code logic

Round-Robin State

  • Packages processed this run: stringutil, styles, testutil, timeutil
  • Next packages in rotation: packages at index 16+
  • Total packages: 20
  • Coverage: All 20 packages have specifications

Auto-generated by Package Specification Extractor workflow run §28859537798

Generated by 📋 Package Specification Extractor · 143.5 AIC · ⌖ 6.46 AIC · ⊞ 6.1K ·

  • expires on Jul 10, 2026, 2:44 AM UTC-08:00

- stringutil: corrected SanitizeToolID description (removes MCP
  prefixes/suffixes, not generic identifier sanitization); corrected
  SanitizeForFilename (preserves case, returns "clone-mode" for empty,
  does not lowercase); added concrete code examples for
  SanitizeParameterName, SanitizePythonVariableName, SanitizeToolID,
  and SanitizeForFilename; clarified SanitizeParameterName signature
  (prepends _ for digit-starting names)
- testutil: corrected CaptureStderr description to say defer (not
  t.Cleanup) restores os.Stderr

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation pkg-specifications labels Jul 7, 2026
@pelikhan pelikhan merged commit eb82419 into main Jul 7, 2026
@pelikhan pelikhan deleted the spec-extractor/2026-07-07-stringutil-styles-testutil-timeutil-f2d42987c6b62fc6 branch July 7, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation pkg-specifications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant