mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1259] [Feature]: long-term-memory Debug two-pane workspace (PR 2: D09, D10, D12, D15, D16, D34) #640
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#640
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 @Promansis on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1259
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
The Long-Term Memory Debug tab is difficult to scan: its filter mixes phases with status, recall context can silently belong to another chat, and nested expanders separate an operation from its details. On-screen JSON is transformed into friendly text while Copy JSON copies different, raw identifiers. Recall facts lack a useful hierarchy and memory names cannot be followed to the Vault. Copy JSON's accessible name does not include its visible label.
This is the cohesive PR 2 two-pane workspace slice from the Debug-tab UI audit, revision 2: D09, D10, D12, D15, D16, D34. D31 is a separate dependent issue for a memory-filtered Vault deep link. Do not split the navigator and details pane into separate deliveries: either alone leaves a half-working tab.
Proposed package or change
Replace Debug's expander-based presentation with the existing LtmWorkspace, using an event navigator and a details workbench, without an inspector. Reuse the tested full-operation data helpers from #1255. Selecting a row shows that operation's details; raw records are available through Copy JSON, never as on-screen JSON.
Client UI and English UI copy only; approximately 15 locale keys across the PR 2 scope, not a hard quota. No server, shared-schema, Engine, permission, or storage changes.
Acceptance criteria
mari-editor-panel p-3styling so the pane panels are not nested inside another panel. Preserve the tabpanel's accessibility semantics, settings controls, existing LTM width cap and content padding.minmax(17rem, 20rem)navigator, two panes from a 48rem container width, and an Events / Details switcher below that width. The list uses the Vault's scrolling convention. Selecting an operation on a phone opens Details; the switcher allows returning to Events. Nothing selected has an explicit details empty state.<details>/<summary>expander UI and<pre>JSON UI. No on-screen text rendersresponseSnippet. Copy JSON copies the selected operation's raw logged records, with identifiers and any response snippet intact, without the prose humanizer. Its accessible name begins with the visible Copy JSON wording, optionally followed by the operation title (D34).Required regression changes
assertDebugActivity: the browser test currently finds operations through expander rows; it must select a navigator row and assert against the details pane instead. The mobile pass must exercise the Events / Details switcher.Blocked by
The separate D31 issue depends on this workspace and adds a memory filter plus navigation handoff; it is not permission to expand this issue into server correlation work.
Why should this be optional?
This is UI inside the existing downloadable Long-Term Memory package, not new Engine core functionality. It stays with the package and uses the existing host/UI contracts.
Alternatives considered
The maintainer chose the shared two-pane layout over a full-width log with a slide-in drawer or a three-pane workstation. Keeping raw JSON on screen, retaining per-item expanders, or temporarily retaining LastInjectionSummary in Debug is not the agreed direction.
Additional context
Source: maintainer's
scratch/audits/ltm-debug-tab-ui-audit.md, revision 2, sections 1a and 4. The audit baseline was stagingf140047, LTM 1.4.6. At issue preparation, local HEAD and upstream staging werefe7889dc6640c36f77709ecfc89fee80671fd819, LTM 1.4.11; historical audit line references are not a fresh runtime reproduction. No implementation, build or browser validation was performed while creating this issue.Non-goals: PR 3's new Result / Not kept / Not added / Not saved breakdowns and recovery callouts; PR 4's toolbar, save-flow and announcement polish or health line; a Korean UI catalog; Engine tokens; server changes; compact Chat Settings changes. Preserve existing information and guarantees while moving it into the new structure.
Implementation/release proof required: executable client code is security-sensitive; include explicit positive/negative validation notes and distinguish automated proof from unverified manual host behavior. Bump from the then-current staging package version, add a CHANGELOG entry, and rebuild Long-Term Memory with
node scripts/build-feature-packages.mjs long-term-memory. Do not hand-edit generated bundles, archives, catalog entries or hashes. Run the LTM browser and feedback-clarity regressions, package typechecking (npm run typecheck:packages),npm run check,node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-release-notes.regression.mjs, andgit diff --check, plus applicable repository-required validation. For every LTM build/test use the issue-linked Agents workspace as workdir and set both explicit roots:MARINARA_AGENTS_ROOTto that workspace andMARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine; do not mutate the shared Engine test host. Record compatible Engine install/update and relevant lifecycle proof or gaps; leave verification boxes unchecked until actually verified.Template check