@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123
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/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +2365 -1275
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +55 -55
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +496 -292
- package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1178 -1152
- package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +49 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +3 -4
- package/dist/capacity/agents/agent-capacity.js +2 -3
- package/dist/capacity-provider/capability-ontology.d.ts +150 -150
- package/dist/capacity-provider/client.d.ts +15 -9
- package/dist/capacity-provider/client.js +1 -10
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +188 -188
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
- package/dist/capacity-provider/source-workspace.d.ts +166 -68
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
- package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
- package/dist/content/validation/content-model-schemas.js +192 -115
- package/dist/content/validation/portable-content-data.d.ts +411 -238
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +24 -24
- package/dist/deployment/ai-hosting.d.ts +18 -18
- package/dist/deployment/ai-instance.d.ts +16 -16
- package/dist/deployment/ai-mode.d.ts +92 -92
- package/dist/deployment/hosted-topology-template.d.ts +44 -44
- package/dist/deployment/hosted-topology.d.ts +335 -335
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +6 -6
- package/dist/deployment/schemas.d.ts +1114 -1114
- package/dist/development/schemas.d.ts +633 -633
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +25 -9
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
- package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
- package/dist/operator-contracts/communication/contracts.d.ts +537 -395
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
- package/dist/operator-contracts/control-plane-operations.js +26 -12
- package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
- package/dist/operator-contracts/workday-lifecycle.js +109 -45
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +377 -0
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +10 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +3 -3
- package/dist/secrets-capability/shared-resources.d.ts +50 -50
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +14 -14
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +9 -3
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import type { ExecutionUsageActual } from '../types/agents.js';
|
|
2
|
-
import type { ResearchCitation } from './contracts/support/research-citation.js';
|
|
3
|
-
import { type ArtifactMutationReceipt } from './artifact-mutation-receipt.js';
|
|
4
|
-
export interface AgentToolEventReference {
|
|
5
|
-
id: string;
|
|
6
|
-
toolId: string;
|
|
7
|
-
status: 'completed' | 'failed';
|
|
8
|
-
operation?: string | null;
|
|
9
|
-
startedAt?: string | null;
|
|
10
|
-
completedAt?: string | null;
|
|
11
|
-
durationMs?: number | null;
|
|
12
|
-
derivedEventTypes: string[];
|
|
13
|
-
capturedInputRef?: string | null;
|
|
14
|
-
capturedOutputRef?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface AgentContentReference {
|
|
17
|
-
model: string;
|
|
18
|
-
contentPath: string;
|
|
19
|
-
receiptId: string;
|
|
20
|
-
toolEventId: string;
|
|
21
|
-
subjectId?: string | null;
|
|
22
|
-
subjectField?: string | null;
|
|
23
|
-
artifactKind?: string | null;
|
|
24
|
-
producedByAgent?: string | null;
|
|
25
|
-
commitSha?: string | null;
|
|
26
|
-
ref?: string | null;
|
|
27
|
-
groupIds?: string[];
|
|
28
|
-
}
|
|
29
|
-
export interface AgentSourceWorktreeReference {
|
|
30
|
-
root?: string | null;
|
|
31
|
-
branch?: string | null;
|
|
32
|
-
baseRef?: string | null;
|
|
33
|
-
changedPaths: string[];
|
|
34
|
-
}
|
|
35
|
-
export interface AgentCommitReference {
|
|
36
|
-
sha: string;
|
|
37
|
-
ref?: string | null;
|
|
38
|
-
message?: string | null;
|
|
39
|
-
}
|
|
40
|
-
export interface AgentVerificationResult {
|
|
41
|
-
status: 'passed' | 'failed' | 'not-run' | 'unknown' | string;
|
|
42
|
-
summary?: string | null;
|
|
43
|
-
commands?: string[];
|
|
44
|
-
evidenceRefs?: string[];
|
|
45
|
-
}
|
|
46
|
-
export interface AgentSignal {
|
|
47
|
-
code: string;
|
|
48
|
-
severity: 'info' | 'warning' | 'error';
|
|
49
|
-
message?: string | null;
|
|
50
|
-
metadata?: Record<string, unknown>;
|
|
51
|
-
}
|
|
52
|
-
export interface AgentControlPlaneReference {
|
|
53
|
-
kind: string;
|
|
54
|
-
id: string;
|
|
55
|
-
status?: string | null;
|
|
56
|
-
metadata?: Record<string, unknown>;
|
|
57
|
-
}
|
|
58
|
-
export interface AgentDiagnosticReference {
|
|
59
|
-
code: string;
|
|
60
|
-
message?: string | null;
|
|
61
|
-
retryable?: boolean | null;
|
|
62
|
-
evidenceRef?: string | null;
|
|
63
|
-
}
|
|
64
|
-
export interface ArtifactRef {
|
|
65
|
-
contract: 'treeseed.artifact-ref/v1';
|
|
66
|
-
kind: 'treedx-content' | 'repository-file' | 'r2-object' | 'verification-evidence' | 'provider-input' | 'provider-output' | 'citation' | 'source-commit';
|
|
67
|
-
repositoryId?: string;
|
|
68
|
-
workspaceId?: string;
|
|
69
|
-
path?: string;
|
|
70
|
-
commitSha?: string | null;
|
|
71
|
-
objectKey?: string;
|
|
72
|
-
sha256: string | null;
|
|
73
|
-
byteLength?: number;
|
|
74
|
-
mediaType?: string;
|
|
75
|
-
visibility: 'private' | 'assignment' | 'project' | 'team' | 'public';
|
|
76
|
-
assignmentId?: string;
|
|
77
|
-
toolCallId?: string;
|
|
78
|
-
eventId?: string;
|
|
79
|
-
provenance?: Record<string, string>;
|
|
80
|
-
}
|
|
81
|
-
/** Portable, secret-free terminal evidence emitted by AgentKernel. */
|
|
82
|
-
export interface AgentArtifactManifest {
|
|
83
|
-
schemaVersion: 1;
|
|
84
|
-
assignmentId: string;
|
|
85
|
-
modeRunId: string;
|
|
86
|
-
teamId: string;
|
|
87
|
-
projectId: string;
|
|
88
|
-
workDayId?: string | null;
|
|
89
|
-
providerId: string;
|
|
90
|
-
runnerId?: string | null;
|
|
91
|
-
executionProviderId?: string | null;
|
|
92
|
-
mode: 'planning' | 'acting';
|
|
93
|
-
agentClassId: string;
|
|
94
|
-
agentId: string;
|
|
95
|
-
handlerId: string;
|
|
96
|
-
activityType: string;
|
|
97
|
-
status: 'completed' | 'returned' | 'failed';
|
|
98
|
-
summary: string;
|
|
99
|
-
toolEvents: AgentToolEventReference[];
|
|
100
|
-
contentReferences: AgentContentReference[];
|
|
101
|
-
mutationReceipts?: ArtifactMutationReceipt[];
|
|
102
|
-
artifactReferences?: ArtifactRef[];
|
|
103
|
-
sourceWorktree?: AgentSourceWorktreeReference;
|
|
104
|
-
commit?: AgentCommitReference;
|
|
105
|
-
verification: AgentVerificationResult[];
|
|
106
|
-
citations: ResearchCitation[];
|
|
107
|
-
signals: AgentSignal[];
|
|
108
|
-
controlPlaneReferences?: AgentControlPlaneReference[];
|
|
109
|
-
usage: ExecutionUsageActual[];
|
|
110
|
-
diagnostics: AgentDiagnosticReference[];
|
|
111
|
-
createdAt: string;
|
|
112
|
-
}
|
|
113
|
-
export declare function validateAgentArtifactManifest(manifest: AgentArtifactManifest, expected?: {
|
|
114
|
-
publishedSignals?: unknown;
|
|
115
|
-
artifactContracts?: unknown;
|
|
116
|
-
signalContracts?: unknown;
|
|
117
|
-
}): {
|
|
118
|
-
ok: false;
|
|
119
|
-
reason: string;
|
|
120
|
-
} | {
|
|
121
|
-
ok: true;
|
|
122
|
-
reason?: undefined;
|
|
123
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { validateResearchCitations } from "./validation/research/citation.js";
|
|
2
|
-
import { validateArtifactMutationReceipt } from "./artifact-mutation-receipt.js";
|
|
3
|
-
function validateAgentArtifactManifest(manifest, expected = {}) {
|
|
4
|
-
const invalidReceipt = (manifest.mutationReceipts ?? []).find((receipt) => {
|
|
5
|
-
const validation = validateArtifactMutationReceipt(receipt);
|
|
6
|
-
return !validation.ok || receipt.assignmentId !== manifest.assignmentId || receipt.modeRunId !== manifest.modeRunId || receipt.teamId !== manifest.teamId || receipt.projectId !== manifest.projectId;
|
|
7
|
-
});
|
|
8
|
-
if (invalidReceipt) return { ok: false, reason: "Artifact mutation receipt is invalid or outside the manifest authority scope." };
|
|
9
|
-
if ((manifest.artifactReferences ?? []).some((reference) => reference.contract !== "treeseed.artifact-ref/v1" || typeof reference.sha256 === "string" && !/^[0-9a-f]{64}$/u.test(reference.sha256) || "signedUrl" in reference || "credentials" in reference)) {
|
|
10
|
-
return { ok: false, reason: "Artifact references must be stable, digest-addressed, and secret-free." };
|
|
11
|
-
}
|
|
12
|
-
const citationValidation = validateResearchCitations(manifest.citations, "artifactManifest.citations");
|
|
13
|
-
if (!citationValidation.ok) {
|
|
14
|
-
return { ok: false, reason: citationValidation.diagnostics.map((diagnostic) => `${diagnostic.code} at ${diagnostic.path}`).join(", ") };
|
|
15
|
-
}
|
|
16
|
-
if (manifest.status !== "completed") return { ok: true };
|
|
17
|
-
const ids = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string" && Boolean(entry.trim())).map((entry) => entry.replace(/_/gu, "-")) : [];
|
|
18
|
-
const producedSignals = new Set(manifest.signals.map((signal) => signal.code.replace(/_/gu, "-")));
|
|
19
|
-
const requestedSignals = [...ids(expected.publishedSignals), ...ids(expected.signalContracts)];
|
|
20
|
-
const missingSignals = requestedSignals.filter((id) => !producedSignals.has(id));
|
|
21
|
-
if (missingSignals.length) return {
|
|
22
|
-
ok: false,
|
|
23
|
-
reason: `Completed agent execution omitted validated publications: ${missingSignals.map((id) => `signal:${id}`).join(", ")}.`
|
|
24
|
-
};
|
|
25
|
-
const producedArtifacts = new Set(manifest.contentReferences.map((reference) => reference.artifactKind?.replace(/_/gu, "-")).filter(Boolean));
|
|
26
|
-
const missingArtifacts = ids(expected.artifactContracts).filter((id) => !producedArtifacts.has(id));
|
|
27
|
-
if (missingArtifacts.length) return {
|
|
28
|
-
ok: false,
|
|
29
|
-
reason: `Completed agent execution omitted validated publications: ${missingArtifacts.map((id) => `artifact:${id}`).join(", ")}.`
|
|
30
|
-
};
|
|
31
|
-
if (manifest.contentReferences.some((reference) => reference.model === "note" && (!reference.subjectId || !reference.subjectField))) {
|
|
32
|
-
return { ok: false, reason: "Completed note receipt is missing its validated subject link." };
|
|
33
|
-
}
|
|
34
|
-
if (manifest.contentReferences.length || manifest.sourceWorktree || manifest.verification.length || manifest.controlPlaneReferences?.length) return { ok: true };
|
|
35
|
-
return { ok: false, reason: "Completed agent execution did not produce a TreeDX content receipt, durable control-plane output, source worktree change, or verification result." };
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
validateAgentArtifactManifest
|
|
39
|
-
};
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import type { ContentReference } from '../../../content/contracts.js';
|
|
2
|
-
import type { AgentArtifactManifest } from '../../artifacts.js';
|
|
3
|
-
import type { GroupMembershipSnapshot } from '../../../governance/groups/contracts.js';
|
|
4
|
-
export type AgentPlanningActivityType = 'planning' | 'estimating' | 'reviewing' | 'reporting';
|
|
5
|
-
export type ContentRef = ContentReference;
|
|
6
|
-
export type AgentEstimateConfidence = 'low' | 'medium' | 'high';
|
|
7
|
-
export type AgentEstimateRiskLevel = 'low' | 'medium' | 'high';
|
|
8
|
-
export type DecisionDependencyType = 'artifact' | 'capability' | 'decision' | 'external-resource' | 'human-input';
|
|
9
|
-
export type StructuredAgentEstimateStatus = 'submitted' | 'accepted' | 'rejected' | 'superseded';
|
|
10
|
-
export interface ExactGovernanceRevision {
|
|
11
|
-
id: string;
|
|
12
|
-
version: number;
|
|
13
|
-
digest: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ProviderNativeEstimateRange {
|
|
16
|
-
unit: string;
|
|
17
|
-
minimum: number;
|
|
18
|
-
expected: number;
|
|
19
|
-
maximum: number;
|
|
20
|
-
providerCapabilities?: string[];
|
|
21
|
-
}
|
|
22
|
-
export interface AgentOutputRequirement {
|
|
23
|
-
id?: string;
|
|
24
|
-
outputType: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
contentModel?: string;
|
|
27
|
-
required?: boolean;
|
|
28
|
-
metadata?: Record<string, unknown>;
|
|
29
|
-
}
|
|
30
|
-
export interface DecisionDependencySpec {
|
|
31
|
-
id: string;
|
|
32
|
-
type: DecisionDependencyType;
|
|
33
|
-
requiredBefore: 'start' | 'complete' | 'review' | 'release';
|
|
34
|
-
optional?: boolean;
|
|
35
|
-
deliverableType?: string;
|
|
36
|
-
capability?: string;
|
|
37
|
-
contentRefs?: string[];
|
|
38
|
-
humanInputPolicy?: {
|
|
39
|
-
requiredFrom: 'team-human' | 'any-human' | 'any-human-or-agent';
|
|
40
|
-
teamId?: string | null;
|
|
41
|
-
};
|
|
42
|
-
summary?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface StructuredAgentEstimate {
|
|
45
|
-
schemaVersion?: 1 | 2 | 3;
|
|
46
|
-
id: string;
|
|
47
|
-
teamId: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
decisionId?: string | null;
|
|
50
|
-
proposalId?: string | null;
|
|
51
|
-
workUnitId?: string | null;
|
|
52
|
-
agentClass: string;
|
|
53
|
-
agentId?: string | null;
|
|
54
|
-
minSeconds: number;
|
|
55
|
-
expectedSeconds: number;
|
|
56
|
-
maxSeconds: number;
|
|
57
|
-
confidence: AgentEstimateConfidence;
|
|
58
|
-
riskLevel: AgentEstimateRiskLevel;
|
|
59
|
-
assumptions: string[];
|
|
60
|
-
blockers: string[];
|
|
61
|
-
dependencies: DecisionDependencySpec[];
|
|
62
|
-
expectedOutputs: AgentOutputRequirement[];
|
|
63
|
-
acceptanceCriteria: string[];
|
|
64
|
-
completionEvidence: string[];
|
|
65
|
-
workBreakdown?: {
|
|
66
|
-
preparationSeconds: number;
|
|
67
|
-
implementationSeconds: number;
|
|
68
|
-
verificationSeconds: number;
|
|
69
|
-
independentReviewSeconds: number;
|
|
70
|
-
revisionSeconds: number;
|
|
71
|
-
revisionVerificationSeconds: number;
|
|
72
|
-
finalReviewSeconds: number;
|
|
73
|
-
reportingSeconds: number;
|
|
74
|
-
reserveSeconds: number;
|
|
75
|
-
expectedRevisionCycles: number;
|
|
76
|
-
};
|
|
77
|
-
groupSnapshot?: GroupMembershipSnapshot;
|
|
78
|
-
proposalRevision?: ExactGovernanceRevision;
|
|
79
|
-
decisionRevision?: ExactGovernanceRevision;
|
|
80
|
-
providerNativeRanges?: ProviderNativeEstimateRange[];
|
|
81
|
-
requiredProviderCapabilities?: string[];
|
|
82
|
-
acceptableProviderClasses?: string[];
|
|
83
|
-
agentDefinitionRevision?: {
|
|
84
|
-
id: string;
|
|
85
|
-
revision: number;
|
|
86
|
-
digest: string;
|
|
87
|
-
};
|
|
88
|
-
createdAt?: string | null;
|
|
89
|
-
metadata?: Record<string, unknown>;
|
|
90
|
-
}
|
|
91
|
-
export interface StructuredAgentEstimateRecord extends StructuredAgentEstimate {
|
|
92
|
-
status: StructuredAgentEstimateStatus;
|
|
93
|
-
acceptedAt: string | null;
|
|
94
|
-
rejectedAt: string | null;
|
|
95
|
-
}
|
|
96
|
-
export interface DeliverableContract {
|
|
97
|
-
id: string;
|
|
98
|
-
teamId: string;
|
|
99
|
-
projectId: string;
|
|
100
|
-
decisionId: string;
|
|
101
|
-
deliverableType: string;
|
|
102
|
-
producerAgentClasses: string[];
|
|
103
|
-
reviewerAgentClasses?: string[];
|
|
104
|
-
requiredSections?: string[];
|
|
105
|
-
acceptanceCriteria: string[];
|
|
106
|
-
status: 'required' | 'draft' | 'submitted' | 'approved' | 'rejected' | 'stale';
|
|
107
|
-
metadata?: Record<string, unknown>;
|
|
108
|
-
}
|
|
109
|
-
export interface DeliverableContractRecord extends DeliverableContract {
|
|
110
|
-
createdAt: string;
|
|
111
|
-
updatedAt: string;
|
|
112
|
-
}
|
|
113
|
-
export interface DeliverableSourceAuthority {
|
|
114
|
-
assignmentId: string;
|
|
115
|
-
modeRunId: string;
|
|
116
|
-
baseRef: string;
|
|
117
|
-
effectiveRef: string;
|
|
118
|
-
checkpointCommit?: string | null;
|
|
119
|
-
}
|
|
120
|
-
export interface DeliverableManifest {
|
|
121
|
-
id: string;
|
|
122
|
-
deliverableContractId: string;
|
|
123
|
-
projectId: string;
|
|
124
|
-
decisionId: string;
|
|
125
|
-
producedRefs: ContentRef[];
|
|
126
|
-
coverage?: Record<string, ContentRef[]>;
|
|
127
|
-
summary: string;
|
|
128
|
-
readyForReview: boolean;
|
|
129
|
-
submittedByAgentId?: string | null;
|
|
130
|
-
submittedAt?: string | null;
|
|
131
|
-
sourceAuthority?: DeliverableSourceAuthority;
|
|
132
|
-
metadata?: Record<string, unknown>;
|
|
133
|
-
}
|
|
134
|
-
export interface DeliverableManifestRecord extends DeliverableManifest {
|
|
135
|
-
createdAt: string;
|
|
136
|
-
}
|
|
137
|
-
/** Authenticated, secret-free evidence projected from a completed graph ancestor. */
|
|
138
|
-
export interface GovernedPredecessorEvidence {
|
|
139
|
-
graphNodeId: string;
|
|
140
|
-
stage: string | null;
|
|
141
|
-
deliverableContractId: string;
|
|
142
|
-
deliverableType: string;
|
|
143
|
-
contractStatus: 'approved' | 'rejected';
|
|
144
|
-
deliverableManifest: DeliverableManifestRecord;
|
|
145
|
-
artifactManifest: AgentArtifactManifest;
|
|
146
|
-
}
|
|
147
|
-
/** API-owned review policy projected from the accepted workflow and current graph state. */
|
|
148
|
-
export interface GovernedReviewPolicy {
|
|
149
|
-
requireRevisionCycle: boolean;
|
|
150
|
-
completedRevisionCycles: number;
|
|
151
|
-
requiredDisposition: 'rejected' | null;
|
|
152
|
-
}
|
|
153
|
-
export interface DecisionAssignmentGraphNode {
|
|
154
|
-
id: string;
|
|
155
|
-
decisionId: string;
|
|
156
|
-
projectId: string;
|
|
157
|
-
targetAgentClass: string;
|
|
158
|
-
activityType: AgentPlanningActivityType | 'acting';
|
|
159
|
-
handler?: string | null;
|
|
160
|
-
estimateId?: string | null;
|
|
161
|
-
groupSnapshot?: GroupMembershipSnapshot;
|
|
162
|
-
requiredCapabilities: string[];
|
|
163
|
-
requiredDeliverableContractIds: string[];
|
|
164
|
-
inputRefs: ContentRef[];
|
|
165
|
-
outputRequirements: AgentOutputRequirement[];
|
|
166
|
-
capacity: {
|
|
167
|
-
expectedSeconds: number;
|
|
168
|
-
maxSeconds: number;
|
|
169
|
-
};
|
|
170
|
-
status: 'pending' | 'ready' | 'leased' | 'running' | 'blocked' | 'completed' | 'failed' | 'cancelled';
|
|
171
|
-
metadata?: Record<string, unknown>;
|
|
172
|
-
}
|
|
173
|
-
export interface DecisionAssignmentGraphEdge {
|
|
174
|
-
fromNodeId: string;
|
|
175
|
-
toNodeId: string;
|
|
176
|
-
edgeType: 'blocks-start' | 'blocks-completion' | 'blocks-release';
|
|
177
|
-
reason?: string;
|
|
178
|
-
}
|
|
179
|
-
export interface DecisionAssignmentGraph {
|
|
180
|
-
id: string;
|
|
181
|
-
teamId: string;
|
|
182
|
-
projectId: string;
|
|
183
|
-
decisionId: string;
|
|
184
|
-
version: number;
|
|
185
|
-
status: 'draft' | 'compiled' | 'ready' | 'executing' | 'completed' | 'blocked';
|
|
186
|
-
estimateIds: string[];
|
|
187
|
-
deliverableContracts: DeliverableContract[];
|
|
188
|
-
nodes: DecisionAssignmentGraphNode[];
|
|
189
|
-
edges: DecisionAssignmentGraphEdge[];
|
|
190
|
-
compiledAt?: string | null;
|
|
191
|
-
compiledBy: 'api-control-plane';
|
|
192
|
-
executionMode?: import('./authority/execution-mode.js').AgentWorkExecutionMode;
|
|
193
|
-
metadata?: Record<string, unknown>;
|
|
194
|
-
}
|
|
195
|
-
export interface DecisionAssignmentGraphRecord extends DecisionAssignmentGraph {
|
|
196
|
-
active: boolean;
|
|
197
|
-
createdAt: string;
|
|
198
|
-
updatedAt: string;
|
|
199
|
-
}
|
|
200
|
-
export interface AgentCapacityContractDiagnostic {
|
|
201
|
-
severity: 'info' | 'warning' | 'error';
|
|
202
|
-
code: string;
|
|
203
|
-
message: string;
|
|
204
|
-
path?: string;
|
|
205
|
-
}
|
|
206
|
-
export interface AgentCapacityContractValidationResult {
|
|
207
|
-
ok: boolean;
|
|
208
|
-
diagnostics: AgentCapacityContractDiagnostic[];
|
|
209
|
-
}
|
|
210
|
-
export interface DecisionAssignmentGraphCompileResult {
|
|
211
|
-
graph: DecisionAssignmentGraph;
|
|
212
|
-
diagnostics: AgentCapacityContractDiagnostic[];
|
|
213
|
-
}
|
|
214
|
-
export interface GovernedRevisionCycleResult {
|
|
215
|
-
graph: DecisionAssignmentGraph;
|
|
216
|
-
newContracts: DeliverableContract[];
|
|
217
|
-
revisionCycle: number;
|
|
218
|
-
}
|
|
219
|
-
export interface GovernedRevisionCycleInput {
|
|
220
|
-
rejectedReviewNodeId: string;
|
|
221
|
-
rejectedCheckpointRef: string;
|
|
222
|
-
findingsRef: string;
|
|
223
|
-
reason: string;
|
|
224
|
-
actorAgentClass: string;
|
|
225
|
-
reviewerAgentClass: string;
|
|
226
|
-
availableSeconds: number;
|
|
227
|
-
}
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CapacityAllocationSetV2, CapacityGrantV2 } from '../allocation.js';
|
|
2
|
-
export interface CapacityAllocationDiagnostic {
|
|
3
|
-
code: string;
|
|
4
|
-
path: string;
|
|
5
|
-
message: string;
|
|
6
|
-
}
|
|
7
|
-
export interface CapacityAllocationValidation {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
diagnostics: CapacityAllocationDiagnostic[];
|
|
10
|
-
}
|
|
11
|
-
export declare function validateCapacityGrantV2(grant: CapacityGrantV2): CapacityAllocationValidation;
|
|
12
|
-
export declare function validateCapacityAllocationSetV2(set: CapacityAllocationSetV2): CapacityAllocationValidation;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
function validateCapacityGrantV2(grant) {
|
|
2
|
-
const diagnostics = [];
|
|
3
|
-
const add = (code, path, message) => diagnostics.push({ code, path, message });
|
|
4
|
-
for (const [path, value] of [["id", grant.id], ["membershipId", grant.membershipId], ["teamId", grant.teamId], ["providerId", grant.providerId], ["projectId", grant.projectId], ["environment", grant.environment]]) {
|
|
5
|
-
if (!value?.trim()) add("capacity_grant_field_required", path, `${path} is required.`);
|
|
6
|
-
}
|
|
7
|
-
if (grant.schemaVersion !== 2) add("capacity_grant_schema_invalid", "schemaVersion", "Grant schemaVersion must be 2.");
|
|
8
|
-
if (!Array.isArray(grant.allowedModes) || grant.allowedModes.length === 0 || grant.allowedModes.some((mode) => !["planning", "acting"].includes(mode))) add("capacity_grant_modes_invalid", "allowedModes", "Grant allowedModes must contain planning and/or acting.");
|
|
9
|
-
for (const [path, values] of [["executionProviderIds", grant.executionProviderIds], ["laneIds", grant.laneIds], ["capabilities", grant.capabilities]]) {
|
|
10
|
-
if (!Array.isArray(values) || values.some((value) => !value?.trim()) || new Set(values).size !== values.length) add("capacity_grant_list_invalid", path, `${path} must contain unique non-empty strings.`);
|
|
11
|
-
}
|
|
12
|
-
for (const [path, value] of [["dailyAgentSecondsLimit", grant.dailyAgentSecondsLimit], ["monthlyAgentSecondsLimit", grant.monthlyAgentSecondsLimit]]) {
|
|
13
|
-
if (value != null && (!Number.isFinite(value) || value < 0)) add("capacity_grant_limit_invalid", path, `${path} must be zero or greater when configured.`);
|
|
14
|
-
}
|
|
15
|
-
if (grant.maxConcurrentAssignments != null && (!Number.isInteger(grant.maxConcurrentAssignments) || grant.maxConcurrentAssignments < 0)) add("capacity_grant_concurrency_invalid", "maxConcurrentAssignments", "maxConcurrentAssignments must be a non-negative integer when configured.");
|
|
16
|
-
if (grant.budgetLimits?.tokens != null && (!Number.isFinite(grant.budgetLimits.tokens) || grant.budgetLimits.tokens < 0)) add("capacity_grant_token_limit_invalid", "budgetLimits.tokens", "Token limit must be finite and non-negative.");
|
|
17
|
-
if (grant.budgetLimits?.cost && (!Number.isFinite(grant.budgetLimits.cost.amount) || grant.budgetLimits.cost.amount < 0 || !grant.budgetLimits.cost.currency.trim())) add("capacity_grant_cost_limit_invalid", "budgetLimits.cost", "Cost limit requires a non-negative amount and currency.");
|
|
18
|
-
if (grant.budgetLimits?.native?.some((entry) => !entry.unit.trim() || !Number.isFinite(entry.amount) || entry.amount < 0)) add("capacity_grant_native_limit_invalid", "budgetLimits.native", "Native limits require a unit and non-negative amount.");
|
|
19
|
-
if (!Array.isArray(grant.executionProviderIds) || grant.executionProviderIds.length === 0) add("capacity_grant_execution_provider_required", "executionProviderIds", "At least one execution provider is required.");
|
|
20
|
-
if (!grant.unmetered && grant.dailyAgentSecondsLimit == null && grant.monthlyAgentSecondsLimit == null) add("capacity_grant_budget_required", "unmetered", "A metered grant requires a daily or monthly agent-time limit.");
|
|
21
|
-
if (grant.unmetered && (grant.dailyAgentSecondsLimit != null || grant.monthlyAgentSecondsLimit != null)) add("capacity_grant_budget_ambiguous", "unmetered", "An unmetered grant must not also declare agent-time limits.");
|
|
22
|
-
if (grant.expiresAt && timestamp(grant.expiresAt) === null) add("capacity_grant_expiry_invalid", "expiresAt", "expiresAt must be an ISO timestamp.");
|
|
23
|
-
return { ok: diagnostics.length === 0, diagnostics };
|
|
24
|
-
}
|
|
25
|
-
function finitePercent(value) {
|
|
26
|
-
return Number.isFinite(value) && value >= 0 && value <= 100;
|
|
27
|
-
}
|
|
28
|
-
function timestamp(value) {
|
|
29
|
-
const parsed = value ? Date.parse(value) : Number.NaN;
|
|
30
|
-
return Number.isFinite(parsed) ? parsed : null;
|
|
31
|
-
}
|
|
32
|
-
function validateCapacityAllocationSetV2(set) {
|
|
33
|
-
const diagnostics = [];
|
|
34
|
-
const add = (code, path, message) => diagnostics.push({ code, path, message });
|
|
35
|
-
if (set.schemaVersion !== 2) add("allocation_schema_invalid", "schemaVersion", "Allocation schemaVersion must be 2.");
|
|
36
|
-
if (!["draft", "validated", "active", "superseded", "archived"].includes(set.status)) add("allocation_status_invalid", "status", "Allocation status is invalid.");
|
|
37
|
-
if (!set.id?.trim()) add("allocation_id_required", "id", "Allocation id is required.");
|
|
38
|
-
if (!set.teamId?.trim()) add("allocation_team_required", "teamId", "Allocation teamId is required.");
|
|
39
|
-
if (!Number.isInteger(set.version) || set.version < 1) add("allocation_version_invalid", "version", "Allocation version must be a positive integer.");
|
|
40
|
-
if (timestamp(set.effectiveFrom) === null) add("allocation_effective_from_invalid", "effectiveFrom", "effectiveFrom must be an ISO timestamp.");
|
|
41
|
-
if (set.effectiveUntil && timestamp(set.effectiveUntil) === null) add("allocation_effective_until_invalid", "effectiveUntil", "effectiveUntil must be an ISO timestamp.");
|
|
42
|
-
if (set.effectiveUntil && timestamp(set.effectiveFrom) !== null && (timestamp(set.effectiveUntil) ?? 0) <= (timestamp(set.effectiveFrom) ?? 0)) add("allocation_effective_interval_invalid", "effectiveUntil", "effectiveUntil must be later than effectiveFrom.");
|
|
43
|
-
if (!finitePercent(set.reservePolicy?.percent)) add("allocation_reserve_invalid", "reservePolicy.percent", "Reserve percent must be between 0 and 100.");
|
|
44
|
-
if (!["deny", "approval-required", "borrow"].includes(set.reservePolicy?.overflow)) add("allocation_reserve_overflow_invalid", "reservePolicy.overflow", "Reserve overflow must be deny, approval-required, or borrow.");
|
|
45
|
-
const slices = Array.isArray(set.slices) ? set.slices : [];
|
|
46
|
-
const borrowingRules = Array.isArray(set.borrowingRules) ? set.borrowingRules : [];
|
|
47
|
-
if (slices.length === 0) add("allocation_slices_required", "slices", "At least one project allocation slice is required.");
|
|
48
|
-
const ids = /* @__PURE__ */ new Set();
|
|
49
|
-
for (const [index, slice] of slices.entries()) {
|
|
50
|
-
const path = `slices[${index}]`;
|
|
51
|
-
if (!slice || typeof slice !== "object") {
|
|
52
|
-
add("allocation_slice_invalid", path, "Allocation slice must be an object.");
|
|
53
|
-
continue;
|
|
54
|
-
}
|
|
55
|
-
if (!slice.id?.trim() || ids.has(slice.id)) add("allocation_slice_id_invalid", `${path}.id`, "Slice id must be non-empty and unique.");
|
|
56
|
-
ids.add(slice.id);
|
|
57
|
-
if (!["project", "agent-class", "mode"].includes(slice.scope)) add("allocation_slice_scope_invalid", `${path}.scope`, "Slice scope must be project, agent-class, or mode.");
|
|
58
|
-
if (!slice.targetId?.trim()) add("allocation_slice_target_required", `${path}.targetId`, "Slice targetId is required.");
|
|
59
|
-
if (!slice.policy || typeof slice.policy !== "object") {
|
|
60
|
-
add("allocation_slice_policy_invalid", `${path}.policy`, "Slice policy must be an object.");
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
const { minPercent, targetPercent, maxPercent, hardCapPercent } = slice.policy;
|
|
64
|
-
if (![minPercent, targetPercent, maxPercent, hardCapPercent].every(finitePercent) || !(minPercent <= targetPercent && targetPercent <= maxPercent && maxPercent <= hardCapPercent)) {
|
|
65
|
-
add("allocation_slice_bounds_invalid", `${path}.policy`, "Slice bounds must satisfy 0 <= min <= target <= max <= hardCap <= 100.");
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
for (const [index, slice] of slices.entries()) {
|
|
69
|
-
if (!slice || typeof slice !== "object") continue;
|
|
70
|
-
if (slice.parentSliceId && !ids.has(slice.parentSliceId)) add("allocation_parent_missing", `slices[${index}].parentSliceId`, "Parent slice must exist in the allocation set.");
|
|
71
|
-
const parent = slice.parentSliceId ? slices.find((candidate) => candidate && typeof candidate === "object" && candidate.id === slice.parentSliceId) : null;
|
|
72
|
-
if (!slice.parentSliceId && slice.scope !== "project") add("allocation_root_scope_invalid", `slices[${index}].scope`, "Only project slices may exist at the allocation root.");
|
|
73
|
-
if (parent && (slice.scope === "agent-class" && parent.scope !== "project" || slice.scope === "mode" && parent.scope !== "agent-class" || slice.scope === "project")) add("allocation_scope_hierarchy_invalid", `slices[${index}].scope`, "Allocation hierarchy must be project, then agent-class, then mode.");
|
|
74
|
-
const ancestors = /* @__PURE__ */ new Set();
|
|
75
|
-
let current = slice;
|
|
76
|
-
while (current.parentSliceId) {
|
|
77
|
-
if (ancestors.has(current.parentSliceId) || current.parentSliceId === slice.id) {
|
|
78
|
-
add("allocation_cycle_invalid", `slices[${index}].parentSliceId`, "Allocation slice hierarchy must not contain cycles.");
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
ancestors.add(current.parentSliceId);
|
|
82
|
-
const next = slices.find((candidate) => candidate && typeof candidate === "object" && candidate.id === current.parentSliceId);
|
|
83
|
-
if (!next) break;
|
|
84
|
-
current = next;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
const validSlices = slices.filter((slice) => slice && typeof slice === "object");
|
|
88
|
-
const parentKeys = new Set(validSlices.map((slice) => slice.parentSliceId ?? "root"));
|
|
89
|
-
for (const parentKey of parentKeys) {
|
|
90
|
-
const siblings = validSlices.filter((slice) => (slice.parentSliceId ?? "root") === parentKey);
|
|
91
|
-
const targetTotal = siblings.reduce((total, slice) => total + Number(slice.policy?.targetPercent ?? Number.NaN), 0);
|
|
92
|
-
const expected = parentKey === "root" ? 100 - set.reservePolicy.percent : 100;
|
|
93
|
-
if (Math.abs(targetTotal - expected) > 1e-6) add("allocation_target_total_invalid", `slices(parent=${parentKey})`, `Sibling target percentages must total ${expected}.`);
|
|
94
|
-
}
|
|
95
|
-
const ruleIds = /* @__PURE__ */ new Set();
|
|
96
|
-
for (const [index, rule] of borrowingRules.entries()) {
|
|
97
|
-
if (!rule || typeof rule !== "object") {
|
|
98
|
-
add("allocation_borrowing_rule_invalid", `borrowingRules[${index}]`, "Borrowing rule must be an object.");
|
|
99
|
-
continue;
|
|
100
|
-
}
|
|
101
|
-
if (!rule.id?.trim() || ruleIds.has(rule.id)) add("allocation_borrowing_id_invalid", `borrowingRules[${index}].id`, "Borrowing rule id must be non-empty and unique.");
|
|
102
|
-
ruleIds.add(rule.id);
|
|
103
|
-
if (!ids.has(rule.fromSliceId) || !ids.has(rule.toSliceId)) add("allocation_borrowing_slice_missing", `borrowingRules[${index}]`, "Borrowing rule slices must exist.");
|
|
104
|
-
if (rule.fromSliceId === rule.toSliceId) add("allocation_borrowing_self_invalid", `borrowingRules[${index}]`, "A slice cannot borrow from itself.");
|
|
105
|
-
const from = validSlices.find((slice) => slice.id === rule.fromSliceId);
|
|
106
|
-
const to = validSlices.find((slice) => slice.id === rule.toSliceId);
|
|
107
|
-
if (from && to && (from.scope !== to.scope || (from.parentSliceId ?? null) !== (to.parentSliceId ?? null))) add("allocation_borrowing_scope_invalid", `borrowingRules[${index}]`, "Borrowing is allowed only between sibling slices at the same scope.");
|
|
108
|
-
if (!finitePercent(rule.maxPercent) || rule.maxPercent === 0) add("allocation_borrowing_percent_invalid", `borrowingRules[${index}].maxPercent`, "Borrowing maxPercent must be greater than zero and no more than 100.");
|
|
109
|
-
}
|
|
110
|
-
return { ok: diagnostics.length === 0, diagnostics };
|
|
111
|
-
}
|
|
112
|
-
export {
|
|
113
|
-
validateCapacityAllocationSetV2,
|
|
114
|
-
validateCapacityGrantV2
|
|
115
|
-
};
|