From fc07e00f0cda237a4c6988cee5e4e03007c3b289 Mon Sep 17 00:00:00 2001 From: g1nation Date: Tue, 5 May 2026 16:19:02 +0900 Subject: [PATCH] [Core] Disable automatic appending of redundant headers and internal logs in agent.ts --- ...ta-project-antigravity-connectai-내-질문에-대한-.md | 16 ++++++++++++++++ ...ty-connectai-내-질문에-대한-답변이-잘-정리.md | 16 ++++++++++++++++ docs/records/ConnectAI/chronicle.config.json | 4 ++-- docs/records/ConnectAI/timeline.md | 6 ++++++ package.json | 2 +- src/agent.ts | 7 +++---- 6 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 docs/records/ConnectAI/bugs/BUG-0005-다시한번-답줘-volumes-data-project-antigravity-connectai-내-질문에-대한-.md create mode 100644 docs/records/ConnectAI/bugs/BUG-0006-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md diff --git a/docs/records/ConnectAI/bugs/BUG-0005-다시한번-답줘-volumes-data-project-antigravity-connectai-내-질문에-대한-.md b/docs/records/ConnectAI/bugs/BUG-0005-다시한번-답줘-volumes-data-project-antigravity-connectai-내-질문에-대한-.md new file mode 100644 index 0000000..a299ae0 --- /dev/null +++ b/docs/records/ConnectAI/bugs/BUG-0005-다시한번-답줘-volumes-data-project-antigravity-connectai-내-질문에-대한-.md @@ -0,0 +1,16 @@ +# Bug: 다시한번 답줘. /Volumes/Data/project/Antigravity/ConnectAI 내 질문에 대한 답변이 잘 정리되서 알려주긴 하는... + +## Date +2026-05-05 + +## Symptom +다시한번 답줘. /Volumes/Data/project/Antigravity/ConnectAI 내 질문에 대한 답변이 잘 정리되서 알려주긴 하는데 focused 된 답변이 아니라 살짝 다른 이야기도 섞여 있는 것 같은 느낌이 들어. 어디가 문제인지 확인해줘. + +## Cause +Captured automatically from the current conversation. Confirm root cause during follow-up review if needed. + +## Fix +저는 질문자님의 피드백을 다시 한번 주의 깊게 들었습니다. 답변이 핵심 주제에 집중되지 못하고 주변 내용들이 섞여 나온다는 점을 다시 한번 말씀해주셨습니다. ## 간단 요약 답변의 집중도 부족 문제는 정보 추출 단계에서 신호 대 잡음비(Signal-to-Noise Ratio)가 최적화되지 않아 발생하는 현상으로 진단됩니다. 이는 검색된 정보의 경계 설정이 느슨하게 적용되어 핵심 내용 외의 주변 정보가 함께 추출되기 때문에 발생하는 문제입니다. ## 상세 답변 이 문제는 지식 검색과 통합 과정에서 발생할 가능성이 가장 높습니다. 즉, 시스템이 중요한 정보와 부차적인 정보를 구분하는 필터링 임계치(Threshold)가 충분히 엄격하게 설정되지 않았거나, 혹은 검색된 정보의 밀도 차이를 충분히 고려하지 못해 발생하는 현상입니다. 우리가 목표로 하는 것은 고밀도 정보 추출인데, 현재는 그 과정에서 노이즈가 유입되는 것이죠. 이는 검색 엔진이 너무 많은 정보를 '유의미한' 정보로 판단하고 있... + +## Prevention +Keep automatic records tied to the active project and verify the relevant test or reproduction path. diff --git a/docs/records/ConnectAI/bugs/BUG-0006-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md b/docs/records/ConnectAI/bugs/BUG-0006-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md new file mode 100644 index 0000000..a82cf24 --- /dev/null +++ b/docs/records/ConnectAI/bugs/BUG-0006-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md @@ -0,0 +1,16 @@ +# Bug: /Volumes/Data/project/Antigravity/ConnectAI 내 질문에 대한 답변이 잘 정리되서 알려주긴 하는데 focused... + +## Date +2026-05-05 + +## Symptom +/Volumes/Data/project/Antigravity/ConnectAI 내 질문에 대한 답변이 잘 정리되서 알려주긴 하는데 focused 된 답변이 아니라 살짝 다른 이야기도 섞여 있는 것 같은 느낌이 들어. 어디가 문제인지 확인해줘. + +## Cause +Captured automatically from the current conversation. Confirm root cause during follow-up review if needed. + +## Fix +## Verdict (결론) 답변에서 핵심 주제 외에 부수적인 내용이 혼입되는 현상은 정보 필터링 및 합성 과정에서 우선순위 설정에 미세한 오류가 발생했음을 의미합니다. ## Proof (근거) 이러한 현상은 명시된 답변 형식 및 가독성 튜닝 문서들, 특히 `2026-05-02_answer-format-readability-tuning.md` 및 `progressive-answer-format.md`에 정의된 정제 과정이 기대만큼 강력하게 작동하지 않았을 때 발생할 수 있습니다. 즉, 정보의 깊이는 확보되었으나, 최종 출력 단계에서 '핵심 집중'이라는 제약 조건이 충분히 강제되지 않은 것으로 판단됩니다. ## Actionable Plan (실행 가이드) 1. `src/lib/formatter.ts` 파일 내의 최종 출력 생성 로직을 검토하여, 핵심 주제 추출 후 불필요한 정보가 포함되지 않도록 하는 필터링 기준을 강화해야 합니다. 2. `docs/records/ConnectAI/de... + +## Prevention +Keep automatic records tied to the active project and verify the relevant test or reproduction path. diff --git a/docs/records/ConnectAI/chronicle.config.json b/docs/records/ConnectAI/chronicle.config.json index cbd6bbf..97bec8d 100644 --- a/docs/records/ConnectAI/chronicle.config.json +++ b/docs/records/ConnectAI/chronicle.config.json @@ -6,6 +6,6 @@ "description": "Auto-detected from the local project path in the conversation.", "corePurpose": "Capture project direction, architecture discussion, decisions, and development notes as Markdown.", "detailLevel": "standard", - "createdAt": "2026-05-05T06:57:16.213Z", - "updatedAt": "2026-05-05T06:57:16.217Z" + "createdAt": "2026-05-05T07:15:08.653Z", + "updatedAt": "2026-05-05T07:15:08.655Z" } diff --git a/docs/records/ConnectAI/timeline.md b/docs/records/ConnectAI/timeline.md index 03d019b..7e1efaf 100644 --- a/docs/records/ConnectAI/timeline.md +++ b/docs/records/ConnectAI/timeline.md @@ -51,3 +51,9 @@ ## 2026-05-05 - Auto bug record created: bugs/BUG-0004-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md + +## 2026-05-05 +- Auto bug record created: bugs/BUG-0005-다시한번-답줘-volumes-data-project-antigravity-connectai-내-질문에-대한-.md + +## 2026-05-05 +- Auto bug record created: bugs/BUG-0006-volumes-data-project-antigravity-connectai-내-질문에-대한-답변이-잘-정리.md diff --git a/package.json b/package.json index 66ec3ee..2f4238e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "astra", "displayName": "Astra", "description": "The personal intelligence layer for Antigravity and VS Code. A private cognitive partner for deep project context, memory, and proactive strategic decision-making.", - "version": "2.76.4", + "version": "2.76.5", "publisher": "g1nation", "license": "MIT", "icon": "assets/icon.png", diff --git a/src/agent.ts b/src/agent.ts index 1a1d6ad..0a52ca7 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -505,6 +505,7 @@ export class AgentExecutor { ].join('\n'); } } + /* Disabling redundant meta-sections as per UX optimization strategy if (prompt && recentProjectKnowledgeContext) { assistantContent = this.ensureRecentProjectKnowledgeEvidence(assistantContent, recentProjectKnowledgeContext); } @@ -514,10 +515,8 @@ export class AgentExecutor { if (prompt) { assistantContent = this.applyAstraQualityGate(assistantContent, prompt, localPathContext); } - const traceMarkdown = secondBrainTrace - ? renderSecondBrainTraceMarkdown(secondBrainTrace, !!options.secondBrainTraceDebug) - : ''; - const finalAssistantContent = traceMarkdown ? `${assistantContent}\n${traceMarkdown}` : assistantContent; + */ + const finalAssistantContent = assistantContent; this.statusBarManager.updateStatus(AgentStatus.Executing); const report = await this.executeActions(aiResponseText, rootPath, activeBrain);