AGENTS.md
packages/sync/AGENTS.mdAGENTS.md
Quality
48/100
Scores the file, not the repository.Length
132 words
5 headings · 0 code blocksRepository
0
— · pushed 32 days agoLast changed
3 days ago
First indexed 3 days ago.1# @second-brain/sync — Agent Instructions23Yjs CRDT sync layer for real-time collaborative knowledge graphs.45## Entry Point67`src/sync-manager.ts` → `SyncManager` coordinates sync state.89## Key Files1011| 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 |1718## Architecture1920- Uses **Yjs** CRDTs for conflict-free merging21- Bridge converts between `Entity`/`Relation` objects and Yjs documents22- Each namespace gets its own Yjs document23- **`'personal'` namespace is never synced** — stays local only24- JWT auth for relay connections25- `.ystate` files for persistence2627## Conventions2829- Namespace isolation: one Yjs doc per namespace30- Session namespaces use `'session:<id>'` prefix31- File-based persistence via `.ystate` directory32
Also in thangaram611/second-brain
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| thangaram611/second-brain.clinerules/01-project.md · 0 | Cline rules | setuptestmonorepodo-not | 65/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/02-conventions.md · 0 | Cline rules | teststyledo-not | 40/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/03-backend.md · 0 | Cline rules | styledatabase | 37/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/04-frontend.md · 0 | Cline rules | style | 28/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/05-testing.md · 0 | Cline rules | testdo-not | 35/100 | 3 days ago | |
| thangaram611/second-brain.clinerules/06-data-model.md · 0 | Cline rules | types | 25/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/backend.mdc · 0 | Cursor rules | do-not | 31/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/data-model.mdc · 0 | Cursor rules | types | 30/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/frontend.mdc · 0 | Cursor rules | do-not | 31/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/project.mdc · 0 | Cursor rules | testdo-notagent-behaviour | 50/100 | 3 days ago | |
| thangaram611/second-brain.cursor/rules/testing.mdc · 0 | Cursor rules | testdo-not | 27/100 | 3 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 3 days ago | |
| thangaram611/second-brain.windsurfrules · 0 | Windsurf rules | setupteststylearch+4 | 75/100 | 3 days ago | |
| thangaram611/second-brainAGENTS.md · 0 | AGENTS.md | setupteststyletypes+3 | 74/100 | 3 days ago | |
| thangaram611/second-brainCLAUDE.md · 0 | CLAUDE.md | agent-behaviour | 16/100 | 3 days ago | |
| thangaram611/second-brainapps/relay/AGENTS.md · 0 | AGENTS.md | monorepoagent-behaviour | 33/100 | 3 days ago | |
| thangaram611/second-brainapps/server/AGENTS.md · 0 | AGENTS.md | styleapimonorepoagent-behaviour | 56/100 | 3 days ago | |
| thangaram611/second-brainapps/ui/AGENTS.md · 0 | AGENTS.md | styleuimonorepoagent-behaviour | 56/100 | 3 days ago | |
| thangaram611/second-brainpackages/collectors/AGENTS.md · 0 | AGENTS.md | agent-behaviour | 52/100 | 3 days ago | |
| thangaram611/second-brainpackages/core/AGENTS.md · 0 | AGENTS.md | testtypesdatabaseagent-behaviour | 62/100 | 3 days ago |
Diff against .clinerules/01-project.md Diff against .clinerules/02-conventions.md Diff against .clinerules/03-backend.md Diff against .clinerules/04-frontend.md Diff against .clinerules/05-testing.md Diff against .clinerules/06-data-model.md Diff against .cursor/rules/backend.mdc Diff against .cursor/rules/data-model.mdc Diff against .cursor/rules/frontend.mdc Diff against .cursor/rules/project.mdc Diff against .cursor/rules/testing.mdc Diff against .github/copilot-instructions.md Diff against .windsurfrules Diff against AGENTS.md Diff against CLAUDE.md Diff against apps/relay/AGENTS.md Diff against apps/server/AGENTS.md Diff against apps/ui/AGENTS.md Diff against packages/collectors/AGENTS.md Diff against packages/core/AGENTS.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
