You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ci.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,6 +207,22 @@ The changed-target PR plan reduces the common Node test burst from 14 Blacksmith
207
207
208
208
Canonical-repo CI keeps Blacksmith as the default runner path for normal push and pull-request runs. `workflow_dispatch` and non-canonical repository runs use GitHub-hosted runners, but normal canonical runs do not currently probe Blacksmith queue health or automatically fall back to GitHub-hosted labels when Blacksmith is unavailable.
209
209
210
+
## Surface ratchets
211
+
212
+
Two shrink-only budgets guard the configuration surface. Both fail CI on growth
213
+
until the budget file is consciously updated in the same PR, and both demand a
214
+
ratchet-down when cleanup lowers the real count.
215
+
216
+
-`config/env-var-count-budget.txt` caps the number of distinct `OPENCLAW_*`
217
+
names in production source under `src/`, `packages/`, and `extensions/`
218
+
(tests and QA Lab excluded). Checked by `node scripts/check-env-var-count.mjs`.
219
+
Removing env vars: lower the number in the same PR. Adding one is a
220
+
config-surface decision — justify it in the PR body.
221
+
-`docs/.generated/config-baseline.counts.json` caps the per-kind
222
+
(core/channel/plugin) `openclaw.json` schema entry counts. Checked by
223
+
`pnpm config:docs:check`; regenerate with `pnpm config:docs:gen` after any
0 commit comments