@webpresso/opencode-plugin 3.1.28 → 3.1.30

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/opencode-plugin",
3
- "version": "3.1.28",
3
+ "version": "3.1.30",
4
4
  "private": false,
5
5
  "description": "OpenCode plugin adapter package for Webpresso agent-kit.",
6
6
  "homepage": "https://github.com/webpresso/agent-kit#readme",
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "host": "opencode",
4
4
  "packageName": "@webpresso/opencode-plugin",
5
- "packageVersion": "3.1.28",
5
+ "packageVersion": "3.1.30",
6
6
  "runtimeDirs": [],
7
7
  "skills": {
8
8
  "ai-deslop": {
@@ -39,7 +39,7 @@
39
39
  "digest": "sha256:306355888da0827e3523022077f731845726bbaaf595ca12515cc91d8605b5e6"
40
40
  },
41
41
  "fix": {
42
- "digest": "sha256:6761e335ca1327d0dd12822886d5ea7f1b683f27caba62046cd0529c7cda7e44"
42
+ "digest": "sha256:2508fbad15af4ef828b668084cac950c98b8a232ce25c8152135788738e5f243"
43
43
  },
44
44
  "grok": {
45
45
  "digest": "sha256:07f2cdc58889f13f0869ddc153d465423cf2f4aae7b9deb4c4e427d2dba78a34"
@@ -90,7 +90,7 @@
90
90
  "digest": "sha256:953ab2625287866e5f27e602a89f1752e054d47522d04e1fdc11880867dc2fde"
91
91
  },
92
92
  "verify": {
93
- "digest": "sha256:4c9d534c358456c1d34f9b4b919e70dd013164c7c89ca8229181b77e31bdc914"
93
+ "digest": "sha256:60de27bef39fd24041e1b78a276fc7ed2f38bc6d7ac5af88beba7eb6770a0119"
94
94
  }
95
95
  }
96
96
  }
@@ -122,12 +122,15 @@ Run the narrowest checks that prove the repaired behavior on the real repo surfa
122
122
  - `wp_test` / targeted tests for the repaired path
123
123
  - `wp_lint` / `wp_typecheck` for changed surfaces
124
124
  - `wp_qa` only when the blast radius needs the bookend
125
+ - Before push: `wp ci-preflight` (local pre-push owner). Do not use remote CI
126
+ re-runs as the primary fix loop (`ci-cost-local-first`).
125
127
 
126
128
  Rules:
127
129
 
128
130
  - Prefer MCP `wp_*` over raw host Bash.
129
131
  - Reuse fresh logs / session-memory indexed output; do not re-run long commands just to re-read.
130
132
  - Read the exit code and summary before making a claim.
133
+ - Never `git push --no-verify` to land an unproven fix.
131
134
 
132
135
  Escalate to `/verify <target>` (local) or `/verify <target> --merge-ready` when any of these are true:
133
136
 
@@ -109,6 +109,9 @@ workflow:
109
109
  1. Identify target type (file / package / blueprint slug / all).
110
110
  2. Map each claim you plan to make to the exact command or log that proves it.
111
111
  3. If the target is a blueprint slug, run the repo's blueprint show/audit surface and record the acceptance boxes that still need proof.
112
+ 4. **CI cost / local-first:** treat remote CI as confirmation, not the first
113
+ debugger. Load `ci-cost-local-first` expectations: no hook skips, no
114
+ blind `gh run rerun`, Ubicloud for private non-release jobs.
112
115
 
113
116
  ## Phase 1 — Governance gates
114
117
 
@@ -130,12 +133,27 @@ Run the narrowest checks that prove the touched behavior:
130
133
  - `wp_test` / targeted tests
131
134
  - `wp_qa`, `wp_e2e`, build / package checks only when the change requires them
132
135
 
136
+ **Before push or PR open/update**, run the pre-push owner end-to-end:
137
+
138
+ ```bash
139
+ wp ci-preflight
140
+ ```
141
+
142
+ That is fail-fast branch-scoped format → guardrails → typecheck → lint →
143
+ test. Agent-kit itself enforces it from `.husky/pre-push`; consumer repos may
144
+ keep pre-push checks user-owned, so run the command explicitly before pushing.
145
+ Do **not** claim push-ready if preflight failed. Do **not** bypass hooks to ship
146
+ red work.
147
+
133
148
  Rules:
134
149
 
135
150
  - Prefer MCP `wp_*` over raw underlying tools.
136
151
  - Reuse fresh logs / session-memory indexed output if the runner auto-saves them.
137
152
  - Never claim broader correctness than the commands actually proved.
138
153
  - If the repo documents a "full QA" bookend, reserve `wp_qa` / `--full` for the final broad pass rather than every iteration.
154
+ - If CI is already red: read the failed job log, reproduce with the matching
155
+ local `wp` command, fix, re-run `wp ci-preflight`, then push **one**
156
+ corrective commit — do not burn another full matrix “to check.”
139
157
 
140
158
  ## Phase 3 — Cross-surface impact scan
141
159