[GH-ISSUE #1474] [Issue]: Professor Mari cites stale AppShell path #731

Closed
opened 2026-10-20 17:32:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1474

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Professor Mari can answer basic codebase questions with stale repo structure instead of grounding the answer in the current source tree. During re-baseline, Mari said AppShell lives at packages/client/src/components/layout/AppShell.tsx, but that path does not exist on current refactor.

Expected behavior

Professor Mari should inspect the current repository and cite the current AppShell path when asked where the app shell is defined.

Current verified path:

src/app/shell/AppShell.tsx

Actual behavior

Professor Mari generated an answer that mixed some current architecture language with a stale/nonexistent file path:

packages/client/src/components/layout/AppShell.tsx

The path does not exist in the current worktree. Local verification found AppShell exported from src/app/shell/AppShell.tsx.

Steps to reproduce

  1. Run the app on upstream/refactor commit d683f6b9 with pnpm tauri dev.
  2. Add/select a working generation connection.
  3. Open Professor Mari.
  4. Ask: Where is the app shell defined?
  5. Ask follow-up: What does AppShell own?
  6. Observe whether Mari cites current repo paths or stale package-era paths.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: upstream/refactor commit d683f6b9
  • Run mode: Tauri desktop via pnpm tauri dev
  • OS + version: Windows 11 Home 10.0.26200, 64-bit
  • Node + pnpm versions: Node v24.13.0, pnpm 10.33.2
  • Rust version, if relevant: Not specified
  • Remote Runtime URL configured? Not specified
  • Provider, model, or integration, if relevant: NanoGPT connection using google/gemma-4-31b-it

Logs, screenshots, or video

Reporter-provided answer excerpt:

The app shell is primarily defined and managed within the src/app directory.

Specifically, if you're looking for the actual layout implementation, you'll find the main component here:
packages/client/src/components/layout/AppShell.tsx

Local verification:

packages/client/src/components/layout/AppShell.tsx -> does not exist
src/app/shell/AppShell.tsx -> exists
src/app/shell/AppShell.tsx:189 -> export function AppShell()
src/app/App.tsx imports AppShell from ./shell/AppShell

Regression notes

Not specified. This was found during the post-fix re-baseline after #1468 fixed Professor Mari context bloat.

Additional context

The original Professor Mari context-bloat issue appears improved for this normal request path: the answer generated successfully and did not show token-limit errors, raw base64, Graphify/cache dumps, or huge irrelevant context. This is a separate grounding/stale-source issue.

Template check

Please uncheck 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 @cha1latte on GitHub (May 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1474 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Professor Mari can answer basic codebase questions with stale repo structure instead of grounding the answer in the current source tree. During re-baseline, Mari said AppShell lives at `packages/client/src/components/layout/AppShell.tsx`, but that path does not exist on current `refactor`. ## Expected behavior Professor Mari should inspect the current repository and cite the current AppShell path when asked where the app shell is defined. Current verified path: ```text src/app/shell/AppShell.tsx ``` ## Actual behavior Professor Mari generated an answer that mixed some current architecture language with a stale/nonexistent file path: ```text packages/client/src/components/layout/AppShell.tsx ``` The path does not exist in the current worktree. Local verification found `AppShell` exported from `src/app/shell/AppShell.tsx`. ## Steps to reproduce 1. Run the app on `upstream/refactor` commit `d683f6b9` with `pnpm tauri dev`. 2. Add/select a working generation connection. 3. Open Professor Mari. 4. Ask: `Where is the app shell defined?` 5. Ask follow-up: `What does AppShell own?` 6. Observe whether Mari cites current repo paths or stale package-era paths. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [x] Professor Mari or shell tools - [x] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `upstream/refactor` commit `d683f6b9` - Run mode: Tauri desktop via `pnpm tauri dev` - OS + version: Windows 11 Home 10.0.26200, 64-bit - Node + pnpm versions: Node v24.13.0, pnpm 10.33.2 - Rust version, if relevant: Not specified - Remote Runtime URL configured? Not specified - Provider, model, or integration, if relevant: NanoGPT connection using `google/gemma-4-31b-it` ## Logs, screenshots, or video Reporter-provided answer excerpt: ```text The app shell is primarily defined and managed within the src/app directory. Specifically, if you're looking for the actual layout implementation, you'll find the main component here: packages/client/src/components/layout/AppShell.tsx ``` Local verification: ```text packages/client/src/components/layout/AppShell.tsx -> does not exist src/app/shell/AppShell.tsx -> exists src/app/shell/AppShell.tsx:189 -> export function AppShell() src/app/App.tsx imports AppShell from ./shell/AppShell ``` ## Regression notes Not specified. This was found during the post-fix re-baseline after #1468 fixed Professor Mari context bloat. ## Additional context The original Professor Mari context-bloat issue appears improved for this normal request path: the answer generated successfully and did not show token-limit errors, raw base64, Graphify/cache dumps, or huge irrelevant context. This is a separate grounding/stale-source issue. ## Template check Please uncheck 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.
bsakaguchi 2026-10-20 17:32:28 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (May 28, 2026):

Addressed on refactor in commit 390990ec. Professor Mari now receives the current AGENTS.md map as grounding for repository questions and is told to verify exact paths with tools before citing them, preventing stale AppShell paths.

<!-- gh-comment-id:4568816848 --> @SpicyMarinara commented on GitHub (May 28, 2026): Addressed on refactor in commit 390990ec. Professor Mari now receives the current AGENTS.md map as grounding for repository questions and is told to verify exact paths with tools before citing them, preventing stale AppShell paths.
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#731
No description provided.