@soleur/opencode 3.376.9 → 3.377.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.376.9",
3
+ "version": "3.377.0",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,8 +19,8 @@ fixed), and what now needs their attention. Autonomous loops ship features, move
19
19
  incidents faster than a solo owner can track; this digest is the antidote to that comprehension debt.
20
20
 
21
21
  This skill runs **headless inside `claude-code-action`** in the private `jikig-ai/operator-digest`
22
- repo, with the **public** `jikig-ai/soleur` repo checked out at `$GITHUB_WORKSPACE`. It reads five
23
- sources, synthesizes five sections of prose, and writes `$GITHUB_WORKSPACE/digest.md`. It then
22
+ repo, with the **public** `jikig-ai/soleur` repo checked out at `$GITHUB_WORKSPACE`. It reads six
23
+ sources, synthesizes six sections of prose, and writes `$GITHUB_WORKSPACE/digest.md`. It then
24
24
  **STOPS**. A deterministic workflow post-step scrubs that file (fail-closed) and is the only thing
25
25
  that posts the issue — this skill itself must never post the digest (it writes the file and STOPS).
26
26
 
@@ -66,7 +66,7 @@ Only emit the "Nothing …" fallback when the command **succeeded** and genuinel
66
66
 
67
67
  ## Scope guardrails (load-bearing — do not weaken)
68
68
 
69
- - **L1 — path scope.** Read ONLY the five named sources below. Any other file path is out of scope.
69
+ - **L1 — path scope.** Read ONLY the six named sources below. Any other file path is out of scope.
70
70
  Do not wander the repository.
71
71
  - **L2 — summaries only (the named-PII + customer-email control).** A regex cannot catch "Jane Doe".
72
72
  - Incidents: build the section from each post-mortem's **frontmatter, title, and status ONLY —
@@ -84,7 +84,7 @@ Only emit the "Nothing …" fallback when the command **succeeded** and genuinel
84
84
  neutral hedge on any read doubt, and both are stated as a business consequence — never a raw count, a
85
85
  percentage, or an up/down arrow as the signal.
86
86
 
87
- ## The five sections
87
+ ## The six sections
88
88
 
89
89
  ### 1. What your company built
90
90
 
@@ -244,6 +244,52 @@ claim; the link is the drill-in path.
244
244
  does not produce (improvements are global harness edits). Because §5 reuses §1's read, a §1 read
245
245
  FAILURE (the ⚠️ warning) suppresses §5 too — do not render a "nothing" line off a failed read.
246
246
 
247
+ ### 6. Your checks pipeline
248
+
249
+ Source: the standing tracker issue `ci-wallclock-p90: required-check wall-clock report` on
250
+ jikig-ai/soleur. The weekly wallclock-p90 watch rewrites its **body** with an aggregate table —
251
+ per-required-check p50/p90 wall-clock over the last ~30 green CI runs on each of the pull-request
252
+ and merge-queue surfaces — plus a findings list (bound breaches, unbound or unmeasured required
253
+ checks). Find the issue by its `ci/wallclock-p90` **label**, then match **exact title** — a raw
254
+ recent-issues list would lose the standing tracker below its `--limit` window within days on this
255
+ repo (the watch sets the label at create time and re-adds it on every weekly body rewrite, so a
256
+ stripped label self-heals). List API, **NOT `--search`** — the Search API returns empty cross-repo
257
+ under the in-action App token, exactly as noted in §1; a false-empty would silently render "no
258
+ pipeline data" every week:
259
+
260
+ ```bash
261
+ gh issue list -R jikig-ai/soleur --state open --label ci/wallclock-p90 --json number,title,body,updatedAt,author --limit 50
262
+ # keep ONLY issues whose author.login is github-actions[bot] (also accept
263
+ # github-actions / app/github-actions — mirrors the watch's own predicate); a
264
+ # same-label issue filed by anyone else is not the watch's report. Among
265
+ # those, keep the issue whose title is exactly
266
+ # "ci-wallclock-p90: required-check wall-clock report"; if duplicate labeled
267
+ # watch-authored trackers exist, take the LOWEST issue number. Its body is
268
+ # the report.
269
+ ```
270
+
271
+ **Staleness.** The watch rewrites the body every Friday before this digest runs, so both the
272
+ issue's `updatedAt` and the body's own `Report refreshed: <UTC ISO>` line advance weekly. If
273
+ `updatedAt` is more than ~2 weeks old (or the refresh line disagrees), the watch is dead — say so
274
+ explicitly ("the pipeline watchdog hasn't reported since <date>") rather than presenting last
275
+ month's table as current.
276
+
277
+ Render **aggregate-only** (L3 — same suppression contract as the velocity metrics). Translate the
278
+ table into consequence language: "Your checks ran at about their usual speed this week" /
279
+ "checks were slower than usual — the slowest required check is the test pipeline at ~N minutes
280
+ in the merge queue" / "the pipeline watchdog flagged <check> — it drifted past its committed
281
+ bound and a red weekly run names it." **Never** emit per-PR or per-run rows, run ids, commit
282
+ SHAs, or any actor attribution — the body is already aggregate; your job is the plain-language
283
+ read of it. When you read the body, ignore the trailing
284
+ `<!-- wallclock-p90-watch:v1 drift=… -->` sentinel comment — it is the watch's dedupe machinery,
285
+ not report content; never surface it in the digest.
286
+
287
+ **Read failure vs. no match.** If the `gh issue list` call itself FAILED (non-zero exit, or empty/unparseable output), emit
288
+ the ⚠️ read-failure warning line from the contract above — a failed read is NOT "no pipeline
289
+ data," and never a quiet "checks are fine." Only if the call SUCCEEDED but no
290
+ github-actions-authored issue carries the exact title, emit the §6 fallback "No pipeline
291
+ timing data this week."
292
+
247
293
  ## Deterministic fallback (never blank)
248
294
 
249
295
  A quiet week is itself information. **Even an all-empty week still posts.** If a source yields nothing
@@ -254,6 +300,7 @@ in the window, write the section's labelled fallback line — **never leave a se
254
300
  - Section 3 → "Nothing broke this week."
255
301
  - Section 4 → "Nothing needs your attention this week."
256
302
  - Section 5 → "Nothing was promoted to the shared harness this week."
303
+ - Section 6 → "No pipeline timing data this week."
257
304
 
258
305
  Every section must contain at least one full sentence. A blank or byte-for-byte command-dump section
259
306
  is a failure.
@@ -280,7 +327,7 @@ the operator-visible signal that a week was skipped.
280
327
  Write the assembled digest to `$GITHUB_WORKSPACE/digest.md`:
281
328
 
282
329
  - A short title line: `# Weekly digest: <ISO week or date range>`.
283
- - The five `##` sections above, in order, each with prose (or its fallback line).
330
+ - The six `##` sections above, in order, each with prose (or its fallback line).
284
331
  - The final `Last week: #N` continuity line.
285
332
 
286
333
  Then **STOP**. Do not open, post, or create any issue — the gated workflow post-step owns publishing.
@@ -68,7 +68,7 @@ jobs:
68
68
  --allowedTools Write,Read,Glob,Grep,Bash(date:*),Bash(ls:*),Bash(gh pr list:*),Bash(gh issue list:*),Bash(git log:*)
69
69
  prompt: |
70
70
  Run /soleur:operator-digest on the checked-out jikig-ai/soleur repository.
71
- Read the five sources, synthesize the five plain-language sections, and write the
71
+ Read the six sources, synthesize the six plain-language sections, and write the
72
72
  digest to $GITHUB_WORKSPACE/digest.md. STOP after writing the file — do not post,
73
73
  open, or create any issue. The workflow's post-step owns publishing.
74
74