Changelog
Updates & Changelog
Track every improvement our AI partners autonomously discuss, plan, and deliver.
Improvementv2026.07.122026-07-12
Refined: 에이전트 8 행동 규칙 승격, 빌드 타임 정적 린터 강제화 및 보안 강화 패치 완료
- Refined: 행동 표준 지침 공식화 (AGENTS.md): 3대 핵심 규칙(산문 우선 포맷팅, 비굴하지 않은 자기 존엄 유지, 저작권 15단어 직접 인용 하드리밋)을 에이전트 행동 강령에 공식 승격하고 rules/15, 16번 파일로 구체화했습니다.
- Refined: Husky pre-commit 훅 및 prebuild 정적 분석 연동: `verify:no-hype` 린터를 확장하여 빌드 및 커밋 시점에 기계적으로 3대 규칙 준수 여부와 난독화 우회 시도를 자동 검출하고 차단하는 소프트웨어 가드레일을 이식했습니다.
- Refined: UI 가독성 여백 시스템 설계: 산문 우선 포맷팅 시 발생할 수 있는 시각적 정보 위계 훼손을 방지하기 위해 dev-engineering 스킬에 표준 가독성 타이포그래피 명세(line-height, letter-spacing, 문단 간 간격)를 추가했습니다.
- Refined: 도구 규격 표준화 및 루프 버그 예방: `toolSummary` 및 `toolAction`에 영문 명사구 및 현재분사구 표준 규격을 강제하여, 시스템 대소문자 검증 루프 충돌로 인한 대기 장애를 완화했습니다.
Improvementv2026.07.082026-07-08
Refined: 전라남도장애인권익옹호기관 슬라이드 발표 자료 레이아웃 및 템플릿 개선
- Refined: 라이트 테마 고대비 적용: 발표장 가독성을 극대화하기 위해 백그라운드 색상을 `#f8fafc` 라이트 블루-그레이로, 메인 텍스트는 `#0f172a` 딥 그레이로 지정하여 대비비를 높인 고대비 라이트 UI를 적용했습니다.
- Refined: 반응형 폰트 및 여백 최적화: 폰트 크기, 줄간격, 패딩 여백들을 화면 비율(`vmin`) 및 상대 단위(`rem`) 기반으로 재설계하여, 빔 프로젝터나 대형 모니터 해상도에서 화면을 가득 채우며 가독성이 극대화되도록 조율했습니다.
- Refined: 가로 2단 분할 레이아웃(목업 최적화): 목업이 있는 슬라이드에서는 텍스트와 목업이 세로로 겹치는 문제를 해결하기 위해 가로 2단 분할 레이아웃을 구축했습니다. 본문 텍스트와 시각적 목업 영역이 화면 너비를 분할하여 사용하고 목업의 스케일을 기존 대비 2배 이상 키웠습니다.
- Refined: 목업의 라이트 테마 변환 및 정합성: 다크 모드 목업 카드를 화이트/연회색 카드 쉐도우와 1px 무채색 테두리로 다듬어 Apple HIG 기준에 부합하는 세련된 비즈니스 퀄리티를 유지하도록 개선했습니다.
- Refined: 문법 및 컴파일 무결성 확보: 중첩 템플릿 내에서 중첩 백틱(```)으로 인한 이스케이프 오류를 원천 예방하기 위해, mockups HTML 구조를 안전한 `'...'` (단일 인용구) 배열의 `.join(' ')` 방식으로 리팩토링하여 타입체크(`tsc`) 및 빌드 프로세스를 에러 없이 정상적으로 마무리했습니다.
Improvementv2026.07.072026-07-07
Refined: McKinsey-Style IR 자료 제작 스킬 폐기 완료
- Refined: 스킬 폴더 및 리소스 완전 삭제: 작동 신뢰도가 떨어지는 레거시 스킬인 McKinsey-Style IR 자료 제작 스킬 폴더(`.agents/skills/mckinsey-ir-style`) 및 소속 `SKILL.md` 파일을 삭제하여 코드베이스 내 리소스 점유와 참조 가능성을 제거했습니다.
Improvementv2026.07.052026-07-05
Refined: B2B 지식팩 요금제 제한 기능 추가 및 검증 완료
- Refined: 요금제별 최대 한도 선언: `feature-gate.ts` 내에 `PLAN_KNOWLEDGE_PACK_LIMITS` 상수를 추가하여 starter(1개), pro(5개), enterprise(999개) 플랜의 최대 지식팩 한도를 지정하고 컴파일 에러 예방을 위해 중복 선언을 방지하도록 export 구조를 정정했습니다.
- Refined: 지식팩 구독 제한 가드 연동: `knowledge-pack.service.ts` 의 `subscribePack` 메서드에서 해당 테넌트의 기존 활성화된 지식팩 개수(`status === "active"`)를 Firestore 쿼리 카운트하여 초과 시 `PlanLimitExceeded` 예외를 방출하도록 개편하고, 갱신(동일 팩 재구독) 시에는 한도와 관계없이 허용되도록 예외 처리를 반영했습니다.
- Refined: 단위 테스트 및 배포 완결: `knowledge-pack-limit.spec.ts` 테스트 파일을 추가하여 요금제별 차단 및 갱신 예외 동작을 입증하고 타입 체크 및 린트(`verify:no-hype`) 검증을 100% 통과시킨 후 Firebase Functions 백엔드 API 배포를 완수했습니다.
Improvementv2026.07.032026-07-03
Refined: 에이전트8 보안, RAG, 모듈 디커플링 및 데몬 복원력 종합 개선 완료
- Refined: 보안 가드레일 강화: `ast-guard.ts` 내에 문자열 결합 정적 분석(`resolveStaticString`) 및 `global`/`globalThis` 전역 객체 직접 접근 가드 추가, `worker_threads`/`cluster` 모듈 차단 연동. `sandbox-execution-guard.ts` 내에 따옴표/이스케이프를 인지하는 명령어 분할 렉서(`splitCommandsSafely`) 적용으로 오탐 해결 및 셸 리디렉션/파이프라인 우회 감지 정규식 추가.
- Refined: Graph RAG / LightRAG 최적화: `graph-rag.ts` 내 `parseEntities`에 영문 불용어 사전 추가 및 다국어 형태소 토큰 분석 보강. Firestore `in` 쿼리 chunk size를 30으로 확장하고 2-hop 쿼리를 `sourceNode` 단방향 탐색으로 축소하여 Firestore 읽기 횟수를 50% 이상 절감.
- Refined: 공유 이벤트 버스를 통한 아키텍처 디커플링(SoC): `event-bus.ts` 신설 및 `tenant:cache_clear` 이벤트 정의. `prompt-loader.ts`, `knowledge-pack.service.ts`, `admin-users.ts`, `hyperloop-engine.ts` 간의 prompt-loader 동적 require 호출을 이벤트 버스 발행 구조로 개편하여 순환 참조 위험 제거 및 실시간 RAG/피처 게이트 캐시 동기화 무효화 연동.
- Refined: 자가 치유(Self-healing) 데몬 추가: `systemWatchdog.ts` 구동 시 기존에 살아있는 PID가 존재하는지 `process.kill(pid, 0)` 신호로 검사하고, 꼬인 stale PID는 자동 삭제 처리하여 좀비 데몬 방지 및 단독 인스턴스 기동 보장.
- Refined: 품질 게이트 통과: `typecheck` 타입체크, 210개 Vitest 유닛 테스트 전원 GREEN 통과 및 정적 린터(`verify:no-hype`, `verify:design-slop`, `verify:security`) 0 Violations 완료.
Improvementv2026.06.302026-06-30
Refined: 에이전트8 유기적 아키텍처 공식 증명 및 보안/자가치유 알고리즘 고도화 완료
- Refined: 아키텍처 공식 증명: 에이전트8이 단순 AI API 래핑이 아님을 증명하는 `AGENT8_ORGANIC_SOFTWARE_PROOF.md` 공식 백서 생성 및 수록.
- Refined: 샌드박스 셸 우회 차단 고도화: `sandbox-runner.ts` 내 셸 명령어 검증을 단순 문자열 includes 비교에서 공백 정규화 및 정규식 패턴 분석 방식으로 개편하여 보안 차단력을 향상시켰습니다.
- Refined: 자가 치유 기능 정교화: `zero-command-orchestrator.ts` 내 임포트/심볼 검색 시 소스 내 `export` 구문 정밀 추적 탑재 및 미사용 변수(`no-unused-vars`) 발생 시 언더스코어 `_` 변수명 변환 자동 수리 메커니즘 구축.
- Refined: 홈 리포트 허브 연동: `organic-software-proof.ts`를 생성하고 `publication-service.ts`에 바인딩하여 Report Hub 목록 및 열람 화면에 보고서 게시.
- Refined: 무결성 검사: `typecheck` 타입체크, Hype 및 Design-slop 린터 0 Violations 완료 및 215개 vitest 유닛 테스트 전원 GREEN 통과.
Improvementv2026.06.292026-06-29
Agent 8 Core and View Component Refactoring
- Refined: Separation of Concerns (SoC) for Agent 8 Component: Separated state logic and view layers of the massive DrjServiceView.tsx into useDrjState hook and sub-components (DrjModal, DrjChatbot, DrjConsultingForm) to improve structure and readability.
- Refined: Machine HMAC Sign Stabilizing & Cache Optimization: Added safety fallback for virtualized environments using MAC hash logic and integrated an in-memory Lazy Caching layer to eliminate excessive synchronous disk I/O when loading project configurations.
- Refined: User-Friendly Security Alerts & Web Accessibility (a11y) Sync: Improved security gate warning messages with clear recovery guides for developers, and synchronized WAI-ARIA Dialog guidelines by preserving Focus Trap and Focus Restore logic within the modular components.
- Refined: Integrity & Build Validation Complete: Passed typecheck and lint with zero errors, achieved green pass across 215 unit tests, and verified stable Next.js static build and 3-OS Bun CLI compiling output.
Improvementv2026.06.282026-06-28
Refined: 에이전트8 아키텍처 및 보안 단계별 추가 개선 적용 완료
- Refined: AST 가드 고도화: `node:` 접두사 모듈 및 `fs/promises` 등 변칙 임포트 차단, 대괄호 연산자 속성 분석, fetch 아웃바운드 정적 차단 연동.
- Refined: PII 마스커 정밀화: Luhn Checksum 알고리즘으로 수학적 검증을 거친 신용카드 유효성 필터 및 국제전화 번호형식(`+82`) 마스킹 추가 지원.
- Refined: 샌드박스 가드레일 정밀화: Directory Traversal 상대 경로 우회 차단 및 `sh`/`bash`로 파일 실행 시 내부 스크립트 정적 스캔 가드 연계.
- Refined: Graph-RAG Firestore 쿼리 최적화: 1-hop, 2-hop 및 Global 관계 탐색 시 Firestore 쿼리 결과를 메모리에 TTL 5분간 캐싱하는 인메모리 캐시(`SimpleMemoryCache`) 레이어 연동.
- Refined: MCP 무결성 게이트 수립: Git 및 배포 계열 MCP 도구 실행 진입 전 부모 에이전트의 `proof_of_work` 또는 `harness_pass_token` 제출 검사 게이트 적용.
- Refined: 최종 검증 및 배포: `npm run typecheck`, `npm run lint`, `npm test`(192개 테스트 케이스)를 전원 GREEN 통과하고 Firebase Hosting 실서버 배포 완료.
Improvementv2026.06.262026-06-26
Refined: 공식 IR 피치덱 발표 자료 및 PDF 리팩토링 및 4단계 비즈니스 모델 보강 완료
- Refined: 직관적 지표 개선: Slide 2의 비율 수치를 한국어 중심의 비율(10명 중 7명꼴, 3만 개사 중 2.4만 개사 등)로 교체하고, 퍼센트를 깔끔한 정수형(70%, 81%, 80%, 20%)으로 다듬어 직관성을 제고했습니다.
- Refined: 영어 약어 순화 및 유효 시장 근거 보강: TAM/SAM/SOM 및 WTP, CS, SaaS, BEP 등 영문 약어를 한국어 용어로 전면 순화하고, SAM 및 SOM에 모수 대비 타깃 비율 계산 공식 근거를 텍스트로 보완했습니다.
- Refined: 비용 절감 효과 극대화: Slide 5의 "연간 7,920만 원 절감 (94.3% 비용 대체)" 대형 배너를 가독성이 뛰어난 테두리 및 그라데이션 카드로 리디자인했습니다.
- Refined: 시장 진입 마일스톤 구체화: 3개년 마일스톤의 세일즈 단계를 수도권 에이전시 직접 영업, 협업 SaaS 연계 파트너십, 온프레미스 공공 조달 조달 등록 등으로 상세화하고 목표 수치를 기재했습니다.
- Refined: 비즈니스 모델 개편: 단순 요금표 형태의 수익 모델에서 가치 제안 및 순환 락인 구조를 아우르는 4대 핵심 구조로 슬라이드를 개편했습니다.
- Refined: GNB 네비게이션 제어 컨트롤러 은닉: 발표용 웹 프리뷰 페이지 상단의 타이머, 시작/리셋, 발표자 모드 등 지저분한 버튼 영역을 CSS로 완전히 은닉하여 16:9 캔버스만 깔끔하게 노출했습니다.
- Refined: HTML 오염 소거 및 무결성 확인: 웹 프레젠테이션 파일 하단의 깨지고 중복되던 레거시 찌꺼기 마크업을 전면 소거하여 레이아웃을 정상화했습니다.
- Refined: 무결성 검사: `verify:no-hype` 및 `verify:design-slop` 린터, `tsc` 타입 검증을 모두 합격 통과하고, Puppeteer를 이용해 S-Grade PDF 파일(345KB) 인출에 성공했습니다.
Improvementv2026.06.252026-06-25
Refined: 100가지 AI 마스터 실무 팁 기반 인사
- Refined: 스킬 신설 및 동기화: `100 HR Tips to Master AI` 자료를 기반으로 인사 업무 최적화 100대 실무 지침서(`SKILL.md`)를 신설하고, 시스템 스킬 레지스트리(`skill-registry.json`) 및 프론트엔드 카탈로그(`agentSkills.json`)에 등록을 연동했습니다.
- Refined: 마켓 카테고리 확장: 마켓 UI 탭(`MarketTab.tsx`)에 `hr`("👥 인사/HR") 카테고리를 연동하여, 사용자가 지식팩을 카테고리별로 정밀 필터링할 수 있도록 보강했습니다.
- Refined: Firestore 지식팩 시딩 및 검증: `pack_hr_mastery` 지식팩을 시딩 스크립%(`seed-knowledge-packs.js`)에 추가하여 Firestore에 최종 시딩 처리를 실증했습니다.
- Refined: 명칭 소거 가이드 준수: 사내 정책 및 연동 지침서의 모든 본문과 주석에서 "Claude" 리터럴 텍스트를 제거하고 일반 에이전트/AI 규격으로 전면 대체하여 브랜딩 보안을 확보했습니다.
- Refined: 무결성 입증: eslint 정적 린팅, tsc 타입체크, 그리고 `verify:no-hype` 및 `verify:design-slop` 정적 분석 0 Violations 통과 및 인수인계 문서(`DEVELOPER_HANDOVER.md`) 갱신을 실증 완료했습니다.
Improvementv2026.06.242026-06-24
Refined: 보안 기점 업데이트 내역 정보 은닉, 정적 린터 빌드 파이프라인 강제화 및 CLI 토큰 마스킹 완료
- Update History Security Hardening: Redacted sensitive local directory paths, internal function names, and environment variables from past release notes, replacing them with high-level functional summaries.
- CLI Manual Mode Token Protection: Implemented masking for authentication tokens in the CLI manual setup flow and added security guide warnings to protect local credentials.
- Security Linter and Rules Integration: Codified a security release checklist and automated static checks within the build pipeline to prevent credential and path leaks.
- Refined: 빌드 및 배포 파이프라인 강제화: `package.json`에 `verify:release-security` 스크립트를 추가하여 `prebuild` 체인의 최우선 단계에 연동함으로써, 단 한 건의 위반이라도 감지되면 Next.js 빌드가 즉각 차단(Exit 1)되도록 구현했습니다.
- Refined: 품질 및 무결성 검증 완료: `tsc --noEmit` 타입 검사 통과, 189개 Vitest 유닛 테스트 GREEN 통과, Next.js 정적 빌드 및 3대 OS CLI 단독 바이너리 컴파일 성공을 실증하고 원격 저장소(`main` 브랜치)에 최종 커밋 및 푸시를 완료하였습니다.
Improvementv2026.06.232026-06-23
Refined: 기존 API 토큰 유지형 IDE MCP 연동 및 자동 1-Click 동기화 패치 완료
- Automatic IDE MCP Token Integration: Improved the CLI flow to safely retrieve locally stored tokens and auto-inject them into cloud MCP server environment variables. This resolves sandbox restriction issues during background runs.
- 1-Click Setup and Connection: Configured the setup flow to trigger the connection process immediately after saving tokens in the OS secure storage.
- Refined: 레거시 정리 및 마이그레이션: MCP 설정에서 레거시 키 `agent8`를 자동으로 탐색하여 삭제하고, 샌드박싱 환경의 실행 경로 누수를 막기 위해 절대 경로(`~/.agent8/bin/agent8`)로 강제 매핑했습니다.
- Refined: 무결성 검증 및 배포: `npm run typecheck` 타입 검증, `npm run build:agent8` 독립 바이너리 빌드 통과, 43개 CLI 유닛 테스트 전원 합격(GREEN), Firebase Hosting 프로덕션 배포 완료.
Improvementv2026.06.222026-06-22
Blog & Update Page UI Cleanup, Contrast Fixes, and 404 Error Guarding
- AI SLOP 표현 개선: 업데이트 및 블로그 본문 렌더링에 적합한 마크다운 파서를 연동하고 볼드 기호 등의 마크다운 기호가 브라우저에 비정상적으로 노출되는 현상을 제어했습니다.
- 텍스트 시인성 복구: 글로벌 스타일시트 설정을 수정하여 테마 컴파일 시 텍스트 색상이 다크 배경색에 묻혀 보이지 않던 접근성 결함을 복구했습니다.
- 블로그 404 해결 및 게재 가드 강화: 누락된 주간 성과 요약 본문 데이터를 보강하여 404 에러를 복구했습니다. 또한 블로그 데이터 인터페이스에 승인 상태 필드를 추가하고 라우팅 단에 게재 제어 필터를 구성했습니다.
- 무결성 검증: 타입 일치 검출 통과, Linter 정적 분석 통과, 유닛 테스트 전원 성공 및 Next.js 정적 빌드와 CLI 컴파일 바이너리 패키징 성공을 완료했습니다.
Improvementv2026.06.212026-06-21
MCP API Key Validation & CLI Token Fallback Guard Refined
- 미치환 환경변수 복구 (서버사이드): 서버사이드 API 키 검증 로직에 환경변수 미치환 전송 복구 로직을 주입했습니다. 클라이언트가 환경변수 리터럴을 전송하는 경우, 서버사이드에 설정되어 있는 실제 환경변수 키 값으로 치환하여 검증을 통과하도록 보완했습니다.
- CLI 토큰 복구 로직 개선 (클라이언트사이드): CLI 내부 인증 토큰 로드 함수 내 환경변수 로딩 시 환경변수 유효성 검증 가드를 신설하여 잘못된 템플릿 환경변수는 읽지 않고 건너뛰도록 처리했습니다. 이를 통해 잘못 주입된 환경변수로 인해 실제 토큰이 무시되던 현상을 원천 방지했습니다.
- 하위 호환성 보장: 기존 발급 키 및 정상적인 형식 검증 로직은 변경하지 않고 그대로 유지되므로, 실서버 다른 사용자의 인증 흐름에 미치는 영향은 0%입니다.
- 무결성 검증: 백엔드 검증 테스트 확장 및 실행을 통해 정상 키, 미치환 환경변수 키, 유효하지 않은 키 시나리오의 작동을 검증 완료했으며, 타입 검사 및 유닛 테스트를 무사히 통과했습니다.
Improvementv2026.06.202026-06-20
Sandbox Command Chaining Prevention, CLI Blacklist, RAG Parsing, and Router Latency Fixes
- 명령어 체이닝 우회 차단: 샌드박스 실행 명령어 안전성 검증 단계에서 셸 제어자 문자들을 기준으로 명령어를 분할하여, 체이닝된 모든 서브 명령어에 대해 화이트리스트 검증 루프가 실행되도록 로직을 개선했습니다.
- CLI 보안 블랙리스트 동기화: 샌드박스 실행 차단 목록을 백엔드 블랙리스트와 동일한 범위로 동기화하여 direct 실행 시의 안전성을 보완했습니다.
- RAG 조사 제거 정교화: RAG 엔티티 추출 로직에서 조사를 길이 내림차순으로 자동 정렬하여 가장 긴 복합 조사부터 잘라내도록 개선하고, 조사 목록을 확장하여 명사 추출 정확도를 높였습니다.
- 라우터 레이턴시 최적화: 네트워크 지연 측정 API가 조건별 분기 시 최대 2회 중복 호출되던 비효율을 Lazy Caching 헬퍼로 최적화하여 1회만 호출되도록 개정했습니다.
- 무결성 확인: 백엔드 샌드박스 및 RAG 테스트, 프론트엔드 라우터 테스트, CLI 유닛 테스트 전원 GREEN 통과 및 전체 린터(Hype, Design Slop) 0 Violations, 백엔드 빌드 통과를 최종 검증했습니다.
Featurev2026.06.192026-06-19
Architecture SoC, Graph RAG Modularization, and Anti-Slop Design Linter Integration
- 아키텍처 관심사 분리(SoC): 에이전트 실행 코어, 채팅 전송 모듈 및 서브에이전트 기동 로직의 강결합을 해제하고 각각 독립된 컴포넌트로 분리하여 결합도와 이해 부채를 낮추었습니다.
- 자율 합의 투표 파서 격리: 투표 결과를 분석하는 로직을 별도 모듈로 분리하고 중복 테스트 코드를 소거했습니다.
- 지식 그래프 RAG 모듈화: 지식 그래프 탐색 및 RAG 쿼리 분석 책임을 별도 그래프 RAG 모듈로 분리하고 임포트 구조를 갱신하여 코드 경량화를 달성했습니다.
- AI Slop 디자인 Linter 구축: AI 양산형 데코레이션 배제 정책을 강제하는 정적 분석기를 개발하고 빌드 파이프라인에 검사 스크립트를 추가하여 사후 제어력을 확보했습니다.
- 무결성 확인: 백엔드 유닛 테스트, 프론트엔드 및 CLI 유닛 테스트 전원 GREEN 통과 및 정적 린터 0 Violations 완료를 검증했습니다.
Improvementv2026.06.172026-06-17
BYOK & Admin API Cost Optimization, Agent Discussion Shortening, and Log Masking
- Optimized default model mapping: changed DEFAULTS models in model-registry.ts to gemini-2.5-flash and gemini-2.5-pro to reduce infrastructure costs
- Streamlined agent discussion structure: dynamically applied a 3-agent shortened sequence for GREEN tasks (simple planning questions) to reduce token costs and latency
- Security masking filter: added maskSecrets function to error-logger.ts interfaces to detect and mask Google/OpenAI API keys in real time, preventing plaintext secret exposure
- Integrity check: successfully passed 180 Vitest and 527 Jest backend unit tests with GREEN status
Featurev2026.06.162026-06-16
Scaffold Generation Command, Web Guide Integration, and 1-Click Bootstrap Pipeline
- Implemented generate scaffold command: introduced agent8 generate [template] to support generating Next.js Vanilla CSS templates (e.g., erp, homepage)
- Registered CLI entrypoint & added cards: registered generate command in cli/agent8.ts and added 1-Click template guide cards in web/workspace guidelines
- 1-Click bootstrap & launch command recovery: linked setup, connect, and launch to run sequentially upon init, implemented launch CLI command, and handled standalone compilation branching
- Installer auto-routing: improved mcp-install.sh to detect directories and automatically trigger init if package.json or .git exists
- Local error propagation & API compatibility: added immediate failure response for SSE errors in FetchApiClient.ts, adjusted failover exceptions, and resolved partner parameter mapping compatibility
Improvementv2026.06.152026-06-15
Admin Connection Stabilization, CLI Branding Enhancements, and Legacy Directory Cleanup
- Fixed admin connection failures & React #31 crashes: corrected NEXT_PUBLIC_FUNCTIONS_BASE_URL environment variable build settings and added rendering guards for autonomous agenda objects
- Adjusted Firestore rules & composite indexes: added permissions for tenant system metrics and updated composite index rules for blog-posts collection groups
- CLI installation branding & layout improvements: boxed ASCII logo, linked mount spinner feedback, and improved partner activation summary tables
- Disabled Web AI Chat & reorganized guides: removed HinaChat from landing page, redesigned /install for CLI commands, and simplified dashboard tabs
- Prevented client-side prompt leakage: removed unused system instruction constants and introduced Webpack alias for partners-client.ts to secure prompt data
- Legacy directory migration to etc/: moved colab/, html/, and discussions/ to etc/ to clean up and simplify the project root
- Cleaned up proposal CSS variables & unified secretary partner name: refactored KPMG CSS variables and unified secretary partner names to Hana
Improvementv2026.06.142026-06-14
GCP Functions Cost Optimization & System Stability Enhancements
- Set minInstances to 0 for Http triggers to eliminate idle standby costs in Cloud Run Functions (Phase 1)
- Integrated Gemini API Explicit Caching to reduce dialogue history and RAG input costs by over 90% (Phase 1)
- Implemented quotaGuard middleware to restrict daily B2B tenant API usage limits (Phase 2)
- Added duplicate email delivery prevention filter in mailer.ts to optimize email SMTP API costs (Phase 3)
- Optimized CDN caching by applying immutable Cache-Control headers and improved woff2 font asset cache efficiency (Phase 3)
- Resolved knowledge migration path conflicts and fixed E2E test scripts
Fixv2026.06.132026-06-13
Local CLI Development & Static Build / Sentry Integration Fixes
- Implemented Ollama CLI launch command to manage local Ollama services and auto pull target models
- Supplemented Cartesian product combinations for nested Dynamic Route locales to satisfy Next.js static export
- Resolved static export build conflicts by disabling Sentry tunnelRoute in export mode
- Resolved TypeScript compile errors (TS18047) in useChatSessions.ts by adding null-guards
- Added next.config.ts to verify-no-hype.ts exception list to prevent false positive branding errors
Fixv2026.06.122026-06-12
Site Verification Meta Integration & Workspace Health Cleanup
- Added Google Search Console & Naver Search Advisor site verification metadata to head
- Performed full workspace cleanup including encrypted MCP token storage and AudioRecorder Worklet migration
- Fixed startup step index errors and variable typos in start-local-workspace.sh script
- Resolved WebSocket connection timeout race conditions in useEffect by introducing stateRef
- Hardened E2E test isolation by refining login session cleanup and bypass configurations
Improvementv2026.06.112026-06-11
Local Dashboard Reporting Analytics & UI Integration
- Implemented local dashboard reporting analytics and real-time parsing renderer in Electron desktop app
- Integrated sidebar navigation menu, onboarding guide, and knowledge tab loader UI
- Implemented X-MCP-Token extraction and installation key mapping in backend history API
- Resolved CI integrity verification errors caused by local package hash changes
Featurev2026.06.102026-06-10
Local 1-Click Auto Setup & Background Knowledge Flywheel Integration
- Established local 1-Click Zero-Config setup: Supported node_modules restoration and auto-recovery of 3 config files (YAML, MCP JSON, users.json) via start-local-workspace.sh.
- Automatically injected installation token (X-MCP-Token) headers into API calls for backend integration.
- Implemented token capture and mcp-keys metadata mapping (mcpSyncMeta) storage in backend /chat/history PUT endpoint.
- Implemented knowledge sync status widget UI: Added monitoring cards for IndexedDB synced: false sessions in LocalDashboard.
Featurev2026.06.092026-06-09
Security Guardrails, Federated Agentic Mesh & Workspace Theme Revamp
- Built Federated Agentic Mesh: Implemented real-time offline detection and instant Fast-path bypass to local AI.
- Integrated local Ollama health check: Added real-time tags API checking with automatic secondary fallback to WebLLM (Gemma) if unavailable.
- Introduced Sandboxed Swarm Runtime Guard: Implemented real-time security command scanning for shell execution and file write actions.
- Integrated security guardrail bypass handlers: Tied security violation block logic to code-executor and sandbox-executor runtime chains.
- Optimized tenant switching behavior: Enhanced dependencies configuration in useTenantDashboard hook.
- Hardened TypeScript compliance: Removed explicit any assertions in dynamic modules and aligned tests with strict type guards.
- Fixed onboarding tour layout breakage and global state desynchronization, and added recommended CLI guides.
- Updated the homepage FAQ with the latest partner roles and workflow specifications.
- Rebranded legacy project naming to Agent 8 across the system.
- Optimized chat saving performance by eliminating Firestore write bottlenecks and introducing cached counters.
- Refactored workspace to Google Gemini style light theme and integrated search modal.
- Enhanced B2B unit economics and ARR milestone visualization in the IR deck with media print styles.
Improvementv2026.06.082026-06-08
불필요 폴더 및 파일 정리 완료, 디스코드 응답 및 백그라운드 워커 부트스트랩 에러 해결
- 불필요 파일 및 캐시 디렉토리 정리: 프로젝트 루트에 방치되었던 임시 교육용 산출물(`education_slide.html`, `mobile_education_home.html`)을 `scratch/` 로 이동하고 미사용 외부 바이너리 `yt-dlp` 및 `scratch/temp_install/` 등의 임시 하위 폴더들을 삭제하여 로컬 드라이브를 정리함.
- 정적 검사 및 빌드 파이프라인 보완: Next.js 규칙 스캔 범위에서 벗어나는 백엔드 패키지들(`packages/`)과 임시 스크립트 보관 폴더(`scratch/`)를 `eslint.config.mjs`의 `globalIgnores` 규칙에 추가하여 전체 정적 검사 통과 및 `npm run build` 정적 빌드를 검증함. `.gitignore`에 `.venv` 가상환경 무시 패턴을 보완함.
- 임베딩 모델명 수정: `embedding-adapter.ts`에서 기본 임베딩 모델명을 `gemini-embedding-2-preview`에서 정식 모델인 `text-embedding-004`로 변경하여, Gemini Batch Embedding API 호출 시 발생하는 400 에러 및 `semantic-router` 기동 불가 문제 해결.
- Secrets 바인딩 누락 보완: `trigger.ts` 의 `WORKER_SECRETS`/`agentWorker` 및 `scheduled.ts` 의 `GEMINI_API_KEY` 기반 스케줄러들에 `DREAM_TEAM_MASTER_KEY`를 추가 주입하여, 부트스트랩 단계의 `verifyRequiredSecrets` 예외 및 프로세스 크래시 해결.
- 디스코드 Interactions 타임스탬프 추가: `discord-interactions.ts`에서 interactions 큐 적재 시 `createdAtMs` 필드를 추가함으로써 백그라운드 워커의 토큰 만료 처리 검증 정합성 보장.
- 정적 빌드 및 유닛 테스트 검증: `functions` 내 빌드 컴파일 및 172개/491개 전체 유닛 테스트 100% 통과 확인.
Featurev2026.06.052026-06-05
User Onboarding Guides & Mobile UI Optimization
- Introduced a 5-step customized onboarding tour based on user roles (Planner/Developer/Marketer).
- Enhanced SmartGreeting suggestion cards and real-time API key validation (ApiKeyValidator) UI.
- Refactored the mobile partner section using CSS Scroll Snap carousel layout.
- Overhauled FAQ with search & 5 category tabs, and applied 100% multi-language (ko/en) support.
Improvementv2026.06.042026-06-04
Git 커밋/푸시 오류 완치, macOS 알림창 완전 소거 및 Push 검증(pre-push) 도입 완료
- Git-ignore 충돌 해결: `.gitignore`에서 `.agents/` ignore 패턴을 `.agents/*`로 변경하여, `lint-staged` 실행 중 에이전트 내 공용 스크립트 파일을 변경하고 `git add` 할 때 발생하던 무시 경고 및 커밋 실패 오류 해결.
- GPG 서명 사전 검증: `enforce-gpg.ts` 훅 내에 `git commit` 직전 실제 서명 동작을 검증하는 모의 서명 테스트(Dry-run) 로직 추가 및 macOS GUI 비밀번호 입력용 입력기(`pinentry-mac`) 자동 세팅 및 가이드 보강.
- macOS 알림창 완전 제거: 스크립트 편집기 및 팝업창 간섭에 의한 오동작을 근본 해결하기 위해 `notification-adapter.ts` 및 `notify.sh` 내 macOS `osascript` 팝업 발생 로직 완전 삭제 및 무음화.
- 유닛 테스트 및 전체 통과: 무음 설정에 맞춰 테스트 케이스를 갱신하여 깨졌던 유닛 테스트를 수정하고, 전체 163개 유닛 테스트 100% 통과 보장.
- Git Push 품질 검증 도입 (`pre-push`): 깨진 코드가 원격 저장소에 머지되는 것을 방지하기 위해, push 직전에 타입체크(`tsc --noEmit`)와 전체 유닛테스트(`vitest run`) 통과 여부를 검증하는 `pre-push` 훅을 새로 도입.
- 로컬 병합 완료 브랜치 정리: 이미 main에 병합되었던 로컬 브랜치 3개 및 임시 워크트리(`agent8-trial`) 정리 완료.
- GitHub Actions CI 최종 GREEN 복구:
- `size-limit`의 headless Chrome 구동 프리징으로 인한 CI 10분 타임아웃을 차단하기 위해 CI 환경 빌드 중 스킵 처리 적용.
- 최신 `firebase-tools` CLI 변경에 대응하고자 setup-java JDK 21 단계 추가.
- 에뮬레이터 구동 시 deploy target `main` 누락 에러 방지를 위해 에뮬레이터 구동 직전 가상 타겟 매핑(`firebase target:apply`) 자동화 설정.
- 최종 4개 원격 빌드(Quality Gate, Code Quality, Build & Deploy, Security) 모두 GREEN 통과 확인.
- 실시간 Hype 필터 훅 연동 (1단계): `no-hype-filter.ts` 실시간 과장 단어 검출 및 치환기를 Ollama 스트리밍 yield 단계에 연동 완료.
- 하트비트 기반 자율 치유 Watchdog 구축 (2단계): `headless-daemon.ts` 및 `os-scheduler.ts` 내 하트비트 10분 타임아웃 감시 및 프리징 프로세스 강제 정리 후 자동 부활 메커니즘 통합 완료.
- 에러 분류기 및 자율 복구 서킷 브레이커 도입 (3단계): `speculative-healer.ts` 내 `classifyError()` 분석기 탑재 및 스캐너 단위 3회 실패 시 2시간 긴급 차단(Circuit Breaker OPEN) 메커니즘 검증 완료.
- Next.js 정적 빌드 캐싱 최적화 및 Firestore prefetch 효율화 (4단계): `prefetch-posts-cache.ts`에 `prefetch-meta.json`을 도입하여 변경 문서만 부분 동기화하는 증분 쿼리(`updatedAt > lastTimestamp`) 구현으로 API Read Quota를 극적으로 절감 완료.
- OODA Loop tsc 증분 빌드 및 린트 격상 (5단계): `team-rules.yaml` 내 정적 검사(`ts_compile_check`, `lint_check`) 명령어에 캐싱 플래그(`--incremental`, `--cache`)를 연동하여 스캔 피드백 주기 대폭 단축 완료.
- React 하이드레이션 set-state 제거: `HomeClient.tsx` 내의 useEffect navigator language 훅을 dynamic ssr-false `HinaChat.tsx` 내부로 완전히 캡슐화 이관하여 런타임 하이드레이션 오류 및 추가 렌더링(Cascading Render)을 해소 완료.
Improvementv2026.05.272026-05-27
Git Push Validation Hook & CI/CD Pipeline Stabilization
- Integrated a pre-push hook to validate type checks and tests before pushing to remote.
- Completely removed macOS osascript popups to ensure silent background execution.
- Added GPG signature pre-verification (Dry-run) and resolved .gitignore conflicts.
- Restored GitHub Actions CI to GREEN by configuring JDK 21 for Firebase Emulator and resolving size-limit Chrome freezing.
Improvementv2026.05.262026-05-26
에이전트8 시스템 개선 과제 분석 및 P0 과제 연동 완료
- 에이전트8의 가동 구조(OODA Loop 스캐너, verify-no-hype.ts, auto-heal 등)와 실제 빌드 정적 데이터를 종합 분석함.
- OODA 스캔 속도 개선, 실시간 Hype 톤 제어 훅, 다단계 서킷 브레이커, Firestore prefetch 최적화, 프로세스 하트비트 도입 등 5대 개선안을 설계하여 `agent8_system_improvements_analysis.md` 승인을 획득함.
- 1단계 조치로 `src/cli/core/no-hype-filter.ts` 실시간 과장 단어 치환 모듈을 신규 개발하고, `local-llm.ts` 스트리밍 yield 단계에 연동하여 톤앤매너 강제를 자동화함.
- 정적 빌드 우회용 require 사용으로 유발된 `healing-status/route.ts`의 eslint-disable-next-line bypass 처리를 하여 lint 에러를 해결함.
- 유닛 테스트 6개 통과 및 전체 strict lint check `exit 0` 통과로 빌드 안정성 검증을 마침.
Improvementv2026.05.232026-05-23
디스코드 봇 에셋 누락 에러 복구 및 빌드 파이프라인 보완
- 디스코드 슬래시 커맨드(/chat, /ask 등) 및 텔레메트리 연동 시 `team-rules.yaml`, `routing.yaml`, `agent-bundle.json` 에셋이 `dist/`에 누락되어 발생하던 런타임 `ENOENT` 예외를 규명함.
- `functions/scripts/copy-assets.js` 스크립트를 신규 생성하여, TypeScript 빌드 후 `.yaml` 및 `.json` 에셋들이 빌드 폴더(`dist/dt`) 내의 정확한 참조 경로로 1:1 자동 복사(및 `routing.yaml` 하위 호환 폴백 경로 복사)되도록 아키텍처를 설계함.
- `functions/package.json` 의 `compile` 스크립트를 `tsc && node scripts/copy-assets.js` 로 수정하여 빌드 파이프라인을 자동화함.
- 로컬 `npm run compile` 및 전체 Jest 테스트 슈트 488개 성공으로 빌드 무결성을 최종 검증함.
Improvementv2026.05.222026-05-22
Incremental Build Caching & Auto-Publishing Restoration
- Implemented incremental query-based blog prefetch caching to optimize Next.js static builds.
- Restored auto-publishing using Gemini fallback text when the external Voice API is expired.
- Resolved React hydration errors by migrating useEffect logic into dynamic SSR-false components.
- Fixed Discord bot missing assets compilation error and supplemented build scripts.
Improvementv2026.05.062026-05-06
세션 자동 기록
- .agents/hooks/hooks.json | 12 ++++--------
- .husky/pre-commit | 6 ++++++
- 2 files changed, 10 insertions(+), 8 deletions(-)
Improvementv2026.05.012026-05-01
AI Model Settings UI Overhaul and System Structure Optimization
- Overhauled the AI model settings window with an intuitive tutorial UI guide.
- Completed Agent8 BYOK CLI transition and integrated Nanjung-Ilgi telemetry.
- Reorganized project structure by integrating independent packages and systematizing scripts and documentation.
- Resolved MCP rate limiting and security issues, fixed BYOK local saving, and optimized RAG injection.
- Implemented Git LFS for binary tracking and removed unused resources, dependencies, and redundant configurations.
Improvementv2026.04.252026-04-25
System Feature Enhancements and Stability Improvements
- Unified CLI tools into a standalone binary (agent8) and added auto-detection of device architecture & PATH registration
- Improved Open Beta workspace UX and implemented UI stability fixes
- Enhanced Firestore security rules to prevent unauthorized user role privilege escalation
- Resolved dashboard routing locale issues and refined phrasing across locales
- Resolved type errors in the WorkspaceChatApp profile update process
Milestonev2026.04.162026-04-16
Complete System Stabilization & Frontend Architecture Upgrade
- Restored daily publishing bot with zero downtime and Gemini fallback safety
- Implemented Firestore-linked RBAC for strict admin authority separation
- Established Apple HIG magazine-style rendering and global CSS token system
- Automated LLM fine-tuning process via Cloudflare Tunnel
Fixv2026.04.112026-04-11
AI Workspace Output Rendering & Session Stability Overhaul
- Prevented Markdown leakage and improved report card rendering
- Stabilized chat session components via defensive programming (try-catch)
- Improved state management architecture to prevent duplicate history and restore sidebar
- Resolved partner execution hung states and optimized streaming responses
Improvementv2026.04.092026-04-09
AI Engine Circuit Breaker & Main Memory Stabilization
- Introduced a circuit breaker to block automatic meetings upon repeated errors (prevents Denial of Wallet)
- Implemented a 3-minute cooldown system to prevent intentional keyword spam triggers
- Applied LRU size limit guardrails to prevent Autonomous Discussion memory leaks (OOM)
- Prevented core Instinct poisoning by forced user directives (Prompt Injection) - mandatory Admin Approval Queue transition
Milestonev2026.04.082026-04-08
B2B SaaS Commercialization & Admin Security Dashboard Completed
- Implemented single admin access control system
- Added admin monitoring menu and integrated email opt-out feature
- Integrated Promptfoo vulnerability defense pipeline for model prompts
Improvementv2026.04.062026-04-06
WebGL Avatar Performance Optimization (60FPS) & Creator UX Improvement
- Applied 3D object pooling technique to prevent memory leaks and frame drops
- Supported YouTube Live auto-detection and VRM asset local storage persistence
Featurev2026.04.042026-04-04
iMessage Bot Integration & Admin UI Overhaul
- Built iMessage-based Zero-Friction chatbot and data report push integration
- Overhauled Admin Suite with glassmorphism and mobile app optimization
Milestonev2026.03.312026-03-31
Mac Native App v1.0 Launch + Chrome Extension Published
- Agent 8 macOS Electron app v1.0.9 — menubar resident, OTA auto-update
- Chrome Web Store extension published (sidepanel AI partner)
- Content freshness policy codified and enforced
Featurev2026.03.302026-03-30
Commercial Readiness, AEO Content Publishing & Knowledge Pack Migration
- Integrated Stripe payment system, subscription management, and Admin Billing dashboard
- 100% compliance with GDPR and privacy regulation checklists
- Published 4 AEO-optimized blog articles across marketing, sales, architecture, and security
- Migrated 18 Knowledge Items to Firestore Knowledge Packs
- Completed Agent Map dashboard visualization and activity recording system
Improvementv2026.03.292026-03-29
Pi-Mono Architecture Integrated & Dashboard Activated
- Resolved 8-partner system bottlenecks and SSE streaming
- Activated Workspace Dashboard and Knowledge Integration
Featurev2026.03.282026-03-28
Partner Autonomous Record System & Data Extraction Completed
- Linked static data to Home Insights section
- Built autonomous activity recording pipeline for partners
Milestonev2026.03.272026-03-27
B2B Content Optimization, Agent Workflow Consolidation & System Cleanup
- Advanced Lead Nurturing & Partner sections
- Consolidated complex partner skills by domain and resolved 14 performance backlogs
- Strict API input validation/authorization and resolved Stitch MCP server auth failure
- Resolved Stripe transaction errors and concurrency issues
Improvementv2026.03.132026-03-13
Code Quality Doubled — 20+ Refactoring Sessions
- 78 design tokens converted
Milestonev2026.03.112026-03-11
AI Model gemini-3.1-pro Upgrade
- Model registry updated