feat(architecture): add multi-subproject awareness and automatic context resync
- Implemented subproject root resolution based on active editor hint - Added debounced event listener for active editor changes to trigger chip status updates - Updated sidebar provider to re-resolve active subproject root on every chip build - This ensures correct architecture context is injected when working in a monorepo or multi-root-style parent folder
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
<!-- ASTRA:AUTO-START -->
|
||||
|
||||
## Snapshot
|
||||
- **Workspace**: `ConnectAI` `v2.0.9` _(absolute path varies by environment; resolved from the active VS Code workspace)_
|
||||
- **Workspace**: `ConnectAI` `v2.1.0` _(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**: 201 source files, ~35,737 lines across 5 top-level modules.
|
||||
- **Stats**: 202 source files, ~35,762 lines across 5 top-level modules.
|
||||
|
||||
## Last Refresh
|
||||
- **Time**: 2026-05-13T16:44:14.023Z
|
||||
- **Files newly analysed**: 8
|
||||
- **Files reused from cache**: 193
|
||||
- **Time**: 2026-05-13T16:54:00.117Z
|
||||
- **Files newly analysed**: 5
|
||||
- **Files reused from cache**: 197
|
||||
|
||||
## 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/>62 files"]
|
||||
docs["docs/<br/>63 files"]
|
||||
tests --> src
|
||||
```
|
||||
|
||||
@@ -117,14 +117,14 @@ flowchart LR
|
||||
- `media/settings-panel.html` (164 lines) — Astra Settings
|
||||
- `media/settings-panel.js` (270 lines)
|
||||
|
||||
### `tests/` — 27 files, ~4,932 lines
|
||||
### `tests/` — 27 files, ~4,938 lines
|
||||
*Depends on*: `src/`
|
||||
|
||||
**Sub-directories**
|
||||
- `tests/mocks/` (1) — 1 files (.js)
|
||||
|
||||
**Key files**
|
||||
- `tests/agentEngine.test.ts` (776 lines) — AgentEngine Integration Tests & Performance Benchmarks 검증 대상: 1. ErrorClassifier — 오류 유형(Transient/Permanent/Abort) 자동 분류 2. ErrorRecoveryMatrix — 각 규칙이 의도한 대응 전략으로 매핑되는지 검증 3. resilientExecute — 지수 백
|
||||
- `tests/agentEngine.test.ts` (782 lines) — AgentEngine Integration Tests & Performance Benchmarks 검증 대상: 1. ErrorClassifier — 오류 유형(Transient/Permanent/Abort) 자동 분류 2. ErrorRecoveryMatrix — 각 규칙이 의도한 대응 전략으로 매핑되는지 검증 3. resilientExecute — 지수 백
|
||||
- `tests/lmStudioLifecycle.test.ts` (318 lines) — Unit tests for ModelLifecycleManager. Strategy: inject mock ILMStudioClient and a simple in-memory IActivityTracker. No real LM Studio or SDK is touched — the manager file does not import the SDK dire
|
||||
- `tests/telegramBot.test.ts` (363 lines) — Unit tests for TelegramBot + truncateForTelegram. Strategy: - TelegramBot is driven by an injected ITelegramClient stub. We script getUpdates to return queued batches and assert that: - the offset cur
|
||||
- `tests/lmStudioStreamer.test.ts` (220 lines) — Unit tests for LMStudioStreamer. Strategy: inject a fake ILMStudioClient that returns a fake model handle whose respond() yields a controllable async iterable. No real SDK or WebSocket touched.
|
||||
@@ -160,10 +160,10 @@ flowchart LR
|
||||
- `core_py/optimizer.py` (55 lines)
|
||||
- `core_py/queue_worker.py` (82 lines)
|
||||
|
||||
### `docs/` — 62 files, ~2,586 lines
|
||||
### `docs/` — 63 files, ~2,605 lines
|
||||
|
||||
**Sub-directories**
|
||||
- `docs/records/` (50) — Astra Project Chronicle Records
|
||||
- `docs/records/` (51) — 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` (122 lines) — Project Timeline
|
||||
- `docs/records/ConnectAI/timeline.md` (125 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:44:14.023Z · signature `c63276ae`_
|
||||
_Last auto-scan: 2026-05-13T16:54:00.117Z · signature `2c245387`_
|
||||
<!-- ASTRA:AUTO-END -->
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 1,
|
||||
"generatedAt": "2026-05-13T16:44:14.033Z",
|
||||
"generatedAt": "2026-05-13T16:54:00.128Z",
|
||||
"files": {
|
||||
"src/agent.ts": {
|
||||
"mtimeMs": 1778683690000,
|
||||
@@ -923,8 +923,8 @@
|
||||
]
|
||||
},
|
||||
"src/sidebarProvider.ts": {
|
||||
"mtimeMs": 1778686896000,
|
||||
"size": 127185,
|
||||
"mtimeMs": 1778690954000,
|
||||
"size": 127595,
|
||||
"lines": 2934,
|
||||
"role": "",
|
||||
"imports": [
|
||||
@@ -1056,9 +1056,9 @@
|
||||
"imports": []
|
||||
},
|
||||
"tests/agentEngine.test.ts": {
|
||||
"mtimeMs": 1778690526000,
|
||||
"size": 33414,
|
||||
"lines": 776,
|
||||
"mtimeMs": 1778690770000,
|
||||
"size": 33921,
|
||||
"lines": 782,
|
||||
"role": "AgentEngine Integration Tests & Performance Benchmarks 검증 대상: 1. ErrorClassifier — 오류 유형(Transient/Permanent/Abort) 자동 분류 2. ErrorRecoveryMatrix — 각 규칙이 의도한 대응 전략으로 매핑되는지 검증 3. resilientExecute — 지수 백",
|
||||
"imports": [
|
||||
"src/lib/engine"
|
||||
@@ -1508,7 +1508,7 @@
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/chronicle.config.json": {
|
||||
"mtimeMs": 1778690568000,
|
||||
"mtimeMs": 1778690673000,
|
||||
"size": 416,
|
||||
"lines": 11,
|
||||
"role": "JSON configuration",
|
||||
@@ -1717,6 +1717,13 @@
|
||||
"role": "Development Log: 너는 분석 요청하거나 내가 작업 요청을 할때 connectai architecture.md 문서를 참고하고 작업을 하나?",
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/discussions/2026-05-13_volumes-data-project-antigravity-connectai-이-프로젝트-작업-할-거야.md": {
|
||||
"mtimeMs": 1778690673000,
|
||||
"size": 652,
|
||||
"lines": 16,
|
||||
"role": "Discussion: /Volumes/Data/project/Antigravity/ConnectAI 이 프로젝트 작업 할 거야.",
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/discussions/2026-05-13_volumes-data-project-antigravity-connectai-이-프로젝트-작업할거야.md": {
|
||||
"mtimeMs": 1778680095000,
|
||||
"size": 651,
|
||||
@@ -1767,9 +1774,9 @@
|
||||
"imports": []
|
||||
},
|
||||
"docs/records/ConnectAI/timeline.md": {
|
||||
"mtimeMs": 1778689955000,
|
||||
"size": 8165,
|
||||
"lines": 122,
|
||||
"mtimeMs": 1778690673000,
|
||||
"size": 8318,
|
||||
"lines": 125,
|
||||
"role": "Project Timeline",
|
||||
"imports": []
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user