agentleFS
polterguypolterguy/magic/AGENTS.md

magic

AGENTS.md1.2k starsChanged 4 months agoMITView on GitHub

Magic Cloud is a .NET 10 backend + React/Vite/TypeScript frontend with a Hyperlambda DSL runtime built on the Active Events (slots/signals) pattern. ~30 C# plugin projects live in plugins/, each with a .tests companion. - .NET 10 SDK required (no global.json pins it) - Frontend uses Vite + React + TypeScript, not Angular CLI - Default login: root / root - CI triggers only on version tags (v*..), not on branch pushes or PRs - Running dotnet test magic.sln from…

  • Installs packages

Trending

Quiet since August.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the polterguy/magic repository that our weekly crawl found: only 7 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about polterguy/magic

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

See all 7

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

On Hacker News · 4

On GitHub · 3

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

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

7 rules. About 0 are common, 2 are distinctive, and 5 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.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Default login: root / root

    line 31
  2. Very specific:

    Do not modify frontend/public/ngsw-worker.js — it is a generated PWA service worker.

    line 55
  3. Distinctive:

    Do not run database migrations or schema changes without asking.

    line 57
  4. Very specific:

    Do not modify files under .do/ or docker.* — they are deployment artifacts with an immutability policy.

    line 60
  5. Very specific:

    Ask before modifying magic.sln or adding/removing project references.

    line 65
  6. Very specific:

    Run dotnet test on the affected plugin before submitting changes.

    line 68
  7. Very specific:

    Prefer editing Hyperlambda files under backend/files/ directly — no build step is needed for runtime content changes.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
AGENTS.md

AGENTS.md

Magic Cloud is a .NET 10 backend + React/Vite/TypeScript frontend with a Hyperlambda DSL runtime built on the Active Events (slots/signals) pattern. ~30 C# plugin projects live in plugins/, each with a .tests companion.

Commands

Backend — builds and starts API on http://localhost:5000

cd backend && dotnet run

Frontend — dev server on http://localhost:4201

cd frontend && npm install && npm run dev

One plugin's tests

cd plugins/<plugin>/<plugin>.tests && dotnet test

All backend tests (run from repo root)

dotnet test magic.sln

Frontend typecheck + production build

cd frontend && npm run build

Frontend tests (single run, no watch)

cd frontend && npm run test

Project facts

  • .NET 10 SDK required (no global.json pins it)
  • Frontend uses Vite + React + TypeScript, not Angular CLI
  • Default login: root / root
  • CI triggers only on version tags (v*..), not on branch pushes or PRs
  • Running dotnet test magic.sln from the repo root builds and tests all backend projects including plugins

Counterintuitive patterns

  • backend/backend.csproj copies files/** to the output directory with PreserveNewest. Editing files under backend/files/ changes runtime behavior without a rebuild.
  • Plugins communicate through slots/signals, not direct project references. A C# slot is registered with [Slot(Name = "...", ValueKind = ...)] and invoked by name in Hyperlambda. Adding a new slot does not require referencing the consuming project.
  • magic.node and magic.signals are foundational — changes ripple to all plugins. Plan before touching them.
  • backend/backend.csproj references only three plugin projects directly (magic.lambda.python, magic.lambda.system, magic.library). Other plugins are pulled in transitively through magic.library.

Risk controls

  • backend/files/config/appsettings.json contains secrets and is git-tracked. Never commit changes to this file.
  • Do not modify frontend/public/ngsw-worker.js — it is a generated PWA service worker.
  • Do not run database migrations or schema changes without asking.
  • SQLite native plugins in backend/sqlite-plugins/ are platform-specific binaries; do not replace them with builds from another architecture.
  • Do not modify files under .do/ or docker.* — they are deployment artifacts with an immutability policy.

Decision rules

  • Ask before modifying magic.sln or adding/removing project references.
  • Plan before touching magic.node or magic.signals — they are load-bearing for all plugins.
  • Run dotnet test on the affected plugin before submitting changes.
  • Prefer editing Hyperlambda files under backend/files/ directly — no build step is needed for runtime content changes.

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.