@mmerterden/multi-agent-pipeline 23.3.0 → 23.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/CHANGELOG.md +73 -0
- package/README.md +27 -8
- package/README.tr.md +28 -9
- package/SECURITY.md +16 -0
- package/docs/adr/0008-installer-modularization-and-secret-leak-defense.md +1 -1
- package/docs/adr/0010-own-code-graph.md +299 -8
- package/docs/architecture.md +3 -3
- package/docs/ecosystem.md +10 -10
- package/docs/engineering.md +4 -4
- package/docs/facts.json +8 -8
- package/docs/features.md +5 -5
- package/docs/performance.md +17 -17
- package/install/_dev-only-files.mjs +9 -0
- package/install/_platform-filter.mjs +2 -55
- package/install/claude.mjs +28 -2
- package/install/codex.mjs +1 -3
- package/install/copilot.mjs +4 -8
- package/install/templates/claude-hooks.json +32 -1
- package/manifest.json +236 -167
- package/package.json +11 -3
- package/pipeline/commands/multi-agent/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/design-check/SKILL.md +3 -2
- package/pipeline/commands/multi-agent/diff-explain/SKILL.md +3 -3
- package/pipeline/commands/multi-agent/graph/SKILL.md +57 -24
- package/pipeline/commands/multi-agent/pair/SKILL.md +92 -0
- package/pipeline/commands/multi-agent/prune-prompts/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/search/SKILL.md +7 -1
- package/pipeline/commands/multi-agent/status/SKILL.md +4 -0
- package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
- package/pipeline/contract/CHANGELOG.md +63 -0
- package/pipeline/contract/README.md +1 -0
- package/pipeline/contract/build.mjs +13 -1
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/fixtures/runs-awaiting-question.json +4 -1
- package/pipeline/contract/fixtures/runs-empty.json +1 -1
- package/pipeline/contract/fixtures/runs-failed.json +4 -1
- package/pipeline/contract/fixtures/runs-old-schema.json +3 -0
- package/pipeline/contract/fixtures/runs-pr-opened-redacted.json +4 -1
- package/pipeline/contract/fixtures/runs-pr-opened.json +4 -1
- package/pipeline/contract/fixtures/runs-running.json +4 -1
- package/pipeline/contract/manifest.json +41 -15
- package/pipeline/contract/types/index.d.ts +81 -3
- package/pipeline/lib/detach-self.mjs +95 -0
- package/pipeline/lib/public-mcp-servers.mjs +33 -0
- package/pipeline/lib/rotated-log.mjs +93 -0
- package/pipeline/lib/stack-detect.sh +1 -1
- package/pipeline/lib/tls-trust.mjs +29 -0
- package/pipeline/lib/usage-lifecycle.mjs +9 -11
- package/pipeline/lib/usage-names.generated.mjs +613 -0
- package/pipeline/lib/usage-run-key.mjs +235 -0
- package/pipeline/lib/usage-vocab.mjs +210 -0
- package/pipeline/multi-agent-refs/analysis/intake.md +2 -2
- package/pipeline/multi-agent-refs/analysis/render.md +1 -1
- package/pipeline/multi-agent-refs/channels/generator.md +4 -5
- package/pipeline/multi-agent-refs/cross-cli-contract.md +3 -3
- package/pipeline/multi-agent-refs/design-check/init-inventory.md +11 -1
- package/pipeline/multi-agent-refs/design-check/scope-and-ledger.md +1 -1
- package/pipeline/multi-agent-refs/features/code-graph.md +146 -11
- package/pipeline/multi-agent-refs/features/code-intelligence.md +16 -14
- package/pipeline/multi-agent-refs/features/dev-critic.md +7 -7
- package/pipeline/multi-agent-refs/features/model-fallback.md +6 -4
- package/pipeline/multi-agent-refs/features/remote-control.md +253 -0
- package/pipeline/multi-agent-refs/features/review-delta.md +1 -1
- package/pipeline/multi-agent-refs/features/review-file-set.md +3 -3
- package/pipeline/multi-agent-refs/features/review-multi-repo.md +1 -1
- package/pipeline/multi-agent-refs/features/session-brief.md +42 -0
- package/pipeline/multi-agent-refs/features/skill-conformance.md +3 -3
- package/pipeline/multi-agent-refs/features/usage-reporting.md +255 -27
- package/pipeline/multi-agent-refs/help/en.md +3 -2
- package/pipeline/multi-agent-refs/help/tr.md +3 -2
- package/pipeline/multi-agent-refs/knowledge.md +1 -1
- package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -2
- package/pipeline/multi-agent-refs/phases/operations.md +2 -2
- package/pipeline/multi-agent-refs/phases/phase-0-init.md +13 -12
- package/pipeline/multi-agent-refs/phases/phase-1-plan.md +4 -4
- package/pipeline/multi-agent-refs/phases/phase-3-review.md +2 -0
- package/pipeline/multi-agent-refs/phases/phase-5-report.md +1 -1
- package/pipeline/multi-agent-refs/platform-parity.md +2 -2
- package/pipeline/multi-agent-refs/wiki-capture.md +3 -17
- package/pipeline/office/index.html +1309 -236
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/rules/outside-the-pipeline.md +1 -1
- package/pipeline/schemas/activity.schema.json +23 -0
- package/pipeline/schemas/agent-state.schema.json +6 -1
- package/pipeline/schemas/code-graph-calls.schema.json +254 -0
- package/pipeline/schemas/code-graph-docs.schema.json +223 -0
- package/pipeline/schemas/code-graph-infra.schema.json +227 -0
- package/pipeline/schemas/code-graph.schema.json +2 -2
- package/pipeline/schemas/examples/design-check-config.json +27 -0
- package/pipeline/schemas/learning-curve.schema.json +67 -0
- package/pipeline/schemas/mcp-health.schema.json +96 -0
- package/pipeline/schemas/office-jobs.json +69 -2
- package/pipeline/schemas/office-jobs.schema.json +8 -1
- package/pipeline/schemas/phases.json +5 -0
- package/pipeline/schemas/phases.schema.json +8 -0
- package/pipeline/schemas/prefs.schema.json +46 -12
- package/pipeline/schemas/runs-index.schema.json +17 -0
- package/pipeline/schemas/toolkit-path-params.json +78 -8
- package/pipeline/scripts/README.md +1 -0
- package/pipeline/scripts/_code-graph.mjs +184 -103
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/_contract-routes-office.mjs +33 -0
- package/pipeline/scripts/_diff-impact.mjs +21 -2
- package/pipeline/scripts/_graph-sidecars.mjs +372 -0
- package/pipeline/scripts/_http-post.mjs +103 -115
- package/pipeline/scripts/_safe-read.mjs +57 -0
- package/pipeline/scripts/_skill-practices.mjs +26 -0
- package/pipeline/scripts/_strip-code.mjs +380 -0
- package/pipeline/scripts/activity-snapshot.mjs +13 -1
- package/pipeline/scripts/aggregate-metrics.mjs +3 -5
- package/pipeline/scripts/build-stack-plugins.mjs +1 -47
- package/pipeline/scripts/call-graph/index.mjs +78 -0
- package/pipeline/scripts/call-graph/lang/cpp.mjs +308 -0
- package/pipeline/scripts/call-graph/lang/csharp.mjs +130 -0
- package/pipeline/scripts/call-graph/lang/go.mjs +303 -0
- package/pipeline/scripts/call-graph/lang/java.mjs +370 -0
- package/pipeline/scripts/call-graph/lang/kotlin.mjs +397 -0
- package/pipeline/scripts/call-graph/lang/python.mjs +399 -0
- package/pipeline/scripts/call-graph/lang/rust.mjs +345 -0
- package/pipeline/scripts/call-graph/lang/shared.mjs +230 -0
- package/pipeline/scripts/call-graph/lang/swift.mjs +432 -0
- package/pipeline/scripts/call-graph/lang/typescript.mjs +692 -0
- package/pipeline/scripts/call-graph/lex.mjs +396 -0
- package/pipeline/scripts/call-graph/platform.mjs +86 -0
- package/pipeline/scripts/call-graph/profiles.mjs +89 -0
- package/pipeline/scripts/call-graph/resolve.mjs +1125 -0
- package/pipeline/scripts/call-graph/scan.mjs +267 -0
- package/pipeline/scripts/code-graph-rules/android.json +7 -2
- package/pipeline/scripts/code-graph-rules/cpp.json +99 -0
- package/pipeline/scripts/code-graph-rules/csharp.json +102 -0
- package/pipeline/scripts/code-graph-rules/go.json +2 -1
- package/pipeline/scripts/code-graph-rules/ios.json +3 -1
- package/pipeline/scripts/code-graph-rules/java.json +76 -0
- package/pipeline/scripts/code-graph-rules/node.json +7 -2
- package/pipeline/scripts/code-graph-rules/python.json +6 -2
- package/pipeline/scripts/code-graph-rules/rust.json +105 -0
- package/pipeline/scripts/contract-server.mjs +3 -0
- package/pipeline/scripts/design-check-config.mjs +205 -0
- package/pipeline/scripts/feedback-send.mjs +26 -26
- package/pipeline/scripts/gate-ledger.mjs +2 -1
- package/pipeline/scripts/gen-facts.mjs +1 -2
- package/pipeline/scripts/gen-usage-names.mjs +124 -0
- package/pipeline/scripts/graph-affected.mjs +109 -20
- package/pipeline/scripts/graph-build.mjs +95 -15
- package/pipeline/scripts/graph-export.mjs +272 -0
- package/pipeline/scripts/graph-hint.mjs +15 -2
- package/pipeline/scripts/graph-query.mjs +305 -26
- package/pipeline/scripts/graph-report.mjs +187 -1
- package/pipeline/scripts/health-report.mjs +3 -4
- package/pipeline/scripts/infra/docs.mjs +317 -0
- package/pipeline/scripts/infra/extract.mjs +998 -0
- package/pipeline/scripts/infra/graph.mjs +245 -0
- package/pipeline/scripts/infra/yaml-lite.mjs +311 -0
- package/pipeline/scripts/job-launch.mjs +67 -2
- package/pipeline/scripts/learning-curve.mjs +288 -178
- package/pipeline/scripts/log-metric.sh +10 -1
- package/pipeline/scripts/mcp-health.mjs +309 -0
- package/pipeline/scripts/note-agent-event.mjs +3 -4
- package/pipeline/scripts/note-command-use.mjs +333 -0
- package/pipeline/scripts/note-command-use.sh +126 -0
- package/pipeline/scripts/note-mcp-call.sh +89 -0
- package/pipeline/scripts/note-mcp-failure.mjs +272 -1
- package/pipeline/scripts/note-session.sh +62 -3
- package/pipeline/scripts/note-skill-use.mjs +58 -2
- package/pipeline/scripts/office-build.mjs +115 -1
- package/pipeline/scripts/office-memory.mjs +14 -5
- package/pipeline/scripts/pair.mjs +333 -0
- package/pipeline/scripts/pre-push-check.sh +1 -1
- package/pipeline/scripts/remote/cbor.mjs +128 -0
- package/pipeline/scripts/remote/contract.mjs +98 -0
- package/pipeline/scripts/remote/handler.mjs +330 -0
- package/pipeline/scripts/remote/handles.mjs +57 -0
- package/pipeline/scripts/remote/lifecycle.mjs +186 -0
- package/pipeline/scripts/remote/listener.mjs +204 -0
- package/pipeline/scripts/remote/lockout.mjs +103 -0
- package/pipeline/scripts/remote/nonces.mjs +61 -0
- package/pipeline/scripts/remote/pairing.mjs +519 -0
- package/pipeline/scripts/remote/qr-encode.mjs +459 -0
- package/pipeline/scripts/remote/store.mjs +191 -0
- package/pipeline/scripts/remote/transport.mjs +211 -0
- package/pipeline/scripts/remote/verbs.json +70 -0
- package/pipeline/scripts/remote/verbs.mjs +217 -0
- package/pipeline/scripts/remote/webauthn.mjs +169 -0
- package/pipeline/scripts/remote/wire.mjs +364 -0
- package/pipeline/scripts/remote-listener.mjs +83 -0
- package/pipeline/scripts/route-learn.mjs +4 -4
- package/pipeline/scripts/run-kill.mjs +1 -1
- package/pipeline/scripts/run-write.mjs +13 -2
- package/pipeline/scripts/runs-index.mjs +30 -3
- package/pipeline/scripts/search-logs.sh +9 -0
- package/pipeline/scripts/session-brief.mjs +458 -0
- package/pipeline/scripts/session-brief.sh +130 -0
- package/pipeline/scripts/skill-usage.mjs +16 -5
- package/pipeline/scripts/test-gap-rules/cpp.json +25 -0
- package/pipeline/scripts/test-gap-rules/csharp.json +20 -0
- package/pipeline/scripts/test-gap-rules/java.json +20 -0
- package/pipeline/scripts/test-gap-rules/rust.json +14 -0
- package/pipeline/scripts/token-budget-report.mjs +3 -2
- package/pipeline/scripts/uninstall.mjs +29 -0
- package/pipeline/scripts/usage-access.mjs +16 -31
- package/pipeline/scripts/usage-health.mjs +31 -62
- package/pipeline/scripts/usage-register-beacon.mjs +11 -22
- package/pipeline/scripts/usage-register.mjs +39 -29
- package/pipeline/scripts/usage-report.mjs +579 -178
- package/pipeline/scripts/validate-code-graph.mjs +361 -111
- package/pipeline/scripts/write-state.mjs +39 -0
- package/pipeline/skills/.skill-manifest.json +21 -17
- package/pipeline/skills/.skills-index.json +13 -2
- package/pipeline/skills/shared/README.md +5 -4
- package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-diff-explain/SKILL.md +3 -3
- package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +55 -21
- package/pipeline/skills/shared/core/multi-agent-pair/SKILL.md +41 -0
- package/pipeline/skills/shared/core/multi-agent-prune-prompts/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
- package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +2 -3
- package/pipeline/skills/shared/external/app-store-optimization/references/keyword-research-methodology.md +2 -2
- package/pipeline/skills/shared/external/app-store-optimization/references/product-page-variants.md +2 -2
- package/pipeline/skills/shared/external/app-store-review/SKILL.md +11 -4
- package/pipeline/skills/shared/external/build-settings-audit/SKILL.md +1 -1
- package/pipeline/skills/shared/external/build-time-benchmark/SKILL.md +5 -5
- package/pipeline/skills/shared/external/build-time-fixes/SKILL.md +5 -5
- package/pipeline/skills/shared/external/build-time-optimizer/SKILL.md +6 -6
- package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +1 -0
- package/pipeline/skills/shared/external/ios-coding-standard/references/STANDARD.md +2 -2
- package/pipeline/skills/shared/external/ios-haptics/references/core-haptics.md +1 -1
- package/pipeline/skills/shared/external/localization-reuse-map/references/publish-and-snapshot.md +1 -1
- package/pipeline/skills/shared/external/package-build-audit/SKILL.md +3 -3
- package/pipeline/skills/shared/external/reverse-engineer-own-app/SKILL.md +2 -3
- package/pipeline/skills/shared/external/swift-compile-hotspots/SKILL.md +2 -2
- package/pipeline/skills/shared/external/weatherkit/SKILL.md +5 -6
- package/pipeline/skills/skills-index.md +3 -2
- package/docs/FIGMA_PIPELINE.md +0 -137
- package/pipeline/lib/identifier-scan.mjs +0 -156
- package/pipeline/scripts/_renamed-skills.mjs +0 -164
- package/pipeline/scripts/publish-staged.mjs +0 -324
- package/pipeline/skills/renamed.json +0 -30
- package/pipeline/skills/shared/external/ios-coding-standard/scripts/check_structure.py +0 -765
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/multi-agent-ecosystem/multi-agent-pipeline/schemas/code-graph-infra.schema.json",
|
|
4
|
+
"title": "Code graph infra sidecar",
|
|
5
|
+
"description": "Infrastructure and configuration nodes (Dockerfile, Compose, Kubernetes, Helm, Terraform, CI, env files, application config, dependency manifests) and the edges from code to the variables and keys it reads, stored beside code-graph.json (code-graph.infra.json). Names only; no value is stored. Opt in with graph-build.mjs --infra or the per-repo settings file.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"sidecar",
|
|
9
|
+
"schemaVersion",
|
|
10
|
+
"parent",
|
|
11
|
+
"generatedAt",
|
|
12
|
+
"stats",
|
|
13
|
+
"truncated",
|
|
14
|
+
"nodes",
|
|
15
|
+
"edges",
|
|
16
|
+
"manifest"
|
|
17
|
+
],
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"properties": {
|
|
20
|
+
"sidecar": {
|
|
21
|
+
"const": "infra"
|
|
22
|
+
},
|
|
23
|
+
"schemaVersion": {
|
|
24
|
+
"const": "1.0.0"
|
|
25
|
+
},
|
|
26
|
+
"parent": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": ["generatedAt"],
|
|
29
|
+
"description": "The build of the main graph this sidecar was made against. A reader that finds a different generatedAt in the main graph does not join it.",
|
|
30
|
+
"properties": {
|
|
31
|
+
"generatedAt": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"baseCommit": {
|
|
35
|
+
"type": ["string", "null"]
|
|
36
|
+
},
|
|
37
|
+
"stack": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"nodes": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": 0
|
|
43
|
+
},
|
|
44
|
+
"edges": {
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"minimum": 0
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"generatedAt": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"stats": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"required": ["nodes", "edges"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"nodes": {
|
|
58
|
+
"type": "integer",
|
|
59
|
+
"minimum": 0
|
|
60
|
+
},
|
|
61
|
+
"edges": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"minimum": 0
|
|
64
|
+
},
|
|
65
|
+
"infra": {
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"minimum": 0
|
|
68
|
+
},
|
|
69
|
+
"env": {
|
|
70
|
+
"type": "integer",
|
|
71
|
+
"minimum": 0
|
|
72
|
+
},
|
|
73
|
+
"config": {
|
|
74
|
+
"type": "integer",
|
|
75
|
+
"minimum": 0
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"truncated": {
|
|
80
|
+
"description": "null when the layer is whole; otherwise how much a node or edge cap cut.",
|
|
81
|
+
"oneOf": [
|
|
82
|
+
{
|
|
83
|
+
"type": "null"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "object",
|
|
87
|
+
"required": ["edges", "nodes", "reason"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"edges": {
|
|
90
|
+
"type": "integer",
|
|
91
|
+
"minimum": 0
|
|
92
|
+
},
|
|
93
|
+
"nodes": {
|
|
94
|
+
"type": "integer",
|
|
95
|
+
"minimum": 0
|
|
96
|
+
},
|
|
97
|
+
"reason": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"nodes": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"required": ["id", "kind", "name", "degree"],
|
|
109
|
+
"additionalProperties": false,
|
|
110
|
+
"properties": {
|
|
111
|
+
"id": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"maxLength": 4096
|
|
114
|
+
},
|
|
115
|
+
"kind": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": ["file", "infra", "env", "config", "module"]
|
|
118
|
+
},
|
|
119
|
+
"name": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"maxLength": 4096
|
|
122
|
+
},
|
|
123
|
+
"path": {
|
|
124
|
+
"type": ["string", "null"]
|
|
125
|
+
},
|
|
126
|
+
"line": {
|
|
127
|
+
"type": "integer",
|
|
128
|
+
"minimum": 1
|
|
129
|
+
},
|
|
130
|
+
"startLine": {
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"minimum": 1
|
|
133
|
+
},
|
|
134
|
+
"endLine": {
|
|
135
|
+
"type": "integer",
|
|
136
|
+
"minimum": 1
|
|
137
|
+
},
|
|
138
|
+
"symbolKind": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"owner": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"description": "The type that declares a method."
|
|
144
|
+
},
|
|
145
|
+
"nested": {
|
|
146
|
+
"type": "boolean"
|
|
147
|
+
},
|
|
148
|
+
"isTest": {
|
|
149
|
+
"type": "boolean"
|
|
150
|
+
},
|
|
151
|
+
"degree": {
|
|
152
|
+
"type": "integer",
|
|
153
|
+
"minimum": 0,
|
|
154
|
+
"description": "Always 0 in a sidecar: a layer never changes the structural degree of a node."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"edges": {
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"required": ["from", "to", "kind"],
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"properties": {
|
|
166
|
+
"from": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"to": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"kind": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"enum": ["defines", "sets", "uses", "builds", "runs", "reads"]
|
|
175
|
+
},
|
|
176
|
+
"via": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "How the edge was derived."
|
|
179
|
+
},
|
|
180
|
+
"confidence": {
|
|
181
|
+
"enum": ["certain", "high", "medium", "low"]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"manifest": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"description": "relpath -> {size, mtimeMs} of every file this layer read. An edit to one of them, a removal, or a new file of the kind the layer reads marks the layer stale.",
|
|
189
|
+
"additionalProperties": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"required": ["size", "mtimeMs"],
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"properties": {
|
|
194
|
+
"size": {
|
|
195
|
+
"type": "integer",
|
|
196
|
+
"minimum": 0
|
|
197
|
+
},
|
|
198
|
+
"mtimeMs": {
|
|
199
|
+
"type": "integer",
|
|
200
|
+
"minimum": 0
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"coverage": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"skipped": {
|
|
209
|
+
"type": "array",
|
|
210
|
+
"description": "Files left unread because the collection time budget ran out.",
|
|
211
|
+
"items": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"required": ["path", "reason"],
|
|
214
|
+
"properties": {
|
|
215
|
+
"path": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"reason": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://github.com/multi-agent-ecosystem/multi-agent-pipeline/schemas/code-graph.schema.json",
|
|
4
4
|
"title": "Code graph",
|
|
5
|
-
"description": "Deterministic, LLM-free code graph produced by graph-build.mjs and consumed by Phase 1 (Explore scope narrowing) and Phase 5 (knowledge capture). One file per project under ~/.claude/knowledge/<project>/code-graph.json.",
|
|
5
|
+
"description": "Deterministic, LLM-free code graph produced by graph-build.mjs and consumed by Phase 1 (Explore scope narrowing) and Phase 5 (knowledge capture). One file per project under ~/.claude/knowledge/<project>/code-graph.json. This file is schema 1.2.0: files, symbols, modules and the defines, imports, references and inherits edges between them. Optional layers live in sidecar files beside it (code-graph.calls.json, code-graph.docs.json, code-graph.infra.json), each with its own schema: code-graph-calls.schema.json, code-graph-docs.schema.json, code-graph-infra.schema.json.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schemaVersion", "stack", "root", "generatedAt", "stats", "nodes", "edges"],
|
|
8
8
|
"additionalProperties": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"stack": {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"enum": ["ios", "android", "node", "python", "go"]
|
|
16
|
+
"enum": ["ios", "android", "node", "python", "go", "rust", "java", "csharp", "cpp"]
|
|
17
17
|
},
|
|
18
18
|
"root": {
|
|
19
19
|
"type": "string",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"platform": "ios",
|
|
4
|
+
"mock": {
|
|
5
|
+
"keys": ["MockMode"],
|
|
6
|
+
"launchArg": "-mockMode YES",
|
|
7
|
+
"buildConfig": "Debug"
|
|
8
|
+
},
|
|
9
|
+
"inventory": {
|
|
10
|
+
"extraLaunchArgs": ["-mockEmptyState YES"],
|
|
11
|
+
"extraTargets": [
|
|
12
|
+
{
|
|
13
|
+
"id": "config:gallery",
|
|
14
|
+
"kind": "config",
|
|
15
|
+
"label": "Gallery with three photos",
|
|
16
|
+
"screen": "Gallery",
|
|
17
|
+
"driver": { "type": "manual", "note": "Open the gallery from the debug menu." }
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"ignoreTargets": ["config:retired-banner"]
|
|
21
|
+
},
|
|
22
|
+
"coverage": { "floor": 0.9, "confirmAbove": 25 },
|
|
23
|
+
"figma": { "url": "https://www.figma.com/design/FILEKEY/Example?node-id=1-2" },
|
|
24
|
+
"variants": [{ "id": "filled", "label": "Filled", "figmaNodeId": "1:2" }],
|
|
25
|
+
"capture": { "cropTopLive": 59, "tolerancePx": 2, "colorTolerance": 3, "maxDiffPct": 1 },
|
|
26
|
+
"report": { "formats": ["html", "pdf"], "confluence": { "enabled": false } }
|
|
27
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/multi-agent-ecosystem/multi-agent-pipeline/pipeline/schemas/learning-curve.schema.json",
|
|
4
|
+
"title": "Learning curve",
|
|
5
|
+
"description": "What GET /v1/learning-curve returns and `learning-curve.mjs --json` prints: the metrics log folded per task and bucketed by the day each task first appeared, with the first-to-last trend of the headline numbers. A rate or ratio is null when nothing was recorded, never 0. ok is false, with a code, when there is no metrics log or no events in it; the CLI adds a reason, the server does not.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["contractVersion", "ok", "buckets"],
|
|
9
|
+
"$defs": {
|
|
10
|
+
"rate": { "type": ["number", "null"] }
|
|
11
|
+
},
|
|
12
|
+
"properties": {
|
|
13
|
+
"contractVersion": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^1\\.[0-9]+\\.[0-9]+$",
|
|
16
|
+
"x-sensitivity": "none"
|
|
17
|
+
},
|
|
18
|
+
"ok": { "type": "boolean", "x-sensitivity": "none" },
|
|
19
|
+
"code": { "enum": ["no-metrics", "no-events", "too-large"], "x-sensitivity": "none" },
|
|
20
|
+
"reason": { "type": "string", "x-sensitivity": "local" },
|
|
21
|
+
"skipped": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"x-sensitivity": "none",
|
|
24
|
+
"items": { "enum": ["previous", "current"] },
|
|
25
|
+
"minItems": 1,
|
|
26
|
+
"uniqueItems": true,
|
|
27
|
+
"description": "The log generations left out because they were over the size cap. Absent when every generation was read."
|
|
28
|
+
},
|
|
29
|
+
"bucketDays": { "type": "integer", "minimum": 1, "x-sensitivity": "none" },
|
|
30
|
+
"buckets": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"x-sensitivity": "none",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"required": ["bucketStart", "tasks", "reworkPerTask", "tokensPerTask"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"bucketStart": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
39
|
+
"tasks": { "type": "integer", "minimum": 0 },
|
|
40
|
+
"firstPassCleanRate": { "$ref": "#/$defs/rate" },
|
|
41
|
+
"avgReviewCycles": { "$ref": "#/$defs/rate" },
|
|
42
|
+
"reworkPerTask": { "type": "number" },
|
|
43
|
+
"tokensPerTask": { "type": "integer", "minimum": 0 },
|
|
44
|
+
"cacheRatio": { "$ref": "#/$defs/rate" },
|
|
45
|
+
"memoryPrecision": { "$ref": "#/$defs/rate" },
|
|
46
|
+
"minedLessonsPerTask": { "$ref": "#/$defs/rate" },
|
|
47
|
+
"offloadBytesSavedPerTask": { "$ref": "#/$defs/rate" }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"trend": {
|
|
52
|
+
"type": ["object", "null"],
|
|
53
|
+
"x-sensitivity": "none",
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["from", "to"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"from": { "type": "string" },
|
|
58
|
+
"to": { "type": "string" },
|
|
59
|
+
"firstPassCleanRate": { "$ref": "#/$defs/rate" },
|
|
60
|
+
"avgReviewCycles": { "$ref": "#/$defs/rate" },
|
|
61
|
+
"tokensPerTask": { "$ref": "#/$defs/rate" },
|
|
62
|
+
"cacheRatio": { "$ref": "#/$defs/rate" },
|
|
63
|
+
"memoryPrecision": { "$ref": "#/$defs/rate" }
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/multi-agent-ecosystem/multi-agent-pipeline/pipeline/schemas/mcp-health.schema.json",
|
|
4
|
+
"title": "MCP server health",
|
|
5
|
+
"description": "What GET /v1/mcp-health returns and `mcp-health.mjs --json` prints: per MCP server and tool, the calls, the server-side failures and the minute of the last failure over the last windowDays, from the local failure log and call counter the hooks write. Successful calls are counted only while usage counting is on: callsCounted is false when it is off or no counter file exists, and then calls holds only failed calls. A call that failed is a call, so calls includes failed ones; failures leaves out the errors that say nothing about the server (invalid input, a refusal, an interrupt). A server is named only from the shipped public list, any other is `private` with one `private` tool; a tool is named only from the shipped tool list of this product's own server, any other is `other`. skipped names a source left out because it was over the size cap or could not be read. Names, counts and minutes only.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"contractVersion",
|
|
10
|
+
"generatedAt",
|
|
11
|
+
"ok",
|
|
12
|
+
"windowDays",
|
|
13
|
+
"callsCounted",
|
|
14
|
+
"servers",
|
|
15
|
+
"totals",
|
|
16
|
+
"skipped"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"contractVersion": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^1\\.[0-9]+\\.[0-9]+$",
|
|
22
|
+
"x-sensitivity": "none"
|
|
23
|
+
},
|
|
24
|
+
"generatedAt": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"format": "date-time",
|
|
27
|
+
"x-sensitivity": "none"
|
|
28
|
+
},
|
|
29
|
+
"ok": { "const": true, "x-sensitivity": "none" },
|
|
30
|
+
"windowDays": { "type": "integer", "minimum": 1, "maximum": 90, "x-sensitivity": "none" },
|
|
31
|
+
"callsCounted": { "type": "boolean", "x-sensitivity": "none" },
|
|
32
|
+
"servers": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"maxItems": 5,
|
|
35
|
+
"x-sensitivity": "none",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": ["server", "calls", "failures", "lastFailure", "tools"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"server": {
|
|
42
|
+
"enum": ["multi-agent", "claude_ai_Figma", "figma", "XcodeBuildMCP", "private"]
|
|
43
|
+
},
|
|
44
|
+
"calls": { "type": "integer", "minimum": 0 },
|
|
45
|
+
"failures": { "type": "integer", "minimum": 0 },
|
|
46
|
+
"lastFailure": {
|
|
47
|
+
"oneOf": [
|
|
48
|
+
{ "type": "null" },
|
|
49
|
+
{ "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:00Z$" }
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"tools": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"maxItems": 20,
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"required": ["tool", "calls", "failures", "lastFailure"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"tool": { "type": "string", "pattern": "^[a-z0-9_]{1,64}$" },
|
|
61
|
+
"calls": { "type": "integer", "minimum": 0 },
|
|
62
|
+
"failures": { "type": "integer", "minimum": 0 },
|
|
63
|
+
"lastFailure": {
|
|
64
|
+
"oneOf": [
|
|
65
|
+
{ "type": "null" },
|
|
66
|
+
{
|
|
67
|
+
"type": "string",
|
|
68
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:00Z$"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"totals": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"required": ["calls", "failures"],
|
|
82
|
+
"x-sensitivity": "none",
|
|
83
|
+
"properties": {
|
|
84
|
+
"calls": { "type": "integer", "minimum": 0 },
|
|
85
|
+
"failures": { "type": "integer", "minimum": 0 }
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"skipped": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"maxItems": 2,
|
|
91
|
+
"uniqueItems": true,
|
|
92
|
+
"x-sensitivity": "none",
|
|
93
|
+
"items": { "enum": ["calls", "failures"] }
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./office-jobs.schema.json",
|
|
3
|
-
"contractVersion": "1.
|
|
4
|
-
"description": "The jobs a person can hand to someone in the office. A solo job is one command one agent does at a desk; a team job is a pipeline run that meets in a room. Each parameter has a kind that job-launch.mjs checks before anything starts, so
|
|
3
|
+
"contractVersion": "1.1.0",
|
|
4
|
+
"description": "The jobs a person can hand to someone in the office. A solo job is one command one agent does at a desk; a team job is a pipeline run that meets in a room. Each parameter has a kind that job-launch.mjs checks before anything starts, so the only free text a job takes is the short search query, and `writes` names what the job changes outside this machine, shown in the confirmation. Commands not listed here stay terminal commands.",
|
|
5
5
|
"jobs": [
|
|
6
6
|
{
|
|
7
7
|
"id": "pipeline",
|
|
@@ -273,6 +273,73 @@
|
|
|
273
273
|
}
|
|
274
274
|
],
|
|
275
275
|
"writes": "none"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "fable-status",
|
|
279
|
+
"command": "fable-status",
|
|
280
|
+
"role": "Sysadmin",
|
|
281
|
+
"team": false,
|
|
282
|
+
"params": [],
|
|
283
|
+
"writes": "none"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"id": "health",
|
|
287
|
+
"command": "health",
|
|
288
|
+
"role": "Sysadmin",
|
|
289
|
+
"team": false,
|
|
290
|
+
"params": [],
|
|
291
|
+
"writes": "none"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "help",
|
|
295
|
+
"command": "help",
|
|
296
|
+
"role": "Librarian",
|
|
297
|
+
"team": false,
|
|
298
|
+
"params": [],
|
|
299
|
+
"writes": "none"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "search",
|
|
303
|
+
"command": "search",
|
|
304
|
+
"role": "Librarian",
|
|
305
|
+
"team": false,
|
|
306
|
+
"params": [
|
|
307
|
+
{
|
|
308
|
+
"name": "query",
|
|
309
|
+
"kind": "search-text",
|
|
310
|
+
"required": true
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"writes": "none"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"id": "address-review",
|
|
317
|
+
"command": "address-review",
|
|
318
|
+
"role": "Reviewer",
|
|
319
|
+
"team": false,
|
|
320
|
+
"params": [
|
|
321
|
+
{
|
|
322
|
+
"name": "target",
|
|
323
|
+
"kind": "pull-request",
|
|
324
|
+
"required": true
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"writes": "branch"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"id": "analysis-resolve",
|
|
331
|
+
"command": "analysis-resolve",
|
|
332
|
+
"role": "Planner",
|
|
333
|
+
"team": false,
|
|
334
|
+
"params": [
|
|
335
|
+
{
|
|
336
|
+
"name": "document",
|
|
337
|
+
"kind": "analysis-doc",
|
|
338
|
+
"required": true
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"writes": "none",
|
|
342
|
+
"fixedArgs": ["--autonomous"]
|
|
276
343
|
}
|
|
277
344
|
]
|
|
278
345
|
}
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"role": { "type": "string", "minLength": 1 },
|
|
28
28
|
"team": { "type": "boolean" },
|
|
29
29
|
"launch": { "enum": ["development", "analysis", "autopilot"] },
|
|
30
|
+
"fixedArgs": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": { "type": "string", "pattern": "^--[a-z][a-z-]{0,30}$" },
|
|
33
|
+
"description": "Flags the job always passes after its parameters, fixed in the catalog."
|
|
34
|
+
},
|
|
30
35
|
"available": { "type": "boolean" },
|
|
31
36
|
"reason": { "type": ["string", "null"] },
|
|
32
37
|
"params": {
|
|
@@ -46,7 +51,9 @@
|
|
|
46
51
|
"jira-key",
|
|
47
52
|
"github-issue",
|
|
48
53
|
"enum",
|
|
49
|
-
"repo-path"
|
|
54
|
+
"repo-path",
|
|
55
|
+
"search-text",
|
|
56
|
+
"analysis-doc"
|
|
50
57
|
]
|
|
51
58
|
},
|
|
52
59
|
"values": { "type": "array", "items": { "type": "string" } },
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"name": "Plan",
|
|
30
30
|
"doc": "phase-1-plan.md",
|
|
31
31
|
"maxTokens": 10250,
|
|
32
|
+
"roles": ["critic"],
|
|
32
33
|
"was": [1, 2]
|
|
33
34
|
},
|
|
34
35
|
{
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"name": "Dev",
|
|
37
38
|
"doc": "phase-2-dev.md",
|
|
38
39
|
"maxTokens": 10650,
|
|
40
|
+
"roles": ["critic"],
|
|
39
41
|
"was": [3]
|
|
40
42
|
},
|
|
41
43
|
{
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
"name": "Review",
|
|
44
46
|
"doc": "phase-3-review.md",
|
|
45
47
|
"maxTokens": 17260,
|
|
48
|
+
"roles": ["reviewer", "review panel", "triage", "triyaj"],
|
|
46
49
|
"was": [4, 5]
|
|
47
50
|
},
|
|
48
51
|
{
|
|
@@ -50,6 +53,7 @@
|
|
|
50
53
|
"name": "Commit",
|
|
51
54
|
"doc": "phase-4-commit.md",
|
|
52
55
|
"maxTokens": 6650,
|
|
56
|
+
"roles": ["commit step"],
|
|
53
57
|
"was": [6]
|
|
54
58
|
},
|
|
55
59
|
{
|
|
@@ -57,6 +61,7 @@
|
|
|
57
61
|
"name": "Report",
|
|
58
62
|
"doc": "phase-5-report.md",
|
|
59
63
|
"maxTokens": 5800,
|
|
64
|
+
"roles": ["triage", "triyaj"],
|
|
60
65
|
"was": [7]
|
|
61
66
|
}
|
|
62
67
|
],
|
|
@@ -71,6 +71,14 @@
|
|
|
71
71
|
"type": "integer",
|
|
72
72
|
"minimum": 0
|
|
73
73
|
}
|
|
74
|
+
},
|
|
75
|
+
"roles": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"items": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"minLength": 1
|
|
80
|
+
},
|
|
81
|
+
"description": "Words that name work done in this phase when written beside its number in prose (\"Phase 3 reviewer\"). A word listed under two phases is valid beside either. lint-phase-labels.mjs reads them."
|
|
74
82
|
}
|
|
75
83
|
}
|
|
76
84
|
}
|