Release v2.1.2: Chronicle Repair & Context Stability improvements

This commit is contained in:
g1nation
2026-05-14 02:37:49 +09:00
parent a374aa703a
commit f521c3f557
13 changed files with 142 additions and 54 deletions
+13 -13
View File
@@ -3,15 +3,15 @@
<!-- ASTRA:AUTO-START -->
## Snapshot
- **Workspace**: `ConnectAI` `v2.1.0` _(absolute path varies by environment; resolved from the active VS Code workspace)_
- **Workspace**: `ConnectAI` `v2.1.2` _(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**: 202 source files, ~35,762 lines across 5 top-level modules.
- **Stats**: 203 source files, ~35,950 lines across 5 top-level modules.
## Last Refresh
- **Time**: 2026-05-13T16:54:00.117Z
- **Files newly analysed**: 5
- **Files reused from cache**: 197
- **Time**: 2026-05-13T17:37:28.091Z
- **Files newly analysed**: 3
- **Files reused from cache**: 200
## Directory Map
```mermaid
@@ -41,7 +41,7 @@ flowchart LR
media["media/<br/>6 files"]
tests["tests/<br/>27 files"]
core_py["core_py/<br/>6 files"]
docs["docs/<br/>63 files"]
docs["docs/<br/>64 files"]
tests --> src
```
@@ -64,7 +64,7 @@ flowchart LR
## Modules
### `src/` — 100 files, ~23,711 lines
### `src/` — 100 files, ~23,874 lines
**Sub-directories**
- `src/features/` (28) — The 9-agent roster for 1인 기업 모드. Each entry is a static description — persona, role, specialty — used to build the speci
@@ -85,7 +85,7 @@ flowchart LR
- `src/config.ts` (216 lines)
- `src/features/company/types.ts` (150 lines) — Type definitions for the 1인 기업 (One-Person Company) mode. The mode turns the user into a virtual CEO that dispatches work to a roster of specialist agents. Each turn produces a session directory conta
- `src/lib/paths.ts` (151 lines)
- `src/sidebarProvider.ts` (2934 lines)
- `src/sidebarProvider.ts` (3026 lines)
- `src/features/company/agents.ts` (136 lines) — The 9-agent roster for 1인 기업 모드. Each entry is a static description — persona, role, specialty — used to build the specialist's system prompt at dispatch time. The set was adopted from Connectorigin's
- `src/memory/types.ts` (126 lines) — Memory Type Definitions (메모리 타입 정의) Astra의 5-Layer Cognitive Memory System의 모든 타입을 정의합니다. ① Short-Term ② Long-Term ③ Project ④ Procedural ⑤ Episodic
- `src/retrieval/scoring.ts` (518 lines) — Scoring Engine — TF-IDF + Bilingual Tokenizer 단순 includes() 키워드 매칭을 넘어서, TF-IDF 가중치 기반의 문서 스코어링을 제공합니다. 한국어/영어 양국어 토크나이저를 포함합니다.
@@ -100,7 +100,7 @@ flowchart LR
- `src/features/projectArchitecture/scanner.ts` (644 lines) — Deep static analyser for the Project Architecture Context generator. Walks the project tree (skipping the usual nodemodules / out / dist noise), pulls the role of each interesting file from its leadin
- `src/lib/contextManager.ts` (275 lines) — Context Manager (컨텍스트 한계 관리) "context length = 132k" 는 "답변을 132k 토큰까지 생성해도 된다" 가 아닙니다. 시스템 프롬프트 + 대화 기록 + 입력 문서 + 생성될 답변 + 여유분 ≤ context length 이 모듈은 요청을 보내기 전에 입력 토큰을 추정하고, - 동적으로 출력 상한(maxTokens)을 계
- `src/core/astraPath.ts` (50 lines) — Astra Path Resolver (경로 해결기) Astra의 모든 데이터 파일(.astra 디렉토리)의 경로를 중앙에서 관리합니다. 확장 프로그램의 설치 경로(extensionUri) 기반으로 .astra 디렉토리를 해결하여, 사용자 프로젝트 루트가 아닌 ConnectAI 패키지 내부에 데이터를 저장합니다. 이 모듈은 AAL(Astra Autonomou
- `src/extension.ts` (945 lines)
- `src/extension.ts` (966 lines)
- `src/features/projectChronicle/types.ts` (118 lines)
- `src/lmstudio/client.ts` (147 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 에
@@ -160,10 +160,10 @@ flowchart LR
- `core_py/optimizer.py` (55 lines)
- `core_py/queue_worker.py` (82 lines)
### `docs/` — 63 files, ~2,605 lines
### `docs/` — 64 files, ~2,630 lines
**Sub-directories**
- `docs/records/` (51) — Astra Project Chronicle Records
- `docs/records/` (52) — Astra Project Chronicle Records
- `docs/docs/` (5) — docs Chronicle Records
**Key files**
@@ -172,7 +172,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` (125 lines) — Project Timeline
- `docs/records/ConnectAI/timeline.md` (128 lines) — Project Timeline
- `docs/Advanced_Features_Implementation_Guide.md` (40 lines) — Advanced Features Implementation Guide
- `docs/PROJECT_CHRONICLE_GUARD_ROADMAP.md` (43 lines) — Project Chronicle Guard: Search Engine Roadmap
- `docs/UX_UI_Consistency_Guidelines.md` (44 lines) — UX/UI Consistency Guidelines
@@ -307,7 +307,7 @@ Astra는 대표님의 명시적인 승인 하에 로컬 시스템의 강력한
**Designed for High-Performance Decision Making.**
Copyright (C) **g1nation**. All rights reserved.
_Last auto-scan: 2026-05-13T16:54:00.117Z · signature `2c245387`_
_Last auto-scan: 2026-05-13T17:37:28.091Z · signature `b3e670ea`_
<!-- ASTRA:AUTO-END -->
## Purpose
+21 -14
View File
@@ -1,6 +1,6 @@
{
"version": 1,
"generatedAt": "2026-05-13T16:54:00.128Z",
"generatedAt": "2026-05-13T17:37:28.099Z",
"files": {
"src/agent.ts": {
"mtimeMs": 1778683690000,
@@ -249,9 +249,9 @@
"imports": []
},
"src/extension.ts": {
"mtimeMs": 1778687229000,
"size": 49361,
"lines": 945,
"mtimeMs": 1778693606000,
"size": 50539,
"lines": 966,
"role": "",
"imports": [
"src/utils",
@@ -462,9 +462,9 @@
"imports": []
},
"src/features/projectArchitecture/index.ts": {
"mtimeMs": 1778684164000,
"size": 23147,
"lines": 523,
"mtimeMs": 1778691699000,
"size": 25373,
"lines": 573,
"role": "Project Architecture Context (Feature 2) Builds a markdown document that captures the durable facts about a project — its purpose, modules, key files, constraints, decisions — so Astra can attach it t",
"imports": [
"src/utils",
@@ -923,9 +923,9 @@
]
},
"src/sidebarProvider.ts": {
"mtimeMs": 1778690954000,
"size": 127595,
"lines": 2934,
"mtimeMs": 1778693581000,
"size": 132228,
"lines": 3026,
"role": "",
"imports": [
"src/utils",
@@ -1508,7 +1508,7 @@
"imports": []
},
"docs/records/ConnectAI/chronicle.config.json": {
"mtimeMs": 1778690673000,
"mtimeMs": 1778693841000,
"size": 416,
"lines": 11,
"role": "JSON configuration",
@@ -1710,6 +1710,13 @@
"role": "Development Log: /Volumes/Data/project/Antigravity/ConnectAI 분석하고 부족한 부분이나 개선이 필요한 부분을 알려주면 좋겠어.",
"imports": []
},
"docs/records/ConnectAI/development/2026-05-13_volumes-data-project-antigravity-connectai-이-프로젝트-작업할거야_implementation.md": {
"mtimeMs": 1778691256000,
"size": 990,
"lines": 22,
"role": "Development Log: /Volumes/Data/project/Antigravity/ConnectAI 이 프로젝트 작업할거야",
"imports": []
},
"docs/records/ConnectAI/development/2026-05-13_너는-분석-요청하거나-내가-작업-요청을-할때-connectai-architecture-md-문서를-참고하고-_implementation.md": {
"mtimeMs": 1778678912000,
"size": 1738,
@@ -1774,9 +1781,9 @@
"imports": []
},
"docs/records/ConnectAI/timeline.md": {
"mtimeMs": 1778690673000,
"size": 8318,
"lines": 125,
"mtimeMs": 1778691256000,
"size": 8485,
"lines": 128,
"role": "Project Timeline",
"imports": []
},