@aryaminus/controlkeel-opencode 0.3.16 → 0.3.19
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.
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Governed Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference with `controlkeel-governance`.
|
|
4
|
+
|
|
5
|
+
## Start
|
|
6
|
+
|
|
7
|
+
1. `ck_context` to load mission, task, risk, budget, proof summary, memory hits, workspace snapshot, and recent transcript events.
|
|
8
|
+
2. Identify whether the task is implementation, review, compliance, benchmark, or policy work.
|
|
9
|
+
3. Load a more specific CK skill if the task has a narrower workflow.
|
|
10
|
+
|
|
11
|
+
## Before mutations
|
|
12
|
+
|
|
13
|
+
1. Validate the exact code, config, shell, or text with `ck_validate`.
|
|
14
|
+
2. Respect `block` immediately.
|
|
15
|
+
3. Note `warn` in your reply and continue carefully.
|
|
16
|
+
|
|
17
|
+
## During work
|
|
18
|
+
|
|
19
|
+
1. Keep changes small.
|
|
20
|
+
2. Call `ck_budget` before expensive multi-agent or long-context work.
|
|
21
|
+
3. Use `ck_route` when another agent would be materially better.
|
|
22
|
+
4. Create a `ck_finding` entry for any issue not automatically detected.
|
|
23
|
+
|
|
24
|
+
## Before completion
|
|
25
|
+
|
|
26
|
+
1. Re-check active findings.
|
|
27
|
+
2. Re-check budget and proof state.
|
|
28
|
+
3. If the session is high or critical risk, summarize decisions and unresolved items explicitly.
|
|
@@ -225,6 +225,11 @@ export class DBEnabledAgent extends Agent {
|
|
|
225
225
|
|
|
226
226
|
## Tools Reference
|
|
227
227
|
|
|
228
|
+
> **Note:** The tool names below are the Cloudflare agent's *local* abstractions,
|
|
229
|
+
> not direct CK MCP dispatch tool names. The agent maps these to CK MCP calls
|
|
230
|
+
> internally (e.g., `ck_budget_check` wraps `ck_budget`, `ck_validate` maps directly).
|
|
231
|
+
> Do not call these names against the CK MCP server directly.
|
|
232
|
+
|
|
228
233
|
### MCP Tools (serve to agents)
|
|
229
234
|
|
|
230
235
|
| Tool | Description | Parameters |
|
|
@@ -236,7 +241,7 @@ export class DBEnabledAgent extends Agent {
|
|
|
236
241
|
| `ck_context` | Get governance context | - |
|
|
237
242
|
| `ck_delegate` | Delegate to sub-agent | `agent`, `task` |
|
|
238
243
|
|
|
239
|
-
### CK to Agent Tools
|
|
244
|
+
### CK to Agent Tools (agent-local, not CK MCP dispatch)
|
|
240
245
|
|
|
241
246
|
| Tool | Description |
|
|
242
247
|
|------|-------------|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Governed Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference with `controlkeel-governance`.
|
|
4
|
+
|
|
5
|
+
## Start
|
|
6
|
+
|
|
7
|
+
1. `ck_context` to load mission, task, risk, budget, proof summary, memory hits, workspace snapshot, and recent transcript events.
|
|
8
|
+
2. Identify whether the task is implementation, review, compliance, benchmark, or policy work.
|
|
9
|
+
3. Load a more specific CK skill if the task has a narrower workflow.
|
|
10
|
+
|
|
11
|
+
## Before mutations
|
|
12
|
+
|
|
13
|
+
1. Validate the exact code, config, shell, or text with `ck_validate`.
|
|
14
|
+
2. Respect `block` immediately.
|
|
15
|
+
3. Note `warn` in your reply and continue carefully.
|
|
16
|
+
|
|
17
|
+
## During work
|
|
18
|
+
|
|
19
|
+
1. Keep changes small.
|
|
20
|
+
2. Call `ck_budget` before expensive multi-agent or long-context work.
|
|
21
|
+
3. Use `ck_route` when another agent would be materially better.
|
|
22
|
+
4. Create a `ck_finding` entry for any issue not automatically detected.
|
|
23
|
+
|
|
24
|
+
## Before completion
|
|
25
|
+
|
|
26
|
+
1. Re-check active findings.
|
|
27
|
+
2. Re-check budget and proof state.
|
|
28
|
+
3. If the session is high or critical risk, summarize decisions and unresolved items explicitly.
|
package/package.json
CHANGED