fix(trail): fall back to list body in 'trail show' when detail fetch fails

main

Commit

Soph3mo ago

The description block in 'trail show' dropped the body entirely whenever the best-effort detail fetch failed or the trail had no number (the enrich block is number-gated), even though the list body was already in hand. Seed the description from found.Body so degraded paths still render something; a successful detail fetch supersedes it with the richer body_document text.

Also note the prod web-origin assumption on trailWebURL and rename TestFetchTrailDetail_* to match the fetchTrailDescription it exercises.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 54665887b1d8

Checkpoints

can you look at this branch / pr also in the context of https://github.com/entireio/cli/issues/1433 and especially https://github.com/entireio/cli/issues/1433#issuecomment-4722283362

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1

Fix Trail Show Detail Fetch Fallback

Claude Code
View session
Checkpoint 1