@cleocode/core 2026.11.12 → 2026.11.13
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/dist/.source-stamp.json +1 -1
- package/dist/build-provenance.json +2 -2
- package/dist/crypto/credentials.d.ts +15 -0
- package/dist/crypto/credentials.js +27 -7
- package/dist/crypto/credentials.js.map +1 -1
- package/dist/release/ci-evidence.d.ts +3 -3
- package/dist/release/ci-evidence.js +35 -14
- package/dist/release/ci-evidence.js.map +1 -1
- package/dist/security/owner-override-authority.d.ts +18 -0
- package/dist/security/owner-override-authority.js +57 -11
- package/dist/security/owner-override-authority.js.map +1 -1
- package/dist/store/repair-store-files.js +2 -2
- package/dist/store/repair-store-files.js.map +1 -1
- package/dist/tasks/merge-close.d.ts +2 -2
- package/dist/tasks/merge-close.js +9 -7
- package/dist/tasks/merge-close.js.map +1 -1
- package/package.json +12 -12
- package/templates/CLEO-REFERENCE.md +13 -4
|
@@ -215,9 +215,16 @@ HIGH/CRITICAL requires reviewing affected callers before editing. For stale, par
|
|
|
215
215
|
| Get spawn prompt for a task | `cleo orchestrate spawn <taskId>` |
|
|
216
216
|
| Spawn without worktree (opt-out) | `cleo orchestrate spawn <taskId> --no-worktree` |
|
|
217
217
|
| View epic wave plan | `cleo orchestrate waves <epicId>` |
|
|
218
|
-
|
|
|
219
|
-
|
|
|
220
|
-
| List awaiting HITL approvals | `cleo orchestrate pending` |
|
|
218
|
+
| Owner: grant HITL approval (paused playbook) | `cleo orchestrate approve <resumeToken>` |
|
|
219
|
+
| Owner: deny HITL approval with reason | `cleo orchestrate reject <resumeToken> --reason "<r>"` |
|
|
220
|
+
| List awaiting HITL approvals (tokens redacted for non-owners) | `cleo orchestrate pending` |
|
|
221
|
+
|
|
222
|
+
Approve/reject require the owner override's authority rule: an unrestricted
|
|
223
|
+
bootstrap role, an owner-marked bound session, and the owner's own terminal
|
|
224
|
+
through the direct CLI. HTTP, MCP and RPC cannot inherit the server's authority;
|
|
225
|
+
pending and playbook run/resume responses omit tokens for those clients.
|
|
226
|
+
The owner starts that session with `cleo session start --scope global --name owner --owner`.
|
|
227
|
+
Agents return the decision to their coordinator for the human ask tool.
|
|
221
228
|
<!-- /CLEO-INJECTION:section=orchestration -->
|
|
222
229
|
|
|
223
230
|
<!-- CLEO-INJECTION:section=playbooks -->
|
|
@@ -380,7 +387,9 @@ When PR and main job names differ, set `evidence.ciChecks.jobs.tests` (and `qa`)
|
|
|
380
387
|
|
|
381
388
|
When the required checks themselves differ, give each `release.prRequiredWorkflows` object an `event` (T14602), e.g. `[{"name":"PR checks","app":"github-actions","workflow":".github/workflows/ci.yml","event":"pull_request"},{"name":"Main gate","app":"github-actions","workflow":".github/workflows/ci.yml","event":"push"}]`. Use distinct check names and declare both events; `evidence.ciChecks.tests` and `.qa` name the checks that attest each gate, and the per-event job lists above still apply. The PR-head `pull_request` checks AND the merge commit's `push` checks must succeed even when main advanced before the merge. Skipped, cancelled, pending or missing checks never pass. A cancelled merge run is refused unless a qualifying descendant exists under the T12742 descendant rule (or the applicable current-HEAD rule); the descendant needs the push names, while the PR head needs the PR names, with the existing path, hunk and CI-definition guards. Workflow edits remain main-only and require the push side. `pr:` provenance and merge-train prechecks use the PR names; release selection uses the push names. Entries without `event`, including plain strings, keep their existing meaning. Refusals name `release.prRequiredWorkflows[].event` when event scoping is needed.
|
|
382
389
|
|
|
383
|
-
|
|
390
|
+
Event pins apply to check runs only. Commit statuses have no triggering event, so a status-only check cannot satisfy an event pin; the refusal explains this limit. Use a check run that reports the required event. Declare both a PR entry and a push entry, e.g. `[{"name":"PR checks","app":"github-actions","workflow":".github/workflows/pr.yml","event":"pull_request"},{"name":"Main full suite","app":"github-actions","workflow":".github/workflows/main.yml","event":"push"}]`. A one-sided configuration refuses with the missing event and an entry to add. Workflow edits require only the push side. The merge sweep waits on the push check's workflow, including when the PR check lives in a separate workflow.
|
|
391
|
+
|
|
392
|
+
For a job glob without `*`, an exact reported job name takes precedence over suffixed variants (e.g. required `Type Check` versus non-gating `Type Check (Node 26)`). Jobs are first restricted to the newest workflow run (check suite) on that commit, separately per workflow, app and event: an older skipped matrix template cannot veto newer green legs, and older green jobs cannot fill holes in the newer run. If the exact name is absent in that run, the bare name matches its parenthesized matrix variants and every reported leg must pass. Wildcards keep direct matching, and names such as `node 20/22` are labels, never matrix-cardinality metadata. To require the presence of particular legs, list their names or globs explicitly. A tree-equal PR head still needs the per-event push side: a cancelled push run uses the permitted descendant search, and a pending one refuses with wait guidance.
|
|
384
393
|
|
|
385
394
|
Required checks: explicit configuration or target repository protection. `release.prRequiredWorkflows: []` requires no checks; it proves neither testing nor review. `.cleo/cache/evidence/pr-<num>.json` retains provenance and changed files; obsolete versions reject. Use `tool:test-affected` when `testing.affectedCommand` is configured (a full `tool:test` then only for root-config changes, which affected planning refuses), otherwise a targeted `test-run:<json>` or `tool:test`, plus appropriate QA tools, linking each result to verified criteria.
|
|
386
395
|
|