@cleocode/agents 2026.11.17 → 2026.11.18-rc.ci.735

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": "@cleocode/agents",
3
- "version": "2026.11.17",
3
+ "version": "2026.11.18-rc.ci.735",
4
4
  "description": "CLEO agent protocols and templates",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -11,29 +11,34 @@ never overwrites a seed that already exists in the project.
11
11
 
12
12
  ## Bundled templates
13
13
 
14
- ### `orchestrator-generic.cant`
14
+ ### `project-orchestrator.cant`
15
15
 
16
16
  Top-level team orchestrator. Classifies tasks, dispatches to the dev-lead,
17
17
  synthesises results. Coordinates — does not execute code itself.
18
18
 
19
- ### `dev-lead-generic.cant`
19
+ ### `project-dev-lead.cant`
20
20
 
21
21
  Development lead. Decomposes tasks into concrete implementation steps,
22
22
  reviews worker output, and decides technical approach. Dispatches to
23
23
  code-worker and docs-worker. **MUST NOT** hold Edit/Write/Bash tools
24
24
  (TEAM-002 / ULTRAPLAN 10.3) — review-only authority.
25
25
 
26
- ### `code-worker-generic.cant`
26
+ ### `project-code-worker.cant`
27
27
 
28
28
  General-purpose code worker. Reads requirements from the dev-lead, writes
29
29
  code, runs tests, and validates changes. Operates within declared file
30
30
  permission globs.
31
31
 
32
- ### `docs-worker-generic.cant`
32
+ ### `project-docs-worker.cant`
33
33
 
34
34
  Documentation worker. Writes READMEs, updates guides, adds inline
35
35
  documentation. Operates within declared documentation file globs.
36
36
 
37
+ ### `project-security-worker.cant`
38
+
39
+ Security worker. Reviews code for vulnerabilities, audits dependencies and
40
+ produces findings reports. Read-only; escalates remediation to the dev-lead.
41
+
37
42
  ## Template variables
38
43
 
39
44
  Each template uses `{{placeholder}}` mustache syntax with dot notation for
@@ -66,15 +71,18 @@ idempotent and safe to run on already-initialised projects.
66
71
 
67
72
  ## Validation
68
73
 
69
- All four templates validate clean against the CANT 42-rule type and grammar
70
- suite *after* variable substitution:
74
+ All five templates parse and validate clean with `cant-core` *after*
75
+ variable substitution. The `template_project_*_parses_clean` tests in
76
+ `crates/cant-core/tests/parse_new_sections.rs` render each template with
77
+ sample values and enforce this in CI:
71
78
 
72
79
  ```bash
73
- for f in seed-agents/*.cant; do cleo cant validate "$f"; done
80
+ cargo test -p cant-core --test parse_new_sections template_
74
81
  ```
75
82
 
76
- Each must return `valid: true` with `errorCount: 0` once placeholders are
77
- filled.
83
+ Use CANT syntax, not YAML: lists are inline arrays (`skills: [ct-cleo,
84
+ ct-task-executor]`), and `context_sources:` is a keyed sub-block with
85
+ `on_overflow:` inside it.
78
86
 
79
87
  ## Project-specific personas
80
88
 
@@ -27,13 +27,13 @@ agent project-code-worker:
27
27
  consult-when: "Writing code, fixing bugs, running tests, formatting, or any file modification task"
28
28
 
29
29
  context_sources:
30
- - source: patterns
30
+ on_overflow: escalate_tier
31
+ patterns:
31
32
  query: "coding conventions and testing patterns for {{tech_stack}}"
32
33
  max_entries: 5
33
- - source: learnings
34
+ learnings:
34
35
  query: "past implementation mistakes and fixes"
35
36
  max_entries: 3
36
- on_overflow: escalate_tier
37
37
 
38
38
  mental_model:
39
39
  scope: project
@@ -47,10 +47,7 @@ agent project-code-worker:
47
47
  read: ["**/*"]
48
48
  delete: {{repo_structure}}
49
49
 
50
- skills:
51
- - ct-cleo
52
- - ct-dev-workflow
53
- - ct-task-executor
50
+ skills: [ct-cleo, ct-dev-workflow, ct-task-executor]
54
51
 
55
52
  tools:
56
53
  core: [Read, Edit, Write, Bash, Glob, Grep]
@@ -23,18 +23,16 @@ agent project-dev-lead:
23
23
  description: "Development lead for {{project_domain}} ({{tech_stack}}). Decomposes tasks into concrete implementation steps, reviews worker output, and decides technical approach. Dispatches to code-worker and docs-worker. Does not write code directly."
24
24
  consult-when: "Implementation strategy, code architecture, refactoring direction, task decomposition, or when workers need clarification"
25
25
  stages: [specification, implementation, validation]
26
- workers:
27
- - project-code-worker
28
- - project-docs-worker
26
+ workers: [project-code-worker, project-docs-worker]
29
27
 
30
28
  context_sources:
31
- - source: patterns
29
+ on_overflow: escalate_tier
30
+ patterns:
32
31
  query: "codebase conventions and architecture patterns"
33
32
  max_entries: 5
34
- - source: decisions
33
+ decisions:
35
34
  query: "technical decisions affecting implementation"
36
35
  max_entries: 3
37
- on_overflow: escalate_tier
38
36
 
39
37
  mental_model:
40
38
  scope: project
@@ -46,10 +44,7 @@ agent project-dev-lead:
46
44
  files:
47
45
  read: ["**/*"]
48
46
 
49
- skills:
50
- - ct-cleo
51
- - ct-dev-workflow
52
- - ct-task-executor
47
+ skills: [ct-cleo, ct-dev-workflow, ct-task-executor]
53
48
 
54
49
  tools:
55
50
  core: [Read, Grep, Glob]
@@ -24,13 +24,13 @@ agent project-docs-worker:
24
24
  consult-when: "Writing documentation, updating READMEs, adding code comments, or improving existing docs"
25
25
 
26
26
  context_sources:
27
- - source: patterns
27
+ on_overflow: escalate_tier
28
+ patterns:
28
29
  query: "documentation conventions and style patterns"
29
30
  max_entries: 3
30
- - source: decisions
31
+ decisions:
31
32
  query: "architectural decisions needing documentation"
32
33
  max_entries: 3
33
- on_overflow: escalate_tier
34
34
 
35
35
  mental_model:
36
36
  scope: project
@@ -44,9 +44,7 @@ agent project-docs-worker:
44
44
  read: ["**/*"]
45
45
  delete: ["docs/**"]
46
46
 
47
- skills:
48
- - ct-cleo
49
- - ct-documentor
47
+ skills: [ct-cleo, ct-documentor]
50
48
 
51
49
  tools:
52
50
  core: [Read, Edit, Write, Bash, Glob, Grep]
@@ -23,13 +23,13 @@ agent project-orchestrator:
23
23
  consult-when: "Cross-team decisions, scope changes, human-in-the-loop escalation, or when the dev-lead reports a blocking ambiguity"
24
24
 
25
25
  context_sources:
26
- - source: decisions
26
+ on_overflow: escalate_tier
27
+ decisions:
27
28
  query: "recent architectural and project decisions"
28
29
  max_entries: 5
29
- - source: patterns
30
+ patterns:
30
31
  query: "project conventions and established patterns"
31
32
  max_entries: 3
32
- on_overflow: escalate_tier
33
33
 
34
34
  mental_model:
35
35
  scope: project
@@ -42,9 +42,7 @@ agent project-orchestrator:
42
42
  session: read, write
43
43
  memory: read, write
44
44
 
45
- skills:
46
- - ct-cleo
47
- - ct-task-executor
45
+ skills: [ct-cleo, ct-task-executor]
48
46
 
49
47
  tools:
50
48
  core: [Read, Grep, Glob]
@@ -25,13 +25,13 @@ agent project-security-worker:
25
25
  consult-when: "Security review requested, dependency audit needed, OWASP assessment, or when code introduces authentication/authorization/network/crypto surface"
26
26
 
27
27
  context_sources:
28
- - source: decisions
28
+ on_overflow: escalate_tier
29
+ decisions:
29
30
  query: "security decisions and threat model"
30
31
  max_entries: 5
31
- - source: patterns
32
+ patterns:
32
33
  query: "security patterns and known vulnerabilities"
33
34
  max_entries: 3
34
- on_overflow: escalate_tier
35
35
 
36
36
  mental_model:
37
37
  scope: project
@@ -43,9 +43,7 @@ agent project-security-worker:
43
43
  files:
44
44
  read: ["**/*"]
45
45
 
46
- skills:
47
- - ct-cleo
48
- - ct-task-executor
46
+ skills: [ct-cleo, ct-task-executor]
49
47
 
50
48
  tools:
51
49
  core: [Read, Grep, Glob]
@@ -55,6 +53,6 @@ agent project-security-worker:
55
53
  session "Review security context and identify high-risk surface areas"
56
54
  context: [active-tasks, memory-bridge]
57
55
 
58
- on TaskAssigned:
56
+ on TaskStarted:
59
57
  if **the task involves authentication, crypto, or network surface**:
60
58
  session "Perform OWASP-aligned review of the assigned scope and produce a findings report"