Skip to content

tui: fix status/lead edits not saving, hide archived by default#5

Merged
execsumo merged 1 commit into
mainfrom
claude/dossier-status-archived-tui-jzglb7
Jul 8, 2026
Merged

tui: fix status/lead edits not saving, hide archived by default#5
execsumo merged 1 commit into
mainfrom
claude/dossier-status-archived-tui-jzglb7

Conversation

@execsumo

@execsumo execsumo commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • startEditStatus and startEditLead never copied the target dossier's base revision into the model, so a save picked up a stale revision left over from a previous priority/next-action edit. Against the real store that stale revision triggers a false concurrency conflict, silently rejecting the status/lead change instead of applying it. Both now propagate t.baseRevision correctly.
  • Dashboard now hides resolved/archived dossiers by default (hideResolvedArchived: true) to cut down on noise.
  • The f filter screen is no longer lead-only: it now shows a pinned row to toggle resolved/archived visibility alongside the existing lead-scoping options. Help text updated (f: filter leadf: filters).
  • MCP's dossier_list already excludes resolved/archived by default (core.Service.List with empty status), so no change was needed there.

Test plan

  • go build ./...
  • go vet ./... / gofmt -l . clean
  • go test ./... (all packages, including two new regression tests: TestStartEditPropagatesBaseRevision, TestArchivedHiddenByDefault)

Generated by Claude Code

startEditStatus and startEditLead never copied the target's base
revision into the model, so a save picked up whatever revision was
left over from the last priority/next-action edit. Against the real
store that stale revision triggers a false concurrency conflict,
silently rejecting the status or lead change instead of applying it.

Also default the dashboard to hiding resolved/archived dossiers (they
were cluttering the view), and turn the lead landing screen ('f') into
a general filter picker: it now includes a pinned row to show/hide
resolved & archived dossiers alongside the existing lead scoping.
@execsumo
execsumo merged commit 7267551 into main Jul 8, 2026
1 check passed
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.

2 participants