opencode-forgekeeper 3.0.2 → 3.2.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 +32 -8
- package/dist/index.js +2143 -862
- package/dist/tui.js +106 -9
- 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,32 @@ 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
|
-
Forgekeeper reports failed jobs but
|
|
110
|
+
Forgekeeper reports failed jobs but never retries or fixes 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
|
+
|
|
120
|
+
A `job-failed` rule investigates failed jobs on exact projects instead. Once a pipeline's
|
|
121
|
+
failures go quiet for four minutes, or the pipeline finishes, one turn reads the failed jobs'
|
|
122
|
+
logs and reports each failure's cause and a recommended fix, without changing anything. It runs
|
|
123
|
+
on PRs/MRs you wrote or review, with the checkout at the head commit the pipeline tested. See
|
|
124
|
+
[Investigate failed jobs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#investigate-failed-jobs).
|
|
125
|
+
|
|
110
126
|
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)
|
|
127
|
+
[monitoring eligibility](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#which-sessions-the-server-watches),
|
|
128
|
+
[stacked PRs/MRs](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#stacked-prsmrs), and
|
|
129
|
+
[preparing fixes](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback) for details.
|
|
113
130
|
|
|
114
131
|
## Options
|
|
115
132
|
|
|
@@ -130,6 +147,8 @@ Only specify values you want to change. The terminal part has no separate option
|
|
|
130
147
|
| `delivery.reviews` | `"inbox"` | Review delivery: `inbox`, `passive`, or `summary`. |
|
|
131
148
|
| `delivery.lifecycle` | `"inbox"` | Conflict, job-failure, and merge delivery. |
|
|
132
149
|
| `lifecycleExecution.parentMerged` | `{ "mode": "notify" }` | Optionally prepare retarget proposals for tracked dependents. |
|
|
150
|
+
| `automation.rules` | No rules | Reviewers whose feedback starts a coding turn that prepares fixes, or projects whose failed jobs start an investigation, optionally limited to allowed models. |
|
|
151
|
+
| `automation.modelGroups` | No groups | Named lists of `provider/model` IDs that rules reference in `allowedModelGroup`. |
|
|
133
152
|
|
|
134
153
|
See the [configuration reference](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#options) for validation behavior and
|
|
135
154
|
[review-bot configuration](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#review-notifications) for account matching.
|
|
@@ -137,7 +156,12 @@ See the [configuration reference](https://github.com/pedropombeiro/opencode-plug
|
|
|
137
156
|
## Security and privacy
|
|
138
157
|
|
|
139
158
|
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.
|
|
159
|
+
edit files, commit, push, reply to comments, or resolve discussions. Only an
|
|
160
|
+
[automation rule](https://github.com/pedropombeiro/opencode-plugins/blob/main/packages/forgekeeper/docs/reference.md#prepare-fixes-from-review-feedback)
|
|
161
|
+
or **Act on feedback** starts a coding turn that edits files, with the session's permissions.
|
|
162
|
+
That turn sends reviewer text to the model as untrusted data, keeps it in the session's
|
|
163
|
+
history, and leaves changes uncommitted. A failed-job investigation sends job names and
|
|
164
|
+
links the same way, and the agent reads job logs with the session's tools.
|
|
141
165
|
|
|
142
166
|
Optional review summaries send review text to the session's model, isolated from conversation
|
|
143
167
|
history and ordinary tools. On GitLab, a restricted tool can read notes directly linked by
|