@cleocode/contracts 2026.10.27 → 2026.11.1-canary.10
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 +2 -1
- package/dist/.source-stamp.json +4 -0
- package/dist/__tests__/acceptance-gate.test.js +15 -3
- package/dist/__tests__/acceptance-gate.test.js.map +1 -1
- package/dist/__tests__/completion-operation-contracts.test.js +1 -1
- package/dist/__tests__/completion-operation-contracts.test.js.map +1 -1
- package/dist/__tests__/evidence-atom-schema.test.js +3 -1
- package/dist/__tests__/evidence-atom-schema.test.js.map +1 -1
- package/dist/__tests__/gateway-contract.test.js +1 -1
- package/dist/__tests__/gateway-contract.test.js.map +1 -1
- package/dist/__tests__/memory-wire-shapes.test.js.map +1 -1
- package/dist/__tests__/operation-def.test.js +4 -3
- package/dist/__tests__/operation-def.test.js.map +1 -1
- package/dist/acceptance-gate-schema.d.ts +25 -0
- package/dist/acceptance-gate-schema.d.ts.map +1 -1
- package/dist/acceptance-gate-schema.js +5 -0
- package/dist/acceptance-gate-schema.js.map +1 -1
- package/dist/acceptance-gate.d.ts +8 -0
- package/dist/acceptance-gate.d.ts.map +1 -1
- package/dist/brain-graph.d.ts +1 -1
- package/dist/brain-graph.js +1 -1
- package/dist/caamp-markers.d.ts +11 -0
- package/dist/caamp-markers.d.ts.map +1 -1
- package/dist/config/manifest.d.ts.map +1 -1
- package/dist/config/manifest.js +13 -0
- package/dist/config/manifest.js.map +1 -1
- package/dist/{config.d.ts → config/types.d.ts} +130 -6
- package/dist/config/types.d.ts.map +1 -0
- package/dist/{config.js → config/types.js} +1 -1
- package/dist/config/types.js.map +1 -0
- package/dist/config/worker-policy.d.ts +42 -0
- package/dist/config/worker-policy.d.ts.map +1 -0
- package/dist/config/worker-policy.js +35 -0
- package/dist/config/worker-policy.js.map +1 -0
- package/dist/data-accessor.d.ts +15 -0
- package/dist/data-accessor.d.ts.map +1 -1
- package/dist/data-accessor.js.map +1 -1
- package/dist/dependency.d.ts +2 -0
- package/dist/dependency.d.ts.map +1 -1
- package/dist/dispatch/__tests__/operation-envelope-snapshots.test.js +0 -6
- package/dist/dispatch/__tests__/operation-envelope-snapshots.test.js.map +1 -1
- package/dist/dispatch/identity.d.ts +3 -8
- package/dist/dispatch/identity.d.ts.map +1 -1
- package/dist/dispatch/identity.js +2 -8
- package/dist/dispatch/identity.js.map +1 -1
- package/dist/dispatch/operations-registry.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.js +360 -513
- package/dist/dispatch/operations-registry.js.map +1 -1
- package/dist/docs/modernize.d.ts +468 -0
- package/dist/docs/modernize.d.ts.map +1 -0
- package/dist/docs/modernize.js +145 -0
- package/dist/docs/modernize.js.map +1 -0
- package/dist/docs/provenance.d.ts +6 -6
- package/dist/docs-taxonomy.d.ts +6 -0
- package/dist/docs-taxonomy.d.ts.map +1 -1
- package/dist/docs-taxonomy.js +38 -1
- package/dist/docs-taxonomy.js.map +1 -1
- package/dist/done-plan.d.ts +34 -3
- package/dist/done-plan.d.ts.map +1 -1
- package/dist/evidence-atom-schema.d.ts +78 -4
- package/dist/evidence-atom-schema.d.ts.map +1 -1
- package/dist/evidence-atom-schema.js +136 -11
- package/dist/evidence-atom-schema.js.map +1 -1
- package/dist/evidence-record-schema.d.ts +2 -2
- package/dist/exit-codes.d.ts +93 -0
- package/dist/exit-codes.d.ts.map +1 -1
- package/dist/exit-codes.js +93 -0
- package/dist/exit-codes.js.map +1 -1
- package/dist/{gateway.d.ts → gateway/index.d.ts} +4 -4
- package/dist/gateway/index.d.ts.map +1 -0
- package/dist/{gateway.js → gateway/index.js} +2 -2
- package/dist/gateway/index.js.map +1 -0
- package/dist/gateway/rpc/messages.d.ts +4 -4
- package/dist/gateway/rpc/messages.js +1 -1
- package/dist/gateway/rpc/messages.js.map +1 -1
- package/dist/git-hooks.d.ts +29 -3
- package/dist/git-hooks.d.ts.map +1 -1
- package/dist/git-hooks.js +34 -3
- package/dist/git-hooks.js.map +1 -1
- package/dist/heavy-command-hook.d.ts +5 -0
- package/dist/heavy-command-hook.d.ts.map +1 -1
- package/dist/index.d.ts +23 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/invariants/sync-write-invariants.d.ts.map +1 -1
- package/dist/invariants/sync-write-invariants.js +29 -1
- package/dist/invariants/sync-write-invariants.js.map +1 -1
- package/dist/jobs.d.ts +5 -0
- package/dist/jobs.d.ts.map +1 -1
- package/dist/lease-ipc/messages.d.ts +5 -5
- package/dist/llm/onboarding.d.ts +1 -1
- package/dist/llm/system-of-use.d.ts +1 -1
- package/dist/llm/system-of-use.d.ts.map +1 -1
- package/dist/llm/system-resolver.d.ts +1 -1
- package/dist/llm/system-resolver.d.ts.map +1 -1
- package/dist/{memory.d.ts → memory/index.d.ts} +1 -1
- package/dist/memory/index.d.ts.map +1 -0
- package/dist/{memory.js → memory/index.js} +1 -1
- package/dist/memory/index.js.map +1 -0
- package/dist/memory/search.d.ts +20 -2
- package/dist/memory/search.d.ts.map +1 -1
- package/dist/merge-close.d.ts +277 -0
- package/dist/merge-close.d.ts.map +1 -0
- package/dist/merge-close.js +16 -0
- package/dist/merge-close.js.map +1 -0
- package/dist/nexus-cloud.d.ts +1 -1
- package/dist/operations/admin.d.ts +6 -0
- package/dist/operations/admin.d.ts.map +1 -1
- package/dist/operations/docs.d.ts +233 -9
- package/dist/operations/docs.d.ts.map +1 -1
- package/dist/operations/docs.js.map +1 -1
- package/dist/operations/index.d.ts +0 -1
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +0 -1
- package/dist/operations/index.js.map +1 -1
- package/dist/operations/memory.d.ts +7 -4
- package/dist/operations/memory.d.ts.map +1 -1
- package/dist/operations/nexus-scope-map.d.ts +0 -8
- package/dist/operations/nexus-scope-map.d.ts.map +1 -1
- package/dist/operations/nexus-scope-map.js +0 -8
- package/dist/operations/nexus-scope-map.js.map +1 -1
- package/dist/operations/nexus.d.ts +2 -10
- package/dist/operations/nexus.d.ts.map +1 -1
- package/dist/operations/nexus.js.map +1 -1
- package/dist/operations/orchestrate.d.ts +219 -6
- package/dist/operations/orchestrate.d.ts.map +1 -1
- package/dist/operations/orchestrate.js +329 -1
- package/dist/operations/orchestrate.js.map +1 -1
- package/dist/operations/output-contracts-data.js +1 -1
- package/dist/operations/output-contracts-data.js.map +1 -1
- package/dist/operations/release.d.ts +0 -79
- package/dist/operations/release.d.ts.map +1 -1
- package/dist/operations/session.d.ts +1 -1
- package/dist/operations/session.d.ts.map +1 -1
- package/dist/operations/tasks.d.ts +18 -6
- package/dist/operations/tasks.d.ts.map +1 -1
- package/dist/operations/tasks.js.map +1 -1
- package/dist/operations/validate.d.ts +6 -0
- package/dist/operations/validate.d.ts.map +1 -1
- package/dist/operations/worktree.d.ts +209 -19
- package/dist/operations/worktree.d.ts.map +1 -1
- package/dist/orca-execution.d.ts +489 -0
- package/dist/orca-execution.d.ts.map +1 -0
- package/dist/orca-execution.js +362 -0
- package/dist/orca-execution.js.map +1 -0
- package/dist/project-context.d.ts +31 -0
- package/dist/project-context.d.ts.map +1 -1
- package/dist/project-hooks.d.ts +8 -8
- package/dist/release/authorization.d.ts +46 -0
- package/dist/release/authorization.d.ts.map +1 -0
- package/dist/release/authorization.js +10 -0
- package/dist/release/authorization.js.map +1 -0
- package/dist/release/hook-pilot.d.ts +1 -1
- package/dist/resource-governor.d.ts +44 -0
- package/dist/resource-governor.d.ts.map +1 -1
- package/dist/resource-governor.js +10 -0
- package/dist/resource-governor.js.map +1 -1
- package/dist/review-verdict.d.ts +253 -0
- package/dist/review-verdict.d.ts.map +1 -0
- package/dist/review-verdict.js +20 -0
- package/dist/review-verdict.js.map +1 -0
- package/dist/row-identity.d.ts +11 -0
- package/dist/row-identity.d.ts.map +1 -1
- package/dist/session-journal.d.ts.map +1 -1
- package/dist/session-journal.js +7 -1
- package/dist/session-journal.js.map +1 -1
- package/dist/session.d.ts +11 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js.map +1 -1
- package/dist/skills/migrate.d.ts +1 -1
- package/dist/skills/migrate.js +1 -1
- package/dist/skills/stats.d.ts +1 -1
- package/dist/skills/stats.js +1 -1
- package/dist/spawn-types.d.ts +57 -0
- package/dist/spawn-types.d.ts.map +1 -1
- package/dist/spawn.d.ts +43 -0
- package/dist/spawn.d.ts.map +1 -1
- package/dist/spawn.js +1 -0
- package/dist/spawn.js.map +1 -1
- package/dist/status-registry.d.ts +27 -0
- package/dist/status-registry.d.ts.map +1 -1
- package/dist/status-registry.js +28 -0
- package/dist/status-registry.js.map +1 -1
- package/dist/table-classification.d.ts +22 -0
- package/dist/table-classification.d.ts.map +1 -1
- package/dist/task-id.d.ts +8 -10
- package/dist/task-id.d.ts.map +1 -1
- package/dist/task-id.js +9 -48
- package/dist/task-id.js.map +1 -1
- package/dist/task-record.d.ts +10 -1
- package/dist/task-record.d.ts.map +1 -1
- package/dist/task.d.ts +177 -4
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js.map +1 -1
- package/dist/{tasks.d.ts → tasks/index.d.ts} +3 -3
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/{tasks.js → tasks/index.js} +2 -2
- package/dist/tasks/index.js.map +1 -0
- package/dist/templates/manifest.d.ts +1 -1
- package/dist/tools/build-task-tree.d.ts +1 -1
- package/dist/tools/build-task-tree.d.ts.map +1 -1
- package/dist/workgraph.d.ts +56 -56
- package/package.json +22 -6
- package/schemas/acceptance-gate.schema.json +24 -0
- package/schemas/task.schema.json +24 -0
- package/src/__tests__/__snapshots__/operations-registry.test.ts.snap +1 -1
- package/src/__tests__/acceptance-gate.test.ts +16 -3
- package/src/__tests__/completion-operation-contracts.test.ts +1 -1
- package/src/__tests__/evidence-atom-schema.test.ts +3 -1
- package/src/__tests__/gateway-contract.test.ts +1 -1
- package/src/__tests__/llm-config-schema.test.ts +1 -1
- package/src/__tests__/memory-wire-shapes.test.ts +4 -1
- package/src/__tests__/operation-def.test.ts +4 -3
- package/src/acceptance-gate-schema.ts +5 -0
- package/src/acceptance-gate.ts +9 -0
- package/src/brain-graph.ts +1 -1
- package/src/caamp-markers.ts +11 -0
- package/src/config/manifest.ts +13 -0
- package/src/{config.ts → config/types.ts} +134 -5
- package/src/config/worker-policy.ts +55 -0
- package/src/data-accessor.ts +16 -0
- package/src/dependency.ts +2 -0
- package/src/dispatch/__tests__/operation-envelope-snapshots.test.ts +0 -6
- package/src/dispatch/identity.ts +2 -8
- package/src/dispatch/operations-registry.ts +377 -525
- package/src/docs/modernize.ts +442 -0
- package/src/docs-taxonomy.ts +44 -1
- package/src/done-plan.ts +33 -2
- package/src/evidence-atom-schema.ts +167 -14
- package/src/exit-codes.ts +95 -0
- package/src/{gateway.ts → gateway/index.ts} +3 -3
- package/src/gateway/rpc/messages.ts +1 -1
- package/src/git-hooks.ts +43 -3
- package/src/heavy-command-hook.ts +5 -0
- package/src/index.ts +132 -48
- package/src/invariants/sync-write-invariants.ts +30 -0
- package/src/jobs.ts +5 -0
- package/src/llm/onboarding.ts +1 -1
- package/src/llm/system-of-use.ts +1 -1
- package/src/llm/system-resolver.ts +1 -1
- package/src/memory/search.ts +17 -2
- package/src/merge-close.ts +291 -0
- package/src/operations/admin.ts +6 -0
- package/src/operations/docs.ts +242 -10
- package/src/operations/index.ts +0 -1
- package/src/operations/memory.ts +7 -4
- package/src/operations/nexus-scope-map.ts +0 -8
- package/src/operations/nexus.ts +2 -11
- package/src/operations/orchestrate.ts +490 -6
- package/src/operations/output-contracts-data.ts +1 -1
- package/src/operations/release.ts +0 -87
- package/src/operations/session.ts +1 -1
- package/src/operations/tasks.ts +20 -7
- package/src/operations/validate.ts +6 -0
- package/src/operations/worktree.ts +216 -19
- package/src/orca-execution.ts +493 -0
- package/src/project-context.ts +33 -0
- package/src/release/authorization.ts +48 -0
- package/src/resource-governor.ts +47 -0
- package/src/review-verdict.ts +265 -0
- package/src/row-identity.ts +11 -0
- package/src/session-journal.ts +7 -1
- package/src/session.ts +11 -0
- package/src/skills/migrate.ts +1 -1
- package/src/skills/stats.ts +1 -1
- package/src/spawn-types.ts +75 -0
- package/src/spawn.ts +48 -0
- package/src/status-registry.ts +37 -0
- package/src/table-classification.ts +23 -0
- package/src/task-id.ts +9 -47
- package/src/task-record.ts +10 -1
- package/src/task.ts +171 -4
- package/src/{tasks.ts → tasks/index.ts} +3 -3
- package/src/tools/build-task-tree.ts +1 -1
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/gateway.d.ts.map +0 -1
- package/dist/gateway.js.map +0 -1
- package/dist/memory.d.ts.map +0 -1
- package/dist/memory.js.map +0 -1
- package/dist/operations/conduit.d.ts +0 -285
- package/dist/operations/conduit.d.ts.map +0 -1
- package/dist/operations/conduit.js +0 -39
- package/dist/operations/conduit.js.map +0 -1
- package/dist/tasks.d.ts.map +0 -1
- package/dist/tasks.js.map +0 -1
- package/src/operations/conduit.ts +0 -348
- /package/src/{memory.ts → memory/index.ts} +0 -0
|
@@ -149,6 +149,47 @@ export const OPERATIONS = [
|
|
|
149
149
|
],
|
|
150
150
|
},
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
gateway: 'mutate',
|
|
154
|
+
domain: 'tasks',
|
|
155
|
+
operation: 'req.move',
|
|
156
|
+
description: 'Move one acceptance criterion to another open task as its next AC<n>, keeping its uid and history; audited on both tasks (T14200)',
|
|
157
|
+
tier: 1,
|
|
158
|
+
idempotent: false,
|
|
159
|
+
sessionRequired: true,
|
|
160
|
+
requiredParams: ['taskId', 'criterion', 'to'],
|
|
161
|
+
params: [
|
|
162
|
+
{ ...requirementTaskParam, description: 'Task the criterion leaves' },
|
|
163
|
+
{
|
|
164
|
+
name: 'criterion',
|
|
165
|
+
type: 'string',
|
|
166
|
+
required: true,
|
|
167
|
+
description: 'The criterion to move, as AC<n>',
|
|
168
|
+
cli: { positional: true },
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'to',
|
|
172
|
+
type: 'string',
|
|
173
|
+
required: true,
|
|
174
|
+
description: 'Task that gains the criterion',
|
|
175
|
+
cli: { flag: 'to' },
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
inputSchema: {
|
|
179
|
+
operation: 'tasks.req.move',
|
|
180
|
+
schema: {
|
|
181
|
+
type: 'object',
|
|
182
|
+
required: ['taskId', 'criterion', 'to'],
|
|
183
|
+
additionalProperties: false,
|
|
184
|
+
properties: {
|
|
185
|
+
taskId: { type: 'string', minLength: 1 },
|
|
186
|
+
criterion: { type: 'string', minLength: 1 },
|
|
187
|
+
to: { type: 'string', minLength: 1 },
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
examples: [{ name: 'move', value: { taskId: 'T121', criterion: 'AC2', to: 'T122' } }],
|
|
191
|
+
},
|
|
192
|
+
},
|
|
152
193
|
{
|
|
153
194
|
gateway: 'query',
|
|
154
195
|
domain: 'tasks',
|
|
@@ -252,12 +293,6 @@ export const OPERATIONS = [
|
|
|
252
293
|
required: false,
|
|
253
294
|
description: 'Include lifecycle stage history in the response',
|
|
254
295
|
},
|
|
255
|
-
{
|
|
256
|
-
name: 'ivtr-history',
|
|
257
|
-
type: 'boolean',
|
|
258
|
-
required: false,
|
|
259
|
-
description: 'Include IVTR phase chain history in the response',
|
|
260
|
-
},
|
|
261
296
|
{
|
|
262
297
|
name: 'relations',
|
|
263
298
|
type: 'boolean',
|
|
@@ -1045,114 +1080,6 @@ export const OPERATIONS = [
|
|
|
1045
1080
|
},
|
|
1046
1081
|
],
|
|
1047
1082
|
},
|
|
1048
|
-
// T811 — IVTR multi-agent enforcement
|
|
1049
|
-
{
|
|
1050
|
-
gateway: 'query',
|
|
1051
|
-
domain: 'orchestrate',
|
|
1052
|
-
operation: 'ivtr.status',
|
|
1053
|
-
description: 'orchestrate.ivtr.status (query) — current IVTR phase + history',
|
|
1054
|
-
tier: 1,
|
|
1055
|
-
idempotent: true,
|
|
1056
|
-
sessionRequired: false,
|
|
1057
|
-
requiredParams: ['taskId'],
|
|
1058
|
-
params: [
|
|
1059
|
-
{
|
|
1060
|
-
name: 'taskId',
|
|
1061
|
-
type: 'string',
|
|
1062
|
-
required: true,
|
|
1063
|
-
description: 'taskId parameter',
|
|
1064
|
-
cli: { positional: true },
|
|
1065
|
-
},
|
|
1066
|
-
],
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
gateway: 'mutate',
|
|
1070
|
-
domain: 'orchestrate',
|
|
1071
|
-
operation: 'ivtr.start',
|
|
1072
|
-
description: 'orchestrate.ivtr.start (mutate) — begin Implement phase',
|
|
1073
|
-
tier: 1,
|
|
1074
|
-
idempotent: false,
|
|
1075
|
-
sessionRequired: true,
|
|
1076
|
-
requiredParams: ['taskId'],
|
|
1077
|
-
params: [
|
|
1078
|
-
{
|
|
1079
|
-
name: 'taskId',
|
|
1080
|
-
type: 'string',
|
|
1081
|
-
required: true,
|
|
1082
|
-
description: 'taskId parameter',
|
|
1083
|
-
cli: { positional: true },
|
|
1084
|
-
},
|
|
1085
|
-
],
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
gateway: 'mutate',
|
|
1089
|
-
domain: 'orchestrate',
|
|
1090
|
-
operation: 'ivtr.next',
|
|
1091
|
-
description: 'orchestrate.ivtr.next (mutate) — advance to next phase (requires prior evidence)',
|
|
1092
|
-
tier: 1,
|
|
1093
|
-
idempotent: false,
|
|
1094
|
-
sessionRequired: true,
|
|
1095
|
-
requiredParams: ['taskId'],
|
|
1096
|
-
params: [
|
|
1097
|
-
{
|
|
1098
|
-
name: 'taskId',
|
|
1099
|
-
type: 'string',
|
|
1100
|
-
required: true,
|
|
1101
|
-
description: 'taskId parameter',
|
|
1102
|
-
cli: { positional: true },
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
gateway: 'mutate',
|
|
1108
|
-
domain: 'orchestrate',
|
|
1109
|
-
operation: 'ivtr.release',
|
|
1110
|
-
description: 'orchestrate.ivtr.release (mutate) — final gate, requires I+V+T evidence',
|
|
1111
|
-
tier: 1,
|
|
1112
|
-
idempotent: false,
|
|
1113
|
-
sessionRequired: true,
|
|
1114
|
-
requiredParams: ['taskId'],
|
|
1115
|
-
params: [
|
|
1116
|
-
{
|
|
1117
|
-
name: 'taskId',
|
|
1118
|
-
type: 'string',
|
|
1119
|
-
required: true,
|
|
1120
|
-
description: 'taskId parameter',
|
|
1121
|
-
cli: { positional: true },
|
|
1122
|
-
},
|
|
1123
|
-
],
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
gateway: 'mutate',
|
|
1127
|
-
domain: 'orchestrate',
|
|
1128
|
-
operation: 'ivtr.loop-back',
|
|
1129
|
-
description: 'orchestrate.ivtr.loop-back (mutate) — rewind to phase on failure',
|
|
1130
|
-
tier: 1,
|
|
1131
|
-
idempotent: false,
|
|
1132
|
-
sessionRequired: true,
|
|
1133
|
-
requiredParams: ['taskId', 'phase', 'reason'],
|
|
1134
|
-
params: [
|
|
1135
|
-
{
|
|
1136
|
-
name: 'taskId',
|
|
1137
|
-
type: 'string',
|
|
1138
|
-
required: true,
|
|
1139
|
-
description: 'taskId parameter',
|
|
1140
|
-
cli: { positional: true },
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
name: 'phase',
|
|
1144
|
-
type: 'string',
|
|
1145
|
-
required: true,
|
|
1146
|
-
description: 'phase parameter',
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
name: 'reason',
|
|
1150
|
-
type: 'string',
|
|
1151
|
-
required: true,
|
|
1152
|
-
description: 'reason parameter',
|
|
1153
|
-
},
|
|
1154
|
-
],
|
|
1155
|
-
},
|
|
1156
1083
|
{
|
|
1157
1084
|
gateway: 'query',
|
|
1158
1085
|
domain: 'orchestrate',
|
|
@@ -6633,17 +6560,6 @@ export const OPERATIONS = [
|
|
|
6633
6560
|
},
|
|
6634
6561
|
],
|
|
6635
6562
|
},
|
|
6636
|
-
{
|
|
6637
|
-
gateway: 'mutate',
|
|
6638
|
-
domain: 'nexus',
|
|
6639
|
-
operation: 'conduit-scan',
|
|
6640
|
-
description: 'nexus.conduit-scan (mutate) — scan conduit messages for symbol mentions and write conduit_mentions_symbol edges to brain_page_edges; gracefully no-ops when conduit.db or nexus.db is absent',
|
|
6641
|
-
tier: 2,
|
|
6642
|
-
idempotent: false,
|
|
6643
|
-
sessionRequired: false,
|
|
6644
|
-
requiredParams: [],
|
|
6645
|
-
params: [],
|
|
6646
|
-
},
|
|
6647
6563
|
// ---------------------------------------------------------------------------
|
|
6648
6564
|
// T1080 — nexus.profile — user identity / preference profile (PSYCHE Wave 1)
|
|
6649
6565
|
// ---------------------------------------------------------------------------
|
|
@@ -7490,89 +7406,103 @@ export const OPERATIONS = [
|
|
|
7490
7406
|
// orchestrate — Wave 7a: analyze parallel-safety mode (T410)
|
|
7491
7407
|
// Note: orchestrate.analyze already registered above; this documents the new
|
|
7492
7408
|
// mode="parallel-safety" variant via the existing analyze operation's params.
|
|
7493
|
-
//
|
|
7494
|
-
//
|
|
7495
|
-
//
|
|
7496
|
-
// agent-to-agent messages via pluggable transports (Local/HTTP/SSE) and
|
|
7497
|
-
// persists to conduit.db. ORCHESTRATE handles wave planning + spawn-prompt
|
|
7498
|
-
// generation. The 10-domain invariant that justified the fold has lapsed.
|
|
7409
|
+
// ===========================================================================
|
|
7410
|
+
// intelligence — Predictive Quality Intelligence (query-only)
|
|
7411
|
+
// ===========================================================================
|
|
7499
7412
|
{
|
|
7500
7413
|
gateway: 'query',
|
|
7501
|
-
domain: '
|
|
7502
|
-
operation: '
|
|
7503
|
-
description: '
|
|
7504
|
-
tier:
|
|
7414
|
+
domain: 'intelligence',
|
|
7415
|
+
operation: 'predict',
|
|
7416
|
+
description: 'Calculate risk score for a task, or predict validation outcome for a stage',
|
|
7417
|
+
tier: 1,
|
|
7505
7418
|
idempotent: true,
|
|
7506
7419
|
sessionRequired: false,
|
|
7507
|
-
requiredParams: [],
|
|
7420
|
+
requiredParams: ['taskId'],
|
|
7508
7421
|
params: [
|
|
7422
|
+
{ name: 'taskId', type: 'string', required: true, description: 'Task ID to assess' },
|
|
7509
7423
|
{
|
|
7510
|
-
name: '
|
|
7424
|
+
name: 'stage',
|
|
7511
7425
|
type: 'string',
|
|
7512
7426
|
required: false,
|
|
7513
|
-
description: '
|
|
7427
|
+
description: 'Lifecycle stage for validation outcome prediction',
|
|
7514
7428
|
},
|
|
7515
7429
|
],
|
|
7516
7430
|
},
|
|
7517
7431
|
{
|
|
7518
7432
|
gateway: 'query',
|
|
7519
|
-
domain: '
|
|
7520
|
-
operation: '
|
|
7521
|
-
description: '
|
|
7522
|
-
tier:
|
|
7433
|
+
domain: 'intelligence',
|
|
7434
|
+
operation: 'suggest',
|
|
7435
|
+
description: 'Suggest verification gate focus for a task',
|
|
7436
|
+
tier: 1,
|
|
7523
7437
|
idempotent: true,
|
|
7524
7438
|
sessionRequired: false,
|
|
7525
|
-
requiredParams: [],
|
|
7439
|
+
requiredParams: ['taskId'],
|
|
7526
7440
|
params: [
|
|
7527
7441
|
{
|
|
7528
|
-
name: '
|
|
7442
|
+
name: 'taskId',
|
|
7529
7443
|
type: 'string',
|
|
7530
|
-
required:
|
|
7531
|
-
description: '
|
|
7444
|
+
required: true,
|
|
7445
|
+
description: 'Task ID to analyze',
|
|
7532
7446
|
},
|
|
7447
|
+
],
|
|
7448
|
+
},
|
|
7449
|
+
{
|
|
7450
|
+
gateway: 'query',
|
|
7451
|
+
domain: 'intelligence',
|
|
7452
|
+
operation: 'learn-errors',
|
|
7453
|
+
description: 'Extract recurring failure patterns from task and brain history',
|
|
7454
|
+
tier: 1,
|
|
7455
|
+
idempotent: true,
|
|
7456
|
+
sessionRequired: false,
|
|
7457
|
+
requiredParams: [],
|
|
7458
|
+
params: [
|
|
7533
7459
|
{
|
|
7534
7460
|
name: 'limit',
|
|
7535
7461
|
type: 'number',
|
|
7536
7462
|
required: false,
|
|
7537
|
-
description: '
|
|
7463
|
+
description: 'Maximum number of patterns to return',
|
|
7538
7464
|
},
|
|
7539
7465
|
],
|
|
7540
7466
|
},
|
|
7541
7467
|
{
|
|
7542
|
-
gateway: '
|
|
7543
|
-
domain: '
|
|
7544
|
-
operation: '
|
|
7545
|
-
description: '
|
|
7546
|
-
tier:
|
|
7468
|
+
gateway: 'query',
|
|
7469
|
+
domain: 'intelligence',
|
|
7470
|
+
operation: 'confidence',
|
|
7471
|
+
description: 'Score verification confidence for a task based on current gate state',
|
|
7472
|
+
tier: 1,
|
|
7547
7473
|
idempotent: true,
|
|
7548
7474
|
sessionRequired: false,
|
|
7549
|
-
requiredParams: [],
|
|
7475
|
+
requiredParams: ['taskId'],
|
|
7476
|
+
params: [
|
|
7477
|
+
{ name: 'taskId', type: 'string', required: true, description: 'Task ID to score' },
|
|
7478
|
+
],
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
gateway: 'query',
|
|
7482
|
+
domain: 'intelligence',
|
|
7483
|
+
operation: 'match',
|
|
7484
|
+
description: 'Match known brain patterns against a task',
|
|
7485
|
+
tier: 1,
|
|
7486
|
+
idempotent: true,
|
|
7487
|
+
sessionRequired: false,
|
|
7488
|
+
requiredParams: ['taskId'],
|
|
7550
7489
|
params: [
|
|
7551
7490
|
{
|
|
7552
|
-
name: '
|
|
7491
|
+
name: 'taskId',
|
|
7553
7492
|
type: 'string',
|
|
7554
|
-
required:
|
|
7555
|
-
description: '
|
|
7556
|
-
},
|
|
7557
|
-
{
|
|
7558
|
-
name: 'pollIntervalMs',
|
|
7559
|
-
type: 'number',
|
|
7560
|
-
required: false,
|
|
7561
|
-
description: 'Poll interval in milliseconds (default: 5000)',
|
|
7562
|
-
},
|
|
7563
|
-
{
|
|
7564
|
-
name: 'groupConversationIds',
|
|
7565
|
-
type: 'array',
|
|
7566
|
-
required: false,
|
|
7567
|
-
description: 'Group conversation IDs to monitor for @mentions',
|
|
7493
|
+
required: true,
|
|
7494
|
+
description: 'Task ID to match patterns against',
|
|
7568
7495
|
},
|
|
7569
7496
|
],
|
|
7570
7497
|
},
|
|
7498
|
+
// ===========================================================================
|
|
7499
|
+
// DIAGNOSTICS domain (T624) — opt-in telemetry for self-improvement
|
|
7500
|
+
// ===========================================================================
|
|
7571
7501
|
{
|
|
7572
|
-
gateway: '
|
|
7573
|
-
domain: '
|
|
7574
|
-
operation: '
|
|
7575
|
-
description: '
|
|
7502
|
+
gateway: 'query',
|
|
7503
|
+
domain: 'diagnostics',
|
|
7504
|
+
operation: 'status',
|
|
7505
|
+
description: 'diagnostics.status (query) — show telemetry opt-in state and DB path',
|
|
7576
7506
|
tier: 2,
|
|
7577
7507
|
idempotent: true,
|
|
7578
7508
|
sessionRequired: false,
|
|
@@ -7580,265 +7510,36 @@ export const OPERATIONS = [
|
|
|
7580
7510
|
params: [],
|
|
7581
7511
|
},
|
|
7582
7512
|
{
|
|
7583
|
-
gateway: '
|
|
7584
|
-
domain: '
|
|
7585
|
-
operation: '
|
|
7586
|
-
description: '
|
|
7513
|
+
gateway: 'query',
|
|
7514
|
+
domain: 'diagnostics',
|
|
7515
|
+
operation: 'analyze',
|
|
7516
|
+
description: 'diagnostics.analyze (query) — aggregate telemetry patterns; surface failing/slow commands and generate BRAIN observations',
|
|
7587
7517
|
tier: 2,
|
|
7588
|
-
idempotent:
|
|
7518
|
+
idempotent: true,
|
|
7589
7519
|
sessionRequired: false,
|
|
7590
|
-
requiredParams: [
|
|
7520
|
+
requiredParams: [],
|
|
7591
7521
|
params: [
|
|
7592
7522
|
{
|
|
7593
|
-
name: '
|
|
7594
|
-
type: '
|
|
7595
|
-
required: false,
|
|
7596
|
-
description: 'Target agent ID (required if no conversationId)',
|
|
7597
|
-
},
|
|
7598
|
-
{
|
|
7599
|
-
name: 'conversationId',
|
|
7600
|
-
type: 'string',
|
|
7523
|
+
name: 'days',
|
|
7524
|
+
type: 'number',
|
|
7601
7525
|
required: false,
|
|
7602
|
-
description: '
|
|
7603
|
-
|
|
7604
|
-
{
|
|
7605
|
-
name: 'content',
|
|
7606
|
-
type: 'string',
|
|
7607
|
-
required: true,
|
|
7608
|
-
description: 'Message content to send',
|
|
7526
|
+
description: 'Analysis window in days (default: 30)',
|
|
7527
|
+
cli: { flag: 'days', short: '-d' },
|
|
7609
7528
|
},
|
|
7610
7529
|
{
|
|
7611
|
-
name: '
|
|
7612
|
-
type: '
|
|
7530
|
+
name: 'noBrain',
|
|
7531
|
+
type: 'boolean',
|
|
7613
7532
|
required: false,
|
|
7614
|
-
description: '
|
|
7533
|
+
description: 'Skip pushing observations to BRAIN',
|
|
7534
|
+
cli: { flag: 'no-brain' },
|
|
7615
7535
|
},
|
|
7616
7536
|
],
|
|
7617
7537
|
},
|
|
7618
7538
|
{
|
|
7619
|
-
gateway: '
|
|
7620
|
-
domain: '
|
|
7621
|
-
operation: '
|
|
7622
|
-
description: '
|
|
7623
|
-
tier: 2,
|
|
7624
|
-
idempotent: false,
|
|
7625
|
-
sessionRequired: false,
|
|
7626
|
-
requiredParams: ['topicName', 'payload'],
|
|
7627
|
-
params: [
|
|
7628
|
-
{
|
|
7629
|
-
name: 'topicName',
|
|
7630
|
-
type: 'string',
|
|
7631
|
-
required: true,
|
|
7632
|
-
description: 'Topic to publish to',
|
|
7633
|
-
},
|
|
7634
|
-
{
|
|
7635
|
-
name: 'payload',
|
|
7636
|
-
type: 'string',
|
|
7637
|
-
required: true,
|
|
7638
|
-
description: 'Message payload (JSON-stringified object)',
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
name: 'agentId',
|
|
7642
|
-
type: 'string',
|
|
7643
|
-
required: false,
|
|
7644
|
-
description: 'Publish as this agent (defaults to active agent)',
|
|
7645
|
-
},
|
|
7646
|
-
],
|
|
7647
|
-
},
|
|
7648
|
-
{
|
|
7649
|
-
gateway: 'mutate',
|
|
7650
|
-
domain: 'conduit',
|
|
7651
|
-
operation: 'subscribe',
|
|
7652
|
-
description: 'conduit.subscribe (mutate) — subscribe agent to a topic (A2A, T1252)',
|
|
7653
|
-
tier: 2,
|
|
7654
|
-
idempotent: true,
|
|
7655
|
-
sessionRequired: false,
|
|
7656
|
-
requiredParams: ['topicName'],
|
|
7657
|
-
params: [
|
|
7658
|
-
{
|
|
7659
|
-
name: 'topicName',
|
|
7660
|
-
type: 'string',
|
|
7661
|
-
required: true,
|
|
7662
|
-
description: 'Topic to subscribe to',
|
|
7663
|
-
},
|
|
7664
|
-
{
|
|
7665
|
-
name: 'agentId',
|
|
7666
|
-
type: 'string',
|
|
7667
|
-
required: false,
|
|
7668
|
-
description: 'Agent to subscribe (defaults to active agent)',
|
|
7669
|
-
},
|
|
7670
|
-
{
|
|
7671
|
-
name: 'filter',
|
|
7672
|
-
type: 'string',
|
|
7673
|
-
required: false,
|
|
7674
|
-
description: 'Optional filter expression (JSON-stringified) for subscription',
|
|
7675
|
-
},
|
|
7676
|
-
],
|
|
7677
|
-
},
|
|
7678
|
-
{
|
|
7679
|
-
gateway: 'query',
|
|
7680
|
-
domain: 'conduit',
|
|
7681
|
-
operation: 'listen',
|
|
7682
|
-
description: 'conduit.listen (query) — one-shot poll for topic messages (A2A, T1252)',
|
|
7683
|
-
tier: 2,
|
|
7684
|
-
idempotent: true,
|
|
7685
|
-
sessionRequired: false,
|
|
7686
|
-
requiredParams: ['topicName'],
|
|
7687
|
-
params: [
|
|
7688
|
-
{
|
|
7689
|
-
name: 'topicName',
|
|
7690
|
-
type: 'string',
|
|
7691
|
-
required: true,
|
|
7692
|
-
description: 'Topic to poll',
|
|
7693
|
-
},
|
|
7694
|
-
{
|
|
7695
|
-
name: 'agentId',
|
|
7696
|
-
type: 'string',
|
|
7697
|
-
required: false,
|
|
7698
|
-
description: 'Agent to poll as (defaults to active agent)',
|
|
7699
|
-
},
|
|
7700
|
-
{
|
|
7701
|
-
name: 'max',
|
|
7702
|
-
type: 'number',
|
|
7703
|
-
required: false,
|
|
7704
|
-
description: 'Max messages to return (default: 20)',
|
|
7705
|
-
},
|
|
7706
|
-
],
|
|
7707
|
-
},
|
|
7708
|
-
// ===========================================================================
|
|
7709
|
-
// intelligence — Predictive Quality Intelligence (query-only)
|
|
7710
|
-
// ===========================================================================
|
|
7711
|
-
{
|
|
7712
|
-
gateway: 'query',
|
|
7713
|
-
domain: 'intelligence',
|
|
7714
|
-
operation: 'predict',
|
|
7715
|
-
description: 'Calculate risk score for a task, or predict validation outcome for a stage',
|
|
7716
|
-
tier: 1,
|
|
7717
|
-
idempotent: true,
|
|
7718
|
-
sessionRequired: false,
|
|
7719
|
-
requiredParams: ['taskId'],
|
|
7720
|
-
params: [
|
|
7721
|
-
{ name: 'taskId', type: 'string', required: true, description: 'Task ID to assess' },
|
|
7722
|
-
{
|
|
7723
|
-
name: 'stage',
|
|
7724
|
-
type: 'string',
|
|
7725
|
-
required: false,
|
|
7726
|
-
description: 'Lifecycle stage for validation outcome prediction',
|
|
7727
|
-
},
|
|
7728
|
-
],
|
|
7729
|
-
},
|
|
7730
|
-
{
|
|
7731
|
-
gateway: 'query',
|
|
7732
|
-
domain: 'intelligence',
|
|
7733
|
-
operation: 'suggest',
|
|
7734
|
-
description: 'Suggest verification gate focus for a task',
|
|
7735
|
-
tier: 1,
|
|
7736
|
-
idempotent: true,
|
|
7737
|
-
sessionRequired: false,
|
|
7738
|
-
requiredParams: ['taskId'],
|
|
7739
|
-
params: [
|
|
7740
|
-
{
|
|
7741
|
-
name: 'taskId',
|
|
7742
|
-
type: 'string',
|
|
7743
|
-
required: true,
|
|
7744
|
-
description: 'Task ID to analyze',
|
|
7745
|
-
},
|
|
7746
|
-
],
|
|
7747
|
-
},
|
|
7748
|
-
{
|
|
7749
|
-
gateway: 'query',
|
|
7750
|
-
domain: 'intelligence',
|
|
7751
|
-
operation: 'learn-errors',
|
|
7752
|
-
description: 'Extract recurring failure patterns from task and brain history',
|
|
7753
|
-
tier: 1,
|
|
7754
|
-
idempotent: true,
|
|
7755
|
-
sessionRequired: false,
|
|
7756
|
-
requiredParams: [],
|
|
7757
|
-
params: [
|
|
7758
|
-
{
|
|
7759
|
-
name: 'limit',
|
|
7760
|
-
type: 'number',
|
|
7761
|
-
required: false,
|
|
7762
|
-
description: 'Maximum number of patterns to return',
|
|
7763
|
-
},
|
|
7764
|
-
],
|
|
7765
|
-
},
|
|
7766
|
-
{
|
|
7767
|
-
gateway: 'query',
|
|
7768
|
-
domain: 'intelligence',
|
|
7769
|
-
operation: 'confidence',
|
|
7770
|
-
description: 'Score verification confidence for a task based on current gate state',
|
|
7771
|
-
tier: 1,
|
|
7772
|
-
idempotent: true,
|
|
7773
|
-
sessionRequired: false,
|
|
7774
|
-
requiredParams: ['taskId'],
|
|
7775
|
-
params: [
|
|
7776
|
-
{ name: 'taskId', type: 'string', required: true, description: 'Task ID to score' },
|
|
7777
|
-
],
|
|
7778
|
-
},
|
|
7779
|
-
{
|
|
7780
|
-
gateway: 'query',
|
|
7781
|
-
domain: 'intelligence',
|
|
7782
|
-
operation: 'match',
|
|
7783
|
-
description: 'Match known brain patterns against a task',
|
|
7784
|
-
tier: 1,
|
|
7785
|
-
idempotent: true,
|
|
7786
|
-
sessionRequired: false,
|
|
7787
|
-
requiredParams: ['taskId'],
|
|
7788
|
-
params: [
|
|
7789
|
-
{
|
|
7790
|
-
name: 'taskId',
|
|
7791
|
-
type: 'string',
|
|
7792
|
-
required: true,
|
|
7793
|
-
description: 'Task ID to match patterns against',
|
|
7794
|
-
},
|
|
7795
|
-
],
|
|
7796
|
-
},
|
|
7797
|
-
// ===========================================================================
|
|
7798
|
-
// DIAGNOSTICS domain (T624) — opt-in telemetry for self-improvement
|
|
7799
|
-
// ===========================================================================
|
|
7800
|
-
{
|
|
7801
|
-
gateway: 'query',
|
|
7802
|
-
domain: 'diagnostics',
|
|
7803
|
-
operation: 'status',
|
|
7804
|
-
description: 'diagnostics.status (query) — show telemetry opt-in state and DB path',
|
|
7805
|
-
tier: 2,
|
|
7806
|
-
idempotent: true,
|
|
7807
|
-
sessionRequired: false,
|
|
7808
|
-
requiredParams: [],
|
|
7809
|
-
params: [],
|
|
7810
|
-
},
|
|
7811
|
-
{
|
|
7812
|
-
gateway: 'query',
|
|
7813
|
-
domain: 'diagnostics',
|
|
7814
|
-
operation: 'analyze',
|
|
7815
|
-
description: 'diagnostics.analyze (query) — aggregate telemetry patterns; surface failing/slow commands and generate BRAIN observations',
|
|
7816
|
-
tier: 2,
|
|
7817
|
-
idempotent: true,
|
|
7818
|
-
sessionRequired: false,
|
|
7819
|
-
requiredParams: [],
|
|
7820
|
-
params: [
|
|
7821
|
-
{
|
|
7822
|
-
name: 'days',
|
|
7823
|
-
type: 'number',
|
|
7824
|
-
required: false,
|
|
7825
|
-
description: 'Analysis window in days (default: 30)',
|
|
7826
|
-
cli: { flag: 'days', short: '-d' },
|
|
7827
|
-
},
|
|
7828
|
-
{
|
|
7829
|
-
name: 'noBrain',
|
|
7830
|
-
type: 'boolean',
|
|
7831
|
-
required: false,
|
|
7832
|
-
description: 'Skip pushing observations to BRAIN',
|
|
7833
|
-
cli: { flag: 'no-brain' },
|
|
7834
|
-
},
|
|
7835
|
-
],
|
|
7836
|
-
},
|
|
7837
|
-
{
|
|
7838
|
-
gateway: 'query',
|
|
7839
|
-
domain: 'diagnostics',
|
|
7840
|
-
operation: 'export',
|
|
7841
|
-
description: 'diagnostics.export (query) — JSON dump of all telemetry events',
|
|
7539
|
+
gateway: 'query',
|
|
7540
|
+
domain: 'diagnostics',
|
|
7541
|
+
operation: 'export',
|
|
7542
|
+
description: 'diagnostics.export (query) — JSON dump of all telemetry events',
|
|
7842
7543
|
tier: 2,
|
|
7843
7544
|
idempotent: true,
|
|
7844
7545
|
sessionRequired: false,
|
|
@@ -8482,6 +8183,12 @@ export const OPERATIONS = [
|
|
|
8482
8183
|
required: false,
|
|
8483
8184
|
description: 'Age threshold in days for the stale-drafts check (default 30)',
|
|
8484
8185
|
},
|
|
8186
|
+
{
|
|
8187
|
+
name: 'only',
|
|
8188
|
+
type: 'string',
|
|
8189
|
+
required: false,
|
|
8190
|
+
description: 'Comma-separated repair classes to scope the plan (and apply) to, e.g. publication-ledger-drift (T14174)',
|
|
8191
|
+
},
|
|
8485
8192
|
],
|
|
8486
8193
|
},
|
|
8487
8194
|
// ── docs.triage (T13446 — Epic T13340 / Saga T13339) ──────────────────────
|
|
@@ -8533,6 +8240,28 @@ export const OPERATIONS = [
|
|
|
8533
8240
|
requiredParams: [],
|
|
8534
8241
|
params: [],
|
|
8535
8242
|
},
|
|
8243
|
+
// ── docs.rot (T14111 — Epic T14106) ──────────────────────────────────────
|
|
8244
|
+
{
|
|
8245
|
+
gateway: 'query',
|
|
8246
|
+
domain: 'docs',
|
|
8247
|
+
operation: 'rot',
|
|
8248
|
+
description: 'docs.rot (query) — docs-rot report from git alone: docs whose covers: code changed ' +
|
|
8249
|
+
'after them (stale), duplicate docs, and orphaned docs (dead covers globs, ' +
|
|
8250
|
+
'unreferenced docs/ files). changed:<base>..<head> also lists the docs that merged ' +
|
|
8251
|
+
'change left stale. Read-only.',
|
|
8252
|
+
tier: 1,
|
|
8253
|
+
idempotent: true,
|
|
8254
|
+
sessionRequired: false,
|
|
8255
|
+
requiredParams: [],
|
|
8256
|
+
params: [
|
|
8257
|
+
{
|
|
8258
|
+
name: 'changed',
|
|
8259
|
+
type: 'string',
|
|
8260
|
+
required: false,
|
|
8261
|
+
description: 'Git range <base>..<head> of a merged change to flag docs for',
|
|
8262
|
+
},
|
|
8263
|
+
],
|
|
8264
|
+
},
|
|
8536
8265
|
{
|
|
8537
8266
|
gateway: 'mutate',
|
|
8538
8267
|
domain: 'docs',
|
|
@@ -8567,6 +8296,12 @@ export const OPERATIONS = [
|
|
|
8567
8296
|
required: false,
|
|
8568
8297
|
description: 'Age threshold in days for the stale-drafts check (default 30)',
|
|
8569
8298
|
},
|
|
8299
|
+
{
|
|
8300
|
+
name: 'only',
|
|
8301
|
+
type: 'string',
|
|
8302
|
+
required: false,
|
|
8303
|
+
description: 'Comma-separated repair classes to scope the plan (and apply) to, e.g. publication-ledger-drift (T14174)',
|
|
8304
|
+
},
|
|
8570
8305
|
],
|
|
8571
8306
|
},
|
|
8572
8307
|
// ── docs.migrate (T13360 — Epic T13340 / Saga T13339) ─────────────────────
|
|
@@ -8584,7 +8319,109 @@ export const OPERATIONS = [
|
|
|
8584
8319
|
idempotent: true,
|
|
8585
8320
|
sessionRequired: false,
|
|
8586
8321
|
requiredParams: [],
|
|
8587
|
-
params: [
|
|
8322
|
+
params: [
|
|
8323
|
+
{
|
|
8324
|
+
name: 'limit',
|
|
8325
|
+
type: 'number',
|
|
8326
|
+
required: false,
|
|
8327
|
+
description: 'At most this many docs per run, oldest first (T14329); default all. Run again to continue',
|
|
8328
|
+
},
|
|
8329
|
+
{
|
|
8330
|
+
name: 'dryRun',
|
|
8331
|
+
type: 'boolean',
|
|
8332
|
+
required: false,
|
|
8333
|
+
description: 'Report the plan counts and write nothing (T14331)',
|
|
8334
|
+
},
|
|
8335
|
+
],
|
|
8336
|
+
},
|
|
8337
|
+
// ── docs.modernize (T14113 — Epic T14106) ─────────────────────────────────
|
|
8338
|
+
{
|
|
8339
|
+
gateway: 'mutate',
|
|
8340
|
+
domain: 'docs',
|
|
8341
|
+
operation: 'modernize',
|
|
8342
|
+
description: 'docs.modernize (mutate) — turn a messy docs folder into clean, linked CleoDocs. Dry run ' +
|
|
8343
|
+
'by default: proposes per file a kind, a stable slug (no task, session or date tokens) ' +
|
|
8344
|
+
'and keep/rename/merge-into/delete with reasons and any System One judgment. --apply ' +
|
|
8345
|
+
'stores, merges, supersedes, moves files and writes wikilink edges with a receipt; ' +
|
|
8346
|
+
'--rollback <runId> reverses a run.',
|
|
8347
|
+
tier: 1,
|
|
8348
|
+
idempotent: false,
|
|
8349
|
+
sessionRequired: false,
|
|
8350
|
+
requiredParams: [],
|
|
8351
|
+
params: [
|
|
8352
|
+
{
|
|
8353
|
+
name: 'path',
|
|
8354
|
+
type: 'string',
|
|
8355
|
+
required: false,
|
|
8356
|
+
description: 'Folder to modernize (required unless --rollback)',
|
|
8357
|
+
},
|
|
8358
|
+
{
|
|
8359
|
+
name: 'apply',
|
|
8360
|
+
type: 'boolean',
|
|
8361
|
+
required: false,
|
|
8362
|
+
description: 'Execute the plan (default: dry run, nothing written)',
|
|
8363
|
+
},
|
|
8364
|
+
{
|
|
8365
|
+
name: 'planFile',
|
|
8366
|
+
type: 'string',
|
|
8367
|
+
required: false,
|
|
8368
|
+
description: 'Apply this saved plan JSON verbatim',
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
name: 'out',
|
|
8372
|
+
type: 'string',
|
|
8373
|
+
required: false,
|
|
8374
|
+
description: 'Save the plan JSON to this path',
|
|
8375
|
+
},
|
|
8376
|
+
{
|
|
8377
|
+
name: 'rollback',
|
|
8378
|
+
type: 'string',
|
|
8379
|
+
required: false,
|
|
8380
|
+
description: 'Roll back the apply run with this id',
|
|
8381
|
+
},
|
|
8382
|
+
{
|
|
8383
|
+
name: 'exclude',
|
|
8384
|
+
type: 'string',
|
|
8385
|
+
required: false,
|
|
8386
|
+
description: 'Extra folder names to skip, comma-separated',
|
|
8387
|
+
},
|
|
8388
|
+
{
|
|
8389
|
+
name: 'overrides',
|
|
8390
|
+
type: 'string',
|
|
8391
|
+
required: false,
|
|
8392
|
+
description: 'Reviewer decisions JSON keyed by path (DocsModernizeOverrides)',
|
|
8393
|
+
},
|
|
8394
|
+
{
|
|
8395
|
+
name: 'kind',
|
|
8396
|
+
type: 'string',
|
|
8397
|
+
required: false,
|
|
8398
|
+
description: 'Use this kind for every file instead of classifying',
|
|
8399
|
+
},
|
|
8400
|
+
{
|
|
8401
|
+
name: 'storeOnly',
|
|
8402
|
+
type: 'boolean',
|
|
8403
|
+
required: false,
|
|
8404
|
+
description: 'Ingest every file into the store and leave the folder untouched',
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
name: 'allowDirty',
|
|
8408
|
+
type: 'boolean',
|
|
8409
|
+
required: false,
|
|
8410
|
+
description: 'Apply even when the root is not a clean git checkout',
|
|
8411
|
+
},
|
|
8412
|
+
{
|
|
8413
|
+
name: 'wikilinks',
|
|
8414
|
+
type: 'boolean',
|
|
8415
|
+
required: false,
|
|
8416
|
+
description: 'Rewrite relative links to planned docs as [[slug]] wikilinks (default: keep markdown links, re-pointed at the new paths)',
|
|
8417
|
+
},
|
|
8418
|
+
{
|
|
8419
|
+
name: 'store',
|
|
8420
|
+
type: 'boolean',
|
|
8421
|
+
required: false,
|
|
8422
|
+
description: 'Modernize the docs already in the store instead of a folder',
|
|
8423
|
+
},
|
|
8424
|
+
],
|
|
8588
8425
|
},
|
|
8589
8426
|
// ── docs.generate (T798) ─────────────────────────────────────────────────
|
|
8590
8427
|
{
|
|
@@ -9199,99 +9036,10 @@ export const OPERATIONS = [
|
|
|
9199
9036
|
// Release domain — T1726 SDK surface parity
|
|
9200
9037
|
//
|
|
9201
9038
|
// Release ops dispatched via ReleaseHandler (registered under 'release' in
|
|
9202
|
-
// the DomainHandler map)
|
|
9203
|
-
// ivtr-suggest
|
|
9204
|
-
//
|
|
9205
|
-
// T1597 / ADR-063 that route through the core release module directly.
|
|
9039
|
+
// the DomainHandler map). The IVTR-only ops `release.gate` and
|
|
9040
|
+
// `release.ivtr-suggest` were deleted in T14311 with the retired
|
|
9041
|
+
// `ivtr_state` column.
|
|
9206
9042
|
// ---------------------------------------------------------------------------
|
|
9207
|
-
// release query: gate
|
|
9208
|
-
{
|
|
9209
|
-
gateway: 'query',
|
|
9210
|
-
domain: 'release',
|
|
9211
|
-
operation: 'gate',
|
|
9212
|
-
description: 'release.gate (query) — check all IVTR loops in a release epic have reached the released phase before allowing release.ship (T820 RELEASE-03)',
|
|
9213
|
-
tier: 1,
|
|
9214
|
-
idempotent: true,
|
|
9215
|
-
sessionRequired: false,
|
|
9216
|
-
requiredParams: ['epicId'],
|
|
9217
|
-
params: [
|
|
9218
|
-
{
|
|
9219
|
-
name: 'epicId',
|
|
9220
|
-
type: 'string',
|
|
9221
|
-
required: true,
|
|
9222
|
-
description: 'Epic ID whose child tasks should be inspected',
|
|
9223
|
-
},
|
|
9224
|
-
{
|
|
9225
|
-
name: 'force',
|
|
9226
|
-
type: 'boolean',
|
|
9227
|
-
required: false,
|
|
9228
|
-
description: 'Bypass the IVTR gate — requires explicit owner confirmation',
|
|
9229
|
-
},
|
|
9230
|
-
],
|
|
9231
|
-
},
|
|
9232
|
-
// release mutate: gate
|
|
9233
|
-
{
|
|
9234
|
-
gateway: 'mutate',
|
|
9235
|
-
domain: 'release',
|
|
9236
|
-
operation: 'gate',
|
|
9237
|
-
description: 'release.gate (mutate) — same IVTR gate check as query.gate; safe in both gateways (no DB writes)',
|
|
9238
|
-
tier: 1,
|
|
9239
|
-
idempotent: true,
|
|
9240
|
-
sessionRequired: false,
|
|
9241
|
-
requiredParams: ['epicId'],
|
|
9242
|
-
params: [
|
|
9243
|
-
{
|
|
9244
|
-
name: 'epicId',
|
|
9245
|
-
type: 'string',
|
|
9246
|
-
required: true,
|
|
9247
|
-
description: 'Epic ID whose child tasks should be inspected',
|
|
9248
|
-
},
|
|
9249
|
-
{
|
|
9250
|
-
name: 'force',
|
|
9251
|
-
type: 'boolean',
|
|
9252
|
-
required: false,
|
|
9253
|
-
description: 'Bypass the IVTR gate — requires explicit owner confirmation',
|
|
9254
|
-
},
|
|
9255
|
-
],
|
|
9256
|
-
},
|
|
9257
|
-
// release query: ivtr-suggest
|
|
9258
|
-
{
|
|
9259
|
-
gateway: 'query',
|
|
9260
|
-
domain: 'release',
|
|
9261
|
-
operation: 'ivtr-suggest',
|
|
9262
|
-
description: 'release.ivtr-suggest (query) — check if all epic tasks are released and suggest cleo release ship (T820 RELEASE-07)',
|
|
9263
|
-
tier: 1,
|
|
9264
|
-
idempotent: true,
|
|
9265
|
-
sessionRequired: false,
|
|
9266
|
-
requiredParams: ['taskId'],
|
|
9267
|
-
params: [
|
|
9268
|
-
{
|
|
9269
|
-
name: 'taskId',
|
|
9270
|
-
type: 'string',
|
|
9271
|
-
required: true,
|
|
9272
|
-
description: 'Task ID that just reached the released phase',
|
|
9273
|
-
},
|
|
9274
|
-
],
|
|
9275
|
-
},
|
|
9276
|
-
// release mutate: ivtr-suggest
|
|
9277
|
-
{
|
|
9278
|
-
gateway: 'mutate',
|
|
9279
|
-
domain: 'release',
|
|
9280
|
-
operation: 'ivtr-suggest',
|
|
9281
|
-
description: 'release.ivtr-suggest (mutate) — same auto-suggest as query.ivtr-suggest; safe in both gateways (no DB writes)',
|
|
9282
|
-
tier: 1,
|
|
9283
|
-
idempotent: true,
|
|
9284
|
-
sessionRequired: false,
|
|
9285
|
-
requiredParams: ['taskId'],
|
|
9286
|
-
params: [
|
|
9287
|
-
{
|
|
9288
|
-
name: 'taskId',
|
|
9289
|
-
type: 'string',
|
|
9290
|
-
required: true,
|
|
9291
|
-
description: 'Task ID that just reached the released phase',
|
|
9292
|
-
},
|
|
9293
|
-
],
|
|
9294
|
-
},
|
|
9295
9043
|
// release.start / release.verify / release.publish removed in T9540
|
|
9296
9044
|
// (Phase 6 of T9499) — backing functions in
|
|
9297
9045
|
// `packages/core/src/release/pipeline.ts` (the legacy 4-step pipeline)
|
|
@@ -9468,6 +9216,105 @@ export const OPERATIONS = [
|
|
|
9468
9216
|
},
|
|
9469
9217
|
],
|
|
9470
9218
|
},
|
|
9219
|
+
// release mutate: cut (T14102 — one-command release from the newest green
|
|
9220
|
+
// default-branch commit; replaces plan → open → bump-PR → hand tag).
|
|
9221
|
+
{
|
|
9222
|
+
gateway: 'mutate',
|
|
9223
|
+
domain: 'release',
|
|
9224
|
+
operation: 'cut',
|
|
9225
|
+
description: 'release.cut (mutate) — tag the newest default-branch commit with green CI as v<version> once confirmed with --yes (D11211/D11212); release.yml writes the CHANGELOG from changesets and publishes. Without --yes it reports the commit, notes, packages and task status and prints the confirm command (T14102).',
|
|
9226
|
+
tier: 1,
|
|
9227
|
+
idempotent: false,
|
|
9228
|
+
sessionRequired: false,
|
|
9229
|
+
requiredParams: ['version'],
|
|
9230
|
+
params: [
|
|
9231
|
+
{
|
|
9232
|
+
name: 'version',
|
|
9233
|
+
type: 'string',
|
|
9234
|
+
required: true,
|
|
9235
|
+
description: 'Release version (accepts v2026.10.28 or 2026.10.28)',
|
|
9236
|
+
cli: { positional: true },
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
name: 'sha',
|
|
9240
|
+
type: 'string',
|
|
9241
|
+
required: false,
|
|
9242
|
+
description: 'Pin the commit instead of the newest green one; it must itself be green',
|
|
9243
|
+
},
|
|
9244
|
+
{
|
|
9245
|
+
name: 'lead',
|
|
9246
|
+
type: 'string',
|
|
9247
|
+
required: false,
|
|
9248
|
+
description: 'Markdown file that leads the notes (Update now + Highlights)',
|
|
9249
|
+
},
|
|
9250
|
+
{
|
|
9251
|
+
name: 'dryRun',
|
|
9252
|
+
type: 'boolean',
|
|
9253
|
+
required: false,
|
|
9254
|
+
description: 'Report the commit, notes, packages and tasks without creating the tag',
|
|
9255
|
+
},
|
|
9256
|
+
{
|
|
9257
|
+
name: 'yes',
|
|
9258
|
+
type: 'boolean',
|
|
9259
|
+
required: false,
|
|
9260
|
+
description: 'Create the tag (D11212): the version typed on the controlling terminal (/dev/tty), or a standing release authorization (T14141), allows it. Without it the cut only reports and prints the confirm command',
|
|
9261
|
+
},
|
|
9262
|
+
{
|
|
9263
|
+
name: 'allowInFlight',
|
|
9264
|
+
type: 'boolean',
|
|
9265
|
+
required: false,
|
|
9266
|
+
description: "Cut even while a lower tag's release.yml run is still in progress; its entries repeat in these notes (T14184)",
|
|
9267
|
+
},
|
|
9268
|
+
],
|
|
9269
|
+
},
|
|
9270
|
+
// release mutate: write-changelog (T14102 — CHANGELOG section from the
|
|
9271
|
+
// changesets since the previous tag; run by release.yml on the tagged checkout).
|
|
9272
|
+
{
|
|
9273
|
+
gateway: 'mutate',
|
|
9274
|
+
domain: 'release',
|
|
9275
|
+
operation: 'write-changelog',
|
|
9276
|
+
description: 'release.write-changelog (mutate) — write the ## [VERSION] CHANGELOG.md section from the changesets added since the previous release tag, led by the tag annotation; leaves an existing section untouched (T14102).',
|
|
9277
|
+
tier: 1,
|
|
9278
|
+
idempotent: true,
|
|
9279
|
+
sessionRequired: false,
|
|
9280
|
+
requiredParams: ['version'],
|
|
9281
|
+
params: [
|
|
9282
|
+
{
|
|
9283
|
+
name: 'version',
|
|
9284
|
+
type: 'string',
|
|
9285
|
+
required: true,
|
|
9286
|
+
description: 'Release version (accepts v2026.10.28 or 2026.10.28)',
|
|
9287
|
+
cli: { positional: true },
|
|
9288
|
+
},
|
|
9289
|
+
{
|
|
9290
|
+
name: 'ref',
|
|
9291
|
+
type: 'string',
|
|
9292
|
+
required: false,
|
|
9293
|
+
description: 'Commit the release was cut from (default: tag v<version>, else HEAD)',
|
|
9294
|
+
},
|
|
9295
|
+
],
|
|
9296
|
+
},
|
|
9297
|
+
// release query: verify-tag (T14102 — release.yml refuses to publish a tag
|
|
9298
|
+
// that is not a green first-parent commit of the default branch).
|
|
9299
|
+
{
|
|
9300
|
+
gateway: 'query',
|
|
9301
|
+
domain: 'release',
|
|
9302
|
+
operation: 'verify-tag',
|
|
9303
|
+
description: 'release.verify-tag (query) — refuse a release tag whose commit is not a first-parent commit of origin/main with every required check (release.prRequiredWorkflows, app-pinned) green on its push run. Run by release.yml before publishing (T14102).',
|
|
9304
|
+
tier: 1,
|
|
9305
|
+
idempotent: true,
|
|
9306
|
+
sessionRequired: false,
|
|
9307
|
+
requiredParams: ['version'],
|
|
9308
|
+
params: [
|
|
9309
|
+
{
|
|
9310
|
+
name: 'version',
|
|
9311
|
+
type: 'string',
|
|
9312
|
+
required: true,
|
|
9313
|
+
description: 'Release version whose tag is checked (accepts v2026.10.28 or 2026.10.28)',
|
|
9314
|
+
cli: { positional: true },
|
|
9315
|
+
},
|
|
9316
|
+
],
|
|
9317
|
+
},
|
|
9471
9318
|
// release query: validate-changelog (T9937 / Saga T9862 — canonical CHANGELOG
|
|
9472
9319
|
// header validator that replaces the brittle inline grep step in
|
|
9473
9320
|
// .github/workflows/release.yml). Read-only — exposed only under the query
|
|
@@ -9862,7 +9709,7 @@ export const OPERATIONS = [
|
|
|
9862
9709
|
gateway: 'query',
|
|
9863
9710
|
domain: 'worktree',
|
|
9864
9711
|
operation: 'list',
|
|
9865
|
-
description: 'worktree.list (query) — enumerate git worktrees with
|
|
9712
|
+
description: 'worktree.list (query) — enumerate git worktrees with 4 status categories (active|redundant|keep|unknown) from the disposal proof (T14274). Reads tasks.db for owning-task status. 60s git timeout (T9546).',
|
|
9866
9713
|
tier: 1,
|
|
9867
9714
|
idempotent: true,
|
|
9868
9715
|
sessionRequired: false,
|