agentleFS
brianonbased-devbrianonbased-dev/HoloScript/.cursor/rules/holodoor-security.mdc

HoloScript / rules

Cursor rule9 starsChanged 3 months agoMITView on GitHub

HoloDoor security guardrails (replaces Corridor)

The file

We split this holodoor-security.mdc into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Corridor is deprecated for this workspace: Do not use the Corridor MCP server, call_mcp_tool with server corridor, or any Corridor-specific …

    line 7
  2. Distinctive:

    If any older instruction still references Corridor, treat it as superseded by HoloDoor.

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
holodoor-security.mdc
---
description: HoloDoor security guardrails (replaces Corridor)
globs:
alwaysApply: true
---

**Corridor is deprecated for this workspace.** Do not use the Corridor MCP server, `call_mcp_tool` with server `corridor`, or any Corridor-specific tooling.

Use **HoloDoor** instead:

1. **Policy** – HoloDoor policy lives in the founder integration repo: `~/.ai-ecosystem/.holodoor/policy.json` (and optional user `~/.holodoor/policy.json`). Team policy may be served from HoloMesh `GET /api/holomesh/team/{teamId}/holodoor/policy` when the MCP server is deployed. HoloScript does not vendor its own policy file; it inherits.
2. **Enforcement** – Hooks fire from the global Claude Code config: `~/.ai-ecosystem/hooks/posttooluse/holodoor.mjs` and `~/.ai-ecosystem/hooks/stop/holodoor-flush.mjs` via `~/.ai-ecosystem/hooks/run-hook.mjs`. See `~/.ai-ecosystem/hooks/holodoor/README.md` for wiring.
3. **MCP allowlists** – From the ai-ecosystem repo: `npm run holodoor -- validate` checks MCP config against merged policy. There is no HoloScript-local equivalent.
4. **Planning** – Before substantive code generation, produce a concise plan (goal, steps, files touched, security notes). No third-party "plan analysis" MCP is required.

If any older instruction still references Corridor, treat it as superseded by HoloDoor.

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.