[PR #63] [MERGED] Publish Engine-versioned Agent catalog lanes #791

Closed
opened 2026-10-20 17:30:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/63
Author: @SpicyMarinara
Created: 7/16/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @SpicyMarinara

Base: main ← Head: feature/versioned-catalog-lanes


📝 Commits (4)

  • c3ec4a9 feat: publish versioned agent catalog lanes
  • 6474cce test: validate package build provenance
  • e48793a ci: enforce catalog compatibility routing
  • 6cf62a1 Merge remote-tracking branch 'origin/main' into feature/versioned-catalog-lanes

📊 Changes

12 files changed (+2140 additions, -36 deletions)

View changed files

📝 .github/agents/chai-workflow.md (+3 -3)
📝 .github/workflows/pull-request-checks.yml (+4 -1)
📝 AGENTS.md (+3 -2)
📝 CONTRIBUTING.md (+10 -2)
📝 README.md (+3 -3)
➕ catalog/v2/catalog.json (+1444 -0)
➕ catalog/v3/catalog.json (+419 -0)
📝 scripts/build-agent-catalog.mjs (+4 -10)
📝 scripts/build-feature-packages.mjs (+3 -3)
➕ scripts/catalog-lanes.mjs (+182 -0)
➕ scripts/test-catalog-lanes.mjs (+38 -0)
📝 scripts/validate-catalog.mjs (+27 -12)

📄 Description

Linked issue

Closes #62

Paired Engine selector: Pasta-Devs/Marinara-Engine#3712 and Pasta-Devs/Marinara-Engine#3714

Why this change

The single catalog URL mixed packages built for different Engine generations. Even correct per-package compatibility ranges could not protect an older Engine when a newer manifest shape made the entire catalog fail before entry filtering.

What changed

  • Generate Engine-major lanes from each emitted manifest's inclusive minimum and exclusive maximum Engine versions.
  • Publish v2 and v3 catalogs while keeping the legacy URL as an exact v2 alias.
  • Route cross-major Conversation games to both lanes and keep Hierarchical Maps only in v3.
  • Validate exact lane membership, reject stale or hand-edited catalogs, and preserve declared minimum versions in ordinary Agent builds.
  • Reject manifest-v2 build provenance when builtAgainst.engineVersion falls outside the advertised compatibility range.
  • Document the compatibility workflow for human and AI contributors.

Package and security impact

  • Affected package IDs: all catalog entries are routed; no package payload or ZIP changed
  • Engine compatibility impact: v2 receives 28 compatible packages; v3 receives the 6 Conversation games plus Hierarchical Maps
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; this changes catalog discovery only

Validation

Automated evidence:

  • node scripts/validate-catalog.mjs — passed; 29-package union, v2=28, v3=7, legacy=v2.

  • Catalog lane boundary assertions — passed for v2-only, v2+v3, v3-only, and empty ranges.

  • Focused ordinary-Agent builder proof — changed Background's declared minimum to 3.1.0 in an isolated clone; the builder preserved it, removed Background from v2, added it to v3, and validation passed with v2=27/v3=8.

  • Focused feature builder proof — rebuilt UNO from existing runtime payloads after the range change; the catalog union and both lanes remained valid.

  • Paired Engine live fetch — Engine parsed the published PR-branch v2 catalog with 28 packages and no Maps, and v3 with 7 expected packages.

  • cmp catalog/catalog.json catalog/v2/catalog.json — passed.

  • git diff --check — passed.

  • node scripts/validate-catalog.mjs passes locally

  • git diff --check passes locally

  • Rebuilt every affected manifest, payload, artifact, and catalog entry

  • Installed or updated the affected package through Marinara Engine

  • Checked supported modes, restart behavior, and uninstall cleanup

  • Read and followed CONTRIBUTING.md

Manual verification notes

  • No package payloads or UI behavior changed. Catalog parsing was exercised through the paired Engine package manager against both published PR-branch lanes.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

No UI changes.

Summary by CodeRabbit

  • New Features

    • Added versioned package catalogs for Engine 2 and Engine 3.
    • Packages are now grouped into compatibility lanes, helping ensure only compatible packages are offered.
    • Catalog entries include clearer package metadata, download details, documentation links, and integrity information.
  • Documentation

    • Clarified catalog locations, Engine compatibility, package trust, artifact verification, installation behavior, and upgrade migration details.
  • Bug Fixes

    • Improved catalog validation to detect incorrect lane placement and incompatible build provenance.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/63 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/16/2026 **Status:** ✅ Merged **Merged:** 7/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `feature/versioned-catalog-lanes` --- ### 📝 Commits (4) - [`c3ec4a9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c3ec4a9c90a7a3ccdb2053f0dfe214d04ec35184) feat: publish versioned agent catalog lanes - [`6474cce`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6474cce51b0b7f57353f100164f6dae81c220f1e) test: validate package build provenance - [`e48793a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e48793adcac0818f626440a1261637d6481c5a7c) ci: enforce catalog compatibility routing - [`6cf62a1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6cf62a1ab8ba6ae44434fa7ff51b62c99af63c71) Merge remote-tracking branch 'origin/main' into feature/versioned-catalog-lanes ### 📊 Changes **12 files changed** (+2140 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `.github/agents/chai-workflow.md` (+3 -3) 📝 `.github/workflows/pull-request-checks.yml` (+4 -1) 📝 `AGENTS.md` (+3 -2) 📝 `CONTRIBUTING.md` (+10 -2) 📝 `README.md` (+3 -3) ➕ `catalog/v2/catalog.json` (+1444 -0) ➕ `catalog/v3/catalog.json` (+419 -0) 📝 `scripts/build-agent-catalog.mjs` (+4 -10) 📝 `scripts/build-feature-packages.mjs` (+3 -3) ➕ `scripts/catalog-lanes.mjs` (+182 -0) ➕ `scripts/test-catalog-lanes.mjs` (+38 -0) 📝 `scripts/validate-catalog.mjs` (+27 -12) </details> ### 📄 Description ## Linked issue Closes #62 Paired Engine selector: Pasta-Devs/Marinara-Engine#3712 and Pasta-Devs/Marinara-Engine#3714 ## Why this change The single catalog URL mixed packages built for different Engine generations. Even correct per-package compatibility ranges could not protect an older Engine when a newer manifest shape made the entire catalog fail before entry filtering. ## What changed - Generate Engine-major lanes from each emitted manifest's inclusive minimum and exclusive maximum Engine versions. - Publish v2 and v3 catalogs while keeping the legacy URL as an exact v2 alias. - Route cross-major Conversation games to both lanes and keep Hierarchical Maps only in v3. - Validate exact lane membership, reject stale or hand-edited catalogs, and preserve declared minimum versions in ordinary Agent builds. - Reject manifest-v2 build provenance when `builtAgainst.engineVersion` falls outside the advertised compatibility range. - Document the compatibility workflow for human and AI contributors. ## Package and security impact - Affected package IDs: all catalog entries are routed; no package payload or ZIP changed - Engine compatibility impact: v2 receives 28 compatible packages; v3 receives the 6 Conversation games plus Hierarchical Maps - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; this changes catalog discovery only ## Validation Automated evidence: - `node scripts/validate-catalog.mjs` — passed; 29-package union, v2=28, v3=7, legacy=v2. - Catalog lane boundary assertions — passed for v2-only, v2+v3, v3-only, and empty ranges. - Focused ordinary-Agent builder proof — changed Background's declared minimum to 3.1.0 in an isolated clone; the builder preserved it, removed Background from v2, added it to v3, and validation passed with v2=27/v3=8. - Focused feature builder proof — rebuilt UNO from existing runtime payloads after the range change; the catalog union and both lanes remained valid. - Paired Engine live fetch — Engine parsed the published PR-branch v2 catalog with 28 packages and no Maps, and v3 with 7 expected packages. - `cmp catalog/catalog.json catalog/v2/catalog.json` — passed. - `git diff --check` — passed. - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - No package payloads or UI behavior changed. Catalog parsing was exercised through the paired Engine package manager against both published PR-branch lanes. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No UI changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added versioned package catalogs for Engine 2 and Engine 3. - Packages are now grouped into compatibility lanes, helping ensure only compatible packages are offered. - Catalog entries include clearer package metadata, download details, documentation links, and integrity information. - **Documentation** - Clarified catalog locations, Engine compatibility, package trust, artifact verification, installation behavior, and upgrade migration details. - **Bug Fixes** - Improved catalog validation to detect incorrect lane placement and incompatible build provenance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:30:59 +07:00
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-Agents#791
No description provided.