semantic-atlas 0.3.0 → 1.0.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/.agents/skills/semantic-atlas/SKILL.md +134 -166
- package/.agents/skills/semantic-atlas/agents/openai.yaml +4 -0
- package/.agents/skills/semantic-atlas/references/observations.md +131 -0
- package/.agents/skills/semantic-atlas/scripts/query-context.mjs +110 -0
- package/.agents/skills/semantic-atlas-maintenance/SKILL.md +93 -0
- package/.agents/skills/semantic-atlas-maintenance/agents/openai.yaml +4 -0
- package/.agents/skills/semantic-atlas-maintenance/references/reconciliation.md +56 -0
- package/README.md +134 -239
- package/dist/application/map-application.d.ts +24 -0
- package/dist/application/map-application.d.ts.map +1 -0
- package/dist/application/map-application.js +134 -0
- package/dist/application/map-application.js.map +1 -0
- package/dist/cli/bin.js +6 -35
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/observation-commands.d.ts +16 -0
- package/dist/cli/observation-commands.d.ts.map +1 -0
- package/dist/cli/observation-commands.js +118 -0
- package/dist/cli/observation-commands.js.map +1 -0
- package/dist/cli/projection-writer.d.ts +2 -0
- package/dist/cli/projection-writer.d.ts.map +1 -0
- package/dist/cli/projection-writer.js +9 -0
- package/dist/cli/projection-writer.js.map +1 -0
- package/dist/cli/reconciliation-command.d.ts +7 -0
- package/dist/cli/reconciliation-command.d.ts.map +1 -0
- package/dist/cli/reconciliation-command.js +33 -0
- package/dist/cli/reconciliation-command.js.map +1 -0
- package/dist/cli/run-cli.d.ts +21 -0
- package/dist/cli/run-cli.d.ts.map +1 -0
- package/dist/cli/run-cli.js +299 -0
- package/dist/cli/run-cli.js.map +1 -0
- package/dist/contracts/cli.d.ts +166 -1211
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/cli.js +2 -232
- package/dist/contracts/cli.js.map +1 -0
- package/dist/contracts/insights.d.ts +39 -1
- package/dist/contracts/insights.d.ts.map +1 -1
- package/dist/contracts/insights.js +2 -1
- package/dist/contracts/insights.js.map +1 -0
- package/dist/contracts/map.d.ts +154 -0
- package/dist/contracts/map.d.ts.map +1 -0
- package/dist/contracts/map.js +60 -0
- package/dist/contracts/map.js.map +1 -0
- package/dist/contracts/observation.d.ts +649 -0
- package/dist/contracts/observation.d.ts.map +1 -0
- package/dist/contracts/observation.js +140 -0
- package/dist/contracts/observation.js.map +1 -0
- package/dist/contracts/projection.d.ts +7 -0
- package/dist/contracts/projection.d.ts.map +1 -0
- package/dist/contracts/projection.js +2 -0
- package/dist/contracts/projection.js.map +1 -0
- package/dist/contracts/reconciliation.d.ts +40 -0
- package/dist/contracts/reconciliation.d.ts.map +1 -0
- package/dist/contracts/reconciliation.js +2 -0
- package/dist/contracts/reconciliation.js.map +1 -0
- package/dist/index.d.ts +7 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -9
- package/dist/index.js.map +1 -0
- package/dist/insights/insight-service.d.ts +14 -0
- package/dist/insights/insight-service.d.ts.map +1 -0
- package/dist/insights/insight-service.js +129 -0
- package/dist/insights/insight-service.js.map +1 -0
- package/dist/map/business-graph.d.ts +32 -0
- package/dist/map/business-graph.d.ts.map +1 -0
- package/dist/map/business-graph.js +122 -0
- package/dist/map/business-graph.js.map +1 -0
- package/dist/map/map-document-loader.d.ts +13 -0
- package/dist/map/map-document-loader.d.ts.map +1 -0
- package/dist/map/map-document-loader.js +86 -0
- package/dist/map/map-document-loader.js.map +1 -0
- package/dist/map/map-validator.d.ts +12 -0
- package/dist/map/map-validator.d.ts.map +1 -0
- package/dist/map/map-validator.js +322 -0
- package/dist/map/map-validator.js.map +1 -0
- package/dist/observations/observation-application.d.ts +23 -0
- package/dist/observations/observation-application.d.ts.map +1 -0
- package/dist/observations/observation-application.js +62 -0
- package/dist/observations/observation-application.js.map +1 -0
- package/dist/observations/observation-claim-manager.d.ts +13 -0
- package/dist/observations/observation-claim-manager.d.ts.map +1 -0
- package/dist/observations/observation-claim-manager.js +247 -0
- package/dist/observations/observation-claim-manager.js.map +1 -0
- package/dist/observations/observation-store.d.ts +43 -0
- package/dist/observations/observation-store.d.ts.map +1 -0
- package/dist/observations/observation-store.js +208 -0
- package/dist/observations/observation-store.js.map +1 -0
- package/dist/observations/repository-identity.d.ts +12 -0
- package/dist/observations/repository-identity.d.ts.map +1 -0
- package/dist/observations/repository-identity.js +108 -0
- package/dist/observations/repository-identity.js.map +1 -0
- package/dist/query/context-query-service.d.ts +15 -0
- package/dist/query/context-query-service.d.ts.map +1 -0
- package/dist/query/context-query-service.js +36 -0
- package/dist/query/context-query-service.js.map +1 -0
- package/dist/reconciliation/reconciliation-service.d.ts +10 -0
- package/dist/reconciliation/reconciliation-service.d.ts.map +1 -0
- package/dist/reconciliation/reconciliation-service.js +116 -0
- package/dist/reconciliation/reconciliation-service.js.map +1 -0
- package/dist/rendering/map-projector.d.ts +8 -0
- package/dist/rendering/map-projector.d.ts.map +1 -0
- package/dist/rendering/map-projector.js +386 -0
- package/dist/rendering/map-projector.js.map +1 -0
- package/dist/setup/managed-skill-installer.d.ts +60 -0
- package/dist/setup/managed-skill-installer.d.ts.map +1 -0
- package/dist/setup/managed-skill-installer.js +307 -0
- package/dist/setup/managed-skill-installer.js.map +1 -0
- package/dist/setup/package-identity.d.ts +6 -0
- package/dist/setup/package-identity.d.ts.map +1 -0
- package/dist/setup/package-identity.js +16 -0
- package/dist/setup/package-identity.js.map +1 -0
- package/dist/setup/package-upgrader.d.ts +10 -22
- package/dist/setup/package-upgrader.d.ts.map +1 -1
- package/dist/setup/package-upgrader.js +60 -76
- package/dist/setup/package-upgrader.js.map +1 -0
- package/docs/architecture.md +428 -0
- package/docs/evaluation.md +220 -174
- package/docs/index.md +27 -40
- package/docs/map-format.md +224 -0
- package/docs/observations.md +175 -0
- package/docs/product-contract.md +295 -137
- package/examples/commerce.yaml +204 -0
- package/package.json +31 -30
- package/.agents/skills/semantic-atlas/references/graph-patch.md +0 -190
- package/.agents/skills/semantic-atlas/references/product-feedback.md +0 -34
- package/.agents/skills/semantic-atlas/references/result-routing.md +0 -104
- package/.agents/skills/semantic-atlas/references/snapshot-bootstrap.md +0 -42
- package/.agents/skills/semantic-atlas-insights/SKILL.md +0 -55
- package/README.zh-CN.md +0 -273
- package/dist/business-flow/business-flow-derivation-service.d.ts +0 -11
- package/dist/business-flow/business-flow-derivation-service.d.ts.map +0 -1
- package/dist/business-flow/business-flow-derivation-service.js +0 -151
- package/dist/business-flow/business-flow-draft.d.ts +0 -16
- package/dist/business-flow/business-flow-draft.d.ts.map +0 -1
- package/dist/business-flow/business-flow-draft.js +0 -150
- package/dist/business-flow/framework-business-strategy.d.ts +0 -7
- package/dist/business-flow/framework-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/framework-business-strategy.js +0 -1
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +0 -10
- package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/bullmq-business-strategy.js +0 -79
- package/dist/business-flow/strategies/called-operation-derivation.d.ts +0 -13
- package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +0 -1
- package/dist/business-flow/strategies/called-operation-derivation.js +0 -32
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts +0 -8
- package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/graphql-business-strategy.js +0 -65
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +0 -8
- package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/nestjs-business-strategy.js +0 -72
- package/dist/business-flow/strategies/strategy-helpers.d.ts +0 -32
- package/dist/business-flow/strategies/strategy-helpers.d.ts.map +0 -1
- package/dist/business-flow/strategies/strategy-helpers.js +0 -49
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +0 -10
- package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/typeorm-business-strategy.js +0 -136
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +0 -5
- package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/verified-invariant-strategy.js +0 -38
- package/dist/business-flow/strategies/verified-test-strategy.d.ts +0 -5
- package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +0 -1
- package/dist/business-flow/strategies/verified-test-strategy.js +0 -26
- package/dist/business-flow/structural-flow-catalog.d.ts +0 -21
- package/dist/business-flow/structural-flow-catalog.d.ts.map +0 -1
- package/dist/business-flow/structural-flow-catalog.js +0 -125
- package/dist/business-flow/types.d.ts +0 -51
- package/dist/business-flow/types.d.ts.map +0 -1
- package/dist/business-flow/types.js +0 -1
- package/dist/cli/argument-parser.d.ts +0 -3
- package/dist/cli/argument-parser.d.ts.map +0 -1
- package/dist/cli/argument-parser.js +0 -200
- package/dist/cli/cli-application.d.ts +0 -39
- package/dist/cli/cli-application.d.ts.map +0 -1
- package/dist/cli/cli-application.js +0 -571
- package/dist/cli/cli-error.d.ts +0 -12
- package/dist/cli/cli-error.d.ts.map +0 -1
- package/dist/cli/cli-error.js +0 -44
- package/dist/cli/cli-presenter.d.ts +0 -14
- package/dist/cli/cli-presenter.d.ts.map +0 -1
- package/dist/cli/cli-presenter.js +0 -36
- package/dist/cli/insights-cli.d.ts +0 -6
- package/dist/cli/insights-cli.d.ts.map +0 -1
- package/dist/cli/insights-cli.js +0 -236
- package/dist/cli/main.d.ts +0 -3
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -137
- package/dist/cli/standalone-cli.d.ts +0 -3
- package/dist/cli/standalone-cli.d.ts.map +0 -1
- package/dist/cli/standalone-cli.js +0 -96
- package/dist/cli/types.d.ts +0 -49
- package/dist/cli/types.d.ts.map +0 -1
- package/dist/cli/types.js +0 -1
- package/dist/contracts/graph.d.ts +0 -266
- package/dist/contracts/graph.d.ts.map +0 -1
- package/dist/contracts/graph.js +0 -182
- package/dist/contracts/identifiers.d.ts +0 -4
- package/dist/contracts/identifiers.d.ts.map +0 -1
- package/dist/contracts/identifiers.js +0 -7
- package/dist/contracts/public-contracts.d.ts +0 -5
- package/dist/contracts/public-contracts.d.ts.map +0 -1
- package/dist/contracts/public-contracts.js +0 -4
- package/dist/evaluation/comparison.d.ts +0 -30
- package/dist/evaluation/comparison.d.ts.map +0 -1
- package/dist/evaluation/comparison.js +0 -108
- package/dist/evaluation/contracts.d.ts +0 -301
- package/dist/evaluation/contracts.d.ts.map +0 -1
- package/dist/evaluation/contracts.js +0 -413
- package/dist/graph/graph-store.d.ts +0 -55
- package/dist/graph/graph-store.d.ts.map +0 -1
- package/dist/graph/graph-store.js +0 -912
- package/dist/graph/types.d.ts +0 -189
- package/dist/graph/types.d.ts.map +0 -1
- package/dist/graph/types.js +0 -1
- package/dist/insights/contracts.d.ts +0 -266
- package/dist/insights/contracts.d.ts.map +0 -1
- package/dist/insights/contracts.js +0 -124
- package/dist/insights/insights-store.d.ts +0 -73
- package/dist/insights/insights-store.d.ts.map +0 -1
- package/dist/insights/insights-store.js +0 -246
- package/dist/knowledge/business-knowledge-service.d.ts +0 -24
- package/dist/knowledge/business-knowledge-service.d.ts.map +0 -1
- package/dist/knowledge/business-knowledge-service.js +0 -200
- package/dist/knowledge/graph-patch-conflict-error.d.ts +0 -8
- package/dist/knowledge/graph-patch-conflict-error.d.ts.map +0 -1
- package/dist/knowledge/graph-patch-conflict-error.js +0 -12
- package/dist/knowledge/structural-target-binding.d.ts +0 -14
- package/dist/knowledge/structural-target-binding.d.ts.map +0 -1
- package/dist/knowledge/structural-target-binding.js +0 -11
- package/dist/package-metadata.d.ts +0 -2
- package/dist/package-metadata.d.ts.map +0 -1
- package/dist/package-metadata.js +0 -9
- package/dist/repository/git-command.d.ts +0 -3
- package/dist/repository/git-command.d.ts.map +0 -1
- package/dist/repository/git-command.js +0 -25
- package/dist/repository/repository-inspector.d.ts +0 -7
- package/dist/repository/repository-inspector.d.ts.map +0 -1
- package/dist/repository/repository-inspector.js +0 -84
- package/dist/repository/repository-language-support.d.ts +0 -14
- package/dist/repository/repository-language-support.d.ts.map +0 -1
- package/dist/repository/repository-language-support.js +0 -64
- package/dist/repository/types.d.ts +0 -9
- package/dist/repository/types.d.ts.map +0 -1
- package/dist/repository/types.js +0 -1
- package/dist/runtime/sqlite-compatibility-process.d.ts +0 -8
- package/dist/runtime/sqlite-compatibility-process.d.ts.map +0 -1
- package/dist/runtime/sqlite-compatibility-process.js +0 -20
- package/dist/setup/skill-installer.d.ts +0 -20
- package/dist/setup/skill-installer.d.ts.map +0 -1
- package/dist/setup/skill-installer.js +0 -187
- package/dist/snapshots/repository-snapshot.d.ts +0 -4
- package/dist/snapshots/repository-snapshot.d.ts.map +0 -1
- package/dist/snapshots/repository-snapshot.js +0 -119
- package/dist/snapshots/types.d.ts +0 -30
- package/dist/snapshots/types.d.ts.map +0 -1
- package/dist/snapshots/types.js +0 -1
- package/dist/storage/atlas-database.d.ts +0 -19
- package/dist/storage/atlas-database.d.ts.map +0 -1
- package/dist/storage/atlas-database.js +0 -433
- package/dist/storage/snapshot-store.d.ts +0 -19
- package/dist/storage/snapshot-store.d.ts.map +0 -1
- package/dist/storage/snapshot-store.js +0 -74
- package/dist/structural-backend/codegraph-backend.d.ts +0 -57
- package/dist/structural-backend/codegraph-backend.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-backend.js +0 -1230
- package/dist/structural-backend/codegraph-worker-client.d.ts +0 -5
- package/dist/structural-backend/codegraph-worker-client.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker-client.js +0 -118
- package/dist/structural-backend/codegraph-worker-protocol.d.ts +0 -35
- package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker-protocol.js +0 -1
- package/dist/structural-backend/codegraph-worker.d.ts +0 -2
- package/dist/structural-backend/codegraph-worker.d.ts.map +0 -1
- package/dist/structural-backend/codegraph-worker.js +0 -131
- package/dist/structural-backend/process-instance.d.ts +0 -18
- package/dist/structural-backend/process-instance.d.ts.map +0 -1
- package/dist/structural-backend/process-instance.js +0 -207
- package/dist/structural-backend/structural-fact-changes.d.ts +0 -7
- package/dist/structural-backend/structural-fact-changes.d.ts.map +0 -1
- package/dist/structural-backend/structural-fact-changes.js +0 -78
- package/dist/structural-backend/structural-projection-bootstrapper.d.ts +0 -10
- package/dist/structural-backend/structural-projection-bootstrapper.d.ts.map +0 -1
- package/dist/structural-backend/structural-projection-bootstrapper.js +0 -295
- package/dist/structural-backend/structural-publication.d.ts +0 -13
- package/dist/structural-backend/structural-publication.d.ts.map +0 -1
- package/dist/structural-backend/structural-publication.js +0 -255
- package/dist/structural-backend/structural-write-lock.d.ts +0 -8
- package/dist/structural-backend/structural-write-lock.d.ts.map +0 -1
- package/dist/structural-backend/structural-write-lock.js +0 -415
- package/dist/structural-backend/types.d.ts +0 -144
- package/dist/structural-backend/types.d.ts.map +0 -1
- package/dist/structural-backend/types.js +0 -11
- package/dist/world/business-map-projector.d.ts +0 -14
- package/dist/world/business-map-projector.d.ts.map +0 -1
- package/dist/world/business-map-projector.js +0 -178
- package/dist/world/types.d.ts +0 -77
- package/dist/world/types.d.ts.map +0 -1
- package/dist/world/types.js +0 -1
- package/dist/world/world-graph-query.d.ts +0 -26
- package/dist/world/world-graph-query.d.ts.map +0 -1
- package/dist/world/world-graph-query.js +0 -250
- package/dist/world/world-model-service.d.ts +0 -21
- package/dist/world/world-model-service.d.ts.map +0 -1
- package/dist/world/world-model-service.js +0 -219
- package/dist/world/world-snapshot-store.d.ts +0 -40
- package/dist/world/world-snapshot-store.d.ts.map +0 -1
- package/dist/world/world-snapshot-store.js +0 -581
- package/docs/README.md +0 -30
- package/docs/architecture/codegraph-backend.md +0 -190
- package/docs/architecture/continuous-business-learning.md +0 -240
- package/docs/contracts/cli-v1.md +0 -164
- package/docs/contracts/graph-model.md +0 -106
- package/docs/contracts/graph-patch-v1.md +0 -105
- package/docs/contracts/insights-v1.md +0 -84
- package/docs/log.md +0 -80
- package/docs/mindmaps/semantic-atlas-overview.drawio +0 -255
- package/docs/mindmaps/semantic-atlas-overview.png +0 -0
- package/docs/mindmaps/semantic-atlas-overview.zh-CN.drawio +0 -255
- package/docs/mindmaps/semantic-atlas-overview.zh-CN.png +0 -0
- package/schemas/cli-envelope-v1.schema.json +0 -1244
- package/schemas/evaluation-plan-v1.schema.json +0 -211
- package/schemas/evaluation-run-v1.schema.json +0 -659
- package/schemas/graph-patch-v1.schema.json +0 -392
- package/schemas/insights-envelope-v1.schema.json +0 -428
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const repositoryIdentitySchema: z.ZodObject<{
|
|
3
|
+
kind: z.ZodEnum<{
|
|
4
|
+
directory: "directory";
|
|
5
|
+
git: "git";
|
|
6
|
+
}>;
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export declare const evidenceReferenceSchema: z.ZodObject<{
|
|
10
|
+
kind: z.ZodEnum<{
|
|
11
|
+
document: "document";
|
|
12
|
+
source: "source";
|
|
13
|
+
test: "test";
|
|
14
|
+
runtime: "runtime";
|
|
15
|
+
}>;
|
|
16
|
+
reference: z.ZodString;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const mapQueryObservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19
|
+
selector: z.ZodString;
|
|
20
|
+
outcome: z.ZodLiteral<"context">;
|
|
21
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
selector: z.ZodString;
|
|
24
|
+
outcome: z.ZodEnum<{
|
|
25
|
+
concept_not_found: "concept_not_found";
|
|
26
|
+
concept_ambiguous: "concept_ambiguous";
|
|
27
|
+
map_not_found: "map_not_found";
|
|
28
|
+
unavailable: "unavailable";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strict>], "outcome">;
|
|
31
|
+
export declare const evidenceDispositionSchema: z.ZodObject<{
|
|
32
|
+
status: z.ZodEnum<{
|
|
33
|
+
confirmed: "confirmed";
|
|
34
|
+
missing: "missing";
|
|
35
|
+
stale: "stale";
|
|
36
|
+
contradicted: "contradicted";
|
|
37
|
+
unresolved: "unresolved";
|
|
38
|
+
}>;
|
|
39
|
+
summary: z.ZodString;
|
|
40
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
41
|
+
kind: z.ZodEnum<{
|
|
42
|
+
document: "document";
|
|
43
|
+
source: "source";
|
|
44
|
+
test: "test";
|
|
45
|
+
runtime: "runtime";
|
|
46
|
+
}>;
|
|
47
|
+
reference: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
export declare const mapUpdateCandidateSchema: z.ZodObject<{
|
|
51
|
+
businessDomainId: z.ZodString;
|
|
52
|
+
kind: z.ZodEnum<{
|
|
53
|
+
node: "node";
|
|
54
|
+
relation: "relation";
|
|
55
|
+
anchor: "anchor";
|
|
56
|
+
}>;
|
|
57
|
+
disposition: z.ZodEnum<{
|
|
58
|
+
confirmed: "confirmed";
|
|
59
|
+
contradicted: "contradicted";
|
|
60
|
+
unresolved: "unresolved";
|
|
61
|
+
}>;
|
|
62
|
+
summary: z.ZodString;
|
|
63
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
64
|
+
kind: z.ZodEnum<{
|
|
65
|
+
document: "document";
|
|
66
|
+
source: "source";
|
|
67
|
+
test: "test";
|
|
68
|
+
runtime: "runtime";
|
|
69
|
+
}>;
|
|
70
|
+
reference: z.ZodString;
|
|
71
|
+
}, z.core.$strict>>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
export declare const humanCorrectionSchema: z.ZodObject<{
|
|
74
|
+
summary: z.ZodString;
|
|
75
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
76
|
+
business_boundary: "business_boundary";
|
|
77
|
+
upstream_cause: "upstream_cause";
|
|
78
|
+
impact: "impact";
|
|
79
|
+
map_use: "map_use";
|
|
80
|
+
}>>;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
export declare const taskObservationInputSchema: z.ZodObject<{
|
|
83
|
+
mapUpdateCandidates: z.ZodArray<z.ZodObject<{
|
|
84
|
+
businessDomainId: z.ZodString;
|
|
85
|
+
kind: z.ZodEnum<{
|
|
86
|
+
node: "node";
|
|
87
|
+
relation: "relation";
|
|
88
|
+
anchor: "anchor";
|
|
89
|
+
}>;
|
|
90
|
+
disposition: z.ZodEnum<{
|
|
91
|
+
confirmed: "confirmed";
|
|
92
|
+
contradicted: "contradicted";
|
|
93
|
+
unresolved: "unresolved";
|
|
94
|
+
}>;
|
|
95
|
+
summary: z.ZodString;
|
|
96
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
97
|
+
kind: z.ZodEnum<{
|
|
98
|
+
document: "document";
|
|
99
|
+
source: "source";
|
|
100
|
+
test: "test";
|
|
101
|
+
runtime: "runtime";
|
|
102
|
+
}>;
|
|
103
|
+
reference: z.ZodString;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
id: z.ZodString;
|
|
107
|
+
recordedAt: z.ZodISODateTime;
|
|
108
|
+
task: z.ZodObject<{
|
|
109
|
+
taskId: z.ZodString;
|
|
110
|
+
runId: z.ZodString;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
map: z.ZodObject<{
|
|
113
|
+
queries: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
114
|
+
selector: z.ZodString;
|
|
115
|
+
outcome: z.ZodLiteral<"context">;
|
|
116
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
117
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
118
|
+
selector: z.ZodString;
|
|
119
|
+
outcome: z.ZodEnum<{
|
|
120
|
+
concept_not_found: "concept_not_found";
|
|
121
|
+
concept_ambiguous: "concept_ambiguous";
|
|
122
|
+
map_not_found: "map_not_found";
|
|
123
|
+
unavailable: "unavailable";
|
|
124
|
+
}>;
|
|
125
|
+
}, z.core.$strict>], "outcome">>;
|
|
126
|
+
dispositions: z.ZodArray<z.ZodObject<{
|
|
127
|
+
status: z.ZodEnum<{
|
|
128
|
+
confirmed: "confirmed";
|
|
129
|
+
missing: "missing";
|
|
130
|
+
stale: "stale";
|
|
131
|
+
contradicted: "contradicted";
|
|
132
|
+
unresolved: "unresolved";
|
|
133
|
+
}>;
|
|
134
|
+
summary: z.ZodString;
|
|
135
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
136
|
+
kind: z.ZodEnum<{
|
|
137
|
+
document: "document";
|
|
138
|
+
source: "source";
|
|
139
|
+
test: "test";
|
|
140
|
+
runtime: "runtime";
|
|
141
|
+
}>;
|
|
142
|
+
reference: z.ZodString;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
summary: z.ZodString;
|
|
148
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
149
|
+
business_boundary: "business_boundary";
|
|
150
|
+
upstream_cause: "upstream_cause";
|
|
151
|
+
impact: "impact";
|
|
152
|
+
map_use: "map_use";
|
|
153
|
+
}>>;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
export declare const reviewAssessmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
158
|
+
taskId: z.ZodString;
|
|
159
|
+
runId: z.ZodString;
|
|
160
|
+
verdict: z.ZodLiteral<"approved">;
|
|
161
|
+
businessBoundary: z.ZodEnum<{
|
|
162
|
+
correct: "correct";
|
|
163
|
+
not_assessed: "not_assessed";
|
|
164
|
+
}>;
|
|
165
|
+
upstreamCause: z.ZodEnum<{
|
|
166
|
+
correct: "correct";
|
|
167
|
+
not_assessed: "not_assessed";
|
|
168
|
+
not_applicable: "not_applicable";
|
|
169
|
+
}>;
|
|
170
|
+
impactCompleteness: z.ZodEnum<{
|
|
171
|
+
not_assessed: "not_assessed";
|
|
172
|
+
complete: "complete";
|
|
173
|
+
}>;
|
|
174
|
+
requiredRework: z.ZodLiteral<false>;
|
|
175
|
+
mapCausedRegression: z.ZodLiteral<false>;
|
|
176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
177
|
+
taskId: z.ZodString;
|
|
178
|
+
runId: z.ZodString;
|
|
179
|
+
verdict: z.ZodLiteral<"changes_requested">;
|
|
180
|
+
businessBoundary: z.ZodEnum<{
|
|
181
|
+
correct: "correct";
|
|
182
|
+
not_assessed: "not_assessed";
|
|
183
|
+
incorrect: "incorrect";
|
|
184
|
+
}>;
|
|
185
|
+
upstreamCause: z.ZodEnum<{
|
|
186
|
+
correct: "correct";
|
|
187
|
+
not_assessed: "not_assessed";
|
|
188
|
+
not_applicable: "not_applicable";
|
|
189
|
+
incorrect: "incorrect";
|
|
190
|
+
}>;
|
|
191
|
+
impactCompleteness: z.ZodEnum<{
|
|
192
|
+
not_assessed: "not_assessed";
|
|
193
|
+
complete: "complete";
|
|
194
|
+
incomplete: "incomplete";
|
|
195
|
+
}>;
|
|
196
|
+
requiredRework: z.ZodLiteral<true>;
|
|
197
|
+
mapCausedRegression: z.ZodBoolean;
|
|
198
|
+
}, z.core.$strict>], "verdict">;
|
|
199
|
+
export declare const reviewObservationInputSchema: z.ZodObject<{
|
|
200
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
recordedAt: z.ZodISODateTime;
|
|
203
|
+
taskObservationId: z.ZodString;
|
|
204
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
205
|
+
taskId: z.ZodString;
|
|
206
|
+
runId: z.ZodString;
|
|
207
|
+
verdict: z.ZodLiteral<"approved">;
|
|
208
|
+
businessBoundary: z.ZodEnum<{
|
|
209
|
+
correct: "correct";
|
|
210
|
+
not_assessed: "not_assessed";
|
|
211
|
+
}>;
|
|
212
|
+
upstreamCause: z.ZodEnum<{
|
|
213
|
+
correct: "correct";
|
|
214
|
+
not_assessed: "not_assessed";
|
|
215
|
+
not_applicable: "not_applicable";
|
|
216
|
+
}>;
|
|
217
|
+
impactCompleteness: z.ZodEnum<{
|
|
218
|
+
not_assessed: "not_assessed";
|
|
219
|
+
complete: "complete";
|
|
220
|
+
}>;
|
|
221
|
+
requiredRework: z.ZodLiteral<false>;
|
|
222
|
+
mapCausedRegression: z.ZodLiteral<false>;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
taskId: z.ZodString;
|
|
225
|
+
runId: z.ZodString;
|
|
226
|
+
verdict: z.ZodLiteral<"changes_requested">;
|
|
227
|
+
businessBoundary: z.ZodEnum<{
|
|
228
|
+
correct: "correct";
|
|
229
|
+
not_assessed: "not_assessed";
|
|
230
|
+
incorrect: "incorrect";
|
|
231
|
+
}>;
|
|
232
|
+
upstreamCause: z.ZodEnum<{
|
|
233
|
+
correct: "correct";
|
|
234
|
+
not_assessed: "not_assessed";
|
|
235
|
+
not_applicable: "not_applicable";
|
|
236
|
+
incorrect: "incorrect";
|
|
237
|
+
}>;
|
|
238
|
+
impactCompleteness: z.ZodEnum<{
|
|
239
|
+
not_assessed: "not_assessed";
|
|
240
|
+
complete: "complete";
|
|
241
|
+
incomplete: "incomplete";
|
|
242
|
+
}>;
|
|
243
|
+
requiredRework: z.ZodLiteral<true>;
|
|
244
|
+
mapCausedRegression: z.ZodBoolean;
|
|
245
|
+
}, z.core.$strict>], "verdict">;
|
|
246
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
summary: z.ZodString;
|
|
248
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
249
|
+
business_boundary: "business_boundary";
|
|
250
|
+
upstream_cause: "upstream_cause";
|
|
251
|
+
impact: "impact";
|
|
252
|
+
map_use: "map_use";
|
|
253
|
+
}>>;
|
|
254
|
+
}, z.core.$strict>>;
|
|
255
|
+
}, z.core.$strict>;
|
|
256
|
+
export declare const taskObservationSchema: z.ZodObject<{
|
|
257
|
+
mapUpdateCandidates: z.ZodArray<z.ZodObject<{
|
|
258
|
+
businessDomainId: z.ZodString;
|
|
259
|
+
kind: z.ZodEnum<{
|
|
260
|
+
node: "node";
|
|
261
|
+
relation: "relation";
|
|
262
|
+
anchor: "anchor";
|
|
263
|
+
}>;
|
|
264
|
+
disposition: z.ZodEnum<{
|
|
265
|
+
confirmed: "confirmed";
|
|
266
|
+
contradicted: "contradicted";
|
|
267
|
+
unresolved: "unresolved";
|
|
268
|
+
}>;
|
|
269
|
+
summary: z.ZodString;
|
|
270
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
271
|
+
kind: z.ZodEnum<{
|
|
272
|
+
document: "document";
|
|
273
|
+
source: "source";
|
|
274
|
+
test: "test";
|
|
275
|
+
runtime: "runtime";
|
|
276
|
+
}>;
|
|
277
|
+
reference: z.ZodString;
|
|
278
|
+
}, z.core.$strict>>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
id: z.ZodString;
|
|
281
|
+
recordedAt: z.ZodISODateTime;
|
|
282
|
+
task: z.ZodObject<{
|
|
283
|
+
taskId: z.ZodString;
|
|
284
|
+
runId: z.ZodString;
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
map: z.ZodObject<{
|
|
287
|
+
queries: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
|
+
selector: z.ZodString;
|
|
289
|
+
outcome: z.ZodLiteral<"context">;
|
|
290
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
292
|
+
selector: z.ZodString;
|
|
293
|
+
outcome: z.ZodEnum<{
|
|
294
|
+
concept_not_found: "concept_not_found";
|
|
295
|
+
concept_ambiguous: "concept_ambiguous";
|
|
296
|
+
map_not_found: "map_not_found";
|
|
297
|
+
unavailable: "unavailable";
|
|
298
|
+
}>;
|
|
299
|
+
}, z.core.$strict>], "outcome">>;
|
|
300
|
+
dispositions: z.ZodArray<z.ZodObject<{
|
|
301
|
+
status: z.ZodEnum<{
|
|
302
|
+
confirmed: "confirmed";
|
|
303
|
+
missing: "missing";
|
|
304
|
+
stale: "stale";
|
|
305
|
+
contradicted: "contradicted";
|
|
306
|
+
unresolved: "unresolved";
|
|
307
|
+
}>;
|
|
308
|
+
summary: z.ZodString;
|
|
309
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
310
|
+
kind: z.ZodEnum<{
|
|
311
|
+
document: "document";
|
|
312
|
+
source: "source";
|
|
313
|
+
test: "test";
|
|
314
|
+
runtime: "runtime";
|
|
315
|
+
}>;
|
|
316
|
+
reference: z.ZodString;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
}, z.core.$strict>>;
|
|
319
|
+
}, z.core.$strict>;
|
|
320
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
summary: z.ZodString;
|
|
322
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
323
|
+
business_boundary: "business_boundary";
|
|
324
|
+
upstream_cause: "upstream_cause";
|
|
325
|
+
impact: "impact";
|
|
326
|
+
map_use: "map_use";
|
|
327
|
+
}>>;
|
|
328
|
+
}, z.core.$strict>>;
|
|
329
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
330
|
+
repository: z.ZodObject<{
|
|
331
|
+
kind: z.ZodEnum<{
|
|
332
|
+
directory: "directory";
|
|
333
|
+
git: "git";
|
|
334
|
+
}>;
|
|
335
|
+
id: z.ZodString;
|
|
336
|
+
}, z.core.$strict>;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
export declare const legacyTaskObservationSchema: z.ZodObject<{
|
|
339
|
+
mapUpdateCandidates: z.ZodArray<z.ZodObject<{
|
|
340
|
+
kind: z.ZodEnum<{
|
|
341
|
+
node: "node";
|
|
342
|
+
relation: "relation";
|
|
343
|
+
anchor: "anchor";
|
|
344
|
+
}>;
|
|
345
|
+
summary: z.ZodString;
|
|
346
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
347
|
+
kind: z.ZodEnum<{
|
|
348
|
+
document: "document";
|
|
349
|
+
source: "source";
|
|
350
|
+
test: "test";
|
|
351
|
+
runtime: "runtime";
|
|
352
|
+
}>;
|
|
353
|
+
reference: z.ZodString;
|
|
354
|
+
}, z.core.$strict>>;
|
|
355
|
+
}, z.core.$strict>>;
|
|
356
|
+
repository: z.ZodObject<{
|
|
357
|
+
kind: z.ZodEnum<{
|
|
358
|
+
directory: "directory";
|
|
359
|
+
git: "git";
|
|
360
|
+
}>;
|
|
361
|
+
id: z.ZodString;
|
|
362
|
+
}, z.core.$strict>;
|
|
363
|
+
id: z.ZodString;
|
|
364
|
+
recordedAt: z.ZodISODateTime;
|
|
365
|
+
task: z.ZodObject<{
|
|
366
|
+
taskId: z.ZodString;
|
|
367
|
+
runId: z.ZodString;
|
|
368
|
+
}, z.core.$strict>;
|
|
369
|
+
map: z.ZodObject<{
|
|
370
|
+
queries: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
371
|
+
selector: z.ZodString;
|
|
372
|
+
outcome: z.ZodLiteral<"context">;
|
|
373
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
375
|
+
selector: z.ZodString;
|
|
376
|
+
outcome: z.ZodEnum<{
|
|
377
|
+
concept_not_found: "concept_not_found";
|
|
378
|
+
concept_ambiguous: "concept_ambiguous";
|
|
379
|
+
map_not_found: "map_not_found";
|
|
380
|
+
unavailable: "unavailable";
|
|
381
|
+
}>;
|
|
382
|
+
}, z.core.$strict>], "outcome">>;
|
|
383
|
+
dispositions: z.ZodArray<z.ZodObject<{
|
|
384
|
+
status: z.ZodEnum<{
|
|
385
|
+
confirmed: "confirmed";
|
|
386
|
+
missing: "missing";
|
|
387
|
+
stale: "stale";
|
|
388
|
+
contradicted: "contradicted";
|
|
389
|
+
unresolved: "unresolved";
|
|
390
|
+
}>;
|
|
391
|
+
summary: z.ZodString;
|
|
392
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
393
|
+
kind: z.ZodEnum<{
|
|
394
|
+
document: "document";
|
|
395
|
+
source: "source";
|
|
396
|
+
test: "test";
|
|
397
|
+
runtime: "runtime";
|
|
398
|
+
}>;
|
|
399
|
+
reference: z.ZodString;
|
|
400
|
+
}, z.core.$strict>>;
|
|
401
|
+
}, z.core.$strict>>;
|
|
402
|
+
}, z.core.$strict>;
|
|
403
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
summary: z.ZodString;
|
|
405
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
406
|
+
business_boundary: "business_boundary";
|
|
407
|
+
upstream_cause: "upstream_cause";
|
|
408
|
+
impact: "impact";
|
|
409
|
+
map_use: "map_use";
|
|
410
|
+
}>>;
|
|
411
|
+
}, z.core.$strict>>;
|
|
412
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
export declare const storedTaskObservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
415
|
+
mapUpdateCandidates: z.ZodArray<z.ZodObject<{
|
|
416
|
+
kind: z.ZodEnum<{
|
|
417
|
+
node: "node";
|
|
418
|
+
relation: "relation";
|
|
419
|
+
anchor: "anchor";
|
|
420
|
+
}>;
|
|
421
|
+
summary: z.ZodString;
|
|
422
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
423
|
+
kind: z.ZodEnum<{
|
|
424
|
+
document: "document";
|
|
425
|
+
source: "source";
|
|
426
|
+
test: "test";
|
|
427
|
+
runtime: "runtime";
|
|
428
|
+
}>;
|
|
429
|
+
reference: z.ZodString;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
}, z.core.$strict>>;
|
|
432
|
+
repository: z.ZodObject<{
|
|
433
|
+
kind: z.ZodEnum<{
|
|
434
|
+
directory: "directory";
|
|
435
|
+
git: "git";
|
|
436
|
+
}>;
|
|
437
|
+
id: z.ZodString;
|
|
438
|
+
}, z.core.$strict>;
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
recordedAt: z.ZodISODateTime;
|
|
441
|
+
task: z.ZodObject<{
|
|
442
|
+
taskId: z.ZodString;
|
|
443
|
+
runId: z.ZodString;
|
|
444
|
+
}, z.core.$strict>;
|
|
445
|
+
map: z.ZodObject<{
|
|
446
|
+
queries: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
447
|
+
selector: z.ZodString;
|
|
448
|
+
outcome: z.ZodLiteral<"context">;
|
|
449
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
|
+
selector: z.ZodString;
|
|
452
|
+
outcome: z.ZodEnum<{
|
|
453
|
+
concept_not_found: "concept_not_found";
|
|
454
|
+
concept_ambiguous: "concept_ambiguous";
|
|
455
|
+
map_not_found: "map_not_found";
|
|
456
|
+
unavailable: "unavailable";
|
|
457
|
+
}>;
|
|
458
|
+
}, z.core.$strict>], "outcome">>;
|
|
459
|
+
dispositions: z.ZodArray<z.ZodObject<{
|
|
460
|
+
status: z.ZodEnum<{
|
|
461
|
+
confirmed: "confirmed";
|
|
462
|
+
missing: "missing";
|
|
463
|
+
stale: "stale";
|
|
464
|
+
contradicted: "contradicted";
|
|
465
|
+
unresolved: "unresolved";
|
|
466
|
+
}>;
|
|
467
|
+
summary: z.ZodString;
|
|
468
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
469
|
+
kind: z.ZodEnum<{
|
|
470
|
+
document: "document";
|
|
471
|
+
source: "source";
|
|
472
|
+
test: "test";
|
|
473
|
+
runtime: "runtime";
|
|
474
|
+
}>;
|
|
475
|
+
reference: z.ZodString;
|
|
476
|
+
}, z.core.$strict>>;
|
|
477
|
+
}, z.core.$strict>>;
|
|
478
|
+
}, z.core.$strict>;
|
|
479
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
480
|
+
summary: z.ZodString;
|
|
481
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
482
|
+
business_boundary: "business_boundary";
|
|
483
|
+
upstream_cause: "upstream_cause";
|
|
484
|
+
impact: "impact";
|
|
485
|
+
map_use: "map_use";
|
|
486
|
+
}>>;
|
|
487
|
+
}, z.core.$strict>>;
|
|
488
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
490
|
+
mapUpdateCandidates: z.ZodArray<z.ZodObject<{
|
|
491
|
+
businessDomainId: z.ZodString;
|
|
492
|
+
kind: z.ZodEnum<{
|
|
493
|
+
node: "node";
|
|
494
|
+
relation: "relation";
|
|
495
|
+
anchor: "anchor";
|
|
496
|
+
}>;
|
|
497
|
+
disposition: z.ZodEnum<{
|
|
498
|
+
confirmed: "confirmed";
|
|
499
|
+
contradicted: "contradicted";
|
|
500
|
+
unresolved: "unresolved";
|
|
501
|
+
}>;
|
|
502
|
+
summary: z.ZodString;
|
|
503
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
504
|
+
kind: z.ZodEnum<{
|
|
505
|
+
document: "document";
|
|
506
|
+
source: "source";
|
|
507
|
+
test: "test";
|
|
508
|
+
runtime: "runtime";
|
|
509
|
+
}>;
|
|
510
|
+
reference: z.ZodString;
|
|
511
|
+
}, z.core.$strict>>;
|
|
512
|
+
}, z.core.$strict>>;
|
|
513
|
+
id: z.ZodString;
|
|
514
|
+
recordedAt: z.ZodISODateTime;
|
|
515
|
+
task: z.ZodObject<{
|
|
516
|
+
taskId: z.ZodString;
|
|
517
|
+
runId: z.ZodString;
|
|
518
|
+
}, z.core.$strict>;
|
|
519
|
+
map: z.ZodObject<{
|
|
520
|
+
queries: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
521
|
+
selector: z.ZodString;
|
|
522
|
+
outcome: z.ZodLiteral<"context">;
|
|
523
|
+
selectedConceptIds: z.ZodArray<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
525
|
+
selector: z.ZodString;
|
|
526
|
+
outcome: z.ZodEnum<{
|
|
527
|
+
concept_not_found: "concept_not_found";
|
|
528
|
+
concept_ambiguous: "concept_ambiguous";
|
|
529
|
+
map_not_found: "map_not_found";
|
|
530
|
+
unavailable: "unavailable";
|
|
531
|
+
}>;
|
|
532
|
+
}, z.core.$strict>], "outcome">>;
|
|
533
|
+
dispositions: z.ZodArray<z.ZodObject<{
|
|
534
|
+
status: z.ZodEnum<{
|
|
535
|
+
confirmed: "confirmed";
|
|
536
|
+
missing: "missing";
|
|
537
|
+
stale: "stale";
|
|
538
|
+
contradicted: "contradicted";
|
|
539
|
+
unresolved: "unresolved";
|
|
540
|
+
}>;
|
|
541
|
+
summary: z.ZodString;
|
|
542
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
543
|
+
kind: z.ZodEnum<{
|
|
544
|
+
document: "document";
|
|
545
|
+
source: "source";
|
|
546
|
+
test: "test";
|
|
547
|
+
runtime: "runtime";
|
|
548
|
+
}>;
|
|
549
|
+
reference: z.ZodString;
|
|
550
|
+
}, z.core.$strict>>;
|
|
551
|
+
}, z.core.$strict>>;
|
|
552
|
+
}, z.core.$strict>;
|
|
553
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
554
|
+
summary: z.ZodString;
|
|
555
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
556
|
+
business_boundary: "business_boundary";
|
|
557
|
+
upstream_cause: "upstream_cause";
|
|
558
|
+
impact: "impact";
|
|
559
|
+
map_use: "map_use";
|
|
560
|
+
}>>;
|
|
561
|
+
}, z.core.$strict>>;
|
|
562
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
563
|
+
repository: z.ZodObject<{
|
|
564
|
+
kind: z.ZodEnum<{
|
|
565
|
+
directory: "directory";
|
|
566
|
+
git: "git";
|
|
567
|
+
}>;
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
}, z.core.$strict>;
|
|
570
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
571
|
+
export declare const reviewObservationSchema: z.ZodObject<{
|
|
572
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
573
|
+
id: z.ZodString;
|
|
574
|
+
recordedAt: z.ZodISODateTime;
|
|
575
|
+
taskObservationId: z.ZodString;
|
|
576
|
+
review: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
577
|
+
taskId: z.ZodString;
|
|
578
|
+
runId: z.ZodString;
|
|
579
|
+
verdict: z.ZodLiteral<"approved">;
|
|
580
|
+
businessBoundary: z.ZodEnum<{
|
|
581
|
+
correct: "correct";
|
|
582
|
+
not_assessed: "not_assessed";
|
|
583
|
+
}>;
|
|
584
|
+
upstreamCause: z.ZodEnum<{
|
|
585
|
+
correct: "correct";
|
|
586
|
+
not_assessed: "not_assessed";
|
|
587
|
+
not_applicable: "not_applicable";
|
|
588
|
+
}>;
|
|
589
|
+
impactCompleteness: z.ZodEnum<{
|
|
590
|
+
not_assessed: "not_assessed";
|
|
591
|
+
complete: "complete";
|
|
592
|
+
}>;
|
|
593
|
+
requiredRework: z.ZodLiteral<false>;
|
|
594
|
+
mapCausedRegression: z.ZodLiteral<false>;
|
|
595
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
596
|
+
taskId: z.ZodString;
|
|
597
|
+
runId: z.ZodString;
|
|
598
|
+
verdict: z.ZodLiteral<"changes_requested">;
|
|
599
|
+
businessBoundary: z.ZodEnum<{
|
|
600
|
+
correct: "correct";
|
|
601
|
+
not_assessed: "not_assessed";
|
|
602
|
+
incorrect: "incorrect";
|
|
603
|
+
}>;
|
|
604
|
+
upstreamCause: z.ZodEnum<{
|
|
605
|
+
correct: "correct";
|
|
606
|
+
not_assessed: "not_assessed";
|
|
607
|
+
not_applicable: "not_applicable";
|
|
608
|
+
incorrect: "incorrect";
|
|
609
|
+
}>;
|
|
610
|
+
impactCompleteness: z.ZodEnum<{
|
|
611
|
+
not_assessed: "not_assessed";
|
|
612
|
+
complete: "complete";
|
|
613
|
+
incomplete: "incomplete";
|
|
614
|
+
}>;
|
|
615
|
+
requiredRework: z.ZodLiteral<true>;
|
|
616
|
+
mapCausedRegression: z.ZodBoolean;
|
|
617
|
+
}, z.core.$strict>], "verdict">;
|
|
618
|
+
humanCorrection: z.ZodOptional<z.ZodObject<{
|
|
619
|
+
summary: z.ZodString;
|
|
620
|
+
dimensions: z.ZodArray<z.ZodEnum<{
|
|
621
|
+
business_boundary: "business_boundary";
|
|
622
|
+
upstream_cause: "upstream_cause";
|
|
623
|
+
impact: "impact";
|
|
624
|
+
map_use: "map_use";
|
|
625
|
+
}>>;
|
|
626
|
+
}, z.core.$strict>>;
|
|
627
|
+
repository: z.ZodObject<{
|
|
628
|
+
kind: z.ZodEnum<{
|
|
629
|
+
directory: "directory";
|
|
630
|
+
git: "git";
|
|
631
|
+
}>;
|
|
632
|
+
id: z.ZodString;
|
|
633
|
+
}, z.core.$strict>;
|
|
634
|
+
}, z.core.$strict>;
|
|
635
|
+
export type RepositoryIdentity = z.infer<typeof repositoryIdentitySchema>;
|
|
636
|
+
export type EvidenceReference = z.infer<typeof evidenceReferenceSchema>;
|
|
637
|
+
export type MapQueryObservation = z.infer<typeof mapQueryObservationSchema>;
|
|
638
|
+
export type EvidenceDisposition = z.infer<typeof evidenceDispositionSchema>;
|
|
639
|
+
export type MapUpdateCandidate = z.infer<typeof mapUpdateCandidateSchema>;
|
|
640
|
+
export type HumanCorrection = z.infer<typeof humanCorrectionSchema>;
|
|
641
|
+
export type ReviewAssessment = z.infer<typeof reviewAssessmentSchema>;
|
|
642
|
+
export type TaskObservationInput = z.infer<typeof taskObservationInputSchema>;
|
|
643
|
+
export type ReviewObservationInput = z.infer<typeof reviewObservationInputSchema>;
|
|
644
|
+
export type TaskObservation = z.infer<typeof taskObservationSchema>;
|
|
645
|
+
export type LegacyTaskObservation = z.infer<typeof legacyTaskObservationSchema>;
|
|
646
|
+
export type StoredTaskObservation = z.infer<typeof storedTaskObservationSchema>;
|
|
647
|
+
export type ReviewObservation = z.infer<typeof reviewObservationSchema>;
|
|
648
|
+
export type ObservationKind = "task" | "review";
|
|
649
|
+
//# sourceMappingURL=observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observation.d.ts","sourceRoot":"","sources":["../../src/contracts/observation.ts"],"names":[],"mappings":"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"}
|