mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #410] Hide incomplete packages from the user-facing catalog (main + staging) #206
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#206
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?
Originally created by @kolacheee on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/410
Originally assigned to: @kolacheee on GitHub.
Problem
An in-development package is listed to users the moment its catalog entry lands on a branch. Concretely today: staging-channel Engines show Pixelforge 0.5.1 in Agents → Download Agents, even though it is mid-development — and because artifact URLs are pinned to
main(where Pixelforge has never merged), the entry's download URL does not even exist. Users see a package that is visible, installable-looking, and broken. The same will be true for any future package developed in-tree across multiple releases.There is no visibility concept in the catalog pipeline: every entry in
catalog/*.jsonis shown by the Engine's package browser, offered by its update discovery, and auto-installed by its legacy-migration path.Goal
A per-package "incomplete" marker that keeps a package out of the user-facing catalog on both the
mainandstagingEngine channels while its source, payload, artifact, and locales keep building in the repo so development continues.Design constraint that picks the mechanism
The Engine parses the catalog with
.strict()Zod schemas at the manifest, catalog-entry, and envelope levels. Any new field (hidden,status, …) in a published catalog would therefore hard-fail catalog parsing for every existing user until a coordinated Engine schema change shipped. So: exclude at generation rather than include-with-a-flag. Exclusion needs zero Engine changes and cannot crash a consumer.Mechanism
scripts/catalog-incomplete.mjs—INCOMPLETE_PACKAGE_IDS, the one place a package is marked (currently:pixelforge).writeCatalogFamily(the single chokepoint all three builders write through) drops marked ids from every generated lane, logged, and scrubs a stale committed entry on the next rebuild of anything.validate-catalog.mjsfails if a marked id appears in a committed catalog, exempts marked ids from the guidance-exactness check, and carries the adjusted package-count assertion.MARINARA_CATALOG_INCLUDE_INCOMPLETE=1dev escape hatch for local testing viaMARINARA_AGENT_CATALOG_URL).Already-installed copies are unaffected (installed packages, uninstall, and runtime never read the catalog entry); the package just stops being browseable, installable, and update-offered until it ships.