FG

faugustdev/git-context-controller

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

66 stars 품질 62 트렌드 18MIT

LLM 에이전트에 대한 구조화된 컨텍스트 관리 프레임워크. Git-like operations (COMMIT, BRANCH, MERGE)를 구현하여 장기간 에이전트 메모리를 관리합니다.

개요

대신 GCC v2 매장. 풀 컨텍스트는 git show를 통해 수요에 재구성됩니다. 듀얼 모드: git-backed 또는 독립. 연구 논문에 근거: Git Context 관제사 LLM 에이전트는 대화로 컨텍스트를 잃습니다. GCC는 에이전트 구조 메모리를 제공함으로써 이것을 해결: - - - - - - - - - - - - - - - - - 실제 고립을 위한 git worktrees를 통해 - - - - - - - - 수요에 해헤에서 재구성한 맥락을 통해 -- 자동 급식은 유효할 때 벡터 기억에 자료를 붙입니다 v1과 호환되는 Markdown 파일로 뒤를 폴라: 설치되면 GCC가 자동으로 활성화됩니다. 명령 또는 자연적인 언어를 사용하십시오: GCC v2는 기계적인 가동을 위한 실용 스크립트를 포함합니다: 이정표를 주장한다. git 모드에서는 실제 커밋을 실행합니다.

개요(AI 번역)

Lean, LLM 에이전트에 대한 git-backed 컨텍스트 관리.

GCC v2 storehash + intent + 옵션 결정 노트 대신 verbose Markdown. 풀 컨텍스트는 git show]를 통해 수요에 재구성됩니다. 듀얼 모드: git-backed 또는 독립.

연구 논문에 근거를 두는: Git Context 관제사


왜 GCC인가?

LLM 에이전트는 대화로 컨텍스트를 잃습니다. GCC는 에이전트 구조 메모리를 제공함으로써 이것을 해결:

  • **Lean 저장 ** – ~50 항목 당 토큰 ~500 v1 -Git-backed true – 실제 커밋, narrative 복사 -Safe experimentation – 실제 고립을 위한 git worktrees를 통해 분지
  • Cross-session recovery – 수요에 해시에서 재구성 된 상황 -aiyoucli bridge – 자동 급식은 유효할 때 벡터 기억에 자료를 투입합니다

그것이 작동하는 방법

Git 형태 (재포에)

독립 형태 (repo 없음)

v1과 호환되는 Markdown 파일로 뒤를 폴라:

Context 재건축

설치

Claude 코드 기술로

독립

빠른 시작

설치되면 GCC가 자동으로 활성화됩니다. 명령 또는 자연적인 언어를 사용하십시오:

| 행동 | 명령 | 자연적인 언어 | |—||||| | 세이브 진도 | [T1]] | 세이브 이정표

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Git Context Controller (GCC) v2

Lean, git-backed context management for LLM agents.

GCC v2 stores hash + intent + optional decision notes instead of verbose markdown. Full context is reconstructed on demand via git show. Dual mode: git-backed or standalone.

Based on the research paper: Git Context Controller


Why GCC?

LLM agents lose context as conversations grow. GCC solves this by giving agents structured memory:

  • Lean storage – ~50 tokens per entry vs ~500 in v1
  • Git-backed truth – real commits, not narrative copies
  • Safe experimentation – branches via git worktrees for real isolation
  • Cross-session recovery – reconstruct context from hashes on demand
  • aiyoucli bridge – auto-feeds commit data to vector memory when available

How It Works

Git Mode (with repo)

.GCC/
├── index.yaml       # Single source of truth (~50 tokens/entry)
├── branches/        # Branch-specific notes
├── worktrees/       # Worktree tracking
└── .bridge-log      # Sync state with aiyoucli

index.yaml entry:
  - id: C001
    hash: 85c8539        ← pointer to git truth
    intent: "release prep" ← why
    note: "descartamos semantic-release por overhead" ← optional decision
    branch: main
    date: "2026-02-25T21:40:00Z"

Standalone Mode (no repo)

Falls back to markdown files compatible with v1:

.GCC/
├── index.yaml       # Timeline
├── main.md          # Roadmap (v1 compat)
├── log.md           # OTA traces (v1 compat)
└── branches/

Context Reconstruction

Agent needs context
       │
       ▼
  gcc_context.sh --summary     ← ~50 tokens, zero git calls
  gcc_context.sh --last 5      ← reconstructs via git show
  gcc_context.sh --decisions   ← only entries with notes
  gcc_context.sh --hash abc123 ← full diff for one commit

Installation

As a Claude Code Skill

# Via skills.sh
npx skills add faugustdev/git-context-controller

# Manual installation
cp -r gcc/ your-project/.claude/skills/gcc/

Standalone

git clone https://github.com/faugustdev/git-context-controller.git

# Initialize GCC in your project
cd your-project
/path/to/scripts/gcc_init.sh

Quick Start

Once installed, GCC activates automatically. Use commands or natural language:

Action Command Natural Language
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add faugustdev/git-context-controller
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →