@cleocode/cant 2026.6.12 → 2026.6.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/README.md CHANGED
@@ -157,7 +157,7 @@ not locally.
157
157
  | `crates/cant-core` | Active — SSoT | Parser, validator, 42 static-analysis rules, pipeline executor |
158
158
  | `crates/cant-napi` | Active | napi-rs cdylib binding wrapping cant-core + cant-runtime |
159
159
  | `crates/cant-runtime` | Active | Deterministic pipeline execution engine (Path B) |
160
- | `crates/cant-router` | Retired from napi surface (E8 T11432) | Model-tier classifier — preserved in workspace but NOT linked into the published binary |
160
+ | `crates/cant-router` | DELETED (T11807) | Model-tier classifier — removed in the state-machine collapse (T11764); model selection owned by the E9 chokepoint |
161
161
  | `crates/cant-lsp` | Shelved from default build (E8 T11434) | Language Server Protocol for `.cant` files — kept in workspace, build with `cargo build -p cant-lsp` |
162
162
 
163
163
  ## Related
@@ -89,10 +89,6 @@ export interface SpawnPayload {
89
89
  systemPrompt: string;
90
90
  /** Token count of the system prompt. */
91
91
  systemPromptTokens: number;
92
- /** The model to use (from the tier matrix). */
93
- model: string;
94
- /** Fallback models. */
95
- fallbackModels: string[];
96
92
  /** Skills to load. */
97
93
  skills: string[];
98
94
  /** Tools allowed. */
package/dist/composer.js CHANGED
@@ -47,15 +47,11 @@ function escalateTier(tier) {
47
47
  function estimateTokens(text) {
48
48
  return Math.ceil(text.length / 4);
49
49
  }
50
- // ---------------------------------------------------------------------------
51
- // Model selection per tier (mirrors cant-router section 11)
52
- // ---------------------------------------------------------------------------
53
- /** Model selection per tier. */
54
- const TIER_MODELS = {
55
- low: { primary: 'claude-haiku-4-5', fallbacks: ['kimi-k2.5'] },
56
- mid: { primary: 'claude-sonnet-4-6', fallbacks: ['kimi-k2.5', 'claude-haiku-4-5'] },
57
- high: { primary: 'claude-opus-4-6', fallbacks: ['claude-sonnet-4-6', 'kimi-k2.5'] },
58
- };
50
+ // TIER_MODELS removed in T11807 (state-machine collapse, T11764): the dead
51
+ // tier→model matrix duplicated the E9 chokepoint (resolveLLMForSystem) and was
52
+ // the last consumer of the retired cant-router routing concept. The orphaned
53
+ // `composeSpawnPayload` no longer emits model/fallbackModels; model selection
54
+ // is owned exclusively by the Gate-13 LLM chokepoint (rebind tracked in T11767).
59
55
  // ---------------------------------------------------------------------------
60
56
  // Mental model validation prefix (ULTRAPLAN section 12.3)
61
57
  // ---------------------------------------------------------------------------
@@ -142,7 +138,6 @@ async function composeSpawnPayload(agent, contextProvider, projectHash) {
142
138
  mmText);
143
139
  }
144
140
  const systemPrompt = parts.join('');
145
- const model = TIER_MODELS[currentTier];
146
141
  return {
147
142
  agentName: agent.name,
148
143
  resolvedTier: currentTier,
@@ -150,8 +145,6 @@ async function composeSpawnPayload(agent, contextProvider, projectHash) {
150
145
  declaredTier: agent.tier,
151
146
  systemPrompt,
152
147
  systemPromptTokens: estimateTokens(systemPrompt),
153
- model: model.primary,
154
- fallbackModels: model.fallbacks,
155
148
  skills: agent.skills,
156
149
  tools: agent.tools,
157
150
  injectedContextSources: contextSlices.map((s) => s.source),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/cant",
3
- "version": "2026.6.12",
3
+ "version": "2026.6.13",
4
4
  "description": "CANT DSL — cant-core (SSoT) parser, validator, and pipeline executor via napi-rs; agent identity, message parsing, and migration utilities",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,9 +9,9 @@
9
9
  "napi/"
10
10
  ],
11
11
  "dependencies": {
12
- "@cleocode/core": "2026.6.12",
13
- "@cleocode/lafs": "2026.6.12",
14
- "@cleocode/contracts": "2026.6.12"
12
+ "@cleocode/contracts": "2026.6.13",
13
+ "@cleocode/core": "2026.6.13",
14
+ "@cleocode/lafs": "2026.6.13"
15
15
  },
16
16
  "devDependencies": {
17
17
  "typescript": "^6.0.2",