koriweb
4eb8bf03f7
fix(identity): 자기 오보고·3인칭·앵무새 반복 3종 수정 (v2.2.215)
...
사용자 대화 분석에서 발견된 3개 결함:
1) 자기 오보고 — 자기 지식 블록이 Astra 모드에만 있어 Agent 모드는 미적용.
selfIdentity.ts 공용 모듈로 추출해 양 모드 system prompt 에 주입.
2) 3인칭 화법 — "Astra는~"처럼 남 얘기하듯 답하던 문제. 공용 블록에
"너는 ASTRA 본인, 반드시 1인칭" 규칙 명시.
3) 앵무새 반복 — [PRIOR TURN CONCLUSION]의 "…결론으로 다시 말해라" 지시를
소형 모델이 문자 그대로 해석, 직전 답변 첫 문장을 턴마다 서두에 복창.
지시문을 "인용 받아쓰기 금지 + 자신의 새 문장으로 재평가"로 교체.
근본 보강: 두뇌(2nd)에 정본 자기 기술서 'ASTRA 자기 아키텍처' 문서 생성
(별도 커밋) — 자기 기능/성장 질문 시 RAG 가 실제 사실을 검색하게 함.
self-identity 블록도 해당 문서를 근거로 답하라고 연결.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-11 14:41:14 +09:00
koriweb
30a876c71a
fix(prompt): ASTRA 자기 지식 블록 — 성장 구조 자기 오보고 수정 (v2.2.214)
...
"너는 어떻게 성장해?" 같은 메타 질문에 모델이 학습 데이터의 일반 LLM
보일러플레이트("나는 frozen 모델이라 학습하지 않는다")로 답하던 문제 수정.
실제로는 레슨·장기/일화 기억·두뇌 위키·골든셋 평가 루프로 세션 간 성장하는
시스템인데, 시스템 프롬프트에 자기 구조 설명이 없어 자기 오보고가 발생했음.
- buildAstraModeSystemPrompt: [ASTRA 자기 지식] 블록 추가 (casual 모드 제외)
— 성장 메커니즘 4축 명시 + "정적 모델 일반론으로 답하지 말 것" 지시.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-11 14:30:18 +09:00
koriweb
7bec20620a
refactor: v2.2.195-201 — slashRouter god-file 해체 (–95%) + 인프라 5개 추출
...
아키텍처 감사 결과 HIGH 2건 + MED 2건 + LOW 1건 — 7 라운드 정리 시리즈.
기능 변경 없음, 순수 구조 정리.
**slashRouter.ts: 4,174 → 201줄 (–3,973, –95%)**
**agent.ts: 1,617 → 1,551줄 (–66, –4%)**
v2.2.195: eventSourcedStore + SystemPromptBlock registry
- createEventStore<E>(opts) — 4 store (customers/hire/runway/feedback) I/O 240줄 중복 제거
- _turnCtx 5 named string field → 1 Map<string, string> (새 verification block 추가 25곳→1곳)
- buildAstraModeSystemPrompt: 5 ternary gate + 5 위치 → 1 for-loop join
v2.2.196: trackers cluster split
- src/features/teamops/handlers/_shared.ts (fmtKrw/parseAmount/daysUntil/parseTaskOwner/stageEmoji/STAGE_ORDER/TERMINAL_STAGES)
- src/features/teamops/handlers/trackers.ts (runway/customers/hire)
- src/features/teamops/handlers/index.ts (barrel)
- extension.ts 에 side-effect import (순환 import 회피)
v2.2.197: mtimeFileCache + PostAnswerHook registry
- src/lib/mtimeFileCache.ts — createMtimeFileCache<T>(name, parse) (terminologyBlock + termValidator 2-cache invariant 자동화)
- src/agent/postAnswerHooks/{types,index}.ts — Devil/SelfCheck/TermValidator 3 _maybeX method → 1 runPostAnswerHooks(ctx) loop
- agent.ts –66줄
v2.2.198: dashboards cluster split
- src/features/teamops/handlers/dashboards.ts (morning/evening/cohort/weekly)
v2.2.199: coordination + communication clusters split
- src/features/teamops/handlers/coordination.ts (task/decisions/onesie/blocked/standup)
- src/features/teamops/handlers/communication.ts (draft/feedback)
- callLmSynthesis export 노출 (communication 이 사용)
- 옛 parseTaskOwner local 정의 삭제 (_shared.ts 사용)
v2.2.200: system cluster split
- src/features/system/handlers.ts (memory/glossary/help)
v2.2.201: datacollect cluster split + LLM 인프라 추출
- src/features/datacollect/handlers.ts (research/benchmark/youtube/blog/wikify/meet)
- src/features/datacollect/llm.ts (callLmSynthesis + repairKoreanGlitches + bridgeErrorRemedy)
- slashRouter import 4개로 축소: vscode/logInfo/getBridgeBaseUrl/bridgeErrorRemedy
**최종 slashRouter (201줄):**
- REGISTRY Map + registerSlashCommand/listSlashCommands/isSlashCommand
- handleSlashCommand (dispatcher + 에러 처리)
- Webview interface + chunk helper
- getRecentSlashCommands ring buffer (actionability scoring 용)
**미래 부담 감소 metrics:**
- 새 슬래시 명령: god-file 끝에 함수 + register → 1 파일 + 1 register call
- 새 verification block: 5곳 편집 → 1 set call
- 새 event store: 60줄 boilerplate → createEventStore 한 줄
- 새 post-answer hook: 3 step → 1 push
- 새 mtime cache: Map + invariant 관리 → createMtimeFileCache 한 줄
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 11:55:22 +09:00
koriweb
618b8d5b34
feat: Stabilize Company Suite & Self-Reflection logic, integrate new ADRs and bug records
2026-05-14 16:05:28 +09:00
g1nation
466e9e4d5f
feat: ConnectAI structural hardening and retrieval precision improvements
2026-05-05 21:37:45 +09:00
g1nation
cf10d14148
feat: Intelligent Resilience & Trust Reporting (v2.77.2)
2026-05-05 17:04:27 +09:00
g1nation
6470e23d73
[UX] Final alignment with user-defined 'Summary-Detail-Suggestion' output format
2026-05-05 16:25:04 +09:00
g1nation
fc07e00f0c
[Core] Disable automatic appending of redundant headers and internal logs in agent.ts
2026-05-05 16:19:02 +09:00
g1nation
76ec4624a8
[UX] Mass overhaul: Remove internal logs/questions and focus on actionable file-level guidance
2026-05-05 16:11:05 +09:00
g1nation
f4c22bda54
[UX] Refactor system prompt for 'Verdict -> Proof -> Action' optimized output structure
2026-05-05 15:51:20 +09:00
g1nation
71e39ad78e
feat(core): upgrade to v2.65.0 with Cognition Layer & Proactive Advisor
...
- Integrated v4.0 Operational Policy into AgentEngine and AgentExecutor.
- Added Context Amplification for policy-driven reasoning.
- Implemented Proactive Advisor for next-action decision forks.
- Added CognitionAudit diagnostics for real-time policy monitoring.
- Updated test suites to support dual-execution cognition patterns.
2026-05-04 22:42:08 +09:00
g1nation
215c5f9457
feat: v2.62.0 - Astra Autonomous Loop (AAL) foundation & enhanced file analysis
2026-05-04 12:58:43 +09:00