[GH-ISSUE #7367] Extract Professor Mari workspace tool definitions into a tool registry #4104

Closed
opened 2026-10-21 06:10:47 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ATreemanDork on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7367

Originally assigned to: @SpicyMarinara on GitHub.

Professor Mari's 15 workspace tool definitions (including the 78-action app_data table) are inlined in workspace-agent.service.ts (~4,600 lines) alongside ad-hoc regex classifiers. This extracts them into a tool-registry.ts single source of truth with per-tool/per-action behavioral metadata (kind, selfVerifying, verifyWith, idempotent, prerequisites), and rewrites isReadOnlyWorkspaceCommand / isMutatingWorkspaceCommand to consult it.

Behavior-preserving refactor — parity-verified (262 checks, zero divergence).

Part 1 of a 3-PR tool/skill series:

  1. Tool registry (this issue)
  2. Built-in skill library + skill tool + pacing + client badge
  3. Skill editor UX polish
Originally created by @ATreemanDork on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7367 Originally assigned to: @SpicyMarinara on GitHub. Professor Mari's 15 workspace tool definitions (including the 78-action `app_data` table) are inlined in `workspace-agent.service.ts` (~4,600 lines) alongside ad-hoc regex classifiers. This extracts them into a `tool-registry.ts` single source of truth with per-tool/per-action behavioral metadata (kind, selfVerifying, verifyWith, idempotent, prerequisites), and rewrites `isReadOnlyWorkspaceCommand` / `isMutatingWorkspaceCommand` to consult it. Behavior-preserving refactor — parity-verified (262 checks, zero divergence). Part 1 of a 3-PR tool/skill series: 1. Tool registry (this issue) 2. Built-in skill library + `skill` tool + pacing + client badge 3. Skill editor UX polish
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Closing along with #7366. The refactor fixes no user-facing problem, and it now conflicts with staging. If a concrete need comes up, open an issue for it first.

<!-- gh-comment-id:6107210318 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Closing along with #7366. The refactor fixes no user-facing problem, and it now conflicts with staging. If a concrete need comes up, open an issue for it first.
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#4104
No description provided.