Skip to content

docs(kudos): document the real wall-of-fame JSON payload shape - #40

Merged
xergioalex merged 2 commits into
mainfrom
docs/kudos-wall-of-fame-payload
Jul 14, 2026
Merged

docs(kudos): document the real wall-of-fame JSON payload shape#40
xergioalex merged 2 commits into
mainfrom
docs/kudos-wall-of-fame-payload

Conversation

@xergioalex

@xergioalex xergioalex commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

Agents parsing dailybot kudos wall-of-fame --json had no payload reference in the kudos sub-skill and could easily misread the response. The Dailybot CLI itself shipped exactly that misparse in its human rendering (Top receiver — / Leaderboard entries 4 — fixed in DailybotHQ/cli#71, released as dailybot-cli v3.7.2, now the latest on PyPI), which proves the shape is genuinely easy to get wrong. This documents it at the source agents actually read.

What the docs now call out

Three commonly-misread fields, with a full annotated JSON example:

  1. People are nested under user — the name is at top_receiver.user.full_name, not a top-level full_name. Same for top_giver and every leaderboard entry.
  2. leaderboard is a paginated envelope{count, next, previous, results}; the ranked entries live in results (counting the envelope's keys gives you a meaningless 4).
  3. leaderboard_summary is the caller's own standing{position, total}.

Plus a version note pinned to the shipped release: since v3.7.2 the human (non---json) output renders the full wall of fame (top receiver/giver with counts, caller position, kudos-DNA distribution, ranked leaderboard table); older versions show dashes — so agents should prefer --json for parsing and suggest dailybot upgrade when a developer sees dashes.

Scope

Doc-only change to skills/dailybot/kudos/SKILL.md. Frontmatter untouched (version stays automation-owned). The pack-wide CLI baseline stays at >= 3.7.0 — wall-of-fame parsing guidance applies to every baseline version; only the human rendering quality is version-gated, and that's what the note covers.

🤖 Generated with Claude Code

xergioalex and others added 2 commits July 14, 2026 13:06
## Summary
Agents parsing `dailybot kudos wall-of-fame --json` had no payload
reference and could easily misread it — the person is nested under a
`user` key, the leaderboard is a paginated envelope, and
`leaderboard_summary` is the caller's own standing. The Dailybot CLI
itself shipped exactly that misparse in its human rendering (fixed in
DailybotHQ/cli#71), so the shape is now documented at the source agents
actually read.

## Change Log
- Annotated JSON example of the full wall-of-fame response
- Called out the three commonly-misread fields (nested user.full_name,
  leaderboard.results envelope, leaderboard_summary = caller position)
- Version note: CLI >= 3.7.2 renders the full wall of fame for humans;
  older versions show dashes — prefer --json for parsing and suggest
  `dailybot upgrade` when dashes appear

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…f-fame version note

The wall-of-fame rendering fix (DailybotHQ/cli#71) is now published as
v3.7.2 on PyPI, so the version note links to the concrete release
instead of describing the behavior as a bare version floor.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@xergioalex
xergioalex merged commit 63ab5ed into main Jul 14, 2026
6 checks passed
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