[GH-ISSUE #5773] [Feature]: Agent version changelog in the update prompt and Download Agents #3189

Closed
opened 2026-10-21 06:00:23 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Sep 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5773

What problem does this solve?

Marinara ships around 36 downloadable Agent packages, and each one versions and updates independently. What a user sees when one changes is two numbers.

The update prompt is a plain confirm dialog reading • Name (1.2.0 → 1.3.0). The Download Agents detail panel shows an installed version and a catalog version. Nothing anywhere says what changed.

Two consequences:

  • A user has no basis to accept or decline an update. "Update all" is the only informed-feeling choice, and it is not actually informed.
  • A user cannot learn what an Agent they already run has changed. If a Tracker starts behaving differently after an update, there is nothing to read.

There is also no way to tell a routine bugfix release from one that changes behaviour. Prompt after prompt of invisible patches teaches people to dismiss the dialog unread, which is exactly when a real change slips past.

Proposed solution

App-Store-style release notes for Agent packages.

  • The update prompt lists each waiting Agent with its version change, whether it needs a restart, and a collapsible "What changed". "Update all" stays the primary action, so a user who never expands loses nothing.
  • Download Agents gains a Version history section on the Agent detail page, so a user can read what an installed Agent changed without waiting for the next update.
  • A dot marks versions the publisher flagged as a change the user will notice. It means "read this first", not "install this" — the button still updates everything.

Notes are published by the Agent catalog, not written in the Engine.

Alternatives considered

A releaseNotes field on the catalog entry. This is the obvious shape and it is unsafe. capabilityCatalogPackageSchema is strict and parseCapabilityCatalogWithCompat drops entries carrying keys it does not know, so publishing that field would make every entry vanish on every already-shipped Engine that predates it. Users on an older 2.x would open Download Agents and see an empty catalog — not missing notes, an empty catalog.

A field in the package manifest. Worse. It rewrites every artifact and every checksum to publish a sentence, and trips the source/catalog/archive manifest equality checks in the Agents repo.

A sidecar document beside catalog.json. Old Engines never request it, so there is no blast radius, and the hot-path catalog stays small. This is the approach taken.

Letting authors set the notable marker freely. Everything gets marked and the signal dies. Deriving it from the version bump (minor and major are notable, patch is not) with explicit overrides for the cases semver gets wrong keeps the honest path the lazy one.

Additional context

Implemented in #5772, paired with Pasta-Devs/Marinara-Agents#686 which publishes the notes. The two are independent: an Engine without the change never requests the sidecar, and an Engine with it treats a missing sidecar as "no notes".

Deliberately out of scope, each its own problem: what happens to a prompt template the user edited when the package changes its default, deprecation metadata for retired agents, and rollback.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Gunterlie on GitHub (Sep 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5773 ## What problem does this solve? Marinara ships around 36 downloadable Agent packages, and each one versions and updates independently. What a user sees when one changes is two numbers. The update prompt is a plain confirm dialog reading `• Name (1.2.0 → 1.3.0)`. The Download Agents detail panel shows an installed version and a catalog version. Nothing anywhere says what changed. Two consequences: - A user has no basis to accept or decline an update. "Update all" is the only informed-feeling choice, and it is not actually informed. - A user cannot learn what an Agent they already run has changed. If a Tracker starts behaving differently after an update, there is nothing to read. There is also no way to tell a routine bugfix release from one that changes behaviour. Prompt after prompt of invisible patches teaches people to dismiss the dialog unread, which is exactly when a real change slips past. ## Proposed solution App-Store-style release notes for Agent packages. - The update prompt lists each waiting Agent with its version change, whether it needs a restart, and a collapsible "What changed". "Update all" stays the primary action, so a user who never expands loses nothing. - Download Agents gains a **Version history** section on the Agent detail page, so a user can read what an installed Agent changed without waiting for the next update. - A dot marks versions the publisher flagged as a change the user will notice. It means "read this first", not "install this" — the button still updates everything. Notes are published by the Agent catalog, not written in the Engine. ## Alternatives considered **A `releaseNotes` field on the catalog entry.** This is the obvious shape and it is unsafe. `capabilityCatalogPackageSchema` is strict and `parseCapabilityCatalogWithCompat` drops entries carrying keys it does not know, so publishing that field would make every entry vanish on every already-shipped Engine that predates it. Users on an older 2.x would open Download Agents and see an empty catalog — not missing notes, an empty catalog. **A field in the package manifest.** Worse. It rewrites every artifact and every checksum to publish a sentence, and trips the source/catalog/archive manifest equality checks in the Agents repo. **A sidecar document beside `catalog.json`.** Old Engines never request it, so there is no blast radius, and the hot-path catalog stays small. This is the approach taken. **Letting authors set the notable marker freely.** Everything gets marked and the signal dies. Deriving it from the version bump (minor and major are notable, patch is not) with explicit overrides for the cases semver gets wrong keeps the honest path the lazy one. ## Additional context Implemented in #5772, paired with Pasta-Devs/Marinara-Agents#686 which publishes the notes. The two are independent: an Engine without the change never requests the sidecar, and an Engine with it treats a missing sidecar as "no notes". Deliberately out of scope, each its own problem: what happens to a prompt template the user edited when the package changes its default, deprecation metadata for retired agents, and rollback. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3189
No description provided.