@cleocode/cant 2026.4.124 → 2026.4.126

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.
@@ -231,17 +231,32 @@ export declare function validateAgentCantPath(cantPath: string, rootDir: string)
231
231
  */
232
232
  export declare function cantExecutePipelineNative(filePath: string, pipelineName: string): Promise<NativePipelineResult>;
233
233
  /**
234
- * Canonical IDs of the 7 CLEO seed personas.
234
+ * Canonical IDs of the ship-surface personas surfaced by
235
+ * {@link loadSeedAgentIdentities} — the universal protocol base plus the four
236
+ * generic role templates that `@cleocode/agents` publishes.
235
237
  *
236
- * Kept in declaration order: orchestrator first, then leads, then universal base.
237
- * Used by the regression test and as documentation for the expected registry
238
- * contents. Any persona on this list MUST be resolvable from the canonical
239
- * seed-agents path (either `seed-agents/<id>.cant` or `cleo-subagent.cant`).
238
+ * Per ADR-055 D032, the package ships exactly five loadable personas at this
239
+ * surface (plus `meta/agent-architect.cant`, the meta-agent, which the loader
240
+ * does not currently walk tracked as follow-up for a loader extension).
240
241
  *
241
- * @task T1210
242
+ * Note: filenames under `seed-agents/` use canonical role names
243
+ * (`orchestrator.cant`, `dev-lead.cant`, etc. — T1258 E1 clean-forward),
244
+ * and the agent IDs DECLARED inside each template (via `agent <name>:`) are
245
+ * `project-*`. This list reflects the
246
+ * declared agent IDs the loader surfaces, not the filename stems.
247
+ *
248
+ * Declaration order: universal base first, then the five canonical role
249
+ * templates (T1258 E1: orchestrator, dev-lead, code-worker, docs-worker,
250
+ * security-worker). Used by the regression test and as documentation of the
251
+ * expected registry contents. Any persona on this list MUST be resolvable
252
+ * from the canonical seed-agents path (either `cleo-subagent.cant` at package
253
+ * root or `seed-agents/<filename>.cant`).
254
+ *
255
+ * @task T1257
256
+ * @task T1258 E1 canonical naming refactor — security-worker added
242
257
  */
243
- export declare const SEED_PERSONA_IDS: readonly ["cleo-prime", "cleo-dev", "cleo-db-lead", "cleo-historian", "cleo-rust-lead", "cleo-subagent", "cleoos-opus-orchestrator"];
244
- /** Type-safe union of the 7 canonical seed persona IDs. */
258
+ export declare const SEED_PERSONA_IDS: readonly ["cleo-subagent", "project-orchestrator", "project-dev-lead", "project-code-worker", "project-docs-worker", "project-security-worker"];
259
+ /** Type-safe union of the ship-surface persona IDs. */
245
260
  export type SeedPersonaId = (typeof SEED_PERSONA_IDS)[number];
246
261
  /**
247
262
  * Load all seed-agent {@link PeerIdentity} records from the canonical
@@ -233,23 +233,37 @@ function cantExecutePipelineNative(filePath, pipelineName) {
233
233
  // Seed-agent identity loader (T1210 — PeerIdentity SDK surface)
234
234
  // ============================================================================
235
235
  /**
236
- * Canonical IDs of the 7 CLEO seed personas.
237
- *
238
- * Kept in declaration order: orchestrator first, then leads, then universal base.
239
- * Used by the regression test and as documentation for the expected registry
240
- * contents. Any persona on this list MUST be resolvable from the canonical
241
- * seed-agents path (either `seed-agents/<id>.cant` or `cleo-subagent.cant`).
242
- *
243
- * @task T1210
236
+ * Canonical IDs of the ship-surface personas surfaced by
237
+ * {@link loadSeedAgentIdentities} — the universal protocol base plus the four
238
+ * generic role templates that `@cleocode/agents` publishes.
239
+ *
240
+ * Per ADR-055 D032, the package ships exactly five loadable personas at this
241
+ * surface (plus `meta/agent-architect.cant`, the meta-agent, which the loader
242
+ * does not currently walk — tracked as follow-up for a loader extension).
243
+ *
244
+ * Note: filenames under `seed-agents/` use canonical role names
245
+ * (`orchestrator.cant`, `dev-lead.cant`, etc. — T1258 E1 clean-forward),
246
+ * and the agent IDs DECLARED inside each template (via `agent <name>:`) are
247
+ * `project-*`. This list reflects the
248
+ * declared agent IDs the loader surfaces, not the filename stems.
249
+ *
250
+ * Declaration order: universal base first, then the five canonical role
251
+ * templates (T1258 E1: orchestrator, dev-lead, code-worker, docs-worker,
252
+ * security-worker). Used by the regression test and as documentation of the
253
+ * expected registry contents. Any persona on this list MUST be resolvable
254
+ * from the canonical seed-agents path (either `cleo-subagent.cant` at package
255
+ * root or `seed-agents/<filename>.cant`).
256
+ *
257
+ * @task T1257
258
+ * @task T1258 E1 canonical naming refactor — security-worker added
244
259
  */
245
260
  exports.SEED_PERSONA_IDS = [
246
- 'cleo-prime',
247
- 'cleo-dev',
248
- 'cleo-db-lead',
249
- 'cleo-historian',
250
- 'cleo-rust-lead',
251
261
  'cleo-subagent',
252
- 'cleoos-opus-orchestrator',
262
+ 'project-orchestrator',
263
+ 'project-dev-lead',
264
+ 'project-code-worker',
265
+ 'project-docs-worker',
266
+ 'project-security-worker',
253
267
  ];
254
268
  /**
255
269
  * Discover the `packages/agents/` root by walking up from the compiled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/cant",
3
- "version": "2026.4.124",
3
+ "version": "2026.4.126",
4
4
  "description": "CANT protocol parser and runtime for CLEO — wraps cant-core via napi-rs",
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/contracts": "2026.4.124",
13
- "@cleocode/core": "2026.4.124",
14
- "@cleocode/lafs": "2026.4.124"
12
+ "@cleocode/contracts": "2026.4.126",
13
+ "@cleocode/lafs": "2026.4.126",
14
+ "@cleocode/core": "2026.4.126"
15
15
  },
16
16
  "devDependencies": {
17
17
  "typescript": "^6.0.2",