-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrulesync.jsonc
More file actions
38 lines (35 loc) · 1.61 KB
/
Copy pathrulesync.jsonc
File metadata and controls
38 lines (35 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// rulesync config - single source of truth for all AI-agent instruction files.
// Source lives in .rulesync/ (rules, subagents, commands, mcp.json).
// Regenerate with `pnpm sync:agents`; CI checks with `pnpm sync:agents:check`.
{
"$schema": "https://github.com/dyoshikawa/rulesync/releases/latest/download/config-schema.json",
// Agents this repo targets, with per-target features. agentsmd is rules-only so
// AGENTS.md stays a clean human brief (no simulated-command boilerplate).
// hooks: generated for copilot from .rulesync/hooks.json (-> .rulesync/hooks/*.mjs).
// Claude's hooks stay hand-written in .claude/settings.json (which also holds
// enabledMcpjsonServers - not in rulesync's model), pointing at the same .mjs scripts.
// permissions are NOT managed here (hand-kept in settings.json).
// codexcli: rules (AGENTS.md) + mcp (config.toml) only - its commands/subagents
// are simulation-only (we keep simulation off) and it has no hooks system.
"targets": {
"agentsmd": ["rules"],
"claudecode": [
"rules",
"mcp",
"subagents",
"commands",
"skills",
"hooks",
"permissions",
"ignore",
],
"copilot": ["rules", "mcp", "subagents", "commands", "hooks"],
"codexcli": ["rules", "mcp", "subagents", "commands", "hooks", "permissions", "ignore"],
},
// rulesync emits Copilot agents/prompts natively - no simulation needed, and
// leaving these off keeps AGENTS.md free of simulation boilerplate.
"simulateCommands": false,
"simulateSubagents": false,
// Never bulk-delete output dirs (eg .github also holds workflows).
"delete": false,
}