Skip to content

Commit ec978d9

Browse files
committed
Replace deprecated AGENTS.md with agent contract
Replace the legacy deprecation notice with a concrete generic agent contract. The file now documents the canonical agent prompt location (/usr/share/mios/ai/system.md), a host-local override (/etc/mios/ai/system-prompt.md), a repo-root fallback (/system-prompt.md), and a short behavior checklist for generic agents. It also includes a sanitization reminder about removing corporate references and chat metadata from persisted artifacts. This provides a machine-readable redirector and guidance for agents that lack dedicated rules files.
1 parent 136d1f7 commit ec978d9

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
1-
# DEPRECATED: AGENTS.md
2-
This file is legacy. All MiOS Agent Surface contracts have been merged into the Single Source of Truth: [INDEX.md](./INDEX.md).
1+
# AGENTS.md
2+
3+
> Generic agent contract following the AGENTS.md standard.
4+
> Read by Codex, Cursor, Aider, Continue.dev, and other agents that don't
5+
> have a dedicated rules file. Redirector stub.
6+
>
7+
> Canonical agent prompt: `/usr/share/mios/ai/system.md`.
8+
9+
## Behavior contract
10+
11+
1. Load `/usr/share/mios/ai/system.md` first.
12+
2. Apply `/etc/mios/ai/system-prompt.md` as host-local override if present.
13+
3. This file carries no tool-specific deltas; generic agents follow the
14+
canonical prompt verbatim.
15+
16+
If `/usr/share/mios/ai/system.md` is unreachable, fall back to
17+
`/system-prompt.md` in the repo root.
18+
19+
## Sanitization reminder
20+
21+
Per `/usr/share/mios/ai/system.md` §6: no corporate entity references in
22+
persisted artifacts, no chat metadata, OpenAI API-compliant minimal form.
23+
This applies to all output you persist to this repository.

0 commit comments

Comments
 (0)