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

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

corpus_status compared HPE "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.

Verified locally against the real bundles.json: now reports July 2026 and lists deployment guide / QM / 9.0.0 / 9.0.1 bundles first (was March 2026).

🤖 Generated with Claude Code

https://claude.ai/code/session_01SXZ3ZdHEP75P9YmyFM7W3k

corpus_status compared HPE "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. Verified locally against the real bundles.json: now reports **July 2026** and lists deployment guide / QM / 9.0.0 / 9.0.1 bundles first (was March 2026). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SXZ3ZdHEP75P9YmyFM7W3k
claude added 1 commit 2026-09-23 09:35:30 -04:00
corpus_status compared HPE "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.

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