1.0 KiB
1.0 KiB
Development Log: Remove Local Template Replies
Purpose
Remove hard-coded local response templates that bypassed the normal model and trace flow.
Problem
Second Brain overview prompts could return a fixed table-style response such as "현재 연결된 제2뇌..." without model analysis. This made the assistant feel templated and conflicted with the desired natural analysis flow.
Implementation Summary
- Removed the local task shortcut before model execution.
- Removed the hard-coded Second Brain overview renderer.
- Removed the hard-coded unproductive-reply correction path.
- Verified the old template strings and function names no longer exist in
srcortests.
Changed Files
src/agent.ts
Verification
rgfor removed template functions and strings returned no matches../node_modules/.bin/tsc --noEmitnpm run compile./node_modules/.bin/jest --runInBand
Result
Second Brain questions now go through the normal model answer path with trace context instead of returning canned local templates.