@redditech/agent-protocol 0.0.0-stage → 0.2.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 +89 -0
- package/LICENSE +21 -0
- package/README.md +394 -2
- package/dist/adl.d.ts +141 -0
- package/dist/adl.js +3601 -0
- package/dist/agent-stack-fixtures.d.ts +743 -0
- package/dist/agent-stack-fixtures.js +1554 -0
- package/dist/ai-catalog.d.ts +128 -0
- package/dist/ai-catalog.js +373 -0
- package/dist/attestation-reputation.d.ts +102 -0
- package/dist/attestation-reputation.js +279 -0
- package/dist/audd-rail-config.d.ts +102 -0
- package/dist/audd-rail-config.js +294 -0
- package/dist/browser-wallet-approval.d.ts +293 -0
- package/dist/browser-wallet-approval.js +1201 -0
- package/dist/discovery-source.d.ts +115 -0
- package/dist/discovery-source.js +251 -0
- package/dist/evidence-archive.d.ts +73 -0
- package/dist/evidence-archive.js +238 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +23 -0
- package/dist/mpp-tempo-receipt-shapes.d.ts +201 -0
- package/dist/mpp-tempo-receipt-shapes.js +330 -0
- package/dist/okf-adapter.d.ts +229 -0
- package/dist/okf-adapter.js +556 -0
- package/dist/okf-conformance.d.ts +208 -0
- package/dist/okf-conformance.js +651 -0
- package/dist/okf-instruction-safety.d.ts +192 -0
- package/dist/okf-instruction-safety.js +509 -0
- package/dist/onboarding-analyser-handoff.d.ts +391 -0
- package/dist/onboarding-analyser-handoff.js +959 -0
- package/dist/onboarding-state-machine.d.ts +228 -0
- package/dist/onboarding-state-machine.js +432 -0
- package/dist/payment-records.d.ts +181 -0
- package/dist/payment-records.js +599 -0
- package/dist/policy.d.ts +33 -0
- package/dist/policy.js +45 -0
- package/dist/provider-trust.d.ts +113 -0
- package/dist/provider-trust.js +346 -0
- package/dist/quasar-registry-compatibility.d.ts +113 -0
- package/dist/quasar-registry-compatibility.js +214 -0
- package/dist/ranking-explainability.d.ts +202 -0
- package/dist/ranking-explainability.js +302 -0
- package/dist/receipt-v2.d.ts +202 -0
- package/dist/receipt-v2.js +418 -0
- package/dist/repo-explorer-evidence-manifest.d.ts +387 -0
- package/dist/repo-explorer-evidence-manifest.js +1187 -0
- package/dist/source-diagnostics.d.ts +84 -0
- package/dist/source-diagnostics.js +193 -0
- package/dist/source-trust-conformance-matrix.d.ts +207 -0
- package/dist/source-trust-conformance-matrix.js +672 -0
- package/examples/ard-no-spend-ai-catalog.json +51 -0
- package/examples/ard-no-spend-demo.mjs +355 -0
- package/examples/interpretation-guide-scenarios.mjs +302 -0
- package/package.json +144 -4
|
@@ -0,0 +1,743 @@
|
|
|
1
|
+
export declare const AGENT_STACK_FIXTURE_CORPUS_SCHEMA_VERSION: "reddi.agent-stack-fixture-corpus.v1";
|
|
2
|
+
export declare const STATIC_AGENT_STACK_INGESTION_RESULT_SCHEMA_VERSION: "reddi.static-agent-stack-ingestion-result.v1";
|
|
3
|
+
export declare const STATIC_AGENT_STACK_CAPABILITY_INVENTORY_SCHEMA_VERSION: "reddi.static-agent-stack-capability-inventory.v1";
|
|
4
|
+
export declare const STATIC_AGENT_STACK_DRAFT_PAYLOADS_SCHEMA_VERSION: "reddi.static-agent-stack-draft-payloads.v1";
|
|
5
|
+
export declare const STATIC_AGENT_STACK_OPERATOR_REVIEW_PAYLOAD_SCHEMA_VERSION: "reddi.static-agent-stack-operator-review-payload.v1";
|
|
6
|
+
export type AgentStackFixtureSurfaceKind = 'repo-marketplace-metadata' | 'claude-plugin' | 'managed-agent-cookbook' | 'mcp-connector-config' | 'skill' | 'command' | 'subagent' | 'partner-plugin' | 'vertical-plugin' | 'validation-warning';
|
|
7
|
+
export type AgentStackFixtureValidationErrorCode = 'malformed_fixture_corpus' | 'invalid_source_reference' | 'credential_leakage_rejected' | 'invalid_commit_ref' | 'invalid_timestamp' | 'unsafe_url' | 'corpus_too_large';
|
|
8
|
+
export type AgentStackFixtureValidationError = {
|
|
9
|
+
code: AgentStackFixtureValidationErrorCode;
|
|
10
|
+
path: string;
|
|
11
|
+
message: string;
|
|
12
|
+
};
|
|
13
|
+
export type AgentStackFixtureSource = {
|
|
14
|
+
sourceUrl: string;
|
|
15
|
+
checkedCommit: string;
|
|
16
|
+
checkedRef?: string;
|
|
17
|
+
license?: string;
|
|
18
|
+
sourceNotes: string[];
|
|
19
|
+
authenticityNotes: string[];
|
|
20
|
+
crawlTimestamp: string;
|
|
21
|
+
localResearchArtifactPath?: string;
|
|
22
|
+
};
|
|
23
|
+
export type AgentStackFixtureFile = {
|
|
24
|
+
path: string;
|
|
25
|
+
kind: AgentStackFixtureSurfaceKind;
|
|
26
|
+
present: boolean;
|
|
27
|
+
parseStatus: 'valid' | 'malformed' | 'not_parsed' | 'missing';
|
|
28
|
+
parseErrorLocation?: string;
|
|
29
|
+
mediaType?: string;
|
|
30
|
+
summary?: string;
|
|
31
|
+
warningCodes?: string[];
|
|
32
|
+
};
|
|
33
|
+
export type AgentStackFixtureSurface = {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
kind: AgentStackFixtureSurfaceKind;
|
|
37
|
+
path: string;
|
|
38
|
+
category?: string;
|
|
39
|
+
runtimeSurface?: string;
|
|
40
|
+
commands?: string[];
|
|
41
|
+
skills?: string[];
|
|
42
|
+
toolGrants?: string[];
|
|
43
|
+
authDependencies?: string[];
|
|
44
|
+
dataDependencies?: string[];
|
|
45
|
+
safetyHints?: string[];
|
|
46
|
+
humanReviewHints?: string[];
|
|
47
|
+
writeCapable?: boolean;
|
|
48
|
+
contentTrustBoundary: 'untrusted_public_text' | 'metadata_only';
|
|
49
|
+
notes?: string[];
|
|
50
|
+
};
|
|
51
|
+
export type AgentStackFixtureValidationWarning = {
|
|
52
|
+
code: string;
|
|
53
|
+
severity: 'info' | 'warning' | 'blocked';
|
|
54
|
+
path: string;
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
export type AgentStackFixtureCorpus = {
|
|
58
|
+
schemaVersion: typeof AGENT_STACK_FIXTURE_CORPUS_SCHEMA_VERSION;
|
|
59
|
+
id: string;
|
|
60
|
+
title: string;
|
|
61
|
+
source: AgentStackFixtureSource;
|
|
62
|
+
surfaces: AgentStackFixtureSurface[];
|
|
63
|
+
files: AgentStackFixtureFile[];
|
|
64
|
+
validationWarnings: AgentStackFixtureValidationWarning[];
|
|
65
|
+
staticOnly: true;
|
|
66
|
+
nonGoals: string[];
|
|
67
|
+
};
|
|
68
|
+
export type AgentStackFixtureValidationSuccess = {
|
|
69
|
+
ok: true;
|
|
70
|
+
corpus: AgentStackFixtureCorpus;
|
|
71
|
+
warnings: AgentStackFixtureValidationWarning[];
|
|
72
|
+
};
|
|
73
|
+
export type AgentStackFixtureValidationFailure = {
|
|
74
|
+
ok: false;
|
|
75
|
+
errors: AgentStackFixtureValidationError[];
|
|
76
|
+
};
|
|
77
|
+
export type AgentStackFixtureValidationResult = AgentStackFixtureValidationSuccess | AgentStackFixtureValidationFailure;
|
|
78
|
+
export type AgentStackFixtureValidationOptions = {
|
|
79
|
+
maxBytes?: number;
|
|
80
|
+
};
|
|
81
|
+
export type AgentStackFixtureCase = {
|
|
82
|
+
description: string;
|
|
83
|
+
corpus: unknown;
|
|
84
|
+
expectedValid: boolean;
|
|
85
|
+
expectedErrorCodes: AgentStackFixtureValidationErrorCode[];
|
|
86
|
+
};
|
|
87
|
+
export type StaticAgentStackIngestionStatus = 'ready_for_draft' | 'partial_success' | 'blocked';
|
|
88
|
+
export type StaticAgentStackInventoryEntry = {
|
|
89
|
+
id: string;
|
|
90
|
+
name: string;
|
|
91
|
+
kind: AgentStackFixtureSurfaceKind;
|
|
92
|
+
sourcePath: string;
|
|
93
|
+
runtimeSurface?: string;
|
|
94
|
+
category?: string;
|
|
95
|
+
commands: string[];
|
|
96
|
+
skills: string[];
|
|
97
|
+
toolGrants: string[];
|
|
98
|
+
authDependencies: string[];
|
|
99
|
+
dataDependencies: string[];
|
|
100
|
+
safetyHints: string[];
|
|
101
|
+
humanReviewHints: string[];
|
|
102
|
+
writeCapable: boolean;
|
|
103
|
+
contentTrustBoundary: AgentStackFixtureSurface['contentTrustBoundary'];
|
|
104
|
+
};
|
|
105
|
+
export type StaticAgentStackCapabilityInventoryEntry = {
|
|
106
|
+
capabilityId: string;
|
|
107
|
+
capabilityName: string;
|
|
108
|
+
sourceKind: AgentStackFixtureSurfaceKind;
|
|
109
|
+
sourcePath: string;
|
|
110
|
+
runtimeSurface?: string;
|
|
111
|
+
category?: string;
|
|
112
|
+
commands: string[];
|
|
113
|
+
skills: string[];
|
|
114
|
+
toolGrants: string[];
|
|
115
|
+
authDependencies: string[];
|
|
116
|
+
dataDependencies: string[];
|
|
117
|
+
safetyHints: string[];
|
|
118
|
+
humanReviewHints: string[];
|
|
119
|
+
writeCapable: boolean;
|
|
120
|
+
sideEffectRisk: 'none' | 'read' | 'write' | 'execute';
|
|
121
|
+
contentTrustBoundary: AgentStackFixtureSurface['contentTrustBoundary'];
|
|
122
|
+
provenance: {
|
|
123
|
+
corpusId: string;
|
|
124
|
+
sourceUrl: string;
|
|
125
|
+
checkedCommit: string;
|
|
126
|
+
checkedRef?: string;
|
|
127
|
+
license?: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
export type StaticAgentStackParserDiagnostic = {
|
|
131
|
+
path: string;
|
|
132
|
+
sourceKind: AgentStackFixtureSurfaceKind | 'validation-warning';
|
|
133
|
+
severity: AgentStackFixtureValidationWarning['severity'];
|
|
134
|
+
code: string;
|
|
135
|
+
message: string;
|
|
136
|
+
};
|
|
137
|
+
export type StaticAgentStackCapabilityInventoryBundle = {
|
|
138
|
+
schemaVersion: typeof STATIC_AGENT_STACK_CAPABILITY_INVENTORY_SCHEMA_VERSION;
|
|
139
|
+
corpusId: string;
|
|
140
|
+
source: AgentStackFixtureSource;
|
|
141
|
+
entries: StaticAgentStackCapabilityInventoryEntry[];
|
|
142
|
+
parserDiagnostics: StaticAgentStackParserDiagnostic[];
|
|
143
|
+
rejectedEntries: StaticAgentStackRejectedEntry[];
|
|
144
|
+
};
|
|
145
|
+
export type StaticAgentStackConnectorDiagnostic = {
|
|
146
|
+
path: string;
|
|
147
|
+
sourceKind: 'mcp-connector-config';
|
|
148
|
+
diagnosticLane: 'mcp_connector_metadata';
|
|
149
|
+
parseStatus: AgentStackFixtureFile['parseStatus'];
|
|
150
|
+
parseErrorLocation?: string;
|
|
151
|
+
severity: AgentStackFixtureValidationWarning['severity'];
|
|
152
|
+
warningCodes: string[];
|
|
153
|
+
blocksDraftPayload: boolean;
|
|
154
|
+
operatorReviewRequired: boolean;
|
|
155
|
+
message: string;
|
|
156
|
+
};
|
|
157
|
+
export type StaticAgentStackRiskCategory = 'executable_hook' | 'installer_or_update_script' | 'deploy_capable_command' | 'wallet_rpc_capable_metadata' | 'local_binary_requirement' | 'env_required_connector' | 'mcp_launcher_execution' | 'external_submodule' | 'permission_policy';
|
|
158
|
+
export type StaticAgentStackRiskDiagnostic = {
|
|
159
|
+
path: string;
|
|
160
|
+
sourceKind: AgentStackFixtureSurfaceKind | 'validation-warning';
|
|
161
|
+
diagnosticLane: 'static_fixture_risk_taxonomy';
|
|
162
|
+
category: StaticAgentStackRiskCategory;
|
|
163
|
+
severity: AgentStackFixtureValidationWarning['severity'];
|
|
164
|
+
warningCodes: string[];
|
|
165
|
+
blocksDraftPayload: boolean;
|
|
166
|
+
operatorReviewRequired: boolean;
|
|
167
|
+
message: string;
|
|
168
|
+
};
|
|
169
|
+
export type StaticAgentStackRejectedEntry = {
|
|
170
|
+
path: string;
|
|
171
|
+
reasonCode: string;
|
|
172
|
+
message: string;
|
|
173
|
+
};
|
|
174
|
+
export type StaticAgentStackDraftPayloadReadiness = {
|
|
175
|
+
status: 'ready' | 'needs_review' | 'blocked';
|
|
176
|
+
blockers: string[];
|
|
177
|
+
payloadRefs: string[];
|
|
178
|
+
};
|
|
179
|
+
export type StaticAgentStackDraftStateCode = 'listing_draft' | 'missing_payment' | 'missing_endpoint' | 'malformed_connector' | 'missing_connector' | 'static_risk_review_required' | 'rejected_entry' | 'unsafe_metadata_warning';
|
|
180
|
+
export type StaticAgentStackDraftState = {
|
|
181
|
+
code: StaticAgentStackDraftStateCode;
|
|
182
|
+
severity: AgentStackFixtureValidationWarning['severity'];
|
|
183
|
+
path?: string;
|
|
184
|
+
message: string;
|
|
185
|
+
};
|
|
186
|
+
export type StaticAgentStackDraftProfile = {
|
|
187
|
+
schemaVersion: 'reddi.agent-profile.draft.v1';
|
|
188
|
+
profileId: string;
|
|
189
|
+
displayName: string;
|
|
190
|
+
sourceType: 'static-agent-stack-fixture';
|
|
191
|
+
source: AgentStackFixtureSource;
|
|
192
|
+
capabilities: StaticAgentStackCapabilityInventoryEntry[];
|
|
193
|
+
invocation: {
|
|
194
|
+
endpointType: 'static-fixture-only';
|
|
195
|
+
endpointUrl?: string;
|
|
196
|
+
missingEndpoint: boolean;
|
|
197
|
+
};
|
|
198
|
+
payment: {
|
|
199
|
+
status: 'missing_payment_setup';
|
|
200
|
+
activation: 'disabled';
|
|
201
|
+
};
|
|
202
|
+
trust: {
|
|
203
|
+
sourceAuthenticity: 'verified_source_snapshot';
|
|
204
|
+
contentTrust: 'untrusted_imported_content';
|
|
205
|
+
verifiedProviderTrust: false;
|
|
206
|
+
};
|
|
207
|
+
policyRequirements: string[];
|
|
208
|
+
evidenceExpectations: string[];
|
|
209
|
+
rawSnapshotRefs: string[];
|
|
210
|
+
};
|
|
211
|
+
export type StaticAgentStackAiCatalogFragment = {
|
|
212
|
+
specVersion: '1.0';
|
|
213
|
+
resources: Array<{
|
|
214
|
+
id: string;
|
|
215
|
+
type: 'agent-stack-draft';
|
|
216
|
+
mediaType: 'application/vnd.reddi.agent-profile+json';
|
|
217
|
+
name: string;
|
|
218
|
+
description: string;
|
|
219
|
+
capabilities: string[];
|
|
220
|
+
source: {
|
|
221
|
+
url: string;
|
|
222
|
+
checkedCommit: string;
|
|
223
|
+
checkedRef?: string;
|
|
224
|
+
};
|
|
225
|
+
trust: {
|
|
226
|
+
status: 'unverified';
|
|
227
|
+
note: string;
|
|
228
|
+
};
|
|
229
|
+
payment: {
|
|
230
|
+
status: 'missing_payment_setup';
|
|
231
|
+
};
|
|
232
|
+
}>;
|
|
233
|
+
};
|
|
234
|
+
export type StaticAgentStackListingPayload = {
|
|
235
|
+
schemaVersion: 'reddi.registry-listing.draft.v1';
|
|
236
|
+
listingId: string;
|
|
237
|
+
status: 'draft' | 'needs_review' | 'blocked';
|
|
238
|
+
profileRef: string;
|
|
239
|
+
publicationDisabled: true;
|
|
240
|
+
operatorReviewRequired: true;
|
|
241
|
+
states: StaticAgentStackDraftState[];
|
|
242
|
+
};
|
|
243
|
+
export type StaticAgentStackDraftPayloads = {
|
|
244
|
+
schemaVersion: typeof STATIC_AGENT_STACK_DRAFT_PAYLOADS_SCHEMA_VERSION;
|
|
245
|
+
profile: StaticAgentStackDraftProfile;
|
|
246
|
+
aiCatalogFragment: StaticAgentStackAiCatalogFragment;
|
|
247
|
+
listing: StaticAgentStackListingPayload;
|
|
248
|
+
};
|
|
249
|
+
export type StaticAgentStackOperatorReviewStatus = 'approve_ready' | 'request_changes' | 'rejected' | 'suspended';
|
|
250
|
+
export type StaticAgentStackOperatorReviewStateCode = 'approve_ready_draft' | 'rejected_malformed_connector' | 'request_changes_missing_payment' | 'unsafe_metadata_warning' | 'suspended_imported_listing' | 'static_risk_blocker';
|
|
251
|
+
export type StaticAgentStackOperatorReviewItem = {
|
|
252
|
+
id: string;
|
|
253
|
+
state: StaticAgentStackOperatorReviewStateCode;
|
|
254
|
+
severity: AgentStackFixtureValidationWarning['severity'];
|
|
255
|
+
path?: string;
|
|
256
|
+
source: 'draft_payload' | 'connector_diagnostic' | 'risk_diagnostic' | 'rejected_entry' | 'validation_warning';
|
|
257
|
+
reasonCodes: string[];
|
|
258
|
+
message: string;
|
|
259
|
+
blocksPublication: boolean;
|
|
260
|
+
recommendedAction: 'approve_after_readiness_gates' | 'request_payment_setup' | 'request_endpoint_binding' | 'reject_or_fix_malformed_connector' | 'review_static_risk' | 'review_unsafe_metadata' | 'keep_suspended';
|
|
261
|
+
};
|
|
262
|
+
export type StaticAgentStackOperatorReviewGroup = {
|
|
263
|
+
groupId: string;
|
|
264
|
+
name: string;
|
|
265
|
+
sourceKind: AgentStackFixtureSurfaceKind;
|
|
266
|
+
sourcePath: string;
|
|
267
|
+
runtimeSurface?: string;
|
|
268
|
+
capabilityRefs: string[];
|
|
269
|
+
writeCapable: boolean;
|
|
270
|
+
humanReviewRequired: boolean;
|
|
271
|
+
rawSnapshotRefs: string[];
|
|
272
|
+
};
|
|
273
|
+
export type StaticAgentStackOperatorReviewPayload = {
|
|
274
|
+
schemaVersion: typeof STATIC_AGENT_STACK_OPERATOR_REVIEW_PAYLOAD_SCHEMA_VERSION;
|
|
275
|
+
reviewId: string;
|
|
276
|
+
corpusId: string;
|
|
277
|
+
status: StaticAgentStackOperatorReviewStatus;
|
|
278
|
+
source: {
|
|
279
|
+
sourceUrl: string;
|
|
280
|
+
checkedCommit: string;
|
|
281
|
+
checkedRef?: string;
|
|
282
|
+
sourceAuthenticity: 'source_snapshot_recorded';
|
|
283
|
+
providerTrust: 'unverified';
|
|
284
|
+
importedContentTrust: 'untrusted';
|
|
285
|
+
};
|
|
286
|
+
publication: {
|
|
287
|
+
disabled: true;
|
|
288
|
+
requiresOperatorApproval: true;
|
|
289
|
+
readinessGateRefs: ['#373', '#377'];
|
|
290
|
+
};
|
|
291
|
+
payment: {
|
|
292
|
+
status: 'missing_payment_setup';
|
|
293
|
+
activation: 'disabled';
|
|
294
|
+
operatorAction: 'request_payment_setup';
|
|
295
|
+
};
|
|
296
|
+
groups: StaticAgentStackOperatorReviewGroup[];
|
|
297
|
+
reviewItems: StaticAgentStackOperatorReviewItem[];
|
|
298
|
+
buyerPreview: {
|
|
299
|
+
capabilityRelevance: 'static_capability_inventory_only';
|
|
300
|
+
sourceAuthenticity: 'snapshot_recorded_not_provider_trust';
|
|
301
|
+
trustEvidence: 'unverified_until_operator_review';
|
|
302
|
+
paymentReadiness: 'missing_payment_setup';
|
|
303
|
+
safetyRisk: 'operator_review_required';
|
|
304
|
+
reputation: 'none_for_imported_fixture';
|
|
305
|
+
};
|
|
306
|
+
rawSnapshotRefs: string[];
|
|
307
|
+
};
|
|
308
|
+
export type StaticAgentStackOperatorReviewFixtureState = 'approve_ready_draft' | 'request_changes_draft' | 'rejected_draft' | 'suspended_draft';
|
|
309
|
+
export type StaticAgentStackOperatorReviewFixtureViewport = {
|
|
310
|
+
name: 'mobile' | 'tablet' | 'desktop';
|
|
311
|
+
width: number;
|
|
312
|
+
height: number;
|
|
313
|
+
requiredStates: StaticAgentStackOperatorReviewStateCode[];
|
|
314
|
+
requiredGroupKinds: AgentStackFixtureSurfaceKind[];
|
|
315
|
+
};
|
|
316
|
+
export type StaticAgentStackOperatorReviewFixture = {
|
|
317
|
+
fixtureId: string;
|
|
318
|
+
description: string;
|
|
319
|
+
fixtureState: StaticAgentStackOperatorReviewFixtureState;
|
|
320
|
+
queueState: StaticAgentStackOperatorReviewStatus;
|
|
321
|
+
uiTestRefs: string[];
|
|
322
|
+
operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
323
|
+
requiredReviewItemStates: StaticAgentStackOperatorReviewStateCode[];
|
|
324
|
+
requiredGroupKinds: AgentStackFixtureSurfaceKind[];
|
|
325
|
+
requiredRiskCategories: StaticAgentStackRiskCategory[];
|
|
326
|
+
viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
327
|
+
staticOnly: true;
|
|
328
|
+
guardrails: readonly string[];
|
|
329
|
+
};
|
|
330
|
+
export type StaticAgentStackIngestionResult = {
|
|
331
|
+
schemaVersion: typeof STATIC_AGENT_STACK_INGESTION_RESULT_SCHEMA_VERSION;
|
|
332
|
+
corpusId: string;
|
|
333
|
+
title: string;
|
|
334
|
+
source: AgentStackFixtureSource;
|
|
335
|
+
status: StaticAgentStackIngestionStatus;
|
|
336
|
+
inventory: StaticAgentStackInventoryEntry[];
|
|
337
|
+
capabilityInventory: StaticAgentStackCapabilityInventoryBundle;
|
|
338
|
+
connectorDiagnostics: StaticAgentStackConnectorDiagnostic[];
|
|
339
|
+
riskDiagnostics: StaticAgentStackRiskDiagnostic[];
|
|
340
|
+
rejectedEntries: StaticAgentStackRejectedEntry[];
|
|
341
|
+
warnings: AgentStackFixtureValidationWarning[];
|
|
342
|
+
draftPayloadReadiness: StaticAgentStackDraftPayloadReadiness;
|
|
343
|
+
draftPayloads: StaticAgentStackDraftPayloads;
|
|
344
|
+
operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
345
|
+
staticOnly: true;
|
|
346
|
+
nonGoals: string[];
|
|
347
|
+
};
|
|
348
|
+
export declare function validateAgentStackFixtureCorpus(input: unknown, options?: AgentStackFixtureValidationOptions): AgentStackFixtureValidationResult;
|
|
349
|
+
export declare function createAgentStackFixtureCorpus(input: unknown, options?: AgentStackFixtureValidationOptions): AgentStackFixtureCorpus;
|
|
350
|
+
export declare function createStaticAgentStackIngestionResult(input: unknown, options?: AgentStackFixtureValidationOptions): StaticAgentStackIngestionResult;
|
|
351
|
+
export declare const agentStackFixtureCorpora: {
|
|
352
|
+
readonly anthropicFinancialServices: {
|
|
353
|
+
readonly schemaVersion: "reddi.agent-stack-fixture-corpus.v1";
|
|
354
|
+
readonly id: "agent-stack-fixture:anthropic-financial-services:2026-06-18";
|
|
355
|
+
readonly title: "Anthropic financial-services agent stack public fixture";
|
|
356
|
+
readonly source: {
|
|
357
|
+
readonly sourceUrl: "https://github.com/anthropics/financial-services";
|
|
358
|
+
readonly checkedCommit: "4bbabc7cd1a474c1667fa05a2bfe58e411dcf9c1";
|
|
359
|
+
readonly checkedRef: "main";
|
|
360
|
+
readonly license: "Apache-2.0";
|
|
361
|
+
readonly sourceNotes: ["Public GitHub repository snapshot only; fixture does not install plugins or execute repository commands.", "Fixture records high-level manifest surfaces for onboarding analyser parser and diagnostics tests."];
|
|
362
|
+
readonly authenticityNotes: ["GitHub organization was verified for anthropic.com during local analysis.", "Anthropic public financial-services announcement linked to the repository during local analysis.", "Latest inspected main commit was GitHub-signature verified in the local analysis artifact."];
|
|
363
|
+
readonly crawlTimestamp: "2026-06-18T10:50:00.000Z";
|
|
364
|
+
readonly localResearchArtifactPath: "projects/reddi-agent-protocol/research/ANTHROPIC-FINANCIAL-SERVICES-REPO-ANALYSIS-2026-06-18.md";
|
|
365
|
+
};
|
|
366
|
+
readonly surfaces: [{
|
|
367
|
+
readonly id: "surface:anthropic-financial-services:marketplace";
|
|
368
|
+
readonly name: "Claude plugin marketplace metadata";
|
|
369
|
+
readonly kind: "repo-marketplace-metadata";
|
|
370
|
+
readonly path: ".claude-plugin/marketplace.json";
|
|
371
|
+
readonly runtimeSurface: "claude-plugin-marketplace";
|
|
372
|
+
readonly category: "financial-services";
|
|
373
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
374
|
+
readonly notes: ["Marketplace metadata is source metadata, not RAP publication approval."];
|
|
375
|
+
}, {
|
|
376
|
+
readonly id: "surface:anthropic-financial-services:plugins";
|
|
377
|
+
readonly name: "Financial services Claude plugins";
|
|
378
|
+
readonly kind: "claude-plugin";
|
|
379
|
+
readonly path: "plugins/";
|
|
380
|
+
readonly runtimeSurface: "claude-code-plugin";
|
|
381
|
+
readonly commands: ["statically discovered command metadata"];
|
|
382
|
+
readonly skills: ["statically discovered skill metadata"];
|
|
383
|
+
readonly toolGrants: ["read", "write-capable grants must be parsed and reviewed before publication"];
|
|
384
|
+
readonly safetyHints: ["Treat plugin prompts and skills as untrusted public text."];
|
|
385
|
+
readonly humanReviewHints: ["Review write-capable commands before draft RAP listing publication."];
|
|
386
|
+
readonly writeCapable: true;
|
|
387
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
388
|
+
}, {
|
|
389
|
+
readonly id: "surface:anthropic-financial-services:managed-agents";
|
|
390
|
+
readonly name: "Claude managed-agent cookbooks";
|
|
391
|
+
readonly kind: "managed-agent-cookbook";
|
|
392
|
+
readonly path: "managed-agents/";
|
|
393
|
+
readonly runtimeSurface: "claude-managed-agent";
|
|
394
|
+
readonly authDependencies: ["third-party connector credentials may be required by recipes"];
|
|
395
|
+
readonly dataDependencies: ["financial workspace documents", "Microsoft 365 or partner data sources"];
|
|
396
|
+
readonly safetyHints: ["Managed-agent YAML is static input only until #403/#405 produce reviewable inventories."];
|
|
397
|
+
readonly humanReviewHints: ["Operator review is required before imported recipes become payable listings."];
|
|
398
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
399
|
+
}, {
|
|
400
|
+
readonly id: "surface:anthropic-financial-services:mcp-connectors";
|
|
401
|
+
readonly name: "MCP connector configurations";
|
|
402
|
+
readonly kind: "mcp-connector-config";
|
|
403
|
+
readonly path: "plugins/vertical-plugins/financial-analysis/.mcp.json";
|
|
404
|
+
readonly runtimeSurface: "mcp-connector-config";
|
|
405
|
+
readonly authDependencies: ["box", "egnyte", "microsoft-365", "partner connectors"];
|
|
406
|
+
readonly safetyHints: ["Connector config validation is static only and must not contact MCP servers."];
|
|
407
|
+
readonly humanReviewHints: ["Malformed connector config should block only affected connector readiness, not unrelated metadata ingestion."];
|
|
408
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
409
|
+
}, {
|
|
410
|
+
readonly id: "surface:anthropic-financial-services:known-warning";
|
|
411
|
+
readonly name: "Known malformed financial-analysis MCP config";
|
|
412
|
+
readonly kind: "validation-warning";
|
|
413
|
+
readonly path: "plugins/vertical-plugins/financial-analysis/.mcp.json";
|
|
414
|
+
readonly safetyHints: ["Known invalid JSON is preserved as a regression fixture for #404."];
|
|
415
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
416
|
+
}];
|
|
417
|
+
readonly files: [{
|
|
418
|
+
readonly path: ".claude-plugin/marketplace.json";
|
|
419
|
+
readonly kind: "repo-marketplace-metadata";
|
|
420
|
+
readonly present: true;
|
|
421
|
+
readonly parseStatus: "not_parsed";
|
|
422
|
+
readonly mediaType: "application/json";
|
|
423
|
+
readonly summary: "Repository-level marketplace metadata for Claude plugin distribution.";
|
|
424
|
+
}, {
|
|
425
|
+
readonly path: "plugins/**/plugin.json";
|
|
426
|
+
readonly kind: "claude-plugin";
|
|
427
|
+
readonly present: true;
|
|
428
|
+
readonly parseStatus: "not_parsed";
|
|
429
|
+
readonly mediaType: "application/json";
|
|
430
|
+
readonly summary: "Plugin manifests for horizontal, vertical, and partner packages.";
|
|
431
|
+
}, {
|
|
432
|
+
readonly path: "managed-agents/**/agent.yaml";
|
|
433
|
+
readonly kind: "managed-agent-cookbook";
|
|
434
|
+
readonly present: true;
|
|
435
|
+
readonly parseStatus: "not_parsed";
|
|
436
|
+
readonly mediaType: "application/yaml";
|
|
437
|
+
readonly summary: "Managed-agent cookbook metadata; parser support belongs to #403.";
|
|
438
|
+
}, {
|
|
439
|
+
readonly path: "plugins/vertical-plugins/financial-analysis/.mcp.json";
|
|
440
|
+
readonly kind: "mcp-connector-config";
|
|
441
|
+
readonly present: true;
|
|
442
|
+
readonly parseStatus: "malformed";
|
|
443
|
+
readonly parseErrorLocation: "line 1 column 1";
|
|
444
|
+
readonly mediaType: "application/json";
|
|
445
|
+
readonly warningCodes: ["malformed_mcp_json"];
|
|
446
|
+
readonly summary: "Known malformed connector manifest from local analysis; full diagnostics belong to #404.";
|
|
447
|
+
}];
|
|
448
|
+
readonly validationWarnings: [{
|
|
449
|
+
readonly code: "malformed_mcp_json";
|
|
450
|
+
readonly severity: "warning";
|
|
451
|
+
readonly path: "plugins/vertical-plugins/financial-analysis/.mcp.json";
|
|
452
|
+
readonly message: "Known malformed JSON should fail closed for connector diagnostics while preserving partial static ingestion.";
|
|
453
|
+
}, {
|
|
454
|
+
readonly code: "untrusted_prompt_text";
|
|
455
|
+
readonly severity: "info";
|
|
456
|
+
readonly path: "plugins/";
|
|
457
|
+
readonly message: "Public prompt, skill, and command text is untrusted fixture content and cannot alter analyser behavior.";
|
|
458
|
+
}];
|
|
459
|
+
readonly staticOnly: true;
|
|
460
|
+
readonly nonGoals: ["Do not install Claude plugins.", "Do not execute repository scripts, commands, managed agents, or MCP servers.", "Do not fetch paid/provider data or require credentials.", "Do not publish imported surfaces as payable RAP listings without operator review."];
|
|
461
|
+
};
|
|
462
|
+
readonly solanaAiKit: {
|
|
463
|
+
readonly schemaVersion: "reddi.agent-stack-fixture-corpus.v1";
|
|
464
|
+
readonly id: "agent-stack-fixture:solanabr-solana-ai-kit:2026-06-19";
|
|
465
|
+
readonly title: "Solana AI Kit public agent-stack fixture";
|
|
466
|
+
readonly source: {
|
|
467
|
+
readonly sourceUrl: "https://github.com/solanabr/solana-ai-kit";
|
|
468
|
+
readonly checkedCommit: "4fb9d3d619467e068c1cf3120d3933aa933aeb21";
|
|
469
|
+
readonly checkedRef: "main";
|
|
470
|
+
readonly license: "MIT";
|
|
471
|
+
readonly sourceNotes: ["Public GitHub repository snapshot only; fixture does not install the kit, plugins, submodules, hooks, or MCP servers.", "Fixture records high-level Solana agent-stack surfaces for onboarding analyser parser, connector diagnostics, and operator-review tests."];
|
|
472
|
+
readonly authenticityNotes: ["GitHub repository metadata showed owner solanabr, MIT license, and default branch main during local analysis.", "Latest inspected commit was 4fb9d3d619467e068c1cf3120d3933aa933aeb21 with subject \"feat: v2.0.2 - deny browser-wallet storage access + gate-bash-secrets PreToolUse hook\".", "Local analysis confirmed a Solana-focused agent configuration toolkit with plugin metadata, agents, commands, MCP declarations, hooks, rules, skills, and submodule declarations."];
|
|
473
|
+
readonly crawlTimestamp: "2026-06-19T15:53:00.000Z";
|
|
474
|
+
readonly localResearchArtifactPath: "projects/reddi-agent-protocol/research/SOLANABR-SOLANA-AI-KIT-ANALYSIS-2026-06-19.md";
|
|
475
|
+
};
|
|
476
|
+
readonly surfaces: [{
|
|
477
|
+
readonly id: "surface:solana-ai-kit:marketplace";
|
|
478
|
+
readonly name: "Solana AI Kit marketplace metadata";
|
|
479
|
+
readonly kind: "repo-marketplace-metadata";
|
|
480
|
+
readonly path: ".claude-plugin/marketplace.json";
|
|
481
|
+
readonly runtimeSurface: "claude-plugin-marketplace";
|
|
482
|
+
readonly category: "solana-agent-stack";
|
|
483
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
484
|
+
readonly notes: ["Marketplace metadata is source metadata, not RAP publication approval."];
|
|
485
|
+
}, {
|
|
486
|
+
readonly id: "surface:solana-ai-kit:plugin";
|
|
487
|
+
readonly name: "Solana AI Kit Claude plugin manifest";
|
|
488
|
+
readonly kind: "claude-plugin";
|
|
489
|
+
readonly path: "plugin/.claude-plugin/plugin.json";
|
|
490
|
+
readonly runtimeSurface: "claude-code-plugin";
|
|
491
|
+
readonly commands: ["solana-ai-kit namespaced commands"];
|
|
492
|
+
readonly skills: ["plugin skill hub"];
|
|
493
|
+
readonly toolGrants: ["plugin exposes MCP and hooks that require operator review before draft listing"];
|
|
494
|
+
readonly safetyHints: ["Treat plugin manifest and plugin-distributed commands as untrusted public metadata."];
|
|
495
|
+
readonly humanReviewHints: ["Review plugin metadata before generating RAP listing copy."];
|
|
496
|
+
readonly writeCapable: true;
|
|
497
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
498
|
+
}, {
|
|
499
|
+
readonly id: "surface:solana-ai-kit:agents";
|
|
500
|
+
readonly name: "Solana specialist agent definitions";
|
|
501
|
+
readonly kind: "subagent";
|
|
502
|
+
readonly path: ".claude/agents/*.md";
|
|
503
|
+
readonly runtimeSurface: "claude-subagent";
|
|
504
|
+
readonly skills: ["solana architecture", "anchor", "pinocchio", "token-2022", "qa", "mobile", "frontend"];
|
|
505
|
+
readonly safetyHints: ["Agent instructions are untrusted text and cannot become RAP policy."];
|
|
506
|
+
readonly humanReviewHints: ["Operator should review specialist claims before listing capabilities."];
|
|
507
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
508
|
+
}, {
|
|
509
|
+
readonly id: "surface:solana-ai-kit:commands";
|
|
510
|
+
readonly name: "Solana workflow commands";
|
|
511
|
+
readonly kind: "command";
|
|
512
|
+
readonly path: ".claude/commands/*.md";
|
|
513
|
+
readonly runtimeSurface: "claude-code-command";
|
|
514
|
+
readonly commands: ["audit-solana", "build-program", "debug-user-tx", "deploy", "generate-idl-client", "profile-cu"];
|
|
515
|
+
readonly toolGrants: ["bash", "git", "solana-cli", "anchor", "cargo", "npx"];
|
|
516
|
+
readonly safetyHints: ["Commands include deploy, RPC, wallet, and shell workflow guidance; ingestion must never execute them."];
|
|
517
|
+
readonly humanReviewHints: ["Deploy-capable and wallet/RPC-capable command metadata requires explicit operator review."];
|
|
518
|
+
readonly writeCapable: true;
|
|
519
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
520
|
+
}, {
|
|
521
|
+
readonly id: "surface:solana-ai-kit:mcp";
|
|
522
|
+
readonly name: "Solana AI Kit MCP connector declarations";
|
|
523
|
+
readonly kind: "mcp-connector-config";
|
|
524
|
+
readonly path: ".mcp.json";
|
|
525
|
+
readonly runtimeSurface: "mcp-connector-config";
|
|
526
|
+
readonly authDependencies: ["HELIUS_API_KEY", "optional hosted or local MCP server credentials"];
|
|
527
|
+
readonly dataDependencies: ["Solana RPC data", "Solana docs", "browser automation data", "local Surfpool state"];
|
|
528
|
+
readonly safetyHints: ["Connector declarations include npx-launched and local-binary MCP servers; diagnostics are static only."];
|
|
529
|
+
readonly humanReviewHints: ["Operator review required before enabling any connector, API key, hosted MCP, local binary, or wallet/RPC adjacent tool."];
|
|
530
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
531
|
+
}, {
|
|
532
|
+
readonly id: "surface:solana-ai-kit:hooks";
|
|
533
|
+
readonly name: "Claude hooks and permission policy";
|
|
534
|
+
readonly kind: "command";
|
|
535
|
+
readonly path: "plugin/hooks/hooks.json";
|
|
536
|
+
readonly runtimeSurface: "claude-code-hooks";
|
|
537
|
+
readonly commands: ["SessionStart", "Stop", "PostToolUse", "PreToolUse"];
|
|
538
|
+
readonly toolGrants: ["bash", "pre-commit hooks", "pre-deploy hooks"];
|
|
539
|
+
readonly safetyHints: ["Hooks are executable shell metadata and must be review-gated before any draft publication."];
|
|
540
|
+
readonly humanReviewHints: ["Review hook behavior, private-path deny rules, formatting hooks, commit hooks, and deploy hooks."];
|
|
541
|
+
readonly writeCapable: true;
|
|
542
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
543
|
+
}, {
|
|
544
|
+
readonly id: "surface:solana-ai-kit:rules-skills";
|
|
545
|
+
readonly name: "Solana rules and skill hub";
|
|
546
|
+
readonly kind: "skill";
|
|
547
|
+
readonly path: ".claude/skills/*.md";
|
|
548
|
+
readonly runtimeSurface: "claude-skill";
|
|
549
|
+
readonly skills: ["Anchor rules", "Pinocchio rules", "Rust rules", "TypeScript rules", "Token-2022 guide"];
|
|
550
|
+
readonly safetyHints: ["Rules and skill markdown are untrusted checklist/reference text."];
|
|
551
|
+
readonly humanReviewHints: ["Use as acceptance-criteria inspiration only; do not copy claims into listing without review."];
|
|
552
|
+
readonly contentTrustBoundary: "untrusted_public_text";
|
|
553
|
+
}, {
|
|
554
|
+
readonly id: "surface:solana-ai-kit:external-submodules";
|
|
555
|
+
readonly name: "External skill submodule declarations";
|
|
556
|
+
readonly kind: "skill";
|
|
557
|
+
readonly path: ".gitmodules";
|
|
558
|
+
readonly runtimeSurface: "git-submodule-declarations";
|
|
559
|
+
readonly dataDependencies: ["18 external skill repositories declared but not initialized in the static fixture"];
|
|
560
|
+
readonly safetyHints: ["Submodule declarations are inventory only; ingestion must not clone or update them."];
|
|
561
|
+
readonly humanReviewHints: ["Review external source, license, and install risk before any derived listing."];
|
|
562
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
563
|
+
}, {
|
|
564
|
+
readonly id: "surface:solana-ai-kit:operator-review-warning";
|
|
565
|
+
readonly name: "Solana AI Kit operator-review blockers";
|
|
566
|
+
readonly kind: "validation-warning";
|
|
567
|
+
readonly path: "plugin/hooks/hooks.json";
|
|
568
|
+
readonly safetyHints: ["Executable hooks and deploy-capable commands are preserved as review blockers."];
|
|
569
|
+
readonly contentTrustBoundary: "metadata_only";
|
|
570
|
+
}];
|
|
571
|
+
readonly files: [{
|
|
572
|
+
readonly path: ".claude-plugin/marketplace.json";
|
|
573
|
+
readonly kind: "repo-marketplace-metadata";
|
|
574
|
+
readonly present: true;
|
|
575
|
+
readonly parseStatus: "not_parsed";
|
|
576
|
+
readonly mediaType: "application/json";
|
|
577
|
+
readonly summary: "Repository-level marketplace metadata for the Solana AI Kit plugin.";
|
|
578
|
+
}, {
|
|
579
|
+
readonly path: "plugin/.claude-plugin/plugin.json";
|
|
580
|
+
readonly kind: "claude-plugin";
|
|
581
|
+
readonly present: true;
|
|
582
|
+
readonly parseStatus: "not_parsed";
|
|
583
|
+
readonly mediaType: "application/json";
|
|
584
|
+
readonly summary: "Plugin manifest declaring package metadata, MCP server config, hooks, license, and keywords.";
|
|
585
|
+
}, {
|
|
586
|
+
readonly path: ".claude/agents/*.md";
|
|
587
|
+
readonly kind: "subagent";
|
|
588
|
+
readonly present: true;
|
|
589
|
+
readonly parseStatus: "not_parsed";
|
|
590
|
+
readonly mediaType: "text/markdown";
|
|
591
|
+
readonly summary: "Fifteen Solana-focused agent definitions represented as untrusted static metadata.";
|
|
592
|
+
}, {
|
|
593
|
+
readonly path: ".claude/commands/*.md";
|
|
594
|
+
readonly kind: "command";
|
|
595
|
+
readonly present: true;
|
|
596
|
+
readonly parseStatus: "not_parsed";
|
|
597
|
+
readonly mediaType: "text/markdown";
|
|
598
|
+
readonly warningCodes: ["deploy_capable_commands", "wallet_rpc_adjacent_commands"];
|
|
599
|
+
readonly summary: "Twenty-nine workflow command definitions including deploy, debug-user-tx, audit, and IDL/client generation.";
|
|
600
|
+
}, {
|
|
601
|
+
readonly path: ".mcp.json";
|
|
602
|
+
readonly kind: "mcp-connector-config";
|
|
603
|
+
readonly present: true;
|
|
604
|
+
readonly parseStatus: "valid";
|
|
605
|
+
readonly mediaType: "application/json";
|
|
606
|
+
readonly warningCodes: ["npx_mcp_execution", "env_required_connector", "local_binary_required"];
|
|
607
|
+
readonly summary: "Seven MCP server declarations: Helius, solana-dev, Context7, Playwright, context-mode, memsearch, and Surfpool.";
|
|
608
|
+
}, {
|
|
609
|
+
readonly path: "plugin/hooks/hooks.json";
|
|
610
|
+
readonly kind: "command";
|
|
611
|
+
readonly present: true;
|
|
612
|
+
readonly parseStatus: "not_parsed";
|
|
613
|
+
readonly mediaType: "application/json";
|
|
614
|
+
readonly warningCodes: ["executable_hooks", "mainnet_deploy_guard_required"];
|
|
615
|
+
readonly summary: "Claude Code hook metadata with shell commands for session, formatting, commit, and deploy gates.";
|
|
616
|
+
}, {
|
|
617
|
+
readonly path: ".claude/settings.json";
|
|
618
|
+
readonly kind: "command";
|
|
619
|
+
readonly present: true;
|
|
620
|
+
readonly parseStatus: "not_parsed";
|
|
621
|
+
readonly mediaType: "application/json";
|
|
622
|
+
readonly warningCodes: ["permission_policy", "private_path_denylist"];
|
|
623
|
+
readonly summary: "Claude Code permissions, sandbox, MCP, and hook policy metadata.";
|
|
624
|
+
}, {
|
|
625
|
+
readonly path: ".gitmodules";
|
|
626
|
+
readonly kind: "skill";
|
|
627
|
+
readonly present: true;
|
|
628
|
+
readonly parseStatus: "not_parsed";
|
|
629
|
+
readonly mediaType: "text/plain";
|
|
630
|
+
readonly warningCodes: ["external_submodules_declared"];
|
|
631
|
+
readonly summary: "Eighteen external skill submodule declarations; ingestion must not initialize them.";
|
|
632
|
+
}, {
|
|
633
|
+
readonly path: "install.sh";
|
|
634
|
+
readonly kind: "command";
|
|
635
|
+
readonly present: true;
|
|
636
|
+
readonly parseStatus: "not_parsed";
|
|
637
|
+
readonly mediaType: "text/x-shellscript";
|
|
638
|
+
readonly warningCodes: ["installer_script_non_executable_fixture"];
|
|
639
|
+
readonly summary: "Installer script recorded as static file metadata only.";
|
|
640
|
+
}];
|
|
641
|
+
readonly validationWarnings: [{
|
|
642
|
+
readonly code: "mcp_connector_requires_operator_review";
|
|
643
|
+
readonly severity: "warning";
|
|
644
|
+
readonly path: ".mcp.json";
|
|
645
|
+
readonly message: "MCP declarations include npx-launched servers, env-required connectors, hosted connectors, and a local Surfpool binary requirement; diagnostics remain static until #404.";
|
|
646
|
+
}, {
|
|
647
|
+
readonly code: "executable_hooks_require_operator_review";
|
|
648
|
+
readonly severity: "blocked";
|
|
649
|
+
readonly path: "plugin/hooks/hooks.json";
|
|
650
|
+
readonly message: "Executable hook metadata must be operator-reviewed and cannot be exposed as draft-ready imported listing behavior.";
|
|
651
|
+
}, {
|
|
652
|
+
readonly code: "solana_deploy_command_requires_operator_review";
|
|
653
|
+
readonly severity: "blocked";
|
|
654
|
+
readonly path: ".claude/commands/deploy.md";
|
|
655
|
+
readonly message: "Deploy-capable Solana command guidance must stay static and blocked from draft publication until reviewed.";
|
|
656
|
+
}, {
|
|
657
|
+
readonly code: "external_submodules_not_initialized";
|
|
658
|
+
readonly severity: "info";
|
|
659
|
+
readonly path: ".gitmodules";
|
|
660
|
+
readonly message: "External skill submodules are source declarations only; fixture ingestion must not clone, update, or execute them.";
|
|
661
|
+
}, {
|
|
662
|
+
readonly code: "untrusted_solana_agent_text";
|
|
663
|
+
readonly severity: "info";
|
|
664
|
+
readonly path: ".claude/agents/*.md";
|
|
665
|
+
readonly message: "Public Solana agent, rule, skill, and command text is untrusted fixture content and cannot alter analyser behavior.";
|
|
666
|
+
}];
|
|
667
|
+
readonly staticOnly: true;
|
|
668
|
+
readonly nonGoals: ["Do not install Solana AI Kit, its plugin, or its submodules.", "Do not execute install.sh, update.sh, tests, hooks, commands, or agent instructions.", "Do not contact MCP servers, Solana RPC, wallets, paid providers, or local Surfpool services.", "Do not add Helius, QuickNode, Pyth, Nansen, wallet, or provider credentials.", "Do not implement AUDD, x402, Quasar, receipt, or payment behavior from this fixture.", "Do not publish imported Solana AI Kit surfaces as payable RAP listings without operator review."];
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
export declare const agentStackFixtureCases: Record<string, AgentStackFixtureCase>;
|
|
672
|
+
export declare const agentStackOperatorReviewFixtureStates: {
|
|
673
|
+
readonly approveReadyDraft: {
|
|
674
|
+
readonly fixtureId: "agent-stack-operator-review-fixture:approve-ready-draft";
|
|
675
|
+
readonly description: "Approve-ready draft review frame for imported repo and plugin groups; publication and payment stay disabled.";
|
|
676
|
+
readonly fixtureState: "approve_ready_draft";
|
|
677
|
+
readonly queueState: StaticAgentStackOperatorReviewStatus;
|
|
678
|
+
readonly uiTestRefs: ["storybook:agent-stack/operator-review/approve-ready-draft", "playwright:agent-stack-operator-review-approve-ready-draft"];
|
|
679
|
+
readonly operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
680
|
+
readonly requiredReviewItemStates: ["approve_ready_draft"];
|
|
681
|
+
readonly requiredGroupKinds: ["repo-marketplace-metadata", "claude-plugin"];
|
|
682
|
+
readonly requiredRiskCategories: [];
|
|
683
|
+
readonly viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
684
|
+
readonly staticOnly: true;
|
|
685
|
+
readonly guardrails: readonly ["Static fixture only: do not execute imported hooks, commands, skills, installers, tests, or agent instructions.", "Do not fetch repositories, submodules, MCP servers, RPC endpoints, wallets, paid providers, or payment rails.", "Do not store secrets, private operational metadata, credential-shaped values, wallet keys, or provider tokens.", "Do not activate live payment, publication, provider trust, reputation, registry listing, or endpoint binding from this fixture."];
|
|
686
|
+
};
|
|
687
|
+
readonly requestChangesMissingPayment: {
|
|
688
|
+
readonly fixtureId: "agent-stack-operator-review-fixture:request-changes-missing-payment";
|
|
689
|
+
readonly description: "Request-changes draft review frame for missing payment and endpoint setup.";
|
|
690
|
+
readonly fixtureState: "request_changes_draft";
|
|
691
|
+
readonly queueState: StaticAgentStackOperatorReviewStatus;
|
|
692
|
+
readonly uiTestRefs: ["storybook:agent-stack/operator-review/request-changes-missing-payment", "playwright:agent-stack-operator-review-request-changes-missing-payment"];
|
|
693
|
+
readonly operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
694
|
+
readonly requiredReviewItemStates: ["request_changes_missing_payment"];
|
|
695
|
+
readonly requiredGroupKinds: ["repo-marketplace-metadata", "claude-plugin"];
|
|
696
|
+
readonly requiredRiskCategories: [];
|
|
697
|
+
readonly viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
698
|
+
readonly staticOnly: true;
|
|
699
|
+
readonly guardrails: readonly ["Static fixture only: do not execute imported hooks, commands, skills, installers, tests, or agent instructions.", "Do not fetch repositories, submodules, MCP servers, RPC endpoints, wallets, paid providers, or payment rails.", "Do not store secrets, private operational metadata, credential-shaped values, wallet keys, or provider tokens.", "Do not activate live payment, publication, provider trust, reputation, registry listing, or endpoint binding from this fixture."];
|
|
700
|
+
};
|
|
701
|
+
readonly rejectedMalformedConnector: {
|
|
702
|
+
readonly fixtureId: "agent-stack-operator-review-fixture:rejected-malformed-connector";
|
|
703
|
+
readonly description: "Rejected draft review frame for malformed connector and unsafe metadata warnings.";
|
|
704
|
+
readonly fixtureState: "rejected_draft";
|
|
705
|
+
readonly queueState: StaticAgentStackOperatorReviewStatus;
|
|
706
|
+
readonly uiTestRefs: ["storybook:agent-stack/operator-review/rejected-malformed-connector", "playwright:agent-stack-operator-review-rejected-malformed-connector"];
|
|
707
|
+
readonly operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
708
|
+
readonly requiredReviewItemStates: ["rejected_malformed_connector", "unsafe_metadata_warning", "request_changes_missing_payment"];
|
|
709
|
+
readonly requiredGroupKinds: ["repo-marketplace-metadata", "claude-plugin", "mcp-connector-config"];
|
|
710
|
+
readonly requiredRiskCategories: [];
|
|
711
|
+
readonly viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
712
|
+
readonly staticOnly: true;
|
|
713
|
+
readonly guardrails: readonly ["Static fixture only: do not execute imported hooks, commands, skills, installers, tests, or agent instructions.", "Do not fetch repositories, submodules, MCP servers, RPC endpoints, wallets, paid providers, or payment rails.", "Do not store secrets, private operational metadata, credential-shaped values, wallet keys, or provider tokens.", "Do not activate live payment, publication, provider trust, reputation, registry listing, or endpoint binding from this fixture."];
|
|
714
|
+
};
|
|
715
|
+
readonly suspendedUnsafeMetadata: {
|
|
716
|
+
readonly fixtureId: "agent-stack-operator-review-fixture:suspended-unsafe-metadata";
|
|
717
|
+
readonly description: "Suspended draft review frame for blocked unsafe imported metadata.";
|
|
718
|
+
readonly fixtureState: "suspended_draft";
|
|
719
|
+
readonly queueState: StaticAgentStackOperatorReviewStatus;
|
|
720
|
+
readonly uiTestRefs: ["storybook:agent-stack/operator-review/suspended-unsafe-metadata", "playwright:agent-stack-operator-review-suspended-unsafe-metadata"];
|
|
721
|
+
readonly operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
722
|
+
readonly requiredReviewItemStates: ["suspended_imported_listing", "unsafe_metadata_warning"];
|
|
723
|
+
readonly requiredGroupKinds: ["repo-marketplace-metadata", "claude-plugin", "mcp-connector-config"];
|
|
724
|
+
readonly requiredRiskCategories: [];
|
|
725
|
+
readonly viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
726
|
+
readonly staticOnly: true;
|
|
727
|
+
readonly guardrails: readonly ["Static fixture only: do not execute imported hooks, commands, skills, installers, tests, or agent instructions.", "Do not fetch repositories, submodules, MCP servers, RPC endpoints, wallets, paid providers, or payment rails.", "Do not store secrets, private operational metadata, credential-shaped values, wallet keys, or provider tokens.", "Do not activate live payment, publication, provider trust, reputation, registry listing, or endpoint binding from this fixture."];
|
|
728
|
+
};
|
|
729
|
+
readonly solanaAiKitBlocked: {
|
|
730
|
+
readonly fixtureId: "agent-stack-operator-review-fixture:solana-ai-kit-blocked";
|
|
731
|
+
readonly description: "Solana AI Kit blocked review frame for hooks, deploy commands, env-required MCPs, local binaries, and submodules.";
|
|
732
|
+
readonly fixtureState: "suspended_draft";
|
|
733
|
+
readonly queueState: StaticAgentStackOperatorReviewStatus;
|
|
734
|
+
readonly uiTestRefs: ["storybook:agent-stack/operator-review/solana-ai-kit-blocked", "playwright:agent-stack-operator-review-solana-ai-kit-blocked"];
|
|
735
|
+
readonly operatorReviewPayload: StaticAgentStackOperatorReviewPayload;
|
|
736
|
+
readonly requiredReviewItemStates: ["static_risk_blocker", "suspended_imported_listing"];
|
|
737
|
+
readonly requiredGroupKinds: ["repo-marketplace-metadata", "claude-plugin", "command", "mcp-connector-config", "skill"];
|
|
738
|
+
readonly requiredRiskCategories: ["executable_hook", "deploy_capable_command", "env_required_connector", "local_binary_requirement", "external_submodule"];
|
|
739
|
+
readonly viewportCoverage: StaticAgentStackOperatorReviewFixtureViewport[];
|
|
740
|
+
readonly staticOnly: true;
|
|
741
|
+
readonly guardrails: readonly ["Static fixture only: do not execute imported hooks, commands, skills, installers, tests, or agent instructions.", "Do not fetch repositories, submodules, MCP servers, RPC endpoints, wallets, paid providers, or payment rails.", "Do not store secrets, private operational metadata, credential-shaped values, wallet keys, or provider tokens.", "Do not activate live payment, publication, provider trust, reputation, registry listing, or endpoint binding from this fixture."];
|
|
742
|
+
};
|
|
743
|
+
};
|