@opengeni/contracts 0.50.0 → 2.2.0-canary.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/dist/agent-authored-durable-text.d.ts +64 -0
- package/dist/atlassian.d.ts +1 -0
- package/dist/atlassian.js +14 -13
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/{chunk-JBCIY7QD.js → chunk-7RMTKFJW.js} +45 -22
- package/dist/chunk-7RMTKFJW.js.map +1 -0
- package/dist/{chunk-Q6A7XT2N.js → chunk-7ZZ3R27P.js} +9598 -6021
- package/dist/chunk-7ZZ3R27P.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-MRWYRAS5.js} +56 -8
- package/dist/chunk-MRWYRAS5.js.map +1 -0
- package/dist/{chunk-LW7OH6CS.js → chunk-N6GRVXAJ.js} +6 -5
- package/dist/chunk-N6GRVXAJ.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +398 -0
- package/dist/company-profile.d.ts +268 -0
- package/dist/connection-authority.d.ts +501 -0
- package/dist/connection-authority.js +364 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +18 -8
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +111 -46
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +9 -8
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +51 -39
- package/dist/google-drive.d.ts +89 -1
- package/dist/google-drive.js +78 -17
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/index.d.ts +12395 -1426
- package/dist/index.js +837 -115
- package/dist/interaction.d.ts +68 -0
- package/dist/knowledge.d.ts +192 -0
- package/dist/organization-membership-lifecycle.d.ts +516 -0
- package/dist/permissions.d.ts +52 -0
- package/dist/personal-github.d.ts +319 -0
- package/dist/personal-github.js +209 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/preference-registry.d.ts +17 -0
- package/dist/remember.d.ts +331 -0
- package/dist/sandbox-file-artifacts.d.ts +56 -0
- package/dist/sandbox-snapshots.d.ts +21 -0
- package/dist/slack-bot-scopes.d.ts +34 -14
- package/dist/slack-bot-scopes.js +5 -1
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/task-notes.d.ts +42 -1
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/workspace-instruction-policies.d.ts +81 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/package.json +13 -1
- package/src/agent-authored-durable-text.ts +105 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +122 -1
- package/src/connection-authority.ts +413 -0
- package/src/connector-attachments.ts +327 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/index.ts +3182 -483
- package/src/interaction.ts +55 -1
- package/src/knowledge.ts +133 -6
- package/src/organization-membership-lifecycle.ts +330 -0
- package/src/permissions.ts +55 -0
- package/src/personal-github.ts +267 -0
- package/src/preference-registry.ts +17 -0
- package/src/remember.ts +242 -0
- package/src/sandbox-file-artifacts.ts +65 -0
- package/src/sandbox-snapshots.ts +78 -0
- package/src/slack-bot-scopes.ts +81 -9
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/task-notes.ts +14 -1
- package/src/tool-result-spill.ts +35 -0
- package/src/workspace-instruction-policies.ts +30 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-JBCIY7QD.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-LW7OH6CS.js.map +0 -1
- package/dist/chunk-Q6A7XT2N.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const GovernedLearningActivationDestination: z.ZodEnum<{
|
|
3
|
+
instruction_policy: "instruction_policy";
|
|
4
|
+
preference: "preference";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const GovernedLearningActivationAuthorityKind: z.ZodEnum<{
|
|
7
|
+
automatic: "automatic";
|
|
8
|
+
human_confirmed: "human_confirmed";
|
|
9
|
+
}>;
|
|
10
|
+
export type GovernedLearningActivationAuthorityKind = z.infer<typeof GovernedLearningActivationAuthorityKind>;
|
|
11
|
+
export type GovernedLearningActivationDestination = z.infer<typeof GovernedLearningActivationDestination>;
|
|
12
|
+
export declare const GovernedLearningActivationCaller: z.ZodObject<{
|
|
13
|
+
workspaceId: z.ZodString;
|
|
14
|
+
subjectId: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export type GovernedLearningActivationCaller = z.infer<typeof GovernedLearningActivationCaller>;
|
|
17
|
+
export declare const ActivateGovernedLearningDecisionRequest: z.ZodObject<{
|
|
18
|
+
operationId: z.ZodString;
|
|
19
|
+
decisionReceiptId: z.ZodString;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export type ActivateGovernedLearningDecisionRequest = z.infer<typeof ActivateGovernedLearningDecisionRequest>;
|
|
22
|
+
export declare const UndoGovernedLearningActivationRequest: z.ZodObject<{
|
|
23
|
+
operationId: z.ZodString;
|
|
24
|
+
activationReceiptId: z.ZodString;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export type UndoGovernedLearningActivationRequest = z.infer<typeof UndoGovernedLearningActivationRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* Immutable content-free proof that one final automatic evaluator receipt was
|
|
29
|
+
* revalidated and applied through the destination-owned lifecycle.
|
|
30
|
+
*/
|
|
31
|
+
export declare const GovernedLearningActivationReceipt: z.ZodObject<{
|
|
32
|
+
destination: z.ZodEnum<{
|
|
33
|
+
instruction_policy: "instruction_policy";
|
|
34
|
+
preference: "preference";
|
|
35
|
+
}>;
|
|
36
|
+
destinationProposalId: z.ZodString;
|
|
37
|
+
destinationRevisionId: z.ZodString;
|
|
38
|
+
destinationOldRevisionId: z.ZodNullable<z.ZodString>;
|
|
39
|
+
destinationOldContentHash: z.ZodNullable<z.ZodString>;
|
|
40
|
+
destinationOldVersion: z.ZodNumber;
|
|
41
|
+
destinationNewContentHash: z.ZodString;
|
|
42
|
+
destinationNewVersion: z.ZodNumber;
|
|
43
|
+
destinationEventId: z.ZodString;
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
operationId: z.ZodString;
|
|
46
|
+
inputHash: z.ZodString;
|
|
47
|
+
accountId: z.ZodString;
|
|
48
|
+
workspaceId: z.ZodString;
|
|
49
|
+
decisionReceiptId: z.ZodString;
|
|
50
|
+
initiatingHumanSubjectId: z.ZodString;
|
|
51
|
+
serviceActorSubjectId: z.ZodString;
|
|
52
|
+
policyRevisionId: z.ZodString;
|
|
53
|
+
policyHash: z.ZodString;
|
|
54
|
+
policyActivationVersion: z.ZodNumber;
|
|
55
|
+
sourceKind: z.ZodEnum<{
|
|
56
|
+
"scoped-knowledge-evidence": "scoped-knowledge-evidence";
|
|
57
|
+
"task-note": "task-note";
|
|
58
|
+
}>;
|
|
59
|
+
sourceId: z.ZodString;
|
|
60
|
+
sourceAuthorityHash: z.ZodString;
|
|
61
|
+
proposalId: z.ZodString;
|
|
62
|
+
claimId: z.ZodString;
|
|
63
|
+
evidenceId: z.ZodString;
|
|
64
|
+
knowledgePreviousReviewId: z.ZodString;
|
|
65
|
+
knowledgePreviousReviewRevision: z.ZodNumber;
|
|
66
|
+
knowledgeApprovalReviewId: z.ZodString;
|
|
67
|
+
knowledgeApprovalReviewRevision: z.ZodNumber;
|
|
68
|
+
knowledgeApprovalInputHash: z.ZodString;
|
|
69
|
+
outcome: z.ZodLiteral<"activated">;
|
|
70
|
+
effectiveAt: z.ZodString;
|
|
71
|
+
authorityKind: z.ZodEnum<{
|
|
72
|
+
automatic: "automatic";
|
|
73
|
+
human_confirmed: "human_confirmed";
|
|
74
|
+
}>;
|
|
75
|
+
humanInputRequestId: z.ZodNullable<z.ZodString>;
|
|
76
|
+
rollback: z.ZodObject<{
|
|
77
|
+
supported: z.ZodLiteral<true>;
|
|
78
|
+
mechanism: z.ZodLiteral<"exact_head_and_latest_review">;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
createdAt: z.ZodString;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
export type GovernedLearningActivationReceipt = z.infer<typeof GovernedLearningActivationReceipt>;
|
|
83
|
+
export declare const ActivateHumanConfirmedLearningDecisionRequest: z.ZodObject<{
|
|
84
|
+
operationId: z.ZodString;
|
|
85
|
+
decisionReceiptId: z.ZodString;
|
|
86
|
+
humanInputRequestId: z.ZodString;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
export type ActivateHumanConfirmedLearningDecisionRequest = z.infer<typeof ActivateHumanConfirmedLearningDecisionRequest>;
|
|
89
|
+
/** Append-only compensation proof. Undo never deletes prior evidence. */
|
|
90
|
+
export declare const GovernedLearningActivationUndoReceipt: z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
operationId: z.ZodString;
|
|
93
|
+
inputHash: z.ZodString;
|
|
94
|
+
accountId: z.ZodString;
|
|
95
|
+
workspaceId: z.ZodString;
|
|
96
|
+
activationReceiptId: z.ZodString;
|
|
97
|
+
initiatingHumanSubjectId: z.ZodString;
|
|
98
|
+
serviceActorSubjectId: z.ZodString;
|
|
99
|
+
destination: z.ZodEnum<{
|
|
100
|
+
instruction_policy: "instruction_policy";
|
|
101
|
+
preference: "preference";
|
|
102
|
+
}>;
|
|
103
|
+
knowledgeApprovalReviewId: z.ZodString;
|
|
104
|
+
knowledgeRevocationReviewId: z.ZodString;
|
|
105
|
+
knowledgeRevocationReviewRevision: z.ZodNumber;
|
|
106
|
+
knowledgeRevocationInputHash: z.ZodString;
|
|
107
|
+
destinationActivatedRevisionId: z.ZodString;
|
|
108
|
+
destinationRestoredRevisionId: z.ZodNullable<z.ZodString>;
|
|
109
|
+
destinationActivatedContentHash: z.ZodString;
|
|
110
|
+
destinationRestoredContentHash: z.ZodNullable<z.ZodString>;
|
|
111
|
+
destinationOldVersion: z.ZodNumber;
|
|
112
|
+
destinationNewVersion: z.ZodNumber;
|
|
113
|
+
destinationEventId: z.ZodString;
|
|
114
|
+
outcome: z.ZodLiteral<"undone">;
|
|
115
|
+
superseded: z.ZodLiteral<false>;
|
|
116
|
+
effectiveAt: z.ZodString;
|
|
117
|
+
createdAt: z.ZodString;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export type GovernedLearningActivationUndoReceipt = z.infer<typeof GovernedLearningActivationUndoReceipt>;
|
|
120
|
+
/**
|
|
121
|
+
* Immutable content-free proof that the exact initiating human confirmed a
|
|
122
|
+
* user-directed Knowledge claim (`remember` with lane `knowledge`) through the
|
|
123
|
+
* bound structured human-input question, after which the claim's latest
|
|
124
|
+
* `proposed` review was superseded by an `approved` service review.
|
|
125
|
+
*/
|
|
126
|
+
export declare const RememberKnowledgeConfirmationReceipt: z.ZodObject<{
|
|
127
|
+
id: z.ZodString;
|
|
128
|
+
operationId: z.ZodString;
|
|
129
|
+
inputHash: z.ZodString;
|
|
130
|
+
accountId: z.ZodString;
|
|
131
|
+
workspaceId: z.ZodString;
|
|
132
|
+
sessionId: z.ZodString;
|
|
133
|
+
turnId: z.ZodString;
|
|
134
|
+
executionGeneration: z.ZodNumber;
|
|
135
|
+
initiatingHumanSubjectId: z.ZodString;
|
|
136
|
+
serviceActorSubjectId: z.ZodString;
|
|
137
|
+
claimId: z.ZodString;
|
|
138
|
+
evidenceId: z.ZodString;
|
|
139
|
+
taskNoteId: z.ZodString;
|
|
140
|
+
taskNoteTextHash: z.ZodString;
|
|
141
|
+
humanInputRequestId: z.ZodString;
|
|
142
|
+
previousReviewId: z.ZodString;
|
|
143
|
+
previousReviewRevision: z.ZodNumber;
|
|
144
|
+
approvalReviewId: z.ZodString;
|
|
145
|
+
approvalReviewRevision: z.ZodNumber;
|
|
146
|
+
createdAt: z.ZodString;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
export type RememberKnowledgeConfirmationReceipt = z.infer<typeof RememberKnowledgeConfirmationReceipt>;
|
|
149
|
+
export declare const ConfirmRememberKnowledgeClaimRequest: z.ZodObject<{
|
|
150
|
+
operationId: z.ZodString;
|
|
151
|
+
claimId: z.ZodString;
|
|
152
|
+
humanInputRequestId: z.ZodString;
|
|
153
|
+
}, z.core.$strict>;
|
|
154
|
+
export type ConfirmRememberKnowledgeClaimRequest = z.infer<typeof ConfirmRememberKnowledgeClaimRequest>;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Automatic is intentionally conservative in the first evaluator tranche.
|
|
4
|
+
* This constant is platform-owned rather than caller-selectable so an agent or
|
|
5
|
+
* connector cannot lower the admission floor inside one request.
|
|
6
|
+
*/
|
|
7
|
+
export declare const GOVERNED_LEARNING_AUTOMATIC_CONFIDENCE_FLOOR_BPS = 8500;
|
|
8
|
+
export declare const GOVERNED_LEARNING_MAX_CONFLICT_COUNT = 1000;
|
|
9
|
+
export declare const GovernedLearningDecisionOutcome: z.ZodEnum<{
|
|
10
|
+
automatic: "automatic";
|
|
11
|
+
confidence: "confidence";
|
|
12
|
+
conflict: "conflict";
|
|
13
|
+
off: "off";
|
|
14
|
+
revoked: "revoked";
|
|
15
|
+
stale: "stale";
|
|
16
|
+
suggest: "suggest";
|
|
17
|
+
}>;
|
|
18
|
+
export type GovernedLearningDecisionOutcome = z.infer<typeof GovernedLearningDecisionOutcome>;
|
|
19
|
+
/** Stable order used by TypeScript, SQL constraints, and public receipts. */
|
|
20
|
+
export declare const GOVERNED_LEARNING_REASON_ORDER: readonly ["policy_off", "evidence_revoked", "proposal_stale", "evidence_conflict", "confidence_below_floor", "policy_suggest", "policy_automatic"];
|
|
21
|
+
export declare const GovernedLearningDecisionReason: z.ZodEnum<{
|
|
22
|
+
confidence_below_floor: "confidence_below_floor";
|
|
23
|
+
evidence_conflict: "evidence_conflict";
|
|
24
|
+
evidence_revoked: "evidence_revoked";
|
|
25
|
+
policy_automatic: "policy_automatic";
|
|
26
|
+
policy_off: "policy_off";
|
|
27
|
+
policy_suggest: "policy_suggest";
|
|
28
|
+
proposal_stale: "proposal_stale";
|
|
29
|
+
}>;
|
|
30
|
+
export type GovernedLearningDecisionReason = z.infer<typeof GovernedLearningDecisionReason>;
|
|
31
|
+
export declare const GovernedLearningDecisionFacts: z.ZodObject<{
|
|
32
|
+
effectiveMode: z.ZodEnum<{
|
|
33
|
+
automatic: "automatic";
|
|
34
|
+
off: "off";
|
|
35
|
+
suggest: "suggest";
|
|
36
|
+
}>;
|
|
37
|
+
confidenceBps: z.ZodNumber;
|
|
38
|
+
conflictCount: z.ZodNumber;
|
|
39
|
+
stale: z.ZodBoolean;
|
|
40
|
+
revoked: z.ZodBoolean;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
export type GovernedLearningDecisionFacts = z.infer<typeof GovernedLearningDecisionFacts>;
|
|
43
|
+
export declare const GovernedLearningDecision: z.ZodObject<{
|
|
44
|
+
outcome: z.ZodEnum<{
|
|
45
|
+
automatic: "automatic";
|
|
46
|
+
confidence: "confidence";
|
|
47
|
+
conflict: "conflict";
|
|
48
|
+
off: "off";
|
|
49
|
+
revoked: "revoked";
|
|
50
|
+
stale: "stale";
|
|
51
|
+
suggest: "suggest";
|
|
52
|
+
}>;
|
|
53
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
54
|
+
confidence_below_floor: "confidence_below_floor";
|
|
55
|
+
evidence_conflict: "evidence_conflict";
|
|
56
|
+
evidence_revoked: "evidence_revoked";
|
|
57
|
+
policy_automatic: "policy_automatic";
|
|
58
|
+
policy_off: "policy_off";
|
|
59
|
+
policy_suggest: "policy_suggest";
|
|
60
|
+
proposal_stale: "proposal_stale";
|
|
61
|
+
}>>;
|
|
62
|
+
automaticEligible: z.ZodBoolean;
|
|
63
|
+
confidenceFloorBps: z.ZodLiteral<8500>;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
export type GovernedLearningDecision = z.infer<typeof GovernedLearningDecision>;
|
|
66
|
+
export declare const GovernedLearningEvaluationAttempt: z.ZodObject<{
|
|
67
|
+
workspaceId: z.ZodString;
|
|
68
|
+
subjectId: z.ZodString;
|
|
69
|
+
sessionId: z.ZodString;
|
|
70
|
+
turnId: z.ZodString;
|
|
71
|
+
attemptId: z.ZodString;
|
|
72
|
+
executionGeneration: z.ZodNumber;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
export type GovernedLearningEvaluationAttempt = z.infer<typeof GovernedLearningEvaluationAttempt>;
|
|
75
|
+
export declare const EvaluateGovernedLearningProposalRequest: z.ZodObject<{
|
|
76
|
+
operationId: z.ZodString;
|
|
77
|
+
policySnapshotId: z.ZodString;
|
|
78
|
+
proposalId: z.ZodString;
|
|
79
|
+
claimId: z.ZodString;
|
|
80
|
+
evidenceId: z.ZodString;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
export type EvaluateGovernedLearningProposalRequest = z.infer<typeof EvaluateGovernedLearningProposalRequest>;
|
|
83
|
+
/**
|
|
84
|
+
* Content-free immutable evidence. Hashes and bounded enums identify exactly
|
|
85
|
+
* what was evaluated without copying proposal, fact, citation, or note text.
|
|
86
|
+
*/
|
|
87
|
+
export declare const GovernedLearningDecisionReceipt: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
operationId: z.ZodString;
|
|
90
|
+
inputHash: z.ZodString;
|
|
91
|
+
accountId: z.ZodString;
|
|
92
|
+
workspaceId: z.ZodString;
|
|
93
|
+
sessionId: z.ZodString;
|
|
94
|
+
turnId: z.ZodString;
|
|
95
|
+
attemptId: z.ZodString;
|
|
96
|
+
executionGeneration: z.ZodNumber;
|
|
97
|
+
initiatingHumanSubjectId: z.ZodString;
|
|
98
|
+
policySnapshotId: z.ZodString;
|
|
99
|
+
policySnapshotHash: z.ZodString;
|
|
100
|
+
policyRevisionId: z.ZodNullable<z.ZodString>;
|
|
101
|
+
policyActivationVersion: z.ZodNumber;
|
|
102
|
+
sourceKind: z.ZodEnum<{
|
|
103
|
+
"scoped-knowledge-evidence": "scoped-knowledge-evidence";
|
|
104
|
+
"task-note": "task-note";
|
|
105
|
+
}>;
|
|
106
|
+
sourceId: z.ZodString;
|
|
107
|
+
proposalId: z.ZodString;
|
|
108
|
+
proposalInputHash: z.ZodString;
|
|
109
|
+
proposalContentHash: z.ZodString;
|
|
110
|
+
claimId: z.ZodString;
|
|
111
|
+
claimInputHash: z.ZodString;
|
|
112
|
+
evidenceId: z.ZodString;
|
|
113
|
+
evidenceInputHash: z.ZodString;
|
|
114
|
+
evidenceContentHash: z.ZodString;
|
|
115
|
+
evidenceAuthorityHash: z.ZodString;
|
|
116
|
+
reviewRevision: z.ZodNumber;
|
|
117
|
+
reviewState: z.ZodEnum<{
|
|
118
|
+
approved: "approved";
|
|
119
|
+
proposed: "proposed";
|
|
120
|
+
rejected: "rejected";
|
|
121
|
+
revoked: "revoked";
|
|
122
|
+
}>;
|
|
123
|
+
effectiveMode: z.ZodEnum<{
|
|
124
|
+
automatic: "automatic";
|
|
125
|
+
off: "off";
|
|
126
|
+
suggest: "suggest";
|
|
127
|
+
}>;
|
|
128
|
+
confidenceBps: z.ZodNumber;
|
|
129
|
+
conflictCount: z.ZodNumber;
|
|
130
|
+
outcome: z.ZodEnum<{
|
|
131
|
+
automatic: "automatic";
|
|
132
|
+
confidence: "confidence";
|
|
133
|
+
conflict: "conflict";
|
|
134
|
+
off: "off";
|
|
135
|
+
revoked: "revoked";
|
|
136
|
+
stale: "stale";
|
|
137
|
+
suggest: "suggest";
|
|
138
|
+
}>;
|
|
139
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
140
|
+
confidence_below_floor: "confidence_below_floor";
|
|
141
|
+
evidence_conflict: "evidence_conflict";
|
|
142
|
+
evidence_revoked: "evidence_revoked";
|
|
143
|
+
policy_automatic: "policy_automatic";
|
|
144
|
+
policy_off: "policy_off";
|
|
145
|
+
policy_suggest: "policy_suggest";
|
|
146
|
+
proposal_stale: "proposal_stale";
|
|
147
|
+
}>>;
|
|
148
|
+
automaticEligible: z.ZodBoolean;
|
|
149
|
+
confidenceFloorBps: z.ZodLiteral<8500>;
|
|
150
|
+
createdAt: z.ZodString;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
export type GovernedLearningDecisionReceipt = z.infer<typeof GovernedLearningDecisionReceipt>;
|