mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #686] [MERGED] feat: publish package release notes beside the catalog #1086
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1086
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/686
Author: @Gunterlie
Created: 9/2/2026
Status: ✅ Merged
Merged: 9/2/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/package-release-notes📝 Commits (2)
159a523feat: publish package release notes beside the catalog8a16c9bfix: address CodeRabbit review on the release-notes build📊 Changes
7 files changed (+528 additions, -2 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+3 -0)📝
AGENTS.md(+2 -1)📝
CONTRIBUTING.md(+29 -0)📝
scripts/catalog-lanes.mjs(+43 -1)➕
scripts/catalog-release-notes.mjs(+211 -0)➕
scripts/tests/catalog-release-notes.regression.mjs(+187 -0)📝
scripts/validate-catalog.mjs(+53 -0)📄 Description
Linked issue
Closes #687
Why this change
artifacts/filenames and git history, neither of which a user ever sees. The Engine can therefore only show two version numbers, so a user has no basis to accept or decline an update and no way to learn what an installed Agent changed.What changed
scripts/catalog-release-notes.mjs— parsespackages/<id>/CHANGELOG.md(## <version> — <YYYY-MM-DD>headings, newest first) into catalog notes entries, derives the notable-change marker from the version bump, and enforces the caps the Engine schema also applies.scripts/catalog-lanes.mjs—writeCatalogFamily, the single chokepoint every builder already writes through, now emits anotes.jsonbeside everycatalog.json: the published lanes, the legacy alias, and the preview overlay, each scoped to the packages in that lane. All five builders inherit it, including for entriesreadCatalogFamilypreserves without rebuilding. A lane whose packages publish no notes gets no sidecar rather than an empty file. The same function fails the build on a minor or major bump with no changelog entry, using the catalog committed before the build as the previous version.scripts/validate-catalog.mjs— re-derives every sidecar from the committed changelogs and rejects a mismatch, so a hand-editednotes.jsoncannot drift. Also reports changelog coverage.scripts/tests/catalog-release-notes.regression.mjs— new, and added topull-request-checks.yml.CONTRIBUTING.md,AGENTS.md— the authoring format and the rules.Affected package IDs: none. No package payload, manifest, artifact, or catalog entry changes.
Why a sidecar and not a catalog or manifest field. The Engine's catalog entry schema is strict and its parser drops entries carrying keys it does not know, so a new entry key would empty the Agents browser on every already-shipped Engine that predates it — not merely hide the notes. A manifest key is worse: it rewrites every artifact and every checksum to publish a sentence, and trips the source/catalog/archive manifest equality checks.
Rules the build enforces. A minor or major bump needs an entry and a patch does not, because optional notes rot and a version history full of gaps reads as abandoned software. The newest entry must be the version being published. Caps are 1000 characters per entry and 20 entries per package; older entries fall off the end, an over-long one fails the build rather than being truncated in someone's update prompt. Notes are English only and plain text — the Engine renders them verbatim, never as Markdown or HTML, because an operator can point it at any catalog.
No package ships a
CHANGELOG.mdin this PR. The mechanism lands first; notes get written by whoever knows what a release actually changed, and inventing them here would put fiction in front of users. Coverage currently reports 0/36 and rises as packages ship their next feature release.Pairs with Pasta-Devs/Marinara-Engine#5772, which renders the notes. Ordering does not matter: an Engine without that PR never requests the sidecar, and an Engine with it treats a missing sidecar as "no notes".
Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAlso needed, beyond the standard list:
npm run checknpm run test:securitynode scripts/test-catalog-lanes.mjsnode scripts/validate-package-locales.mjsnode scripts/validate-package-locale-keys.mjsnode scripts/tests/catalog-generatedat-determinism.regression.mjsnode scripts/tests/catalog-release-notes.regression.mjsManual verification notes
CHANGELOG.mdto one package, rebuild, and manually verify the expectednotes.jsonfiles appear in the published lanes and the legacy alias.Documentation impact
CONTRIBUTING.md§ Release notes andAGENTS.mdbaseline commands. The README catalog tables are unchanged because no package listing changed.UI evidence (if applicable)
Not applicable — this repository publishes data, and the UI lives in Pasta-Devs/Marinara-Engine#5772.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.