Skip to content

SHIP-322 SHIP-327 SHIP-332 SHIP-337 SHIP-340 SHIP-342 SHIP-346 SHIP-349 SHIP-353 SHIP-355 SHIP-357: Retrospectives - #39

Merged
joeldickson merged 122 commits into
mainfrom
feat/82-retrospectives
Nov 1, 2026
Merged

joeldickson merged 122 commits into
mainfrom
feat/82-retrospectives

Conversation

@joeldickson

Copy link
Copy Markdown
Contributor

Feature SHIP-82 Retrospectives: agents log plan feedback per story and feature; ShipLean groups the points into themes; people read and act on them on a sprint Retro tab and under Retrospectives › Search and Insights. Action item is a new work item type at story level.

Built from the captured plan (28 tasks, waves 0 → 0.1 → 1 → 2). Every task had a Sonnet implementer and an Opus review (most needed one or two fix rounds). Reports, reviews and decisions are on each task in ShipLean.

What's in it

  • Action item type (action, "Action item", letter A). Four states. It counts toward sprint figures, burndown, velocity and forecast like stories and bugs, and is on the backlog, boards, taskboard and MCP.
    • Migrations 202611020900_workitems_action_type and 202611021000_boards_action_columns.
    • Seeds 0002/0004/0005/0007 and the pinned shapes are updated.
  • Retro storage: migration 202611020910_retros_tables (themes, retrospectives, sources, points, failure logs, action links; soft deletes only).
  • MCP: log_retrospective (append rule, conductor role via compiled_from or a Feature, raw failure log) and list_retrospectives. Both descriptions open with the learning-from-failure preamble.
  • People's writes: add a point, move a theme, archive your own point, "+ Action item" from an improve point, rename and merge themes. retroChanged is published after every write.
  • Screens:
    • Sprint › Retro tab: By category, By work item, rail.
    • Retrospectives › Search, with the failure log searchable.
    • Retrospectives › Insights: recurring themes, keeps working, action items, before/after impact.
    • A read-only Retrospective section on the work item page.
  • Guide: the planning guide, server instructions and lessons tell sub-agents to log on their story and the conductor to compile the feature retro. Feature retros' "Can be improved" points feed planning_guide lessons.

Decisions to look at

  • Auto theme clustering is off by default (SHIPLEAN_RETRO_AUTO_THEMES, README).
    • On the bundled model it measured precision 34% / recall 23% at the best threshold, against the plan's 80% bar.
    • In production agents name themes from the project list and people use the picker.
    • This departs from D9 ("embeddings on → ShipLean clusters"). Follow-ups are SHIP-362 (quality) and SHIP-363 (centroid writes).
  • Contract amendments made during the run:
    • StoryLevelDb is IReadOnlyList<string>.
    • ux_retro_action_point.
    • RetroImpactDto.AfterAvg is nullable and ChangePct is a fraction.
    • RetroCardDto.CreatedAtLabel.
    • RetroThemeInsightDto.Latest.
    • RetroSearchDto.LogMatchPointIds.
    • RetroListResult.Truncated.
  • One recurring rule (Retros/Store/RetroThemeSeries), shared by the sprint, insights and search views:
    • only tone-bad themes recur;
    • the "helped" check is project-wide;
    • "after" counts only ended sprints;
    • an action's closing sprint is the one whose dates contain the completion.
  • .gitignore: a negation for src/ShipLean.Application/Features/Retros/Log/, because the [Ll]og/ rule hid it.

Not done / follow-ups

  • SHIP-361: "+ Action item" on an Insights theme row (needs a theme-level create route).
  • SHIP-362, SHIP-363: auto theme clustering quality and centroid writes.
  • Design parity:
    • The sprint Retro toolbar and KPIs aren't in the shared SprintHeader tab row.
    • The sibling sprint tabs' breadcrumb still reads "Sprint" (pre-existing).

Screenshots

New page shots (slice retros) and the new CT screenshot tests have no baselines yet. They need regenerating in CI (src/ShipLean.Client/scripts/update-page-shots.sh retros, plus the CT baselines for the retro components), and the side-menu change alters existing page shots.

Tests (local, laptop host)

  • Release build: 0 warnings.
  • WebApi.Tests: every namespace, run one at a time, all green. Two failures from the first integration run are fixed in this branch:
    • a stale ProjectSettings test arrangement;
    • the Features-board done-offer journey, now that seeded SHIP-89 sits under Ops hygiene.
  • UnitTest: 2097/2097.
  • Client: format, lint and typecheck clean; vitest 1095/1095; component tests 1490/1490 (screenshots compared only in CI).
  • Acceptance: Lanes.Retros 8/8, plus the lanes the action item touches (Board 18, Backlog 21, Sprints 19, Taskboard 14, Shell.QuickSearch 11, WorkItem 33, BoardSettings 10, Settings 30), all green. The full acceptance suite was not run locally; CI runs it.

🤖 Generated with Claude Code

octain added 30 commits November 1, 2026 20:01
…atures board rollup of SHIP-101 is unchanged
…els with stub slots, retrosApi, work item retro slot, CT harness, acceptance page objects
…horChip, ThemePicker, MentionStrip with CT specs
…y-id access note, RetroBadPointInput, wire range, zero-before verdict
…ids onto panel wrappers, gate retro slot to story-level, warn chip, docs
octain added 24 commits November 1, 2026 22:33
…h exact thresholds, honest centroid comment, ThemeNamer keeps matched brackets, Register switch tests
…nt's start, archived sprint no longer 500s; openThemes required
…moved actions, McpOpenUrls.Retros, 380px detail, fakes gone)
…rom reports, auto theme gate, preamble first, direct mode logs
…print-retro-items, retro-insights), search shot uses q=screenshot
… theme header), one toolbar row, breadcrumb names the sprint
…tons wrap instead of hiding under the next column
…d retro component screenshot baselines, from the CI Playwright image
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