RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/thangaram611-second-brain-packages-sync-agents ↔ thangaram611-second-brain-claude

Comparison

A · AGENTS.md · thangaram611/second-brainB · CLAUDE.md · thangaram611/second-brain
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections0510%
Commands000—
Section tags11050%

What each file covers

Sections

0 shared · 5 only in A · 1 only in B
  • − @second-brain/sync — Agent Instructions
  • − Entry Point
  • − Key Files
  • − Architecture
  • − Conventions
  • + CLAUDE.md

Commands

neither file has any

Section tags

1 shared · 1 only in A · 0 only in B
  • − code-style
  •   agent-behaviour

Line diff

+7 added−28 removed4 unchanged12.5% identical
thangaram611/second-brain · packages/sync/AGENTS.md
@@ −1 @@
1# @second-brain/sync — Agent Instructions
2 
3Yjs CRDT sync layer for real-time collaborative knowledge graphs.
4 
5## Entry Point
6 
7`src/sync-manager.ts` → `SyncManager` coordinates sync state.
8 
9## Key Files
10 
11| File | Purpose |
12|------|---------|
13| `src/sync-manager.ts` | Main sync orchestrator |
14| `src/crdt/` | Yjs document bridge (entity ↔ Y.Map) |
15| `src/provider/` | Sync transport providers |
16| `src/relay/` | Relay server helpers |
17 
18## Architecture
19 
20- Uses **Yjs** CRDTs for conflict-free merging
21- Bridge converts between `Entity`/`Relation` objects and Yjs documents
22- Each namespace gets its own Yjs document
23- **`'personal'` namespace is never synced** — stays local only
24- JWT auth for relay connections
25- `.ystate` files for persistence
26 
27## Conventions
28 
29- Namespace isolation: one Yjs doc per namespace
30- Session namespaces use `'session:<id>'` prefix
31- File-based persistence via `.ystate` directory
32 
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/sync — Agent Instructions
1+# CLAUDE.md
22  
3−Yjs CRDT sync layer for real-time collaborative knowledge graphs.
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/sync-manager.ts` → `SyncManager` coordinates sync state.
8− 
9−## Key Files
10− 
11−| File | Purpose |
12−|------|---------|
13−| `src/sync-manager.ts` | Main sync orchestrator |
14−| `src/crdt/` | Yjs document bridge (entity ↔ Y.Map) |
15−| `src/provider/` | Sync transport providers |
16−| `src/relay/` | Relay server helpers |
17− 
18−## Architecture
19− 
20−- Uses **Yjs** CRDTs for conflict-free merging
21−- Bridge converts between `Entity`/`Relation` objects and Yjs documents
22−- Each namespace gets its own Yjs document
23−- **`'personal'` namespace is never synced** — stays local only
24−- JWT auth for relay connections
25−- `.ystate` files for persistence
26− 
27−## Conventions
28− 
29−- Namespace isolation: one Yjs doc per namespace
30−- Session namespaces use `'session:<id>'` prefix
31−- File-based persistence via `.ystate` directory
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
3211  
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack