chore: v2.2.73 — ASTRA-DEBUG 로그 레벨 + webview CSP font-src 보강

- ASTRA-DEBUG 정상 흐름 로그를 console.error → logInfo/console.log 로 강등
  (chatHandlers, extension, slashRouter): DevTools에 ERR로 찍히던 오탐 제거
- sidebar webview에 명시적 CSP meta 추가 + font-src에 data: 허용
  (sidebar.html, sidebarProvider._getHtml): VS Code outer iframe이 codicon.ttf를
  data:font/ttf 로 inject하면서 기본 CSP에 막혀 매 prompt 마다 violation
  경고가 찍히던 문제 해소
- 누적된 LM Studio / agent / 컨텍스트 매니저 / 테스트 갱신 동반

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
g1nation
2026-05-23 15:52:19 +09:00
parent 36db170844
commit 0712014fcb
43 changed files with 2417 additions and 977 deletions
+6 -3
View File
@@ -22,8 +22,11 @@ describe('base system prompt', () => {
const prompt = getSystemPrompt();
expect(prompt).toContain('[STRICT GLOBAL RULES]');
expect(prompt).toContain('[OUTPUT FORMAT]');
expect(prompt).toContain('[FOLLOW-UP QUESTION RULES]');
expect(prompt).toContain('Ask ONE focused question at the very end');
// v2.2.68: [OUTPUT FORMAT] header now annotated with "— 7 hard rules";
// [FOLLOW-UP QUESTION RULES] is absorbed into R6 of the 7-rule block.
expect(prompt).toContain('[OUTPUT FORMAT — 7 hard rules]');
expect(prompt).toContain('R1. CONCLUSION FIRST');
expect(prompt).toContain('R6. ASK ONE QUESTION ONLY WHEN');
expect(prompt).toContain('R7. GUESS-AND-ACT WITH STATED ASSUMPTION');
});
});