feat(issues): add started_at timestamp (GH#2796)#3206
Open
Conversation
…GH#2973) Users expected JSONL export to refresh automatically but export.auto defaulted to false, requiring explicit opt-in. Also the default filename (export.jsonl) didn't match the canonical issues.jsonl used in docs and git hooks. Change defaults: export.auto=true, export.path=issues.jsonl, export.git-add=true so viewers (bv) and git workflows see fresh data without extra configuration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…973) Interactive bd init now asks whether to enable auto-export (default: yes). Users can opt out during setup instead of discovering the setting later. Also documents the export.* config namespace in bd config --help with all four keys (export.auto, export.path, export.interval, export.git-add) and adds export examples. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a `started_at` field to issues that is auto-populated when an issue transitions to in_progress status. Preserved across subsequent status changes. - Migration 0027 adds started_at column to issues and wisps tables - ManageStartedAt() in issueops mirrors ManageClosedAt() pattern - Query filter support: `started>2026-01-01`, `started<...` - Displayed in `bd show` between Created and Updated - Exposed in --json output via struct tag Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
started_atfield to issues, auto-set when status transitions toin_progressbd list --query 'started>2026-01-01'bd showbetween Created and Updated; available in--jsonoutputCloses #2796
Changes
started_atcolumn toissuesandwispsManageStartedAt()inissueopsmirrors existingManageClosedAt()patternTest plan
go build ./cmd/bdpassesgo test ./internal/query/... ./internal/storage/issueops/...passesbd update --claim, verifybd showdisplays Started datebd list --query 'started>2026-01-01' --jsonfilters correctly🤖 Generated with Claude Code