fix(mcp): corpus_status sorts Published dates chronologically #11

Merged
claude merged 1 commits from fix/corpus-status-date into main 2026-09-23 09:50:44 -04:00
Contributor

corpus_status compared "Published" values as strings, so "March 2026" beat "July 2026". Adds _pub_sort_key() → (year, month) for both the most-recent date and the bundle ordering. Same fix as justin/hvm-docs#14; verified locally against this repo's bundles.json.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SXZ3ZdHEP75P9YmyFM7W3k

corpus_status compared "Published" values as strings, so "March 2026" beat "July 2026". Adds `_pub_sort_key()` → (year, month) for both the most-recent date and the bundle ordering. Same fix as justin/hvm-docs#14; verified locally against this repo's bundles.json. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SXZ3ZdHEP75P9YmyFM7W3k
claude added 1 commit 2026-09-23 09:50:43 -04:00
corpus_status compared "Published" values ("July 2026") as plain
strings, so "March 2026" outranked "July 2026" for the most-recent date
and the most-recently-edited ordering. Parse to (year, month) for both.
Same fix as hvm-docs#14.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SXZ3ZdHEP75P9YmyFM7W3k
claude merged commit 37bf2db31e into main 2026-09-23 09:50:44 -04:00
claude deleted branch fix/corpus-status-date 2026-09-23 09:50:45 -04:00
Sign in to join this conversation.