Skip to content

Generated summaries for long threads, sprints and project updates #217

Closed as not planned

Description

@imshashank

Several places in Orbit involve reading a lot of text to extract a small amount of meaning. Those are the places a summary is worth having.

Where summaries earn their place

A long issue thread. Forty comments over three months, and somebody new needs to know what was decided. A summary at the top of the thread, regenerated when the thread grows, saves that person twenty minutes. This is the highest value one.

A sprint review. What was planned, what shipped, what slipped and why, drawn from the issues, their state changes and their comments. cycleBurndown, cycleChurn and cycleFlowMetrics in packages/core/src/analytics/burndown.ts already produce the numbers. This is the narrative that goes with them.

A project update draft. project_update exists and takes a health and a body, and the reason it is under-used is that writing one is work. A draft, pre-filled from what changed since the last update, with the health pre-selected from the trend, turns a writing task into an editing task. See the project updates issue in the Planning parity milestone.

Standup. Orbit already has a standup surface. A per person summary of what they closed, what they moved and what they are stuck on is derivable from activity.

A release changelog. Covered by the releases issue in the Planning parity milestone. Same machinery.

Rules

  • Every summary is labelled as generated, visibly, and is never presented as something a person wrote
  • Every summary is editable, and once edited it stops regenerating
  • Summaries respect permissions. A summary of a thread must not include a comment the reader may not see, which means generating per audience or generating only from content visible to everybody who can see the summary. The second is simpler and safer
  • Regeneration is bounded. A thread that gets a comment every hour must not trigger an inference call every hour
  • Off unless a provider is configured, per the epic

Caching

A summary is expensive to produce and cheap to store. Store it with the id of the last item included, and only regenerate when enough has changed. Do not regenerate on read.

Start with one

Do not build all five. The issue thread summary is the one to build first: it is self contained, the value is obvious, and it does not depend on anything else in this milestone. The rest can follow the pattern it establishes.

Say which one you are taking on this thread.

Files

  • packages/services/src/ for the provider client
  • packages/core/src/content/ for comments
  • packages/core/src/analytics/burndown.ts for sprint numbers
  • packages/core/src/work/project-service.ts
  • apps/web/src/features/issues/ and apps/web/src/features/standup/

Activity

  1. added this to the AI and agents milestone on Aug 8, 2026
  2. added
    enhancement
    p2 medium
    area: ai
    on Aug 8, 2026
  3. moved this to Backlog in Orbit roadmapon Aug 8, 2026
  4. added
    size: large
    points: 8
    schema change
    on Aug 8, 2026
  5. imshashank commented on Sep 6, 2026

    @imshashank
    ContributorAuthor

    Closing until an AI provider can be configured (#402). Nothing here can start without it, and the thread-summary-first plan above still stands when it reopens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: aienhancementp2 mediumpoints: 8schema changesize: large

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions