mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6626] [MERGED] feat: explain Decision imports and clarify model guides #7259
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#7259
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/6626
Author: @kolacheee
Created: 9/24/2026
Status: ✅ Merged
Merged: 9/24/2026
Merged by: @kolacheee
Base:
staging← Head:codex/6605-decision-import-notices📝 Commits (7)
ceb0b58docs: track Decision import notice work for #6605dcc8afdfeat: explain Decision dependencies when importing agents9fc99cbMerge remote-tracking branch 'origin/staging' into codex/6605-decision-import-noticesc7ad3d1docs: align Decision model guides with runtime behavioradfe857Merge remote-tracking branch 'origin/staging' into codex/6605-decision-import-notices823755bfix: address Decision import review and browser CI racef135400docs: keep sprite CI fix out of release notes📊 Changes
21 files changed (+394 additions, -84 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
docs/agents/custom-agents.md(+4 -2)📝
docs/chats/group-chats.md(+3 -1)📝
docs/connections/decision-models.md(+42 -24)📝
docs/development/optional-agent-packages.md(+2 -2)📝
docs/lorebooks/entries.md(+7 -6)📝
docs/prompts/conditional-prompts.md(+47 -25)📝
docs/prompts/macros.md(+1 -1)📝
docs/prompts/preset-variables.md(+1 -1)📝
docs/prompts/presets.md(+1 -1)➕
e2e/decision-import-notice.e2e.ts(+194 -0)📝
e2e/expression-active-sprites.e2e.ts(+7 -2)📝
packages/client/src/components/agents/AgentCatalogView.tsx(+3 -0)📝
packages/client/src/components/panels/AgentsPanel.tsx(+5 -0)📝
packages/client/src/hooks/use-capability-packages.ts(+14 -8)📝
packages/client/src/lib/decision-import-notice.ts(+35 -4)📝
packages/client/src/localization/locales/en.json(+4 -1)📝
packages/server/src/routes/capability-packages.routes.ts(+5 -3)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+4 -1)📝
packages/shared/src/utils/macro-engine.ts(+3 -2)...and 1 more files
📄 Description
Linked issue
Closes #6605
Why this change
Imported agents can depend on a Decision model without explaining what happens when none is selected. Users then see agents running unexpectedly or prompt branches missing. The Decision/Jev guides also made stronger promises about thresholds, request limits, answer reuse and provider inputs than the implementation supports.
This PR adds the import guidance and corrects the English authoring docs together, before translation or Mari's Decision instructions.
What changed
Whole-profile ZIP restoration remains outside the import-notice scope. The docs describe the existing Decision behavior; this PR does not introduce a global spending cap.
Validation
Human verification checklist (intentionally unchecked):
pnpm checkpasses locallyCONTRIBUTING.mdCompleted automated checks and review:
pnpm check, including localization, formatting, type checks, lint and production build: passed. One existing client hook-dependency warning remains.pnpm regression:prompt: all three regressions passed; capability-package lifecycle regression: passed.CI investigation: Updated with
stagingat94ee7e6f7. On the previous head, mobile WebKit shard 7 timed out because the sprite test skipped the still-mounting touch confirmation dialog; its trace and final screenshot confirm this, and the test now awaits the dialog. Mobile WebKit shard 9 failed the visual-novel Whisper page-error assertion with fetch access-control errors, matching the known flake in #6628. That unrelated flake remains tracked there.Full-suite limitation: the unfiltered 1,602-case browser run was stopped after five failures outside the new import tests (Advanced Memory, activation/connection fixtures, Game setup and catalog permissions): 77 passed, 12 interrupted, five skipped and 1,503 not run. This is not a full-suite pass. The focused checks above pass; GitHub CI remains a merge gate.
Manual verification notes
Browser checks used synthetic fixtures and mocked import/install responses, without paid model requests. Hardware requirements were checked against the catalog; no fresh GPU accuracy/performance benchmark was run.
Docs and release impact
CHANGELOG.mdreviewedAll nine changed guides are listed in the body of the existing translation batch. Translation is deferred. No version bump.
UI evidence
Failed Decision lookup notice: before, after on desktop, after on mobile.
Synthetic fixtures; before uses the staging custom-agent panel, after uses this PR. Additional theme screenshots are on a separate evidence branch, outside the application diff.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.