clew
Clew
브라운필드 미로를 꿰뚫는 실. hop은 그 실 위의 노드입니다 (docs/hops.md).
브라운필드 서비스는 이미 작동합니다. 코딩 에이전트는 매 세션마다 동일한 멀티 서비스 흐름을 재발견하는 비용을 여전히 지불합니다. Clew는 이미 보유한 네 가지 그래프 — 코드, 카탈로그, 로드아웃, 트레이스 — 를 유지하고, 이를 걸어갈 수 있는 하나의 경로로 연결합니다.
Input → Branches → Output
measure → one P0 → capture → measure until reflectedgo install github.com/jeunessegamesee/clew/cmd/clew@v0.1.1Scale 라이선스도, Neo4j도, OpenSearch도 필요 없습니다.
모든 브라운필드, 세 가지 명령
clew init --root /path/to/repo # .clew.yaml + CLEW.md
clew stub --root /path/to/repo # IN+else for every gRPC / GraphQL / OpenAPI port
clew score --root /path/to/repo # P0 = missing IN; P1 = uncaptured branches
clew loadout --root /path/to/repo --in /package.Service/Method스텁(stub)을 사용하면 모든 인바운드 포트를 참조할 수 있습니다. when이 없는 트리는 P1 미포착 상태로 유지됩니다. clew loop로 깊이를 더하세요 — 분기를 임의로 만들지 마십시오.
Related MCP server: Manifold Engine MCP Server
소스에서 빌드
go test ./...
go build -o clew ./cmd/clew
./clew score --root examples/shop --fail-p0
./clew loadout --root examples/shop --use-case place-order --payload '{"paymentMethod":"CARD"}'
./clew loop --root testdata/incomplete-shop./clew score --root examples/shop --by-service
./clew score --root examples/shop --fail-p1
./clew watch --root examples/shop --traces traces/live.jsonl --follow
./clew watch --root examples/shop --listen 127.0.0.1:4318
./clew mcpclew mcp는 stdio MCP 서버입니다 (loadout, who_consumes, who_calls, next_p0, drift, score). 각 도구에는 고유한 입력 스키마가 있습니다.
적응 파일
.clew.yaml은 낯선 저장소가 지도가 되는 방법입니다:
roots:
- .
- ../other-repo
services:
checkoutservice: src/checkoutservice # OTel service.name → hops folder
traces:
- traces/*.json범용 도어 (프레임워크별 파서 없음): OpenAPI / proto / GraphQL, OTLP (clew watch), 또는 clew ingest --file doors.json. 선택 사항인 http: [auto]는 Actix/Spring/…을 추측하며, 새 스택을 추가하는 방식이 아닙니다.
언어
Clew는 Go로 작성되었습니다. CBM은 코드 그래프로 유지됩니다. HTTP/ASYNC/CROSS, OpenAPI/AsyncAPI, OTLP를 연결합니다 — 인덱서를 다시 만들지 않습니다.
지도 형식
SPEC.md를 참조하세요. 서비스별: docs/hops.md. 커버리지: clew score --fail-p0. 실행 파일 이후: --fail-p1은 미포착 스텁을 고정합니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI coding agents to efficiently navigate and understand large codebases by providing tools for entry point location, call chain analysis, and impact assessment, reducing context consumption and model costs.53GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to perform high-speed structural codebase analysis and dynamic context management by mapping repositories as byte-streams and detecting architectural chaos.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to analyze codebase behavior through entrypoints, call paths, and tests, providing impact analysis and context packs for code changes.MIT
- AlicenseNot gradedqualityCmaintenanceEnables cross-repository architecture discovery and dependency routing across multi-service codebases, with automated scanning and batch AST indexing for AI agents to trace request lifecycles and navigate service boundaries.7 npmMIT