Repository navigation
Description
project_update exists in packages/db/src/schema/work.ts with an author, a health, a body and a timestamp. There is a route at apps/web/src/app/api/projects/[id]/updates/route.ts and it is read in apps/web/src/features/projects/data.ts.
So the feature is built. What it does not have is a reason for anyone to use it.
A project update only works as a habit, and habits need a prompt, a place to read them, and a consequence for not writing one. Orbit has the storage and none of the three.
What to build
A workspace feed of updates. One page showing the most recent update from every project, newest first, with the health and the author. This is the surface a lead opens on a Monday, and it is the reason anyone writes updates in the first place. Right now an update is only visible if you already went to that project, which means updates are written for an audience that has to go looking.
A prompt. A project whose health has not been updated in N days is stale, and somebody should be told. project.health defaults to no_update, which suggests this was the intent. Options are an inbox notification to the project lead, a Slack message, or a marker in the project list. Probably all three, configurable.
Health that means something. project.health and project_update.health are both free text columns. Whatever the allowed values are, they should be a defined set, rendered consistently, filterable, and explained in docs/concepts.md. A health field where one project says "at risk" and another says "At Risk" is not filterable and not chartable.
Updates on the timeline and in analytics. A health change is a data point over time. "This project was green for six weeks and has been amber for three" is a more useful sentence than the current health value on its own. analyticsScopeSchema already supports a project scope.
Digest. A weekly summary of every project's health and update, to Slack or email. This composes with the Slack milestone and with the daily summary that already exists.
Smaller pieces inside this
Any of these is a complete contribution on its own:
- The workspace feed page
- Constraining health to a defined set and rendering it consistently
- The staleness notification
- The weekly digest
If you want one, say which on this thread.
Files
apps/web/src/app/api/projects/[id]/updates/route.tsapps/web/src/features/projects/data.tspackages/core/src/work/project-service.tspackages/db/src/schema/work.tspackages/core/src/notifications/docs/concepts.md
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
imshashank commentedon Aug 15, 2026
One of the four listed pieces landed in #309, and part of a second. Re-scoping rather than closing, since the central complaint still stands.
Done: updates in analytics. The projects lens reads
project_updatedirectly.healthUpdatesinpackages/core/src/analytics/projects.tsreturns the most recent updates for the focused project with health, body, author and timestamp, andprojects-lens.tsxrenders them as a "Latest project updates" card. The projects table also carries a Health column across every project in scope. So "updates in analytics" from the fourth bullet is covered, and there is now at least one place an update can be read from outside its own project.Partly done: health as a defined set. The issue says health is free text. That is true of the storage and false at the boundary:
packages/db/src/schema/work.tsstill declareshealth: text('health')on bothprojectandproject_update, with no check constraint.PROJECT_HEALTHSinpackages/shared/src/constants/project.tsfixes the set toon_track,at_risk,off_track,no_update, andpackages/shared/src/validators/project.tsenforces it withz.enumon write.healthLabelsinprojects-lens.tsx, andvalidProjectHealthfalls back tono_updateon an unrecognised value rather than displaying raw text.So the "one project says at risk and another says At Risk" failure cannot happen through the API. What remains from that bullet is the database constraint, which is the thing that would make it true rather than merely enforced, and the
docs/concepts.mdentry, which does not exist. Grepping the docs for health returns nothing.Still open, and still the heart of this issue. Three of the four smaller pieces are untouched:
project.healthstill defaults tono_update.The "a prompt, a place to read them, and a consequence" framing still holds, with the caveat that there is now a partial answer to the middle one. Anyone picking a single piece should take the workspace feed, since the other two only pay off once there is somewhere for a prompted person to land.
imshashank commentedon Sep 6, 2026
The workspace feed landed in #372:
/projects?view=feedshows the latest update from every visible project, newest first, with health and author, anddocs/concepts.mdnow defines the four health values.Still open from the original list, and each is a complete contribution on its own:
health, so the defined set is enforced in storage and not only at the APISay which one you are taking on this thread before starting.
imshashank commentedon Sep 6, 2026
Closing. The feed landed in #372 and the health values are documented. The three leftovers are their own small issues now: #413, #414, #412.