mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
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#956
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/411
Author: @kolacheee
Created: 8/17/2026
Status: ✅ Merged
Merged: 8/17/2026
Merged by: @kolacheee
Base:
staging← Head:feat/catalog-incomplete-packages📝 Commits (2)
9882a0cfeat(catalog): exclude incomplete packages from the user-facing catalogeceec5bfeat(catalog): add a staging-only tier via a preview overlay📊 Changes
8 files changed (+284 additions, -386 deletions)
View changed files
📝
CONTRIBUTING.md(+21 -0)📝
README.md(+9 -2)📝
catalog/catalog.json(+0 -120)📝
catalog/v2/catalog.json(+0 -120)📝
catalog/v3/catalog.json(+0 -120)➕
scripts/catalog-incomplete.mjs(+53 -0)📝
scripts/catalog-lanes.mjs(+111 -16)📝
scripts/validate-catalog.mjs(+90 -8)📄 Description
Linked issue
Closes #410
Why this change
In-development packages are listed to users as soon as their entry lands in a committed catalog, and there was no visibility concept anywhere in the pipeline: every catalog entry is browseable, offered as an update, and auto-installed by the Engine's legacy-migration path.
Two different needs, so two tiers:
staging→mainmerge, so everything onstagingbecomes visible to stable users the moment the Engine updates — even a package its author still considers in testing. Package authors need a way to say "staging users may have this; stable users may not."Why exclusion instead of a
hiddenflag on entries: released Engines parse the catalog with.strict()Zod schemas at the manifest, entry, and envelope levels (the tolerant per-entry compat parser is newer than the installed base), so a new field would break catalog parsing for existing users until a coordinated Engine change shipped. Excluding at generation needs zero Engine changes and cannot crash a consumer.What changed
scripts/catalog-incomplete.mjs(new) — two mutually exclusive sets. A package graduatesINCOMPLETE_PACKAGE_IDS→STAGING_ONLY_PACKAGE_IDS→ neither.main) usersINCOMPLETE_PACKAGE_IDSSTAGING_ONLY_PACKAGE_IDSMarked packages keep building normally — payload, manifest, artifact, and locales stay committed so development continues; only the listing is affected.
scripts/catalog-lanes.mjs—writeCatalogFamily(the single chokepoint all three builders write through) splits on every write: incomplete packages are dropped entirely, staging-only packages are routed to a preview overlay undercatalog/preview/mirroring the normal lane layout. Every move is logged, never silent.readCatalogFamilyreads the overlay back into the unified list, so a builder that rewrites only its own package cannot drop another package's staging-only entry, and a stale committed entry for a newly-marked id is relocated or dropped by whichever builder runs next. Unmarking a package restores it to the published lanes and removes the overlay automatically.MARINARA_CATALOG_INCLUDE_INCOMPLETE=1publishes everything into the normal lanes for a local dev catalog.Why an overlay rather than differing branch catalogs: because promotion copies bytes, both branches end up with identical catalogs — a package cannot be hidden on one branch and shown on the other by catalog content. Only the Engine knows its channel. The overlay rides along on
maininertly (a stable Engine never requests it) and a staging Engine merges it over the published lanes. This is fail-hidden, never fail-leak: an Engine predating preview-overlay support simply never sees a staging-only package, so no out-of-date Engine can reveal one to stable users.scripts/validate-catalog.mjs— enforces that each tier lands in exactly one place: an incomplete id in no catalog, a staging-only id in the overlay and never in the published lanes, no orphaned overlay entry, no empty overlay directory, and preview lanes derived correctly from their own packages. Package counts are asserted over the published lanes specifically (what a stable user receives): 35 packages / 24 agents / 11 features. Guidance and README coverage may exist ahead of a listing.Catalogs — regenerated through the filter; the only diff is Pixelforge dropping from each lane (
generatedAtpreserved).STAGING_ONLY_PACKAGE_IDSships empty, so no preview directory is written yet and the staging tier is inert until a package opts in.Docs — README gains an "In development" section with an Availability column; CONTRIBUTING gains "Packages that are not ready for everyone" covering both tiers, the overlay rationale, the graduation path, and the dev escape hatch.
Follow-up required for the staging tier to do anything
The Engine half is a separate PR against Marinara-Engine
staging: staging-channel Engines must fetchcatalog/preview/v{major}/catalog.jsonand merge it over the published catalog, and stable Engines must never request it. Until that ships, a staging-only package behaves exactly like an incomplete one — hidden everywhere, which is the safe direction. Nothing in this PR depends on it.Package and security impact
pixelforge(delisted from the user catalog; its files, artifact, and locales remain in the tree). No other package's entry changes.Validation
node scripts/validate-catalog.mjspasses locally —Catalog valid: 35 packages (24 agents, 11 features),lanes valid: v2=35, v3=35; legacy=v2git diff --checkpasses locallywriteCatalogFamily; no manifest/payload/artifact changed,generatedAtpreserved)CONTRIBUTING.mdManual verification notes
Both tiers were exercised end to end, positive and negative:
validate-catalog.mjsfail withpixelforge is marked incomplete … must not appear in any catalog— a stale entry cannot slip through CI.catalog/preview/overlay with a matchinggeneratedAt, and validation passed withPreview overlay valid: 1 staging-only package(s) — hidden from stable users.… must not appear in the published lanes — rebuild the catalog to move it to the preview overlay.… is in the preview overlay but is not marked staging-only.MARINARA_CATALOG_INCLUDE_INCOMPLETE=1regeneration publishes every held-back package (loudly logged as do-not-commit); a normal regeneration afterwards restores the filtered family.node scripts/test-catalog-lanes.mjspasses. Note:npm run checkreports three pre-existing Prettier failures in Pixelforge files on a Windows checkout; they are identical before (671a7dd) and after this branch's base, are a CRLF working-tree artifact, and are untouched by this PR.Documentation impact
UI evidence (if applicable)
No package UI changes — the user-visible effect is Pixelforge's absence from the Download Agents browser; a before/after screenshot can be added after the post-merge staging check if wanted.
Summary by CodeRabbit
Catalog Updates
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.