[GH-ISSUE #3706] [Issue]: Stable Engine rejects catalogs containing agentDetail metadata #2001

Closed
opened 2026-10-21 05:44:30 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3706

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine v2.3.1 rejects the entire official Agent catalog when any package manifest includes the newer contributions.agentDetail metadata. The Agent Library then incorrectly reports that the server has no internet connection.

Owner: @SpicyMarinara

Expected behavior

The stable Engine should accept forward-compatible contribution metadata that it can safely ignore, keep incompatible packages gated by their Engine version/capability API, and show a useful error when the catalog server returns a validation failure.

Actual behavior

The catalog request reaches GitHub successfully, but capabilityCatalogSchema.parse(...) throws because the strict v2.3.1 contributions schema does not recognize agentDetail. The global Zod handler returns HTTP 400, and Agent Library maps every query failure to “Check the server internet connection.”

Steps to reproduce

  1. Run Marinara Engine v2.3.1.
  2. Open Agents → Download Agents while the live catalog contains Hierarchical Maps v1.1.1.
  3. Observe GET /api/capability-packages/catalog returning 400 and the Agent Library showing a connection error.

Environment

  • Marinara Engine version: 2.3.1 schema/release branch
  • Install type: source launcher
  • OS + version: Windows (exact version not reported)
  • Browser or app shell: not reported

Logs, screenshots, or video

ZodError: Unrecognized key(s) in object: 'agentDetail'
path: packages.13.manifest.contributions

The live raw GitHub catalog itself responds with HTTP 200.

Additional context

Hierarchical Maps v1.1.1 requires Engine 3.2.x, so v2.3.1 only needs to parse and ignore the unknown contribution metadata; existing Engine compatibility checks should still prevent installation. The UI should surface the API error instead of diagnosing every catalog failure as lost internet access.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3706 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine v2.3.1 rejects the entire official Agent catalog when any package manifest includes the newer `contributions.agentDetail` metadata. The Agent Library then incorrectly reports that the server has no internet connection. Owner: @SpicyMarinara ## Expected behavior The stable Engine should accept forward-compatible contribution metadata that it can safely ignore, keep incompatible packages gated by their Engine version/capability API, and show a useful error when the catalog server returns a validation failure. ## Actual behavior The catalog request reaches GitHub successfully, but `capabilityCatalogSchema.parse(...)` throws because the strict v2.3.1 contributions schema does not recognize `agentDetail`. The global Zod handler returns HTTP 400, and Agent Library maps every query failure to “Check the server internet connection.” ## Steps to reproduce 1. Run Marinara Engine v2.3.1. 2. Open **Agents → Download Agents** while the live catalog contains Hierarchical Maps v1.1.1. 3. Observe `GET /api/capability-packages/catalog` returning 400 and the Agent Library showing a connection error. ## Environment - Marinara Engine version: 2.3.1 schema/release branch - Install type: source launcher - OS + version: Windows (exact version not reported) - Browser or app shell: not reported ## Logs, screenshots, or video ```text ZodError: Unrecognized key(s) in object: 'agentDetail' path: packages.13.manifest.contributions ``` The live raw GitHub catalog itself responds with HTTP 200. ## Additional context Hierarchical Maps v1.1.1 requires Engine 3.2.x, so v2.3.1 only needs to parse and ignore the unknown contribution metadata; existing Engine compatibility checks should still prevent installation. The UI should surface the API error instead of diagnosing every catalog failure as lost internet access. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [x] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:44:30 +07:00
  • closed this issue
  • added the
    bug
    label
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#2001
No description provided.