Skip to content

feat: add td history command for issue timeline view#66

Open
marcus wants to merge 1 commit intomainfrom
historical-context
Open

feat: add td history command for issue timeline view#66
marcus wants to merge 1 commit intomainfrom
historical-context

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Mar 21, 2026

Summary

  • Adds td history <issue-id> command that produces a unified chronological timeline of an issue's lifecycle
  • Merges logs, handoffs, comments, git snapshots, and status changes (from action_log) into TimelineEvent structs sorted by timestamp
  • Supports --json flag for machine-readable output and --limit flag to cap events
  • Alias: td timeline

Test plan

  • Unit tests in internal/db/history_test.go covering chronological ordering, event type mapping, limit, session attribution, and status changes from action_log
  • Full test suite passes (go test ./...)
  • Build succeeds (go build -o td .)

🤖 Generated with Claude Code


Automated by nightshift

Adds a unified chronological timeline showing all events for an issue:
logs, handoffs, comments, git snapshots, and status changes from the
action_log. Supports --json and --limit flags.

Nightshift-Task: historical-context
Nightshift-Ref: https://github.com/marcus/nightshift

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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