@krisada-m/ksd-intelligence 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +167 -2
- package/dist/adapters/agy/skills.js +252 -0
- package/dist/adapters/cli/check-changed.js +3 -0
- package/dist/adapters/cli/main.js +1002 -0
- package/dist/adapters/cli/policy-bin.js +10 -0
- package/dist/adapters/cli/review-verdict.js +3 -0
- package/dist/adapters/omp/extension.js +893 -0
- package/dist/adapters/omp/skills.js +130 -0
- package/dist/adapters/ui/hud.js +318 -0
- package/dist/adapters/ui/tree.js +460 -0
- package/dist/core/audit/index.js +2 -0
- package/dist/core/audit/log.js +505 -0
- package/dist/core/audit/summary.js +188 -0
- package/dist/core/changes/changes.js +591 -0
- package/dist/core/changes/git.js +266 -0
- package/dist/core/changes/plan.js +109 -0
- package/dist/core/changes/render.js +356 -0
- package/dist/core/engine/build.js +178 -0
- package/dist/core/engine/child.js +389 -0
- package/dist/core/engine/host.js +206 -0
- package/dist/core/engine/lock.js +133 -0
- package/dist/core/engine/protocol.js +43 -0
- package/dist/core/engine/runtime.js +44 -0
- package/dist/core/engine/status.js +381 -0
- package/dist/core/engine/typescript.js +194 -0
- package/dist/core/engine/workspace.js +72 -0
- package/dist/core/graph/graph.js +127 -0
- package/dist/core/graph/limits.js +16 -0
- package/dist/core/impact/query.js +1292 -0
- package/dist/core/impact/render.js +590 -0
- package/dist/core/impact/session.js +694 -0
- package/dist/core/indexing/declarations.js +455 -0
- package/dist/core/indexing/differential.js +345 -0
- package/dist/core/indexing/doctor.js +120 -0
- package/dist/core/indexing/indexer.js +792 -0
- package/dist/core/indexing/keys.js +451 -0
- package/dist/core/indexing/lexical.js +212 -0
- package/dist/core/indexing/packages.js +57 -0
- package/dist/core/indexing/program.js +171 -0
- package/dist/core/indexing/resolve.js +1004 -0
- package/dist/core/indexing/stamp.js +52 -0
- package/dist/core/indexing/surface.js +335 -0
- package/dist/core/indexing/ui-progress.js +37 -0
- package/dist/core/indexing/verify.js +76 -0
- package/dist/core/kernel/config.js +383 -0
- package/dist/core/kernel/glob.js +105 -0
- package/dist/core/kernel/guards.js +4 -0
- package/dist/core/kernel/types.js +3 -0
- package/dist/core/kernel/verdict.js +142 -0
- package/dist/core/knowledge/anchors.js +139 -0
- package/dist/core/knowledge/knowledge.js +95 -0
- package/dist/core/knowledge/learning.js +102 -0
- package/dist/core/knowledge/render.js +76 -0
- package/dist/core/knowledge/store.js +109 -0
- package/dist/core/knowledge/yaml.js +87 -0
- package/dist/core/search/lexical.js +382 -0
- package/dist/core/search/render.js +98 -0
- package/dist/core/search/segments.js +118 -0
- package/dist/core/verify/parse.js +127 -0
- package/dist/core/verify/render.js +67 -0
- package/dist/core/verify/report.js +40 -0
- package/dist/core/verify/revision.js +79 -0
- package/dist/core/verify/run.js +117 -0
- package/dist/core/verify/store.js +66 -0
- package/dist/core/verify/verify.js +173 -0
- package/dist/core/workspace/init.js +267 -0
- package/dist/core/workspace/probe.js +56 -0
- package/dist/core/workspace/scan.js +420 -0
- package/dist/index.js +20 -0
- package/dist/policy/change-scope.js +500 -0
- package/dist/policy/check-changed.js +40 -0
- package/dist/policy/config.js +106 -0
- package/dist/policy/dist/policy.d.ts +17 -0
- package/dist/policy/dist/policy.js +147 -0
- package/dist/policy/dist/runtime.d.ts +40 -0
- package/dist/policy/dist/runtime.js +75 -0
- package/dist/policy/dist/sdlc.d.ts +7 -0
- package/dist/policy/dist/sdlc.js +27 -0
- package/dist/policy/eslint-rules/index.js +107 -0
- package/dist/policy/index.d.ts +2 -0
- package/dist/policy/index.js +241 -0
- package/dist/policy/package.json +33 -0
- package/dist/policy/policy.d.ts +2 -0
- package/dist/policy/policy.js +2 -0
- package/dist/policy/review-verdict.js +262 -0
- package/dist/policy/sdlc.js +2 -0
- package/dist/storage/records.js +245 -0
- package/dist/storage/sqlite.js +314 -0
- package/dist/workflow/catalog.js +69 -0
- package/dist/workflow/classify.js +55 -0
- package/dist/workflow/loader.js +140 -0
- package/dist/workflow/packs.js +469 -0
- package/dist/workflow/registry.js +359 -0
- package/dist/workflow/render.js +61 -0
- package/dist/workflow/router.js +141 -0
- package/dist/workflow/sources.js +229 -0
- package/dist/workflow/types.js +44 -0
- package/dist/workflow/updates.js +532 -0
- package/package.json +74 -4
- package/scripts/agy-mcp.mjs +27 -0
- package/scripts/mcp/stdio.mjs +304 -0
- package/scripts/mcp/tools.mjs +451 -0
- package/skills/ksd-intelligence/SKILL.md +54 -0
- package/skills/matt-sdlc/SKILL.md +42 -0
- package/skills/osmani-quality/SKILL.md +38 -0
- package/skills/poteto-mode/SKILL.md +40 -0
- package/skills/pstack-analysis/SKILL.md +36 -0
- package/skills.lock.json +71 -0
- package/skills.registry.json +181 -0
package/skills.lock.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"providers": {
|
|
4
|
+
"matt": {
|
|
5
|
+
"repo": "https://github.com/mattpocock/skills.git",
|
|
6
|
+
"commit": "4ae2317ddb22b046e26455e4f9c9b3aaaf62212d",
|
|
7
|
+
"rootSubpath": "skills/engineering",
|
|
8
|
+
"skills": {
|
|
9
|
+
"matt:diagnosing-bugs": {
|
|
10
|
+
"sha256": "849198df88cdb65fd0d97236604c1fca7ff2f22d2f705f9724a800d0266b118d"
|
|
11
|
+
},
|
|
12
|
+
"matt:codebase-design": {
|
|
13
|
+
"sha256": "2c20617f87ec8af6a434859f381b2f061a69b530444e74eb39e78bb016a6d1e2"
|
|
14
|
+
},
|
|
15
|
+
"matt:tdd": {
|
|
16
|
+
"sha256": "5505d25bbaa8fc14a79e4d20163936958992a2995b7f1dd1d6197edc9ed722e0"
|
|
17
|
+
},
|
|
18
|
+
"matt:code-review": {
|
|
19
|
+
"sha256": "9c921a8d88138a41401d8897ca1bb852088ab1b7b605cdd04edc13e3e8aab6dd"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"poteto": {
|
|
24
|
+
"repo": "https://github.com/cursor/plugins.git",
|
|
25
|
+
"commit": "6b0300214a09fd6029cfb7077043125758cd1fd2",
|
|
26
|
+
"rootSubpath": "pstack/skills",
|
|
27
|
+
"skills": {
|
|
28
|
+
"poteto:how": {
|
|
29
|
+
"sha256": "08a00079bb15b4258874ac3ff62d4ca7e94350ffedb521d0fd296dc9dd21904e"
|
|
30
|
+
},
|
|
31
|
+
"poteto:why": {
|
|
32
|
+
"sha256": "144d42e7712723d763e607bc0a969e5f1cdf83ec7228519d87677cc534571bed"
|
|
33
|
+
},
|
|
34
|
+
"poteto:blast-radius": {
|
|
35
|
+
"sha256": "2e10745b97f5862323dcda3b29ca60d56b5c3c98e37020085d26b48efbe0a436"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"osmani": {
|
|
40
|
+
"repo": "https://github.com/addyosmani/agent-skills.git",
|
|
41
|
+
"commit": "301b02b12bff98e4688e6984af6556802322bbde",
|
|
42
|
+
"rootSubpath": "skills",
|
|
43
|
+
"skills": {
|
|
44
|
+
"osmani:spec-driven-development": {
|
|
45
|
+
"sha256": "b9d05b4259c14550bbffbaafd8201492129926d37ede716db352c6e4f91b404d"
|
|
46
|
+
},
|
|
47
|
+
"osmani:incremental-implementation": {
|
|
48
|
+
"sha256": "df66536610071727feae1ca95f3c391c248ad828041750ccd3699cce763aa00b"
|
|
49
|
+
},
|
|
50
|
+
"osmani:code-review-and-quality": {
|
|
51
|
+
"sha256": "a47551daf26e3cc5670f5286f9e4850c2fc662d5ba08b86eee895254f3851797"
|
|
52
|
+
},
|
|
53
|
+
"osmani:security-and-hardening": {
|
|
54
|
+
"sha256": "358566859a3d791c474eb9fa36939b45875c7480d7d4650eaa092dceae2c1c37"
|
|
55
|
+
},
|
|
56
|
+
"osmani:performance-optimization": {
|
|
57
|
+
"sha256": "82af71540457cf853893685211f64509cd1e781c0de09d0186f16960f2d6eeba"
|
|
58
|
+
},
|
|
59
|
+
"osmani:frontend-ui-engineering": {
|
|
60
|
+
"sha256": "93a0ebffbb6075340d85255ae50724bc5e5e19b0fcbf2ae5d5857b9c5ddf9498"
|
|
61
|
+
},
|
|
62
|
+
"osmani:browser-testing-with-devtools": {
|
|
63
|
+
"sha256": "e28dd45416e6df93f0db6fffeb3aa2477a0e48a22f8e05fd5bb1892484115bb6"
|
|
64
|
+
},
|
|
65
|
+
"osmani:shipping-and-launch": {
|
|
66
|
+
"sha256": "92fec446ec4e947a7b8aac88b851aa5743ff8cb39d5987fb53df08ba8a160d64"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"orchestrator": "ksd-intelligence",
|
|
4
|
+
"lockfile": "skills.lock.json",
|
|
5
|
+
"providers": {
|
|
6
|
+
"matt": {
|
|
7
|
+
"repo": "https://github.com/mattpocock/skills.git",
|
|
8
|
+
"commit": "4ae2317ddb22b046e26455e4f9c9b3aaaf62212d",
|
|
9
|
+
"rootSubpath": "skills/engineering",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"attribution": "Matt Pocock",
|
|
12
|
+
"adaptationBoundary": "upstream-read-only"
|
|
13
|
+
},
|
|
14
|
+
"poteto": {
|
|
15
|
+
"repo": "https://github.com/cursor/plugins.git",
|
|
16
|
+
"commit": "6b0300214a09fd6029cfb7077043125758cd1fd2",
|
|
17
|
+
"rootSubpath": "pstack/skills",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"attribution": "Lauren Tan (poteto / pstack)",
|
|
20
|
+
"adaptationBoundary": "upstream-read-only"
|
|
21
|
+
},
|
|
22
|
+
"osmani": {
|
|
23
|
+
"repo": "https://github.com/addyosmani/agent-skills.git",
|
|
24
|
+
"commit": "301b02b12bff98e4688e6984af6556802322bbde",
|
|
25
|
+
"rootSubpath": "skills",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"attribution": "Addy Osmani",
|
|
28
|
+
"adaptationBoundary": "upstream-read-only"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"packs": {
|
|
32
|
+
"matt-sdlc": {
|
|
33
|
+
"id": "matt-sdlc",
|
|
34
|
+
"owner": "matt",
|
|
35
|
+
"provider": "matt",
|
|
36
|
+
"activation": "auto",
|
|
37
|
+
"disableModelInvocation": false,
|
|
38
|
+
"supportedRuntimes": ["agy", "omp"],
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"providers": ["matt"],
|
|
41
|
+
"leafSkills": [
|
|
42
|
+
"matt:diagnosing-bugs",
|
|
43
|
+
"matt:codebase-design",
|
|
44
|
+
"matt:tdd",
|
|
45
|
+
"matt:code-review"
|
|
46
|
+
],
|
|
47
|
+
"packs": []
|
|
48
|
+
},
|
|
49
|
+
"upstream": {
|
|
50
|
+
"repo": "https://github.com/mattpocock/skills.git",
|
|
51
|
+
"rootSubpath": "skills/engineering",
|
|
52
|
+
"sourcePaths": [
|
|
53
|
+
"diagnosing-bugs/SKILL.md",
|
|
54
|
+
"codebase-design/SKILL.md",
|
|
55
|
+
"tdd/SKILL.md",
|
|
56
|
+
"code-review/SKILL.md",
|
|
57
|
+
"grill-with-docs/SKILL.md",
|
|
58
|
+
"to-spec/SKILL.md",
|
|
59
|
+
"domain-modeling/SKILL.md",
|
|
60
|
+
"implement/SKILL.md",
|
|
61
|
+
"implement-spec/SKILL.md"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"ksdAdaptation": {
|
|
65
|
+
"wrapperPath": "skills/matt-sdlc/SKILL.md",
|
|
66
|
+
"localPolicyOwner": "ksd-intelligence",
|
|
67
|
+
"runtimeNotes": {
|
|
68
|
+
"agy": "Discovered via .agents/skills or .agents/skills.json; invoked via ei_workflow MCP tool or native skill.",
|
|
69
|
+
"omp": "Discovered via marketplace plugin skills/ (priority 70) and invoked via ei_workflow tool; respects RULES.md and user overrides."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"pstack-analysis": {
|
|
74
|
+
"id": "pstack-analysis",
|
|
75
|
+
"owner": "pstack",
|
|
76
|
+
"provider": "poteto",
|
|
77
|
+
"activation": "auto",
|
|
78
|
+
"disableModelInvocation": false,
|
|
79
|
+
"supportedRuntimes": ["agy", "omp"],
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"providers": ["poteto"],
|
|
82
|
+
"leafSkills": ["poteto:how", "poteto:why", "poteto:blast-radius"],
|
|
83
|
+
"packs": []
|
|
84
|
+
},
|
|
85
|
+
"upstream": {
|
|
86
|
+
"repo": "https://github.com/cursor/plugins.git",
|
|
87
|
+
"rootSubpath": "pstack/skills",
|
|
88
|
+
"sourcePaths": [
|
|
89
|
+
"how/SKILL.md",
|
|
90
|
+
"why/SKILL.md",
|
|
91
|
+
"blast-radius/SKILL.md",
|
|
92
|
+
"architect/SKILL.md",
|
|
93
|
+
"arena/SKILL.md",
|
|
94
|
+
"figure-it-out/SKILL.md",
|
|
95
|
+
"interrogate/SKILL.md",
|
|
96
|
+
"show-me-your-work/SKILL.md"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"ksdAdaptation": {
|
|
100
|
+
"wrapperPath": "skills/pstack-analysis/SKILL.md",
|
|
101
|
+
"localPolicyOwner": "ksd-intelligence",
|
|
102
|
+
"runtimeNotes": {
|
|
103
|
+
"agy": "Forbids auto-starting poteto-mode or swarm; pairs with ei_impact MCP tool.",
|
|
104
|
+
"omp": "Discovered via marketplace plugin skills/ (priority 70); pairs with ei_impact tool without auto-starting poteto-mode."
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"poteto-mode": {
|
|
109
|
+
"id": "poteto-mode",
|
|
110
|
+
"owner": "poteto",
|
|
111
|
+
"provider": "poteto",
|
|
112
|
+
"activation": "opt-in",
|
|
113
|
+
"disableModelInvocation": true,
|
|
114
|
+
"supportedRuntimes": ["agy", "omp"],
|
|
115
|
+
"dependencies": {
|
|
116
|
+
"providers": ["poteto"],
|
|
117
|
+
"leafSkills": [],
|
|
118
|
+
"packs": ["pstack-analysis"]
|
|
119
|
+
},
|
|
120
|
+
"upstream": {
|
|
121
|
+
"repo": "https://github.com/cursor/plugins.git",
|
|
122
|
+
"rootSubpath": "pstack/skills",
|
|
123
|
+
"sourcePaths": ["poteto-mode/SKILL.md"]
|
|
124
|
+
},
|
|
125
|
+
"ksdAdaptation": {
|
|
126
|
+
"wrapperPath": "skills/poteto-mode/SKILL.md",
|
|
127
|
+
"localPolicyOwner": "ksd-intelligence",
|
|
128
|
+
"runtimeNotes": {
|
|
129
|
+
"agy": "Explicit opt-in only via potetoMode: true or /poteto-mode; strips Cursor-only Task params and model slugs.",
|
|
130
|
+
"omp": "Hidden from model auto-discovery via disable-model-invocation: true; invoked only via /skill:poteto-mode or potetoMode: true."
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"osmani-quality": {
|
|
135
|
+
"id": "osmani-quality",
|
|
136
|
+
"owner": "osmani",
|
|
137
|
+
"provider": "osmani",
|
|
138
|
+
"activation": "auto",
|
|
139
|
+
"disableModelInvocation": false,
|
|
140
|
+
"supportedRuntimes": ["agy", "omp"],
|
|
141
|
+
"dependencies": {
|
|
142
|
+
"providers": ["osmani"],
|
|
143
|
+
"leafSkills": [
|
|
144
|
+
"osmani:spec-driven-development",
|
|
145
|
+
"osmani:incremental-implementation",
|
|
146
|
+
"osmani:code-review-and-quality",
|
|
147
|
+
"osmani:security-and-hardening",
|
|
148
|
+
"osmani:performance-optimization",
|
|
149
|
+
"osmani:frontend-ui-engineering",
|
|
150
|
+
"osmani:browser-testing-with-devtools",
|
|
151
|
+
"osmani:shipping-and-launch"
|
|
152
|
+
],
|
|
153
|
+
"packs": []
|
|
154
|
+
},
|
|
155
|
+
"upstream": {
|
|
156
|
+
"repo": "https://github.com/addyosmani/agent-skills.git",
|
|
157
|
+
"rootSubpath": "skills",
|
|
158
|
+
"sourcePaths": [
|
|
159
|
+
"spec-driven-development/SKILL.md",
|
|
160
|
+
"incremental-implementation/SKILL.md",
|
|
161
|
+
"code-review-and-quality/SKILL.md",
|
|
162
|
+
"security-and-hardening/SKILL.md",
|
|
163
|
+
"performance-optimization/SKILL.md",
|
|
164
|
+
"frontend-ui-engineering/SKILL.md",
|
|
165
|
+
"browser-testing-with-devtools/SKILL.md",
|
|
166
|
+
"shipping-and-launch/SKILL.md",
|
|
167
|
+
"api-and-interface-design/SKILL.md",
|
|
168
|
+
"observability-and-instrumentation/SKILL.md"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"ksdAdaptation": {
|
|
172
|
+
"wrapperPath": "skills/osmani-quality/SKILL.md",
|
|
173
|
+
"localPolicyOwner": "ksd-intelligence",
|
|
174
|
+
"runtimeNotes": {
|
|
175
|
+
"agy": "Requires observed browser/runtime evidence; marks unavailable tools NOT VERIFIED.",
|
|
176
|
+
"omp": "Discovered via marketplace plugin skills/ (priority 70); respects KSD policy module and RULES.md."
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|