agentleFS
MicrosoftKnown publishermicrosoft/FluidFramework/server/historian/CLAUDE.md

FluidFramework / historian

CLAUDE.md4.9k starsChanged 4 months agoMITView on GitHub

Historian is a service that tracks the historical record for a Fluid document. It acts as a proxy to the underlying git repository that maintains versioned snapshots. This is a release group root with two packages: Runtime config is in packages/historian/config.json and loaded via nconf.

  • Installs packages

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 1 mentionApr 2026: 1 mentionMay 2026: 3 mentionsJun 2026: 21 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/FluidFramework repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/FluidFramework

The biggest 5 of 46 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 46

Talked about on GitHub and Hacker News (46 times).

On GitHub · 42

37 more on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test framework: mocha (historian-base only)

    line 37
  2. Distinctive:

    Follow the root repo's CLAUDE.md: use string literals (not hex codes) for new assert messages.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Historian — Agent Context

Overview

Historian is a service that tracks the historical record for a Fluid document. It acts as a proxy to the underlying git repository that maintains versioned snapshots.

Structure

This is a release group root with two packages:

  • @fluidframework/historian (packages/historian) — Express-based HTTP server entry point (src/www.ts). Depends on historian-base.
  • @fluidframework/historian-base (packages/historian-base) — Core logic: routes, services, runner, and customizations (src/). Contains tests under src/test/.

Build & Dev

  • Package manager: pnpm (v11.27.0). Do not use npm install.
  • Node: >=22.22.2
  • Build: pnpm install && npm run build (compiles TypeScript then lints)
  • Build (compile only): npm run build:compile
  • Lint: npm run lint (prettier + eslint)
  • Lint fix: npm run lint:fix
  • Test: npm run test (runs mocha tests in historian-base)
  • Test with coverage: cd packages/historian-base && npm run test:coverage (c8 + mocha)
  • Docker build: npm run build:docker (requires root build context: --build-context root=../..)

Key Dependencies

  • Express for HTTP serving
  • ioredis for Redis caching
  • axios for upstream HTTP calls to git REST API
  • winston for logging
  • nconf for configuration
  • jsonwebtoken for JWT auth (in historian-base)

Testing

  • Test framework: mocha (historian-base only)
  • Mocking: sinon, axios-mock-adapter, ioredis-mock
  • HTTP testing: supertest
  • Tests live in packages/historian-base/src/test/
  • Build tests separately: cd packages/historian-base && npm run build:test

Configuration

Runtime config is in packages/historian/config.json and loaded via nconf.

Conventions

  • Follow the root repo's CLAUDE.md: use string literals (not hex codes) for new assert messages.
  • TypeScript ~5.1.6. Do not upgrade without coordination.
  • ESLint flat config (eslint.config.mts at root and per-package).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.