@cleocode/adapters 2026.10.10-canary.1 → 2026.10.10-canary.2
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/dist/index.js +65 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -11088,6 +11088,37 @@ var init_operations_registry = __esm({
|
|
|
11088
11088
|
}
|
|
11089
11089
|
]
|
|
11090
11090
|
},
|
|
11091
|
+
// ── docs.triage (T13446 — Epic T13340 / Saga T13339) ──────────────────────
|
|
11092
|
+
{
|
|
11093
|
+
gateway: "query",
|
|
11094
|
+
domain: "docs",
|
|
11095
|
+
operation: "triage",
|
|
11096
|
+
description: "docs.triage (query) \u2014 batch-triage docs through the docs.triage decision site: proposed keep/update/supersede/archive verdicts plus staleness scores, oldest first (default: drafts). Proposals only \u2014 never mutates a doc; --record persists each verdict as a proposed D#### decision.",
|
|
11097
|
+
tier: 1,
|
|
11098
|
+
idempotent: true,
|
|
11099
|
+
sessionRequired: false,
|
|
11100
|
+
requiredParams: [],
|
|
11101
|
+
params: [
|
|
11102
|
+
{
|
|
11103
|
+
name: "limit",
|
|
11104
|
+
type: "number",
|
|
11105
|
+
required: false,
|
|
11106
|
+
description: "Maximum docs to scan, oldest first (default 25)"
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
name: "status",
|
|
11110
|
+
type: "string",
|
|
11111
|
+
required: false,
|
|
11112
|
+
description: "Lifecycle status to scan (default draft)"
|
|
11113
|
+
},
|
|
11114
|
+
{
|
|
11115
|
+
name: "record",
|
|
11116
|
+
type: "boolean",
|
|
11117
|
+
required: false,
|
|
11118
|
+
description: "Persist every verdict as a proposed D#### decision (default false)"
|
|
11119
|
+
}
|
|
11120
|
+
]
|
|
11121
|
+
},
|
|
11091
11122
|
{
|
|
11092
11123
|
gateway: "mutate",
|
|
11093
11124
|
domain: "docs",
|
|
@@ -14642,6 +14673,40 @@ var init_sync_write_invariants = __esm({
|
|
|
14642
14673
|
["D04", "D05", "D31", "D32", "D39", "D50"],
|
|
14643
14674
|
"superseded is sticky; lifecycle transitions follow a matrix"
|
|
14644
14675
|
),
|
|
14676
|
+
// T13354 (D11165) — CleoDocs re-keyed history family; the typed merge rules
|
|
14677
|
+
// land with the write path (T13355).
|
|
14678
|
+
rule(
|
|
14679
|
+
"docs.versions.append-only",
|
|
14680
|
+
"T13355",
|
|
14681
|
+
"conduit_attachment_versions",
|
|
14682
|
+
["*"],
|
|
14683
|
+
[],
|
|
14684
|
+
"version rows are append-only and unique by uid; inserts never conflict, so no merge rule fires"
|
|
14685
|
+
),
|
|
14686
|
+
rule(
|
|
14687
|
+
"docs.approvals.append-only",
|
|
14688
|
+
"T13355",
|
|
14689
|
+
"conduit_attachment_approvals",
|
|
14690
|
+
["*"],
|
|
14691
|
+
[],
|
|
14692
|
+
"approval rows are append-only; a revoke is a tombstone row, never an UPDATE/DELETE"
|
|
14693
|
+
),
|
|
14694
|
+
rule(
|
|
14695
|
+
"docs.doc-alias.append-only",
|
|
14696
|
+
"T13355",
|
|
14697
|
+
"conduit_doc_slug_aliases",
|
|
14698
|
+
["*"],
|
|
14699
|
+
[],
|
|
14700
|
+
"alias rows carry natural identity over (slug, doc_uid); identical aliases merge to one row"
|
|
14701
|
+
),
|
|
14702
|
+
rule(
|
|
14703
|
+
"docs.head.max-hlc",
|
|
14704
|
+
"T13355",
|
|
14705
|
+
"conduit_doc_heads",
|
|
14706
|
+
["*"],
|
|
14707
|
+
[],
|
|
14708
|
+
"the projection keeps the max-HLC head; a losing concurrent head is recorded (conflict_count/last_conflict_json), never silently shadowed"
|
|
14709
|
+
),
|
|
14645
14710
|
// §3.6.0 identity-layer rows.
|
|
14646
14711
|
{
|
|
14647
14712
|
id: "identity.local-minting",
|