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
{{ message }}
Repository navigation
Commit 9f75ca5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
Use English for all user-facing prompts, UI labels, errors, generated bot messages, examples, and documentation. Do not hard-code a personal account in defaults.
4
4
5
+
Never push commits directly to `main` or modify its files through GitHub APIs.
6
+
All changes reach `main` by merging a PR from `release`. Feature PRs target
7
+
`release`; version and post-publication README commits belong on `release`.
8
+
5
9
## Project context
6
10
7
11
This repository implements issue-to-PR automation for OpenCode **2**: a scheduler,
|[docs/runtime.md](docs/runtime.md)| User-visible behavior while the bot runs: GitHub questions and permission replies, branch selection, media inputs, prompt loading, follow-up comments, session tabs, and routine management commands. | Use when changing issue conversations, session continuation, runtime tools, or TUI behavior. |
25
29
|[docs/advanced.md](docs/advanced.md)| Separate scheduler/dispatcher setup, multiple repositories, custom RPC jobs, full options, timeouts, management and retry commands, persistence, reconciliation, locks, and known limits. | Use for low-level configuration, operational troubleshooting, recovery, or ownership/concurrency changes. |
26
30
|[docs/installation.md](docs/installation.md)| Loader registration, config-directory precedence, prerequisites, source installation, project-local installation, upgrade conflicts, testing on another machine, and migration limits. | Use when working on packaging, installers, registration, upgrades, or deployment troubleshooting. |
31
+
|[docs/releases.md](docs/releases.md)| Feature-to-release PR checks, automatic patch versions, manual npm version/tag releases, exact changelog notes, publication recovery, README commits on release, and promotion PRs into protected main. | Use for CI triggers, versioning, packaging, GitHub Release publication, branch permissions, or recovery after a failed release. |
27
32
28
33
For common investigations:
29
34
@@ -38,11 +43,11 @@ For common investigations:
38
43
-**Why is polling inactive or duplicated?** Read architecture ownership,
39
44
workflow section 1, and installation registration details.
40
45
41
-
For release changes, read the README's **GitHub Actions and releases** section,
42
-
`CHANGELOG.md`, and `.github/workflows/release.yml`. Every release tag must have
43
-
an exact version section in the changelog. `scripts/release-notes.mjs` extracts
44
-
that section; `scripts/update-release-readme.mjs`maintains the marked installation
45
-
block on the default branch after stable publication. Keep its markers intact.
46
+
For release changes, read `docs/releases.md`, `CHANGELOG.md`, and the workflows
47
+
under `.github/workflows/`. `scripts/release-pipeline.mjs` handles automatic and
48
+
manual releases, retry state, and promotion. `scripts/release-notes.mjs` extracts
49
+
the exact tagged changelog section; `scripts/update-release-readme.mjs`renders
50
+
the installation block without making remote writes. Keep its markers intact.
0 commit comments