mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3644] [MERGED] Add capability runtime readiness diagnostics #6030
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6030
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-Engine/pull/3644
Author: @thetopham
Created: 7/15/2026
Status: ✅ Merged
Merged: 7/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/maps-readiness-3642📝 Commits (4)
51a7ef8Add capability runtime readiness diagnosticse2152a0Share file table identity with capability bundles6e7bd64Harden capability runtime cleanup1204209Merge remote-tracking branch 'origin/staging' into agent/maps-readiness-3642📊 Changes
7 files changed (+221 additions, -28 deletions)
View changed files
📝
packages/client/src/hooks/use-capability-packages.ts(+2 -1)📝
packages/server/src/app.ts(+18 -1)📝
packages/server/src/db/file-schema.ts(+4 -1)📝
packages/server/src/services/capability-packages/capability-module-runtime.service.ts(+67 -17)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+45 -2)📝
packages/shared/src/schemas/capability-package.schema.ts(+9 -0)📝
scripts/regressions/capability-package-lifecycle.regression.ts(+76 -6)📄 Description
Linked issue
Closes #3642
Paired downloadable package: Pasta-Devs/Marinara-Agents#15
Why this change
Hierarchical Maps 1.0.0 imports successfully and is recorded as active, but its first spatial snapshot read fails because the downloadable bundle contains a table definition from the former storage implementation. Package activation currently proves registration rather than functional readiness, so broken server-backed packages can reach agent registries and client contribution loading.
This PR provides the thin, package-generic Engine boundary for recovery. The map implementation and immutable 1.0.1 artifact remain in Marinara-Agents.
What changed
Validation
Automated evidence on Node 24.18.0:
pnpm install --frozen-lockfile— lockfile current; dependencies already installed.pnpm regression:issues— passed, including capability lifecycle/readiness and file-table identity regressions.pnpm regression:prompt— passed.pnpm check— passed (Impeccable context check, TypeScript, ESLint, server build, client build, and PWA output).hierarchical-maps-1.0.1.zipproof — checksum verified; isolated Engine boot reachedready; GET/PUT/GET map routes passed; app restart preserved and re-read the map and bootstrap snapshot.marinara.serviceactive;/api/healthreports the installed 1.0.0 package as degraded/error instead of active; rebuilt hashed JS bundle returned HTTP 200.Known extraction debt:
pnpm regression:spatialon currentstagingexits before assertions because its legacy scripts still import map source files already removed from the Engine. The exact downloadable artifact proof above exercises the recovered package boundary instead.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
readyonly after its storage self-check passes.Docs and release impact
UI evidence (if applicable)
No intentional visual UI changes. This slice adds runtime gating and health diagnostics; browser recovery copy remains separate follow-up work if maintainers want it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.