agentleFS
csmar432csmar432/finai-research/.cursor/rules/agent-host-isolation.mdc

finai-research / rules

Cursor rule109 starsChanged 3 months agoMITView on GitHub

Isolation / autopilot host protocol (overrides greet-HITL when FINAI_AUTOPILOT)

The file

We split this agent-host-isolation.mdc into the rules it gives an agent

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

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user (or slot) requires no questions, no wait, no Mock:

    line 9
  2. Very specific:

    Prefer python scripts/agent_host_entry.py for writing.

    line 11
  3. Very specific:

    Never substitute: city patents → firm green patents.

    line 16
  4. Distinctive:

    Do not start MCP servers unless the user asked.

    line 20

≈ “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
agent-host-isolation.mdc
---
description: Isolation / autopilot host protocol (overrides greet-HITL when FINAI_AUTOPILOT)
globs:
alwaysApply: false
---

# Agent-host isolation (when user says 不需要确认 / FINAI_NO_HITL / 交 FINAL)

When the user (or slot) requires **no questions, no wait, no Mock**:

1. Prefer `python scripts/agent_host_entry.py` for writing; for empirics prefer
   `python -m scripts.research_framework.enhanced_pipeline --explore --panel ...`
   (or `modern_did` / `robustness_runner`). Thin official results are a product bug —
   deepen **inside** FinAI, don't invent `run_real_*.py` outside the APIs.
2. Set / respect `FINAI_EMPIRICAL_DATA_ROOT`. Local panels before remote / proxy.
3. Never substitute: city patents → firm green patents; overseas revenue → customs HS;
   interest coverage → bond spreads. Record hard-gaps in `SKIPPED_CONFIG.md`.
4. Delivery must include `FINAL.md` + `SKIPPED_CONFIG.md` (not only `CODEX_FINAL.md` / PDF).
5. Writing success with empirics gaps = `partial`, not journal-ready causal completion.
6. Do not start MCP servers unless the user asked; do not invent coefficients.
7. Demo/Mock panels require explicit `--allow-demo` / `allow_synthetic=True`.

Interactive research chats (no autopilot) still follow `system-init.mdc` greet + HITL.

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.