Leading zeros lost in union tool argument coercion
NousResearch/hermes-agent · cluster 55369 · agent
Data as of
4 open items. Fix attempted, not merged.
The short answer
1open issue
3open PRs
4items grouped
- Known?
- Yes. 4 related items grouped here, 0 issues already closed.
- Fix event
- No fix has been merged to main. see the attempts below.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 3 PRs.
Next step: read the attempts below. Your case may extend or revive that work.
Pick up a Lab taskReports and a fix attempt address a bug where string values with leading zeros (e.g. '007') are incorrectly coerced to integers when tool arguments accept a union of integer and string types.
Open issues1
- Issue#55369Union integer|string tool args drop leading zeros: "007" is coerced to 7
Open PRs3
- PR#55370Keep leading-zero union values as strings in tool-argument coercion
- PR#55401fix: preserve leading zeros in union integer|string tool arg coercion (#55369)
- PR#136858fix(tools): strings valid for a type union with "string" no longer coerced ("02134" stays "02134") (#55369, salvage #128059, port openclaw#158974)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Closed issues
- 0
- Attempts
- 0 PRs closed without merging