@plainconceptsplatform/workflows 0.28.24 → 0.28.26
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/loops/scripts/compile-agent-workflows.mjs +10 -5
- package/loops/templates/agentics/agentics-checks.yml +1 -1
- package/loops/templates/agentics/agentics-maintenance.yml +5 -5
- package/loops/workflows/agent-apply-review.md +1 -1
- package/loops/workflows/agent-audit.md +1 -1
- package/loops/workflows/agent-implement.md +1 -1
- package/loops/workflows/agent-merge-gate.md +1 -1
- package/loops/workflows/agent-refine.md +1 -1
- package/loops/workflows/agent-release.md +1 -1
- package/loops/workflows/agent-triage.md +1 -1
- package/loops/workflows/agent-visual-verify.md +1 -1
- package/loops/workflows/shared/platform-defaults.md +4 -0
- package/package.json +1 -1
|
@@ -112,11 +112,16 @@ for (const file of readdirSync(workflowDirectory)) {
|
|
|
112
112
|
}
|
|
113
113
|
const patched = content
|
|
114
114
|
.replace(/^(# This file was automatically generated by gh-aw[^\n]*\n)/m, `$1${SENTINEL}\n`)
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
|
|
115
|
+
// The engine command is normalized to one shape:
|
|
116
|
+
// - OPENCODE_DISABLE_MODELS_FETCH=1: opencode otherwise fetches its model
|
|
117
|
+
// registry from https://models.opencode.ai/api.json at startup and blocks
|
|
118
|
+
// bootstrap on it. Inside the awf sandbox that host is not on the egress
|
|
119
|
+
// allowlist, so the fetch hangs and every agent run stalls right after
|
|
120
|
+
// "init" until the runner kills it. The forge provider declares its models
|
|
121
|
+
// explicitly, so the remote registry is not needed here.
|
|
122
|
+
// - --print-logs + a non-silent level: stripping --print-logs and forcing
|
|
123
|
+
// ERROR hid every engine log, so a stalled bootstrap looked like silence.
|
|
124
|
+
.replace(/opencode run(?: --print-logs)? --log-level (?:DEBUG|ERROR|INFO)/g, "OPENCODE_DISABLE_MODELS_FETCH=1 opencode run --print-logs --log-level INFO")
|
|
120
125
|
.replace(/GH_AW_INFO_MODEL: "[^"]*"/g, 'GH_AW_INFO_MODEL: "per-agent"')
|
|
121
126
|
.replace(/OPENCODE_MODEL: [^\n]+/g, "OPENCODE_MODEL: ''")
|
|
122
127
|
.replace(/GH_AW_INFO_MODEL_COSTS: '[^']*'/g, 'GH_AW_INFO_MODEL_COSTS: \'{"providers":{}}\'')
|
|
@@ -25,7 +25,7 @@ env:
|
|
|
25
25
|
# Must match the version the locks were compiled with (first line of every .lock.yml) and the
|
|
26
26
|
# `github/gh-aw/...@vX` import pin in every worker. A different compiler regenerates every lock
|
|
27
27
|
# and the freshness diff measures the version, not the change under review.
|
|
28
|
-
GH_AW_VERSION: v0.
|
|
28
|
+
GH_AW_VERSION: v0.87.5
|
|
29
29
|
ACTIONLINT_VERSION: 1.7.7
|
|
30
30
|
ACTIONLINT_SHA256: 023070a287cd8cccd71515fedc843f1985bf96c436b7effaecce67290e7e0757
|
|
31
31
|
SHELLCHECK_VERSION: 0.10.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Managed by @plainconceptsplatform/workflows. Source: loops/templates/agentics/agentics-maintenance.yml. Update with `workflows update --force`; consumer edits may be overwritten.
|
|
2
|
-
# Derived from the gh-aw v0.
|
|
2
|
+
# Derived from the gh-aw v0.87.5 maintenance workflow.
|
|
3
3
|
# Copy provenance is documented in docs/ownership.md.
|
|
4
4
|
name: Agentic Maintenance
|
|
5
5
|
|
|
@@ -53,7 +53,7 @@ jobs:
|
|
|
53
53
|
discussions: write
|
|
54
54
|
steps:
|
|
55
55
|
- name: Setup Scripts
|
|
56
|
-
uses: github/gh-aw-actions/setup@
|
|
56
|
+
uses: github/gh-aw-actions/setup@2a78d04403fdc6907d0f05327cffac9dbad5312d # v0.87.5
|
|
57
57
|
with:
|
|
58
58
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
59
59
|
- name: Close expired discussions
|
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
issues: write
|
|
72
72
|
steps:
|
|
73
73
|
- name: Setup Scripts
|
|
74
|
-
uses: github/gh-aw-actions/setup@
|
|
74
|
+
uses: github/gh-aw-actions/setup@2a78d04403fdc6907d0f05327cffac9dbad5312d # v0.87.5
|
|
75
75
|
with:
|
|
76
76
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
77
77
|
- name: Close expired issues
|
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
89
89
|
pull-requests: write
|
|
90
90
|
steps:
|
|
91
91
|
- name: Setup Scripts
|
|
92
|
-
uses: github/gh-aw-actions/setup@
|
|
92
|
+
uses: github/gh-aw-actions/setup@2a78d04403fdc6907d0f05327cffac9dbad5312d # v0.87.5
|
|
93
93
|
with:
|
|
94
94
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
95
95
|
- name: Close expired pull requests
|
|
@@ -107,7 +107,7 @@ jobs:
|
|
|
107
107
|
actions: write
|
|
108
108
|
steps:
|
|
109
109
|
- name: Setup Scripts
|
|
110
|
-
uses: github/gh-aw-actions/setup@
|
|
110
|
+
uses: github/gh-aw-actions/setup@2a78d04403fdc6907d0f05327cffac9dbad5312d # v0.87.5
|
|
111
111
|
with:
|
|
112
112
|
destination: ${{ runner.temp }}/gh-aw/actions
|
|
113
113
|
- name: Cleanup outdated cache-memory entries
|
|
@@ -43,7 +43,7 @@ name: "Agent: Apply Review"
|
|
|
43
43
|
# Router-only worker. The Work Router owns triggers, classification, and rung 1-2 checks.
|
|
44
44
|
# This workflow receives the classified inputs and runs rung 3+.
|
|
45
45
|
imports:
|
|
46
|
-
- github/gh-aw/.github/workflows/shared/opencode.md@v0.
|
|
46
|
+
- github/gh-aw/.github/workflows/shared/opencode.md@v0.87.5
|
|
47
47
|
- shared/platform-defaults.md
|
|
48
48
|
- shared/opencode-ci.md
|
|
49
49
|
|
|
@@ -30,7 +30,7 @@ name: "Agent: Audit"
|
|
|
30
30
|
# Shared: network policy only. This workflow owns its Safe Outputs and OpenCode configuration.
|
|
31
31
|
# permissions, engine, model and runs-on cannot be shared , see shared/platform-defaults.md.
|
|
32
32
|
imports:
|
|
33
|
-
- github/gh-aw/.github/workflows/shared/opencode.md@v0.
|
|
33
|
+
- github/gh-aw/.github/workflows/shared/opencode.md@v0.87.5
|
|
34
34
|
- shared/platform-defaults.md
|
|
35
35
|
- shared/opencode-ci.md
|
|
36
36
|
|
|
@@ -79,7 +79,7 @@ name: "Agent: Implement Issue"
|
|
|
79
79
|
# Shared: network policy only. This workflow owns its Safe Outputs and OpenCode configuration.
|
|
80
80
|
# permissions, engine, model and runs-on cannot be shared , see shared/platform-defaults.md.
|
|
81
81
|
imports:
|
|
82
|
-
- github/gh-aw/.github/workflows/shared/opencode.md@v0.
|
|
82
|
+
- github/gh-aw/.github/workflows/shared/opencode.md@v0.87.5
|
|
83
83
|
- shared/platform-defaults.md
|
|
84
84
|
- shared/opencode-ci.md
|
|
85
85
|
|
|
@@ -98,7 +98,7 @@ name: "Agent: Merge Gate"
|
|
|
98
98
|
# Router-only worker. The Work Router owns triggers, classification, and rung 1-2 checks.
|
|
99
99
|
# This workflow receives the classified inputs and runs rung 3+.
|
|
100
100
|
imports:
|
|
101
|
-
- github/gh-aw/.github/workflows/shared/opencode.md@v0.
|
|
101
|
+
- github/gh-aw/.github/workflows/shared/opencode.md@v0.87.5
|
|
102
102
|
- shared/platform-defaults.md
|
|
103
103
|
- shared/opencode-ci.md
|
|
104
104
|
|
|
@@ -28,7 +28,7 @@ name: "Agent: Visual Verify"
|
|
|
28
28
|
|
|
29
29
|
# Standalone worker called directly from merge-gate's conclude job. Not a router route.
|
|
30
30
|
imports:
|
|
31
|
-
- github/gh-aw/.github/workflows/shared/opencode.md@v0.
|
|
31
|
+
- github/gh-aw/.github/workflows/shared/opencode.md@v0.87.5
|
|
32
32
|
- shared/platform-defaults.md
|
|
33
33
|
- shared/opencode-ci.md
|
|
34
34
|
|
|
@@ -6,6 +6,10 @@ network:
|
|
|
6
6
|
allowed:
|
|
7
7
|
- defaults
|
|
8
8
|
- forge.plainconcepts.com
|
|
9
|
+
# opencode fetches its model registry from models.opencode.ai at startup; without
|
|
10
|
+
# this host on the allowlist the fetch blocks bootstrap and the run stalls after
|
|
11
|
+
# "init" until the runner kills it. The apex "opencode.ai" is not enough.
|
|
12
|
+
- models.opencode.ai
|
|
9
13
|
- node
|
|
10
14
|
- github
|
|
11
15
|
- dotnet
|