opencode-forgekeeper 3.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -7
- package/dist/index.js +1838 -770
- package/dist/tui.js +95 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,7 +64,8 @@ For example, this footer tracks four MRs, with one conflict and two already merg
|
|
|
64
64
|
| `/forge-open` | Open the PR/MR in your browser. Aliases: `/mr-open`, `/pr-open`. |
|
|
65
65
|
| `/forge-feedback` | Browse pending review feedback and PR/MR updates. |
|
|
66
66
|
|
|
67
|
-
Status normally refreshes every 2 minutes, or every 30 seconds during automated reviews
|
|
67
|
+
Status normally refreshes every 2 minutes, or every 30 seconds during automated reviews and
|
|
68
|
+
while new review feedback settles.
|
|
68
69
|
Explicit PR/MR targets take precedence over title references and branch discovery. Issue
|
|
69
70
|
targets have no PR/MR status.
|
|
70
71
|
|
|
@@ -100,16 +101,26 @@ Each delivery option accepts:
|
|
|
100
101
|
- `summary`: start a restricted summary turn after active work finishes. Review updates
|
|
101
102
|
without comments use a passive notice instead.
|
|
102
103
|
|
|
103
|
-
Human and GitLab Duo feedback wait for a
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
Human and GitLab Duo feedback wait for a four-minute quiet period, with status polling every
|
|
105
|
+
30 seconds meanwhile, so an update arrives within about 5 minutes of the last comment. That's
|
|
106
|
+
before a typical 5-minute prompt cache expires. Monitoring records an initial baseline rather
|
|
107
|
+
than announcing existing feedback. Pending updates survive reloads and clear when acknowledged
|
|
108
|
+
or no longer relevant; merge updates remain until acknowledged.
|
|
106
109
|
|
|
107
110
|
Forgekeeper reports failed jobs but doesn't retry or fix them. For tracked stacks, it can
|
|
108
111
|
also propose retargeting dependents after a parent merges, but never retargets or rebases itself.
|
|
109
112
|
|
|
113
|
+
Optionally, `automation.rules` lets exact reviewers on exact projects, such as GitLab Duo, start
|
|
114
|
+
a coding turn that prepares fixes for their feedback. It runs only on PRs/MRs you wrote, in the
|
|
115
|
+
one session that targets them, with the checkout on the source branch. A rule can require models
|
|
116
|
+
you trust with code changes. The turn uses the session's instructions and permissions, and
|
|
117
|
+
leaves changes uncommitted. In `/forge-feedback`, **Act on feedback** (Ctrl+A) starts the same
|
|
118
|
+
turn on request, and **Retry feedback work** (Ctrl+T) retries one after you inspect it.
|
|
119
|
+
|
|
110
120
|
See [review detection and summaries](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications),
|
|
111
|
-
[monitoring eligibility](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#which-sessions-the-server-watches),
|
|
112
|
-
[stacked PRs/MRs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#stacked-prsmrs)
|
|
121
|
+
[monitoring eligibility](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#which-sessions-the-server-watches),
|
|
122
|
+
[stacked PRs/MRs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#stacked-prsmrs), and
|
|
123
|
+
[preparing fixes](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback) for details.
|
|
113
124
|
|
|
114
125
|
## Options
|
|
115
126
|
|
|
@@ -130,6 +141,8 @@ Only specify values you want to change. The terminal part has no separate option
|
|
|
130
141
|
| `delivery.reviews` | `"inbox"` | Review delivery: `inbox`, `passive`, or `summary`. |
|
|
131
142
|
| `delivery.lifecycle` | `"inbox"` | Conflict, job-failure, and merge delivery. |
|
|
132
143
|
| `lifecycleExecution.parentMerged` | `{ "mode": "notify" }` | Optionally prepare retarget proposals for tracked dependents. |
|
|
144
|
+
| `automation.rules` | No rules | Reviewers whose feedback starts a coding turn that prepares fixes, optionally limited to allowed models. |
|
|
145
|
+
| `automation.modelGroups` | No groups | Named lists of `provider/model` IDs that rules reference in `allowedModelGroup`. |
|
|
133
146
|
|
|
134
147
|
See the [configuration reference](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#options) for validation behavior and
|
|
135
148
|
[review-bot configuration](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications) for account matching.
|
|
@@ -137,7 +150,11 @@ See the [configuration reference](https://github.com/pedropombeiro/opencode-plug
|
|
|
137
150
|
## Security and privacy
|
|
138
151
|
|
|
139
152
|
Monitoring reads forge data through your authenticated CLI. It doesn't modify the forge,
|
|
140
|
-
edit files, commit, push, reply to comments, or resolve discussions.
|
|
153
|
+
edit files, commit, push, reply to comments, or resolve discussions. Only an
|
|
154
|
+
[automation rule](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback)
|
|
155
|
+
or **Act on feedback** starts a coding turn that edits files, with the session's permissions.
|
|
156
|
+
That turn sends reviewer text to the model as untrusted data, keeps it in the session's
|
|
157
|
+
history, and leaves changes uncommitted.
|
|
141
158
|
|
|
142
159
|
Optional review summaries send review text to the session's model, isolated from conversation
|
|
143
160
|
history and ordinary tools. On GitLab, a restricted tool can read notes directly linked by
|