@contractspec/example.kb-update-pipeline 1.46.1 → 1.47.0
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/.turbo/turbo-build$colon$bundle.log +24 -24
- package/.turbo/turbo-build.log +23 -23
- package/CHANGELOG.md +31 -0
- package/dist/entities/models.d.ts +18 -18
- package/dist/events.d.ts +21 -21
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +4 -2
- package/dist/example.js.map +1 -1
- package/dist/handlers/memory.handlers.js.map +1 -1
- package/dist/kb-update-pipeline.feature.d.ts +2 -2
- package/dist/kb-update-pipeline.feature.d.ts.map +1 -1
- package/dist/kb-update-pipeline.feature.js +4 -2
- package/dist/kb-update-pipeline.feature.js.map +1 -1
- package/dist/operations/pipeline.d.ts +39 -39
- package/dist/operations/pipeline.d.ts.map +1 -1
- package/dist/presentations.d.ts +4 -4
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.js +7 -7
- package/dist/presentations.js.map +1 -1
- package/dist/tests/operations.test-spec.d.ts +9 -0
- package/dist/tests/operations.test-spec.d.ts.map +1 -0
- package/dist/tests/operations.test-spec.js +94 -0
- package/dist/tests/operations.test-spec.js.map +1 -0
- package/package.json +7 -9
- package/src/example.ts +3 -3
- package/src/kb-update-pipeline.feature.ts +3 -3
- package/src/presentations.ts +7 -8
- package/src/tests/operations.test-spec.ts +82 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/feature.d.ts +0 -7
- package/dist/feature.d.ts.map +0 -1
- package/dist/feature.js +0 -80
- package/dist/feature.js.map +0 -1
- package/src/feature.ts +0 -38
package/dist/feature.d.ts
DELETED
package/dist/feature.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","names":[],"sources":["../src/feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,yBAAyB"}
|
package/dist/feature.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
//#region src/feature.ts
|
|
2
|
-
const KbUpdatePipelineFeature = {
|
|
3
|
-
meta: {
|
|
4
|
-
key: "kb-update-pipeline",
|
|
5
|
-
version: "1.0.0",
|
|
6
|
-
title: "KB Update Pipeline (HITL)",
|
|
7
|
-
description: "Automation proposes KB patches; humans verify; publishing is blocked until approvals are complete.",
|
|
8
|
-
domain: "knowledge",
|
|
9
|
-
owners: ["@examples"],
|
|
10
|
-
tags: [
|
|
11
|
-
"knowledge",
|
|
12
|
-
"pipeline",
|
|
13
|
-
"hitl",
|
|
14
|
-
"audit",
|
|
15
|
-
"notifications"
|
|
16
|
-
],
|
|
17
|
-
stability: "experimental"
|
|
18
|
-
},
|
|
19
|
-
operations: [
|
|
20
|
-
{
|
|
21
|
-
key: "kbPipeline.runWatch",
|
|
22
|
-
version: "1.0.0"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
key: "kbPipeline.createReviewTask",
|
|
26
|
-
version: "1.0.0"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
key: "kbPipeline.submitDecision",
|
|
30
|
-
version: "1.0.0"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
key: "kbPipeline.publishIfReady",
|
|
34
|
-
version: "1.0.0"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
events: [
|
|
38
|
-
{
|
|
39
|
-
key: "kb.change.detected",
|
|
40
|
-
version: "1.0.0"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
key: "kb.change.summarized",
|
|
44
|
-
version: "1.0.0"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
key: "kb.patch.proposed",
|
|
48
|
-
version: "1.0.0"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
key: "kb.review.requested",
|
|
52
|
-
version: "1.0.0"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
key: "kb.review.decided",
|
|
56
|
-
version: "1.0.0"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
presentations: [],
|
|
60
|
-
opToPresentation: [],
|
|
61
|
-
presentationsTargets: [],
|
|
62
|
-
capabilities: { requires: [
|
|
63
|
-
{
|
|
64
|
-
key: "identity",
|
|
65
|
-
version: "1.0.0"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
key: "notifications",
|
|
69
|
-
version: "1.0.0"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
key: "audit-trail",
|
|
73
|
-
version: "1.0.0"
|
|
74
|
-
}
|
|
75
|
-
] }
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
export { KbUpdatePipelineFeature };
|
|
80
|
-
//# sourceMappingURL=feature.js.map
|
package/dist/feature.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature.js","names":["KbUpdatePipelineFeature: FeatureModuleSpec"],"sources":["../src/feature.ts"],"sourcesContent":["import type { FeatureModuleSpec } from '@contractspec/lib.contracts';\n\nexport const KbUpdatePipelineFeature: FeatureModuleSpec = {\n meta: {\n key: 'kb-update-pipeline',\n version: '1.0.0',\n title: 'KB Update Pipeline (HITL)',\n description:\n 'Automation proposes KB patches; humans verify; publishing is blocked until approvals are complete.',\n domain: 'knowledge',\n owners: ['@examples'],\n tags: ['knowledge', 'pipeline', 'hitl', 'audit', 'notifications'],\n stability: 'experimental',\n },\n operations: [\n { key: 'kbPipeline.runWatch', version: '1.0.0' },\n { key: 'kbPipeline.createReviewTask', version: '1.0.0' },\n { key: 'kbPipeline.submitDecision', version: '1.0.0' },\n { key: 'kbPipeline.publishIfReady', version: '1.0.0' },\n ],\n events: [\n { key: 'kb.change.detected', version: '1.0.0' },\n { key: 'kb.change.summarized', version: '1.0.0' },\n { key: 'kb.patch.proposed', version: '1.0.0' },\n { key: 'kb.review.requested', version: '1.0.0' },\n { key: 'kb.review.decided', version: '1.0.0' },\n ],\n presentations: [],\n opToPresentation: [],\n presentationsTargets: [],\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n ],\n },\n};\n"],"mappings":";AAEA,MAAaA,0BAA6C;CACxD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAa;GAAY;GAAQ;GAAS;GAAgB;EACjE,WAAW;EACZ;CACD,YAAY;EACV;GAAE,KAAK;GAAuB,SAAS;GAAS;EAChD;GAAE,KAAK;GAA+B,SAAS;GAAS;EACxD;GAAE,KAAK;GAA6B,SAAS;GAAS;EACtD;GAAE,KAAK;GAA6B,SAAS;GAAS;EACvD;CACD,QAAQ;EACN;GAAE,KAAK;GAAsB,SAAS;GAAS;EAC/C;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC9C;GAAE,KAAK;GAAuB,SAAS;GAAS;EAChD;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC/C;CACD,eAAe,EAAE;CACjB,kBAAkB,EAAE;CACpB,sBAAsB,EAAE;CACxB,cAAc,EACZ,UAAU;EACR;GAAE,KAAK;GAAY,SAAS;GAAS;EACrC;GAAE,KAAK;GAAiB,SAAS;GAAS;EAC1C;GAAE,KAAK;GAAe,SAAS;GAAS;EACzC,EACF;CACF"}
|
package/src/feature.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { FeatureModuleSpec } from '@contractspec/lib.contracts';
|
|
2
|
-
|
|
3
|
-
export const KbUpdatePipelineFeature: FeatureModuleSpec = {
|
|
4
|
-
meta: {
|
|
5
|
-
key: 'kb-update-pipeline',
|
|
6
|
-
version: '1.0.0',
|
|
7
|
-
title: 'KB Update Pipeline (HITL)',
|
|
8
|
-
description:
|
|
9
|
-
'Automation proposes KB patches; humans verify; publishing is blocked until approvals are complete.',
|
|
10
|
-
domain: 'knowledge',
|
|
11
|
-
owners: ['@examples'],
|
|
12
|
-
tags: ['knowledge', 'pipeline', 'hitl', 'audit', 'notifications'],
|
|
13
|
-
stability: 'experimental',
|
|
14
|
-
},
|
|
15
|
-
operations: [
|
|
16
|
-
{ key: 'kbPipeline.runWatch', version: '1.0.0' },
|
|
17
|
-
{ key: 'kbPipeline.createReviewTask', version: '1.0.0' },
|
|
18
|
-
{ key: 'kbPipeline.submitDecision', version: '1.0.0' },
|
|
19
|
-
{ key: 'kbPipeline.publishIfReady', version: '1.0.0' },
|
|
20
|
-
],
|
|
21
|
-
events: [
|
|
22
|
-
{ key: 'kb.change.detected', version: '1.0.0' },
|
|
23
|
-
{ key: 'kb.change.summarized', version: '1.0.0' },
|
|
24
|
-
{ key: 'kb.patch.proposed', version: '1.0.0' },
|
|
25
|
-
{ key: 'kb.review.requested', version: '1.0.0' },
|
|
26
|
-
{ key: 'kb.review.decided', version: '1.0.0' },
|
|
27
|
-
],
|
|
28
|
-
presentations: [],
|
|
29
|
-
opToPresentation: [],
|
|
30
|
-
presentationsTargets: [],
|
|
31
|
-
capabilities: {
|
|
32
|
-
requires: [
|
|
33
|
-
{ key: 'identity', version: '1.0.0' },
|
|
34
|
-
{ key: 'notifications', version: '1.0.0' },
|
|
35
|
-
{ key: 'audit-trail', version: '1.0.0' },
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
};
|