| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 6 | 1 | 0% |
| Commands | 0 | 1 | 0 | 0% |
| Section tags | 1 | 0 | 0 | 100% |
What each file covers
Sections
0 shared · 6 only in A · 1 only in B- − @second-brain/collectors — Agent Instructions
- − Entry Point
- − Collectors (6)
- − Providers (5)
- − Adding a New Collector
- − Other Directories
- + CLAUDE.md
Commands
0 shared · 1 only in A · 0 only in B- − git
Section tags
1 shared · 0 only in A · 0 only in B- agent-behaviour
Line diff
thangaram611/second-brain · packages/collectors/AGENTS.md
@@ −1 @@
1# @second-brain/collectors — Agent Instructions
2
3Data collectors and streaming providers that feed the knowledge graph.
4
5## Entry Point
6
7`src/pipeline/runner.ts` → `PipelineRunner` with `register()` and `run()`.
8
9## Collectors (6)
10
11| Collector | Directory | What it collects |
12|-----------|-----------|-----------------|
13| `git` | `src/git/` | Commits, branches, file history |
14| `ast` | `src/ast/` | Code symbols, dependencies, structure |
15| `github` | `src/github/` | Issues, PRs, reviews, comments |
16| `gitlab` | `src/gitlab/` | MRs, issues, pipelines |
17| `conversation` | `src/conversation/` | Chat/conversation transcripts |
18| `docs` | `src/docs/` | Documentation files (markdown, etc.) |
19
20## Providers (5)
21
22| Provider | Directory | Transport |
23|----------|-----------|-----------|
24| `custom` | `src/providers/` | Programmatic API |
25| `git` | `src/providers/` | Git hooks / polling |
26| `github` | `src/providers/` | GitHub webhooks |
27| `gitlab` | `src/providers/` | GitLab webhooks |
28| `webhook-relay` | `src/providers/` | Generic webhook relay |
29
30## Adding a New Collector
31
321. Implement the `Collector` interface in a new `src/<name>/` directory
332. Register in `src/pipeline/runner.ts`
34
35## Other Directories
36
37- `src/extraction/` — LLM-based entity extraction helpers
38- `src/git-context/` — Git context resolution
39- `src/realtime/` — Real-time event streaming
40- `src/watch/` — File system watchers
41
thangaram611/second-brain · CLAUDE.md
@@ +1 @@
1# CLAUDE.md
2
3Second Brain — a developer knowledge graph: shared engineering memory for teams ("git remembers the code; Second Brain remembers why"). pnpm monorepo, Turborepo, Node.js 24+, TypeScript 5.8+ strict, ESM only.
4
5All conventions, monorepo map, data model, architecture decisions, and common tasks are in [AGENTS.md](./AGENTS.md) (auto-loaded alongside this file).
6
7Deep-dive docs:
8- [docs/architecture.md](./docs/architecture.md) — Full technical architecture
9- [docs/getting-started.md](./docs/getting-started.md) — End-to-end usage guide
10- [docs/api-reference.md](./docs/api-reference.md) — REST API + MCP tools + CLI reference
11
@@ −1 +1 @@
1−# @second-brain/collectors — Agent Instructions
1+# CLAUDE.md
22
3−Data collectors and streaming providers that feed the knowledge graph.
3+Second Brain — a developer knowledge graph: shared engineering memory for teams ("git remembers the code; Second Brain remembers why"). pnpm monorepo, Turborepo, Node.js 24+, TypeScript 5.8+ strict, ESM only.
44
5−## Entry Point
5+All conventions, monorepo map, data model, architecture decisions, and common tasks are in [AGENTS.md](./AGENTS.md) (auto-loaded alongside this file).
66
7−`src/pipeline/runner.ts` → `PipelineRunner` with `register()` and `run()`.
8−
9−## Collectors (6)
10−
11−| Collector | Directory | What it collects |
12−|-----------|-----------|-----------------|
13−| `git` | `src/git/` | Commits, branches, file history |
14−| `ast` | `src/ast/` | Code symbols, dependencies, structure |
15−| `github` | `src/github/` | Issues, PRs, reviews, comments |
16−| `gitlab` | `src/gitlab/` | MRs, issues, pipelines |
17−| `conversation` | `src/conversation/` | Chat/conversation transcripts |
18−| `docs` | `src/docs/` | Documentation files (markdown, etc.) |
19−
20−## Providers (5)
21−
22−| Provider | Directory | Transport |
23−|----------|-----------|-----------|
24−| `custom` | `src/providers/` | Programmatic API |
25−| `git` | `src/providers/` | Git hooks / polling |
26−| `github` | `src/providers/` | GitHub webhooks |
27−| `gitlab` | `src/providers/` | GitLab webhooks |
28−| `webhook-relay` | `src/providers/` | Generic webhook relay |
29−
30−## Adding a New Collector
31−
32−1. Implement the `Collector` interface in a new `src/<name>/` directory
33−2. Register in `src/pipeline/runner.ts`
34−
35−## Other Directories
36−
37−- `src/extraction/` — LLM-based entity extraction helpers
38−- `src/git-context/` — Git context resolution
39−- `src/realtime/` — Real-time event streaming
40−- `src/watch/` — File system watchers
7+Deep-dive docs:
8+- [docs/architecture.md](./docs/architecture.md) — Full technical architecture
9+- [docs/getting-started.md](./docs/getting-started.md) — End-to-end usage guide
10+- [docs/api-reference.md](./docs/api-reference.md) — REST API + MCP tools + CLI reference
4111
