@webpresso/plugin-opencode 0.0.9 → 0.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpresso/plugin-opencode",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "private": false,
5
5
  "description": "OpenCode plugin adapter package for Webpresso agent-kit.",
6
6
  "homepage": "https://github.com/webpresso/app#readme",
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "host": "opencode",
4
4
  "packageName": "@webpresso/plugin-opencode",
5
- "packageVersion": "0.0.9",
5
+ "packageVersion": "0.0.10",
6
6
  "runtimeDirs": [],
7
7
  "skills": {
8
8
  "ai-deslop": {
@@ -42,7 +42,7 @@
42
42
  "digest": "sha256:306355888da0827e3523022077f731845726bbaaf595ca12515cc91d8605b5e6"
43
43
  },
44
44
  "fix": {
45
- "digest": "sha256:1fdbda9972b9d9452b1705cefcdb46c3eaf02090b8d3af1d653ae69c8731c949"
45
+ "digest": "sha256:38ddebb82a73e9e18e5b9909585a8477285387ac7bbad2574e3708362c4d0475"
46
46
  },
47
47
  "grok": {
48
48
  "digest": "sha256:796104b04f70c8dd48cf1056c8d72d9492648f89486a35515e00af1d0de42f0a"
@@ -99,7 +99,7 @@
99
99
  "digest": "sha256:137a063d5e286934b92b1d87397b7183f8ea6c564cddc3bb7e6cde5f3f306aaf"
100
100
  },
101
101
  "verify": {
102
- "digest": "sha256:10ea1c2c1436be23721e4510fe73194f835828510e6a8995e93b84f80351fc4a"
102
+ "digest": "sha256:071c47c39e0881e381468cadbbd266f99d29c31eae2caf15c22d57591a1dbf94"
103
103
  }
104
104
  }
105
105
  }
@@ -133,9 +133,10 @@ Run the narrowest checks that prove the repaired behavior on the real repo surfa
133
133
  - `wp_test` / targeted tests for the repaired path
134
134
  - `wp_lint` / `wp_typecheck` for changed surfaces
135
135
  - `wp_qa` only when the blast radius needs the bookend
136
- - Before push: `wp_ci_preflight` (use global `wp ci-preflight` only when MCP is
137
- unavailable). Run it after the final commit and do not edit or commit again
138
- before pushing: success records the exact-state receipt checked by pre-push.
136
+ - Before push: start `wp_ci_preflight`, then poll `wp_ci_preflight_wait` with
137
+ its run ID until terminal success (use global `wp ci-preflight` only when MCP
138
+ is unavailable). Run it after the final commit and do not edit or commit again
139
+ before pushing: terminal success records the exact-state receipt checked by pre-push.
139
140
  Do not use remote CI re-runs as the primary fix loop (`ci-cost-local-first`).
140
141
 
141
142
  Rules:
@@ -145,17 +145,21 @@ Run the narrowest checks that prove the touched behavior:
145
145
  **Before push or PR open/update**, run the pre-push owner end-to-end:
146
146
 
147
147
  ```text
148
- wp_ci_preflight({})
148
+ start = wp_ci_preflight({})
149
+ wp_ci_preflight_wait({ runId: start.details.operation.runId })
149
150
  ```
150
151
 
152
+ The start result is not a gate verdict. Poll again when wait returns
153
+ `in_progress`; only terminal `success` authorizes push or PR mutation.
154
+
151
155
  MCP-unavailable CLI fallback:
152
156
 
153
157
  ```bash
154
158
  wp ci-preflight
155
159
  ```
156
160
 
157
- That is fail-fast branch-scoped format guardrails → typecheck → lint →
158
- test. Run it after the final commit and make no further worktree or base-ref
161
+ That runs the repository-owned, branch-scoped required-check plan fail-fast.
162
+ Run it after the final commit and make no further worktree or base-ref
159
163
  changes before pushing. Agent-kit's `.husky/pre-push` checks the resulting
160
164
  exact-state receipt without rerunning the suite after Git opens the remote
161
165
  transport; consumer repos may keep pre-push checks user-owned. Do **not** claim
@@ -168,7 +172,7 @@ Rules:
168
172
  - Never claim broader correctness than the commands actually proved.
169
173
  - If the repo documents a "full QA" bookend, reserve `wp_qa` / `--full` for the final broad pass rather than every iteration.
170
174
  - If CI is already red: read the failed job log, reproduce with the matching
171
- local `wp_ci_preflight` (or the `wp ci-preflight` CLI fallback), fix, then push **one**
175
+ local `wp_ci_preflight` + `wp_ci_preflight_wait` flow (or the `wp ci-preflight` CLI fallback), fix, then push **one**
172
176
  corrective commit — do not burn another full matrix “to check.”
173
177
 
174
178
  ## Phase 3 — Cross-surface impact scan
@@ -265,7 +269,7 @@ When classification is **sensitive**:
265
269
 
266
270
  - Require delivery review via `risk-review-coverage` / `wp_review_gate`
267
271
  (purpose delivery) / qualifying lane approvals for the current
268
- `wp-git-diff-v1` subject until `policySatisfied`.
272
+ review subject until `policySatisfied`.
269
273
  - Launch **exactly one** `wp_review_gate` delivery attempt with
270
274
  `--base-ref <base-sha>` and `--authority-ref <head-sha>`. Do not substitute
271
275
  `HEAD` for the authority SHA, and do not relaunch while the same subject has