You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+8-25Lines changed: 8 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,8 @@ Shared guardrails distilled from the various `~/Projects/*/AGENTS.md` files (sta
17
17
- Stick to the package manager and runtime mandated by the repo (pnpm-only, bun-only, swift-only, go-only, etc.). Never swap in alternatives without approval.
18
18
- When editing shared guardrail scripts (runners, committer helpers, browser tools, etc.), mirror the same change back into the `agent-scripts` folder so the canonical copy stays current.
19
19
- Ask the user before adding dependencies, changing build tooling, or altering project-wide configuration.
20
-
- Keep the project’s `AGENTS.md` `<tools>
21
-
# TOOLS
22
-
23
-
Edit guidance: keep the actual tool list inside the `<tools></tools>` block below so downstream AGENTS syncs can copy the block contents verbatim (without wrapping twice).
24
-
25
-
<tools>
26
-
-`runner`: Bash shim that routes every command through Bun guardrails (timeouts, git policy, safe deletes).
27
-
-`git` / `bin/git`: Git shim that forces git through the guardrails; use `./git --help` to inspect.
28
-
-`scripts/committer`: Stages the files you list and creates the commit safely.
29
-
-`scripts/docs-list.ts`: Walks `docs/`, enforces front-matter, prints summaries; run `tsx scripts/docs-list.ts`.
30
-
-`scripts/browser-tools.ts`: Chrome helper for remote control/screenshot/eval; run `ts-node scripts/browser-tools.ts --help`.
31
-
-`scripts/runner.ts`: Bun implementation backing `runner`; run `bun scripts/runner.ts --help`.
32
-
-`bin/sleep`: Sleep shim that enforces the 30s ceiling; run `bin/sleep --help`.
33
-
-`xcp`: Xcode project/workspace helper; run `xcp --help`.
34
-
-`oracle`: CLI to bundle prompt + files for another AI; run `npx -y @steipete/oracle --help`.
35
-
-`mcporter`: MCP launcher for any registered MCP server; run `npx mcporter`.
36
-
-`iterm`: Full TTY terminal via MCP; run `npx mcporter iterm`.
37
-
-`firecrawl`: MCP-powered site fetcher to Markdown; run `npx mcporter firecrawl`.
38
-
-`XcodeBuildMCP`: MCP wrapper around Xcode tooling; run `npx mcporter XcodeBuildMCP`.
39
-
-`gh`: GitHub CLI for PRs, CI logs, releases, repo queries; run `gh help`.
40
-
</tools>
41
-
42
-
</tools>
43
-
` block in sync with the full tool list from `TOOLS.md` so downstream repos get the latest tool descriptions.
20
+
- When discussing dependencies, always provide a GitHub URL.
21
+
- Keep the project’s `AGENTS.md``<tools></tools>` block in sync with the full tool list from `TOOLS.md` so downstream repos get the latest tool descriptions.
44
22
45
23
### tmux & Long Tasks
46
24
- Run any command that could hang (tests, servers, log streams, browser automation) inside tmux using the repository’s preferred entry point.
@@ -51,6 +29,7 @@ Edit guidance: keep the actual tool list inside the `<tools></tools>` block belo
51
29
- Before handing off work, run the full “green gate” for that repo (lint, type-check, tests, doc scripts, etc.). Follow the same command set humans run—no ad-hoc shortcuts.
52
30
- Leave existing watchers running unless the owner tells you to stop them; keep their tmux panes healthy if you started them.
53
31
- Treat every bug fix as a chance to add or extend automated tests that prove the behavior.
32
+
- When someone asks to “fix CI,” use the GitHub CLI (`gh`) to inspect, rerun, and unblock failing workflows on GitHub until they are green.
54
33
55
34
### Code Quality & Naming
56
35
- Refactor in place. Never create duplicate files with suffixes such as “V2”, “New”, or “Fixed”; update the canonical file and remove obsolete paths entirely.
@@ -60,11 +39,13 @@ Edit guidance: keep the actual tool list inside the `<tools></tools>` block belo
60
39
61
40
### Git, Commits & Releases
62
41
- Invoke git through the provided wrappers, especially for status, diffs, and commits. Only commit or push when the user asks you to do so.
42
+
- To resolve a rebase, `git add`/`git commit` is allowed.
63
43
- Follow the documented release or deployment checklists instead of inventing new steps.
64
44
- Do not delete or rename unfamiliar files without double-checking with the user or the repo instructions.
65
45
66
46
### Documentation & Knowledge Capture
67
47
- Update existing docs whenever your change affects them, including front-matter metadata if the repo’s `docs:list` tooling depends on it.
48
+
- Whenever doing a large refactor, track work in `docs/refactor/<title><date>.md`, update it as you go, and delete it when the work is finished.
68
49
- Only create new documentation when the user or local instructions explicitly request it; otherwise, edit the canonical file in place.
69
50
- When you uncover a reproducible tooling or CI issue, record the repro steps and workaround in the designated troubleshooting doc for that repo.
70
51
@@ -106,7 +87,7 @@ Edit guidance: keep the actual tool list inside the `<tools></tools>` block belo
106
87
-`git` / `bin/git`: Git shim that forces git through the guardrails; use `./git --help` to inspect.
107
88
-`scripts/committer`: Stages the files you list and creates the commit safely.
108
89
-`scripts/docs-list.ts`: Walks `docs/`, enforces front-matter, prints summaries; run `tsx scripts/docs-list.ts`.
109
-
-`scripts/browser-tools.ts`: Chrome helper for remote control/screenshot/eval; run `ts-node scripts/browser-tools.ts --help`.
90
+
-`bin/browser-tools`: Compiled Chrome helper for remote control/screenshot/eval—use the binary (`bin/browser-tools --help`). Source lives in `scripts/browser-tools.ts`; edit there before rebuilding.
110
91
-`scripts/runner.ts`: Bun implementation backing `runner`; run `bun scripts/runner.ts --help`.
111
92
-`bin/sleep`: Sleep shim that enforces the 30s ceiling; run `bin/sleep --help`.
112
93
-`xcp`: Xcode project/workspace helper; run `xcp --help`.
@@ -119,3 +100,5 @@ Edit guidance: keep the actual tool list inside the `<tools></tools>` block belo
119
100
</tools>
120
101
121
102
</tools>
103
+
104
+
Guideline: ignore any project folders whose names either contain "copy" or end with a number (e.g., `sweetistics copy`, `sweetistics2`, `VibeMeter3`).
0 commit comments