fix(agent): v2.2.62 — 출력 degeneration 방어
- 재시작 감지: auto-continuation이 "이어쓰기" 대신 답변을 처음부터 재생성하면 버림 → 분석이 두 번 나오던 문제 제거 - degeneration 정리 패스(cleanDegeneratedOutput): 문자 벽(같은 기호 8개+), (Note:…) 메타 노트, Candidate records 내부 지시문 누출, (질문 의도:…)/[핵심 확인 질문] 누출, 연속 중복 문단 제거 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
<!-- ASTRA:AUTO-START -->
|
||||
|
||||
## Snapshot
|
||||
- **Workspace**: `connectai` `v2.2.61` _(absolute path varies by environment; resolved from the active VS Code workspace)_
|
||||
- **Workspace**: `connectai` `v2.2.62` _(absolute path varies by environment; resolved from the active VS Code workspace)_
|
||||
- **Description**: The personal intelligence layer for Antigravity and VS Code. A private cognitive partner for deep project context, memory, and proactive strategic decision-making.
|
||||
- **Stack**: TypeScript, Node.js, VS Code Extension, LM Studio SDK, Test runner
|
||||
- **Stats**: 272 source files, ~55,207 lines across 5 top-level modules.
|
||||
- **Stats**: 273 source files, ~55,326 lines across 5 top-level modules.
|
||||
|
||||
## Last Refresh
|
||||
- **Time**: 2026-05-22T06:25:57.973Z
|
||||
- **Time**: 2026-05-22T06:32:01.903Z
|
||||
- **Files newly analysed**: 1
|
||||
- **Files reused from cache**: 271
|
||||
- **Files reused from cache**: 272
|
||||
|
||||
## Directory Map
|
||||
```mermaid
|
||||
@@ -42,7 +42,7 @@ flowchart LR
|
||||
media["media/<br/>6 files"]
|
||||
tests["tests/<br/>35 files"]
|
||||
core_py["core_py/<br/>6 files"]
|
||||
docs["docs/<br/>86 files"]
|
||||
docs["docs/<br/>87 files"]
|
||||
tests --> src
|
||||
```
|
||||
|
||||
@@ -65,7 +65,7 @@ flowchart LR
|
||||
|
||||
## Modules
|
||||
|
||||
### `src/` — 139 files, ~38,185 lines
|
||||
### `src/` — 139 files, ~38,285 lines
|
||||
|
||||
**Sub-directories**
|
||||
- `src/features/` (66) — Astra Office — public API. 다음 세션에서 추가될 OfficeSnapshot presenter / schema 도 같은 entry 로 노출 예정. 현재 노출: full webview panel H
|
||||
@@ -93,7 +93,7 @@ flowchart LR
|
||||
- `src/retrieval/scoring.ts` (536 lines) — Scoring Engine — TF-IDF + Bilingual Tokenizer 단순 includes() 키워드 매칭을 넘어서, TF-IDF 가중치 기반의 문서 스코어링을 제공합니다. 한국어/영어 양국어 토크나이저를 포함합니다.
|
||||
- `src/skills/agentKnowledgeMap.ts` (374 lines)
|
||||
- `src/retrieval/lessonHelpers.ts` (325 lines) — Lesson / Experience Memory — pure helpers (no vscode dependency) "Lesson" = a markdown file in the active brain that captures a past mistake/risk and how to avoid repeating it. Identified by a lessons
|
||||
- `src/agent.ts` (3722 lines)
|
||||
- `src/agent.ts` (3822 lines)
|
||||
- `src/features/providers/types.ts` (63 lines) — Cloud LLM provider routing — model id prefix → provider id 매핑. Prefix 규칙: openrouter:anthropic/claude-3.5-sonnet → { provider: 'openrouter', model: 'anthropic/claude-3.5-sonnet' } anthropic:claude-3-5
|
||||
- `src/lib/engine.ts` (906 lines)
|
||||
- `src/retrieval/brainIndex.ts` (325 lines) — Brain Index — persistent, mtime-keyed tokenized cache of the Second Brain RAG 검색은 매 질의마다 브레인의 모든 .md 파일을 읽고 토크나이즈해서 TF-IDF 점수를 계산했습니다 — 파일 수가 많아지면 그게 병목입니다. 이 모듈은 <brainPath>/.astra/brain-index.json 에
|
||||
@@ -161,10 +161,10 @@ flowchart LR
|
||||
- `core_py/optimizer.py` (55 lines)
|
||||
- `core_py/queue_worker.py` (82 lines)
|
||||
|
||||
### `docs/` — 86 files, ~3,316 lines
|
||||
### `docs/` — 87 files, ~3,335 lines
|
||||
|
||||
**Sub-directories**
|
||||
- `docs/records/` (73) — Bug: /Volumes/Data/project/Antigravity/ConnectAI 프로젝트 코드 리뷰 해줄 수 있어? 개선할 부분이 있는지, 그러고...
|
||||
- `docs/records/` (74) — Bug: /Volumes/Data/project/Antigravity/ConnectAI 프로젝트 코드 리뷰 해줄 수 있어? 개선할 부분이 있는지, 그러고...
|
||||
- `docs/docs/` (5) — Bug: Viewed integrationretrieval.test.ts:1-59 integrationretrieval.test.ts를 통해 ...
|
||||
- `docs/Meeting/` (0)
|
||||
|
||||
@@ -175,7 +175,7 @@ flowchart LR
|
||||
- `docs/EXPERIENCE_MEMORY_PLAN.md` (122 lines) — Experience Memory (Mistake / Lesson Loop) — Implementation Plan
|
||||
- `docs/records/ConnectAI/development/2026-05-02_connectai_project_knowledge_overview.md` (121 lines) — Astra Project Knowledge Overview
|
||||
- `docs/records/ConnectAI/development/2026-05-03_connectai_project_knowledge_overview.md` (121 lines) — Astra Project Knowledge Overview
|
||||
- `docs/records/ConnectAI/timeline.md` (170 lines) — Project Timeline
|
||||
- `docs/records/ConnectAI/timeline.md` (173 lines) — Project Timeline
|
||||
- `docs/Advanced_Features_Implementation_Guide.md` (40 lines) — Advanced Features Implementation Guide
|
||||
- `docs/docs/records/docs/bugs/BUG-0001-viewed-integration-retrieval-test-ts-1-59-integration-retrie.md` (16 lines) — Bug: Viewed integrationretrieval.test.ts:1-59 integrationretrieval.test.ts를 통해 ...
|
||||
- `docs/docs/records/docs/chronicle.config.json` (11 lines) — JSON configuration
|
||||
@@ -336,7 +336,7 @@ Astra는 대표님의 명시적인 승인 하에 로컬 시스템의 강력한
|
||||
**Designed for High-Performance Decision Making.**
|
||||
Copyright (C) **g1nation**. All rights reserved.
|
||||
|
||||
_Last auto-scan: 2026-05-22T06:25:57.973Z · signature `32c602bb`_
|
||||
_Last auto-scan: 2026-05-22T06:32:01.903Z · signature `26f10f3d`_
|
||||
<!-- ASTRA:AUTO-END -->
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": 1,
|
||||
"generatedAt": "2026-05-22T06:25:58.013Z",
|
||||
"generatedAt": "2026-05-22T06:32:01.938Z",
|
||||
"files": {
|
||||
"src/agent.ts": {
|
||||
"mtimeMs": 1779430182152.1404,
|
||||
"size": 217774,
|
||||
"lines": 3722,
|
||||
"mtimeMs": 1779431481976.8423,
|
||||
"size": 220892,
|
||||
"lines": 3822,
|
||||
"role": "",
|
||||
"imports": [
|
||||
"src/utils",
|
||||
@@ -1977,7 +1977,7 @@
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/chronicle.config.json": {
|
||||
"mtimeMs": 1779430497353.3203,
|
||||
"mtimeMs": 1779431169044.1296,
|
||||
"size": 371,
|
||||
"lines": 11,
|
||||
"role": "JSON configuration",
|
||||
@@ -2333,6 +2333,13 @@
|
||||
"role": "Discussion: 최성연 알아? 칼리버스에서 근무한데",
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/discussions/2026-05-22_e-wiki-connectai-git에-커밋하고-푸쉬해줘.md": {
|
||||
"mtimeMs": 1779431169034.8508,
|
||||
"size": 745,
|
||||
"lines": 16,
|
||||
"role": "Discussion: E:\\Wiki\\connectai git에 커밋하고 푸쉬해줘.",
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/planning/2026-05-02_project-chronicle-guard.md": {
|
||||
"mtimeMs": 1778028987339.2349,
|
||||
"size": 3004,
|
||||
@@ -2383,9 +2390,9 @@
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/timeline.md": {
|
||||
"mtimeMs": 1779430149729.8076,
|
||||
"size": 11074,
|
||||
"lines": 170,
|
||||
"mtimeMs": 1779431169036.8623,
|
||||
"size": 11199,
|
||||
"lines": 173,
|
||||
"role": "Project Timeline",
|
||||
"imports": []
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user