@cleocode/core 2026.3.55 → 2026.3.57

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/core",
3
- "version": "2026.3.55",
3
+ "version": "2026.3.57",
4
4
  "description": "CLEO core business logic kernel — tasks, sessions, memory, orchestration, lifecycle, with bundled SQLite store",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,10 +36,10 @@
36
36
  "write-file-atomic": "^6.0.0",
37
37
  "yaml": "^2.8.2",
38
38
  "zod": "^3.25.76",
39
- "@cleocode/adapters": "2026.3.55",
40
- "@cleocode/agents": "2026.3.55",
41
- "@cleocode/contracts": "2026.3.55",
42
- "@cleocode/skills": "2026.3.55"
39
+ "@cleocode/adapters": "2026.3.57",
40
+ "@cleocode/agents": "2026.3.57",
41
+ "@cleocode/skills": "2026.3.57",
42
+ "@cleocode/contracts": "2026.3.57"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24.0.0"
@@ -556,6 +556,19 @@
556
556
  "default": true,
557
557
  "description": "Enable verification gates for task completion. When true, parent auto-complete requires verification.passed = true."
558
558
  },
559
+ "requiredForTypes": {
560
+ "type": "array",
561
+ "items": {
562
+ "type": "string"
563
+ },
564
+ "default": ["epic", "task", "subtask"],
565
+ "description": "Task types that require verification gates."
566
+ },
567
+ "autoInitialize": {
568
+ "type": "boolean",
569
+ "default": true,
570
+ "description": "Automatically initialize verification metadata on task creation."
571
+ },
559
572
  "maxRounds": {
560
573
  "type": "integer",
561
574
  "minimum": 1,
@@ -2061,7 +2074,7 @@
2061
2074
  "warn",
2062
2075
  "block"
2063
2076
  ],
2064
- "default": "warn",
2077
+ "default": "block",
2065
2078
  "description": "Enforcement mode: off=no enforcement, warn=warn when missing, block=require on creation."
2066
2079
  },
2067
2080
  "requiredForPriorities": {
@@ -2077,9 +2090,41 @@
2077
2090
  },
2078
2091
  "default": [
2079
2092
  "critical",
2080
- "high"
2093
+ "high",
2094
+ "medium",
2095
+ "low"
2081
2096
  ],
2082
2097
  "description": "Priority levels that require acceptance criteria when mode is 'warn' or 'block'."
2098
+ },
2099
+ "minimumCriteria": {
2100
+ "type": "integer",
2101
+ "default": 3,
2102
+ "minimum": 1,
2103
+ "description": "Minimum number of acceptance criteria required."
2104
+ }
2105
+ }
2106
+ },
2107
+ "session": {
2108
+ "type": "object",
2109
+ "description": "Session enforcement settings for tasks.",
2110
+ "additionalProperties": false,
2111
+ "properties": {
2112
+ "requiredForMutate": {
2113
+ "type": "boolean",
2114
+ "default": true,
2115
+ "description": "Require an active session for task operations."
2116
+ }
2117
+ }
2118
+ },
2119
+ "pipeline": {
2120
+ "type": "object",
2121
+ "description": "Pipeline stage enforcement settings.",
2122
+ "additionalProperties": false,
2123
+ "properties": {
2124
+ "bindTasksToStage": {
2125
+ "type": "boolean",
2126
+ "default": true,
2127
+ "description": "Automatically bind tasks to RCASD-IVTR+C pipeline stages."
2083
2128
  }
2084
2129
  }
2085
2130
  },
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Test CLEO-INJECTION.md v2.1.0 minimal-only template.
2
+ * Test CLEO-INJECTION.md v2.2.0 minimal-only template.
3
3
  *
4
4
  * Validates the trimmed template:
5
- * 1. Has version 2.1.0
5
+ * 1. Has version 2.2.0
6
6
  * 2. Contains all minimal sections
7
7
  * 3. Does NOT contain standard/orchestrator content
8
8
  * 4. Contains escalation section with skill pointers
@@ -24,7 +24,7 @@ const injectionPath = join(corePackageRoot, 'templates', 'CLEO-INJECTION.md');
24
24
 
25
25
  const templateExists = existsSync(injectionPath);
26
26
 
27
- describe('CLEO-INJECTION v2.1.0 minimal-only template', () => {
27
+ describe('CLEO-INJECTION v2.2.0 minimal-only template', () => {
28
28
  const content = templateExists ? readFileSync(injectionPath, 'utf-8') : '';
29
29
 
30
30
  it('template file exists at templates/CLEO-INJECTION.md', () => {
@@ -32,8 +32,8 @@ describe('CLEO-INJECTION v2.1.0 minimal-only template', () => {
32
32
  });
33
33
 
34
34
  describe('Version and metadata', () => {
35
- it('has version 2.1.0', () => {
36
- expect(content).toContain('Version: 2.1.0');
35
+ it('has version 2.2.0', () => {
36
+ expect(content).toContain('Version: 2.2.0');
37
37
  });
38
38
 
39
39
  it('has status ACTIVE', () => {
@@ -1,6 +1,6 @@
1
1
  # CLEO Protocol
2
2
 
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Status: ACTIVE
5
5
 
6
6
  ## Runtime Environment