mindforge-cc 11.4.0 → 11.5.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/.agent/CLAUDE.md +13 -0
- package/.agent/hooks/lib/hook-flags.js +78 -0
- package/.agent/hooks/lib/pretooluse-visible-output.js +46 -0
- package/.agent/hooks/mindforge-block-no-verify.js +552 -0
- package/.agent/hooks/mindforge-config-protection.js +144 -0
- package/.agent/hooks/run-with-flags.js +207 -0
- package/.agent/mindforge/checkpoint.md +76 -0
- package/.agent/mindforge/harness-audit.md +59 -0
- package/.agent/mindforge/instinct.md +46 -0
- package/.agent/mindforge/orch-add-feature.md +43 -0
- package/.agent/mindforge/orch-build-mvp.md +48 -0
- package/.agent/mindforge/orch-change-feature.md +45 -0
- package/.agent/mindforge/orch-fix-defect.md +43 -0
- package/.agent/mindforge/orch-refine-code.md +43 -0
- package/.claude/CLAUDE.md +13 -0
- package/.claude/commands/mindforge/checkpoint.md +76 -0
- package/.claude/commands/mindforge/execute-phase.md +47 -6
- package/.claude/commands/mindforge/harness-audit.md +59 -0
- package/.claude/commands/mindforge/instinct.md +46 -0
- package/.claude/commands/mindforge/orch-add-feature.md +43 -0
- package/.claude/commands/mindforge/orch-build-mvp.md +48 -0
- package/.claude/commands/mindforge/orch-change-feature.md +45 -0
- package/.claude/commands/mindforge/orch-fix-defect.md +43 -0
- package/.claude/commands/mindforge/orch-refine-code.md +43 -0
- package/.claude/commands/mindforge/plan-write.md +11 -0
- package/.claude/commands/mindforge/product-spec.md +76 -0
- package/.mindforge/config.json +2 -2
- package/.mindforge/engine/instincts/instinct-schema.md +17 -9
- package/.mindforge/imported-agents.jsonl +10 -0
- package/.mindforge/manifests/install-components.json +36 -0
- package/.mindforge/manifests/install-modules.json +193 -0
- package/.mindforge/manifests/install-profiles.json +57 -0
- package/.mindforge/memory/sync-manifest.json +1 -1
- package/.mindforge/personas/gan-evaluator.md +226 -0
- package/.mindforge/personas/gan-generator.md +151 -0
- package/.mindforge/personas/gan-planner.md +118 -0
- package/.mindforge/personas/harness-optimizer.md +55 -0
- package/.mindforge/personas/loop-operator.md +58 -0
- package/.mindforge/schemas/hooks.schema.json +199 -0
- package/.mindforge/schemas/install-modules.schema.json +44 -0
- package/.mindforge/schemas/install-state.schema.json +95 -0
- package/.mindforge/schemas/plugin.schema.json +75 -0
- package/.mindforge/schemas/provenance.schema.json +31 -0
- package/.mindforge/skills/agent-architecture-audit/SKILL.md +272 -0
- package/.mindforge/skills/continuous-learning/SKILL.md +16 -0
- package/.mindforge/skills/orch-pipeline/SKILL.md +284 -0
- package/.mindforge/skills/writing-plans/SKILL.md +76 -0
- package/CHANGELOG.md +75 -0
- package/MINDFORGE.md +3 -3
- package/RELEASENOTES.md +86 -0
- package/SECURITY.md +16 -0
- package/bin/autonomous/auto-runner.js +46 -5
- package/bin/autonomous/handoff-schema.js +114 -0
- package/bin/autonomous/session-guardian.sh +138 -0
- package/bin/autonomous/supervisor.js +98 -0
- package/bin/change-classifier.js +19 -5
- package/bin/governance/approve.js +61 -28
- package/bin/governance/config-manager.js +3 -1
- package/bin/governance/rbac-manager.js +14 -6
- package/bin/harness-audit.js +520 -0
- package/bin/hooks/instinct-capture-hook.js +16 -1
- package/bin/hooks/lib/detect-project.js +72 -0
- package/bin/installer/harness-adapter-compliance.js +321 -0
- package/bin/installer/install-manifests.js +200 -0
- package/bin/installer/install-state.js +243 -0
- package/bin/installer-core.js +1 -1
- package/bin/learning/instinct-cli.js +359 -0
- package/bin/learning/lib/ssrf-guard.js +252 -0
- package/bin/memory/eis-client.js +31 -10
- package/bin/models/llm-errors.js +79 -0
- package/bin/models/model-client.js +39 -4
- package/bin/models/ollama-provider.js +115 -0
- package/bin/models/openai-provider.js +40 -9
- package/bin/models/profiles-loader.js +147 -0
- package/bin/models/provider-registry.js +59 -0
- package/bin/revops/market-evaluator.js +23 -2
- package/bin/revops/router-steering-v2.js +17 -2
- package/bin/security/trust-boundaries.js +15 -3
- package/bin/utils/readiness-gate.js +169 -0
- package/bin/worktree/engine.js +497 -0
- package/package.json +8 -2
- package/subagents/categories/04-quality-security/.claude-plugin/plugin.json +10 -0
- package/subagents/categories/04-quality-security/go-build-resolver.md +105 -0
- package/subagents/categories/04-quality-security/go-reviewer.md +87 -0
- package/subagents/categories/04-quality-security/python-reviewer.md +109 -0
- package/subagents/categories/04-quality-security/react-build-resolver.md +215 -0
- package/subagents/categories/04-quality-security/react-reviewer.md +167 -0
- package/subagents/categories/04-quality-security/rust-build-resolver.md +159 -0
- package/subagents/categories/04-quality-security/rust-reviewer.md +105 -0
- package/subagents/categories/04-quality-security/silent-failure-hunter.md +67 -0
- package/subagents/categories/04-quality-security/type-design-analyzer.md +58 -0
- package/subagents/categories/04-quality-security/typescript-reviewer.md +126 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MindForge Hooks Configuration",
|
|
4
|
+
"description": "Schema for MindForge settings.json hooks. Ported from ECC's Claude Code hooks schema, with the event-name enum EXTENDED to include the Gemini-mirror events (BeforeTool/AfterTool) used by .agent/settings.json, so a single schema lints BOTH .claude/settings.json and the .agent mirror.",
|
|
5
|
+
"$defs": {
|
|
6
|
+
"stringArray": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 1
|
|
11
|
+
},
|
|
12
|
+
"minItems": 1
|
|
13
|
+
},
|
|
14
|
+
"commandHookItem": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": [
|
|
17
|
+
"type",
|
|
18
|
+
"command"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"type": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"const": "command",
|
|
24
|
+
"description": "Run a local command"
|
|
25
|
+
},
|
|
26
|
+
"command": {
|
|
27
|
+
"oneOf": [
|
|
28
|
+
{
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"$ref": "#/$defs/stringArray"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"async": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"description": "Run hook asynchronously in background without blocking"
|
|
40
|
+
},
|
|
41
|
+
"timeout": {
|
|
42
|
+
"type": "number",
|
|
43
|
+
"minimum": 0,
|
|
44
|
+
"description": "Timeout in milliseconds (Claude Code / MindForge convention)"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"additionalProperties": true
|
|
48
|
+
},
|
|
49
|
+
"httpHookItem": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": [
|
|
52
|
+
"type",
|
|
53
|
+
"url"
|
|
54
|
+
],
|
|
55
|
+
"properties": {
|
|
56
|
+
"type": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"const": "http"
|
|
59
|
+
},
|
|
60
|
+
"url": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1
|
|
63
|
+
},
|
|
64
|
+
"headers": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"allowedEnvVars": {
|
|
71
|
+
"$ref": "#/$defs/stringArray"
|
|
72
|
+
},
|
|
73
|
+
"timeout": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"minimum": 0
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"additionalProperties": true
|
|
79
|
+
},
|
|
80
|
+
"promptHookItem": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"required": [
|
|
83
|
+
"type",
|
|
84
|
+
"prompt"
|
|
85
|
+
],
|
|
86
|
+
"properties": {
|
|
87
|
+
"type": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"enum": ["prompt", "agent"]
|
|
90
|
+
},
|
|
91
|
+
"prompt": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"minLength": 1
|
|
94
|
+
},
|
|
95
|
+
"model": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"minLength": 1
|
|
98
|
+
},
|
|
99
|
+
"timeout": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"minimum": 0
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"additionalProperties": true
|
|
105
|
+
},
|
|
106
|
+
"hookItem": {
|
|
107
|
+
"oneOf": [
|
|
108
|
+
{
|
|
109
|
+
"$ref": "#/$defs/commandHookItem"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"$ref": "#/$defs/httpHookItem"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"$ref": "#/$defs/promptHookItem"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"matcherEntry": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"required": [
|
|
122
|
+
"hooks"
|
|
123
|
+
],
|
|
124
|
+
"properties": {
|
|
125
|
+
"matcher": {
|
|
126
|
+
"oneOf": [
|
|
127
|
+
{
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "object"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"hooks": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"$ref": "#/$defs/hookItem"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"description": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"$schema": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"permissions": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"deny": { "$ref": "#/$defs/stringArray" },
|
|
156
|
+
"allow": { "type": "array", "items": { "type": "string" } },
|
|
157
|
+
"ask": { "type": "array", "items": { "type": "string" } }
|
|
158
|
+
},
|
|
159
|
+
"additionalProperties": true
|
|
160
|
+
},
|
|
161
|
+
"hooks": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"propertyNames": {
|
|
164
|
+
"enum": [
|
|
165
|
+
"SessionStart",
|
|
166
|
+
"UserPromptSubmit",
|
|
167
|
+
"PreToolUse",
|
|
168
|
+
"PermissionRequest",
|
|
169
|
+
"PostToolUse",
|
|
170
|
+
"PostToolUseFailure",
|
|
171
|
+
"Notification",
|
|
172
|
+
"SubagentStart",
|
|
173
|
+
"Stop",
|
|
174
|
+
"SubagentStop",
|
|
175
|
+
"PreCompact",
|
|
176
|
+
"InstructionsLoaded",
|
|
177
|
+
"TeammateIdle",
|
|
178
|
+
"TaskCompleted",
|
|
179
|
+
"ConfigChange",
|
|
180
|
+
"WorktreeCreate",
|
|
181
|
+
"WorktreeRemove",
|
|
182
|
+
"SessionEnd",
|
|
183
|
+
"BeforeTool",
|
|
184
|
+
"AfterTool"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
"additionalProperties": {
|
|
188
|
+
"type": "array",
|
|
189
|
+
"items": {
|
|
190
|
+
"$ref": "#/$defs/matcherEntry"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"required": [
|
|
196
|
+
"hooks"
|
|
197
|
+
],
|
|
198
|
+
"additionalProperties": true
|
|
199
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MindForge install modules manifest",
|
|
4
|
+
"description": "Declarative module/profile/component selection vocabulary for the MindForge installer. Ported from ECC; the adapter-factory wiring that CONSUMES a resolved plan is deferred to a future, separately-reviewed PR — this schema + resolver ship INERT (the installer-core.js path is unchanged). Replaces the two-boolean --minimal/--with-utils selectivity once wired.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["version", "modules"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": { "type": "integer", "minimum": 1 },
|
|
10
|
+
"modules": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["id", "kind", "description", "paths", "targets", "defaultInstall"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
18
|
+
"kind": { "type": "string", "minLength": 1, "description": "asset family: rules|agents|commands|hooks|skills|engine|configs|...)" },
|
|
19
|
+
"description": { "type": "string", "minLength": 1 },
|
|
20
|
+
"paths": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"minItems": 1,
|
|
23
|
+
"items": { "type": "string", "minLength": 1 },
|
|
24
|
+
"description": "repo-relative source paths this module installs"
|
|
25
|
+
},
|
|
26
|
+
"targets": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"items": { "type": "string", "minLength": 1 },
|
|
30
|
+
"description": "runtime ids this module supports (subset of SUPPORTED_INSTALL_TARGETS)"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": { "type": "string" },
|
|
35
|
+
"default": []
|
|
36
|
+
},
|
|
37
|
+
"defaultInstall": { "type": "boolean" },
|
|
38
|
+
"cost": { "type": "string", "enum": ["light", "medium", "heavy"] },
|
|
39
|
+
"stability": { "type": "string", "enum": ["stable", "beta", "experimental"] }
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MindForge install state",
|
|
4
|
+
"description": "Provenance record written after a MindForge install/update. Sibling to .agent/file-manifest.json (which stores content hashes); this records WHO installed, from WHICH source commit, for WHICH runtimes/scope, WHEN, and the operation log — enabling precise diff, uninstall, and supply-chain audit.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"installedAt",
|
|
10
|
+
"target",
|
|
11
|
+
"request",
|
|
12
|
+
"source",
|
|
13
|
+
"operations"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schemaVersion": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "mindforge.install.v1"
|
|
19
|
+
},
|
|
20
|
+
"installedAt": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"lastValidatedAt": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1
|
|
27
|
+
},
|
|
28
|
+
"target": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"required": ["scope", "root"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"scope": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["global", "local"]
|
|
36
|
+
},
|
|
37
|
+
"root": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"installStatePath": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"request": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": ["runtimes"],
|
|
51
|
+
"properties": {
|
|
52
|
+
"runtimes": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": { "type": "string", "minLength": 1 },
|
|
55
|
+
"description": "Runtimes installed for, e.g. claude, antigravity, cursor, opencode, gemini, copilot"
|
|
56
|
+
},
|
|
57
|
+
"withUtils": { "type": "boolean" },
|
|
58
|
+
"minimal": { "type": "boolean" }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"source": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"additionalProperties": false,
|
|
64
|
+
"required": ["repoVersion", "repoCommit"],
|
|
65
|
+
"properties": {
|
|
66
|
+
"repoVersion": { "type": ["string", "null"] },
|
|
67
|
+
"repoCommit": { "type": ["string", "null"] }
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"operations": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"additionalProperties": true,
|
|
75
|
+
"required": ["kind", "destinationPath", "ownership"],
|
|
76
|
+
"properties": {
|
|
77
|
+
"kind": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1,
|
|
80
|
+
"description": "copy | merge-json | scaffold | symlink | transform"
|
|
81
|
+
},
|
|
82
|
+
"sourceRelativePath": { "type": "string", "minLength": 1 },
|
|
83
|
+
"destinationPath": { "type": "string", "minLength": 1 },
|
|
84
|
+
"runtime": { "type": "string", "minLength": 1 },
|
|
85
|
+
"ownership": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"description": "mindforge | user | shared — governs what uninstall may remove"
|
|
89
|
+
},
|
|
90
|
+
"sha256": { "type": "string", "minLength": 1 }
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MindForge Plugin Configuration",
|
|
4
|
+
"description": "Schema for MindForge / Claude plugin manifests (.claude-plugin/plugin.json). Ported from ECC unchanged — the Claude plugin manifest format is shared.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["name"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": { "type": "string" },
|
|
9
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?$" },
|
|
10
|
+
"description": { "type": "string" },
|
|
11
|
+
"author": {
|
|
12
|
+
"oneOf": [
|
|
13
|
+
{ "type": "string" },
|
|
14
|
+
{
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"name": { "type": "string" },
|
|
18
|
+
"url": { "type": "string", "format": "uri" }
|
|
19
|
+
},
|
|
20
|
+
"required": ["name"]
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"homepage": { "type": "string", "format": "uri" },
|
|
25
|
+
"repository": { "type": "string" },
|
|
26
|
+
"license": { "type": "string" },
|
|
27
|
+
"keywords": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "type": "string" }
|
|
30
|
+
},
|
|
31
|
+
"skills": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": { "type": "string" }
|
|
34
|
+
},
|
|
35
|
+
"commands": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": { "type": "string" }
|
|
38
|
+
},
|
|
39
|
+
"agents": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": { "type": "string" }
|
|
42
|
+
},
|
|
43
|
+
"mcpServers": {
|
|
44
|
+
"oneOf": [
|
|
45
|
+
{ "type": "string" },
|
|
46
|
+
{
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": { "type": "string" }
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "object"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"features": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"agents": { "type": "integer", "minimum": 0 },
|
|
59
|
+
"commands": { "type": "integer", "minimum": 0 },
|
|
60
|
+
"skills": { "type": "integer", "minimum": 0 },
|
|
61
|
+
"configAssets": { "type": "boolean" },
|
|
62
|
+
"hookEvents": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": { "type": "string" }
|
|
65
|
+
},
|
|
66
|
+
"customTools": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": { "type": "string" }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": true
|
|
75
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "MindForge Skill/Agent Provenance",
|
|
4
|
+
"description": "Provenance metadata for learned, imported, or published skills and subagents. Used to harden the supply chain — validated by bin/skill-validator.js and the publish-skill/install-skill CLI before an asset is trusted.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"source": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Origin (URL, path, or identifier)"
|
|
11
|
+
},
|
|
12
|
+
"created_at": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "date-time",
|
|
15
|
+
"description": "ISO 8601 timestamp"
|
|
16
|
+
},
|
|
17
|
+
"confidence": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"minimum": 0,
|
|
20
|
+
"maximum": 1,
|
|
21
|
+
"description": "Confidence score 0-1"
|
|
22
|
+
},
|
|
23
|
+
"author": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"description": "Who or what produced the asset"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": ["source", "created_at", "confidence", "author"],
|
|
30
|
+
"additionalProperties": true
|
|
31
|
+
}
|