mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update AGENTS.md
This commit is contained in:
@@ -34,6 +34,7 @@ Only record items that are repo-specific, likely to recur, and have a concrete m
|
|||||||
| `CHANGELOG.md` or package version changed | Run `yarn blotter:check`; if needed add a concise release one-liner |
|
| `CHANGELOG.md` or package version changed | Run `yarn blotter:check`; if needed add a concise release one-liner |
|
||||||
| UI/visual behavior changed | Verify in browser with `playwright-cli`; test desktop and mobile viewport |
|
| UI/visual behavior changed | Verify in browser with `playwright-cli`; test desktop and mobile viewport |
|
||||||
| New reviewable feature/fix started while on `master` | Create a short-lived `feature/*`, `fix/*`, `docs/*`, or `chore/*` branch from `master` before editing; use a separate worktree only for parallel tasks |
|
| New reviewable feature/fix started while on `master` | Create a short-lived `feature/*`, `fix/*`, `docs/*`, or `chore/*` branch from `master` before editing; use a separate worktree only for parallel tasks |
|
||||||
|
| New unrelated task started while another task branch is already checked out or being worked on by another agent | Create a separate worktree from `master`, create a new short-lived task branch there, and keep each agent on its own worktree/branch/PR |
|
||||||
| Open PR needs feedback triage or merge readiness check | Use the `review-and-merge-pr` skill to inspect bot/human feedback, fix valid findings, and merge only after verification |
|
| Open PR needs feedback triage or merge readiness check | Use the `review-and-merge-pr` skill to inspect bot/human feedback, fix valid findings, and merge only after verification |
|
||||||
| Repo AI workflow files changed (`.codex/**`, `.cursor/**`) | Keep the Codex and Cursor copies aligned when they represent the same workflow; update `AGENTS.md` if the default agent policy changes |
|
| Repo AI workflow files changed (`.codex/**`, `.cursor/**`) | Keep the Codex and Cursor copies aligned when they represent the same workflow; update `AGENTS.md` if the default agent policy changes |
|
||||||
| GitHub operation needed | Use `gh` CLI, not GitHub MCP |
|
| GitHub operation needed | Use `gh` CLI, not GitHub MCP |
|
||||||
@@ -96,6 +97,9 @@ src/
|
|||||||
- Open PRs from task branches into `master` so review bots can run against the actual change.
|
- Open PRs from task branches into `master` so review bots can run against the actual change.
|
||||||
- Prefer short-lived task branches over a long-lived `develop` branch unless the user explicitly asks for a staging branch workflow.
|
- Prefer short-lived task branches over a long-lived `develop` branch unless the user explicitly asks for a staging branch workflow.
|
||||||
- Use worktrees only when parallel tasks need isolated checkouts. One active task branch per worktree.
|
- Use worktrees only when parallel tasks need isolated checkouts. One active task branch per worktree.
|
||||||
|
- If a new task is unrelated to the currently checked out branch, do not stack it on that branch. Create a new worktree from `master` and create a separate short-lived task branch there.
|
||||||
|
- Treat branch and worktree as different things: the branch is the change set; the worktree is the checkout where that branch is worked on.
|
||||||
|
- For parallel unrelated tasks, give each task its own branch from `master`, its own worktree, and its own PR into `master`.
|
||||||
- After a reviewed branch is merged, prefer deleting it to keep branch drift and merge conflicts low.
|
- After a reviewed branch is merged, prefer deleting it to keep branch drift and merge conflicts low.
|
||||||
|
|
||||||
### Bug Investigation Rules
|
### Bug Investigation Rules
|
||||||
|
|||||||
Reference in New Issue
Block a user