@cleocode/adapters 2026.11.18 → 2026.11.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.
@@ -11673,7 +11673,7 @@ var OPERATIONS = [
11673
11673
  gateway: "mutate",
11674
11674
  domain: "docs",
11675
11675
  operation: "update",
11676
- description: "docs.update (mutate) \u2014 replace blob content for an existing slug while preserving the slug. New sha256 + new attachment row; the old row stays reachable by ID for history. NO supersession edge (use `cleo docs supersede` for that). Audit log entry appended to .cleo/audit/docs-versioning.jsonl (squashed within a 5-min window).",
11676
+ description: "docs.update (mutate) \u2014 replace blob content for an existing slug while preserving the slug. New sha256 + new attachment row; the old row stays reachable by ID for history. A supersession edge is written only by --status superseded with --superseded-by. Audit log entry appended to .cleo/audit/docs-versioning.jsonl (squashed within a 5-min window).",
11677
11677
  tier: 1,
11678
11678
  idempotent: false,
11679
11679
  sessionRequired: false,
@@ -11725,6 +11725,13 @@ var OPERATIONS = [
11725
11725
  enum: DOCS_LIFECYCLE_STATUSES,
11726
11726
  description: `Override the new lifecycle status. Defaults to "draft" on every update. Alone (no file or content) it changes only the lifecycle status. Valid: ${DOCS_LIFECYCLE_STATUSES.join("|")}.`
11727
11727
  },
11728
+ {
11729
+ name: "supersededBy",
11730
+ type: "string",
11731
+ required: false,
11732
+ description: "Slug of the doc that replaces this one (T14657). Use with --status superseded and no file or content: records the successor link (this doc's superseded_by, the successor's supersedes) that `cleo docs supersede` wrote.",
11733
+ cli: { flag: "superseded-by" }
11734
+ },
11728
11735
  {
11729
11736
  name: "dryRun",
11730
11737
  type: "boolean",
@@ -14701,7 +14708,7 @@ var ADR_070_INVARIANTS = Object.freeze([
14701
14708
  adr: "ADR-070",
14702
14709
  code: "ORC-006",
14703
14710
  name: "Worker scope \u2264 3 files per spawn",
14704
- description: "Cross-file reasoning quality degrades beyond ~3 files for a single Worker. Enforced at spawn-time by validateSpawnReadiness \u2014 V_ATOMIC_SCOPE_MISSING when task.files is empty, V_ATOMIC_SCOPE_TOO_LARGE when the counted files exceed MAX_WORKER_FILES (currently 3); a test file that pairs with a declared source file by name stem does not count; unpaired tests count (T14633). Spawn-prompt builder injects a Worker Budget Constraints section so the Worker sees the budget inline. Tier: error because the gate refuses to spawn an over-scoped Worker.",
14711
+ description: "Cross-file reasoning quality degrades beyond ~3 files for a single Worker. Enforced at spawn-time by validateSpawnReadiness \u2014 V_ATOMIC_SCOPE_MISSING when task.files is empty, V_ATOMIC_SCOPE_TOO_LARGE when the counted files exceed MAX_WORKER_FILES (currently 3); a test file that pairs with a declared code file by name stem in a directory it tests (a sibling, a __tests__/ tree, or a tests/ or test/ tree mirroring src/; paths normalised) does not count; unpaired tests count (T14633, T14636, T14661). Spawn-prompt builder injects a Worker Budget Constraints section so the Worker sees the budget inline. Tier: error because the gate refuses to spawn an over-scoped Worker.",
14705
14712
  severity: "error",
14706
14713
  runtimeGate: {
14707
14714
  module: VALIDATE_SPAWN_MODULE,