RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/thangaram611/second-brain

AGENTS.md

packages/sync/AGENTS.md
AGENTS.md

Quality

48/100

Scores the file, not the repository.

Length

132 words

5 headings · 0 code blocks

Repository

0

— · pushed 32 days ago

Last changed

3 days ago

First indexed 3 days ago.
thangaram611/second-brain/packages/sync/AGENTS.mdRawGitHub
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 

Sections

  • @second-brain/sync — Agent Instructions
  • Entry Point
  • Key Files
  • Architecture
  • Conventions

What it covers

code-styleagent-behaviour

Stack — with the evidence

typescript

(1.00)

node

(1.00)

turborepo

(1.00)

vitest

(1.00)

eslint

(1.00)

react

(0.70)

express

(0.70)

drizzle

(0.70)

tailwind

(0.70)

vite

(0.70)

javascript

(0.60)

monorepo

(0.60)

pnpm

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
thangaram611
Language
—
License
—
Archived
no

All configs in this repo

Also in thangaram611/second-brain

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
thangaram611/second-brain.clinerules/01-project.md · 0Cline rulestypescriptnode+12setuptestmonorepodo-not65/1003 days ago
thangaram611/second-brain.clinerules/02-conventions.md · 0Cline rulestypescriptnode+12teststyledo-not40/1003 days ago
thangaram611/second-brain.clinerules/03-backend.md · 0Cline rulestypescriptnode+12styledatabase37/1003 days ago
thangaram611/second-brain.clinerules/04-frontend.md · 0Cline rulestypescriptnode+12style28/1003 days ago
thangaram611/second-brain.clinerules/05-testing.md · 0Cline rulestypescriptnode+12testdo-not35/1003 days ago
thangaram611/second-brain.clinerules/06-data-model.md · 0Cline rulestypescriptnode+12types25/1003 days ago
thangaram611/second-brain.cursor/rules/backend.mdc · 0Cursor rulestypescriptnode+12do-not31/1003 days ago
thangaram611/second-brain.cursor/rules/data-model.mdc · 0Cursor rulestypescriptnode+12types30/1003 days ago
thangaram611/second-brain.cursor/rules/frontend.mdc · 0Cursor rulestypescriptnode+12do-not31/1003 days ago
thangaram611/second-brain.cursor/rules/project.mdc · 0Cursor rulestypescriptnode+12testdo-notagent-behaviour50/1003 days ago
thangaram611/second-brain.cursor/rules/testing.mdc · 0Cursor rulestypescriptnode+12testdo-not27/1003 days ago
thangaram611/second-brain.github/copilot-instructions.md · 0Copilot instructionstypescriptnode+12setupteststylearch+496/1003 days ago
thangaram611/second-brain.windsurfrules · 0Windsurf rulestypescriptnode+12setupteststylearch+475/1003 days ago
thangaram611/second-brainAGENTS.md · 0AGENTS.mdtypescriptnode+12setupteststyletypes+374/1003 days ago
thangaram611/second-brainCLAUDE.md · 0CLAUDE.mdtypescriptnode+12agent-behaviour16/1003 days ago
thangaram611/second-brainapps/relay/AGENTS.md · 0AGENTS.mdtypescriptnode+12monorepoagent-behaviour33/1003 days ago
thangaram611/second-brainapps/server/AGENTS.md · 0AGENTS.mdtypescriptnode+12styleapimonorepoagent-behaviour56/1003 days ago
thangaram611/second-brainapps/ui/AGENTS.md · 0AGENTS.mdtypescriptnode+12styleuimonorepoagent-behaviour56/1003 days ago
thangaram611/second-brainpackages/collectors/AGENTS.md · 0AGENTS.mdtypescriptnode+12agent-behaviour52/1003 days ago
thangaram611/second-brainpackages/core/AGENTS.md · 0AGENTS.mdtypescriptnode+12testtypesdatabaseagent-behaviour62/1003 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.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
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