semantic-atlas 0.1.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.
Files changed (175) hide show
  1. package/.agents/skills/semantic-atlas/SKILL.md +172 -0
  2. package/.agents/skills/semantic-atlas/references/graph-patch.md +109 -0
  3. package/.agents/skills/semantic-atlas/references/result-routing.md +91 -0
  4. package/LICENSE +21 -0
  5. package/README.md +118 -0
  6. package/dist/business-flow/business-flow-derivation-service.d.ts +11 -0
  7. package/dist/business-flow/business-flow-derivation-service.d.ts.map +1 -0
  8. package/dist/business-flow/business-flow-derivation-service.js +151 -0
  9. package/dist/business-flow/business-flow-draft.d.ts +16 -0
  10. package/dist/business-flow/business-flow-draft.d.ts.map +1 -0
  11. package/dist/business-flow/business-flow-draft.js +150 -0
  12. package/dist/business-flow/framework-business-strategy.d.ts +7 -0
  13. package/dist/business-flow/framework-business-strategy.d.ts.map +1 -0
  14. package/dist/business-flow/framework-business-strategy.js +1 -0
  15. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts +10 -0
  16. package/dist/business-flow/strategies/bullmq-business-strategy.d.ts.map +1 -0
  17. package/dist/business-flow/strategies/bullmq-business-strategy.js +79 -0
  18. package/dist/business-flow/strategies/called-operation-derivation.d.ts +13 -0
  19. package/dist/business-flow/strategies/called-operation-derivation.d.ts.map +1 -0
  20. package/dist/business-flow/strategies/called-operation-derivation.js +32 -0
  21. package/dist/business-flow/strategies/graphql-business-strategy.d.ts +8 -0
  22. package/dist/business-flow/strategies/graphql-business-strategy.d.ts.map +1 -0
  23. package/dist/business-flow/strategies/graphql-business-strategy.js +65 -0
  24. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts +8 -0
  25. package/dist/business-flow/strategies/nestjs-business-strategy.d.ts.map +1 -0
  26. package/dist/business-flow/strategies/nestjs-business-strategy.js +72 -0
  27. package/dist/business-flow/strategies/strategy-helpers.d.ts +32 -0
  28. package/dist/business-flow/strategies/strategy-helpers.d.ts.map +1 -0
  29. package/dist/business-flow/strategies/strategy-helpers.js +49 -0
  30. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts +10 -0
  31. package/dist/business-flow/strategies/typeorm-business-strategy.d.ts.map +1 -0
  32. package/dist/business-flow/strategies/typeorm-business-strategy.js +136 -0
  33. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts +5 -0
  34. package/dist/business-flow/strategies/verified-invariant-strategy.d.ts.map +1 -0
  35. package/dist/business-flow/strategies/verified-invariant-strategy.js +38 -0
  36. package/dist/business-flow/strategies/verified-test-strategy.d.ts +5 -0
  37. package/dist/business-flow/strategies/verified-test-strategy.d.ts.map +1 -0
  38. package/dist/business-flow/strategies/verified-test-strategy.js +26 -0
  39. package/dist/business-flow/structural-flow-catalog.d.ts +21 -0
  40. package/dist/business-flow/structural-flow-catalog.d.ts.map +1 -0
  41. package/dist/business-flow/structural-flow-catalog.js +125 -0
  42. package/dist/business-flow/types.d.ts +51 -0
  43. package/dist/business-flow/types.d.ts.map +1 -0
  44. package/dist/business-flow/types.js +1 -0
  45. package/dist/cli/argument-parser.d.ts +3 -0
  46. package/dist/cli/argument-parser.d.ts.map +1 -0
  47. package/dist/cli/argument-parser.js +174 -0
  48. package/dist/cli/bin.d.ts +3 -0
  49. package/dist/cli/bin.d.ts.map +1 -0
  50. package/dist/cli/bin.js +23 -0
  51. package/dist/cli/cli-application.d.ts +38 -0
  52. package/dist/cli/cli-application.d.ts.map +1 -0
  53. package/dist/cli/cli-application.js +515 -0
  54. package/dist/cli/cli-error.d.ts +12 -0
  55. package/dist/cli/cli-error.d.ts.map +1 -0
  56. package/dist/cli/cli-error.js +44 -0
  57. package/dist/cli/cli-presenter.d.ts +14 -0
  58. package/dist/cli/cli-presenter.d.ts.map +1 -0
  59. package/dist/cli/cli-presenter.js +36 -0
  60. package/dist/cli/main.d.ts +3 -0
  61. package/dist/cli/main.d.ts.map +1 -0
  62. package/dist/cli/main.js +45 -0
  63. package/dist/cli/types.d.ts +46 -0
  64. package/dist/cli/types.d.ts.map +1 -0
  65. package/dist/cli/types.js +1 -0
  66. package/dist/contracts/cli.d.ts +2139 -0
  67. package/dist/contracts/cli.d.ts.map +1 -0
  68. package/dist/contracts/cli.js +232 -0
  69. package/dist/contracts/graph.d.ts +262 -0
  70. package/dist/contracts/graph.d.ts.map +1 -0
  71. package/dist/contracts/graph.js +182 -0
  72. package/dist/contracts/identifiers.d.ts +4 -0
  73. package/dist/contracts/identifiers.d.ts.map +1 -0
  74. package/dist/contracts/identifiers.js +7 -0
  75. package/dist/contracts/public-contracts.d.ts +4 -0
  76. package/dist/contracts/public-contracts.d.ts.map +1 -0
  77. package/dist/contracts/public-contracts.js +3 -0
  78. package/dist/evaluation/comparison.d.ts +30 -0
  79. package/dist/evaluation/comparison.d.ts.map +1 -0
  80. package/dist/evaluation/comparison.js +108 -0
  81. package/dist/evaluation/contracts.d.ts +204 -0
  82. package/dist/evaluation/contracts.d.ts.map +1 -0
  83. package/dist/evaluation/contracts.js +269 -0
  84. package/dist/graph/graph-store.d.ts +47 -0
  85. package/dist/graph/graph-store.d.ts.map +1 -0
  86. package/dist/graph/graph-store.js +719 -0
  87. package/dist/graph/types.d.ts +168 -0
  88. package/dist/graph/types.d.ts.map +1 -0
  89. package/dist/graph/types.js +1 -0
  90. package/dist/index.d.ts +19 -0
  91. package/dist/index.d.ts.map +1 -0
  92. package/dist/index.js +9 -0
  93. package/dist/knowledge/business-knowledge-service.d.ts +24 -0
  94. package/dist/knowledge/business-knowledge-service.d.ts.map +1 -0
  95. package/dist/knowledge/business-knowledge-service.js +200 -0
  96. package/dist/knowledge/graph-patch-conflict-error.d.ts +8 -0
  97. package/dist/knowledge/graph-patch-conflict-error.d.ts.map +1 -0
  98. package/dist/knowledge/graph-patch-conflict-error.js +12 -0
  99. package/dist/knowledge/structural-target-binding.d.ts +14 -0
  100. package/dist/knowledge/structural-target-binding.d.ts.map +1 -0
  101. package/dist/knowledge/structural-target-binding.js +11 -0
  102. package/dist/repository/git-command.d.ts +3 -0
  103. package/dist/repository/git-command.d.ts.map +1 -0
  104. package/dist/repository/git-command.js +25 -0
  105. package/dist/repository/repository-inspector.d.ts +7 -0
  106. package/dist/repository/repository-inspector.d.ts.map +1 -0
  107. package/dist/repository/repository-inspector.js +84 -0
  108. package/dist/repository/repository-language-support.d.ts +14 -0
  109. package/dist/repository/repository-language-support.d.ts.map +1 -0
  110. package/dist/repository/repository-language-support.js +64 -0
  111. package/dist/repository/types.d.ts +9 -0
  112. package/dist/repository/types.d.ts.map +1 -0
  113. package/dist/repository/types.js +1 -0
  114. package/dist/snapshots/repository-snapshot.d.ts +4 -0
  115. package/dist/snapshots/repository-snapshot.d.ts.map +1 -0
  116. package/dist/snapshots/repository-snapshot.js +119 -0
  117. package/dist/snapshots/types.d.ts +30 -0
  118. package/dist/snapshots/types.d.ts.map +1 -0
  119. package/dist/snapshots/types.js +1 -0
  120. package/dist/storage/atlas-database.d.ts +14 -0
  121. package/dist/storage/atlas-database.d.ts.map +1 -0
  122. package/dist/storage/atlas-database.js +552 -0
  123. package/dist/storage/snapshot-store.d.ts +19 -0
  124. package/dist/storage/snapshot-store.d.ts.map +1 -0
  125. package/dist/storage/snapshot-store.js +77 -0
  126. package/dist/structural-backend/codegraph-backend.d.ts +54 -0
  127. package/dist/structural-backend/codegraph-backend.d.ts.map +1 -0
  128. package/dist/structural-backend/codegraph-backend.js +1224 -0
  129. package/dist/structural-backend/codegraph-worker-client.d.ts +5 -0
  130. package/dist/structural-backend/codegraph-worker-client.d.ts.map +1 -0
  131. package/dist/structural-backend/codegraph-worker-client.js +118 -0
  132. package/dist/structural-backend/codegraph-worker-protocol.d.ts +35 -0
  133. package/dist/structural-backend/codegraph-worker-protocol.d.ts.map +1 -0
  134. package/dist/structural-backend/codegraph-worker-protocol.js +1 -0
  135. package/dist/structural-backend/codegraph-worker.d.ts +2 -0
  136. package/dist/structural-backend/codegraph-worker.d.ts.map +1 -0
  137. package/dist/structural-backend/codegraph-worker.js +131 -0
  138. package/dist/structural-backend/process-instance.d.ts +18 -0
  139. package/dist/structural-backend/process-instance.d.ts.map +1 -0
  140. package/dist/structural-backend/process-instance.js +207 -0
  141. package/dist/structural-backend/structural-fact-changes.d.ts +7 -0
  142. package/dist/structural-backend/structural-fact-changes.d.ts.map +1 -0
  143. package/dist/structural-backend/structural-fact-changes.js +78 -0
  144. package/dist/structural-backend/structural-publication.d.ts +12 -0
  145. package/dist/structural-backend/structural-publication.d.ts.map +1 -0
  146. package/dist/structural-backend/structural-publication.js +252 -0
  147. package/dist/structural-backend/structural-write-lock.d.ts +8 -0
  148. package/dist/structural-backend/structural-write-lock.d.ts.map +1 -0
  149. package/dist/structural-backend/structural-write-lock.js +415 -0
  150. package/dist/structural-backend/types.d.ts +144 -0
  151. package/dist/structural-backend/types.d.ts.map +1 -0
  152. package/dist/structural-backend/types.js +11 -0
  153. package/dist/world/types.d.ts +77 -0
  154. package/dist/world/types.d.ts.map +1 -0
  155. package/dist/world/types.js +1 -0
  156. package/dist/world/world-graph-query.d.ts +31 -0
  157. package/dist/world/world-graph-query.d.ts.map +1 -0
  158. package/dist/world/world-graph-query.js +453 -0
  159. package/dist/world/world-model-service.d.ts +21 -0
  160. package/dist/world/world-model-service.d.ts.map +1 -0
  161. package/dist/world/world-model-service.js +211 -0
  162. package/dist/world/world-snapshot-store.d.ts +40 -0
  163. package/dist/world/world-snapshot-store.d.ts.map +1 -0
  164. package/dist/world/world-snapshot-store.js +555 -0
  165. package/docs/architecture/codegraph-backend.md +193 -0
  166. package/docs/contracts/cli-v1.md +119 -0
  167. package/docs/contracts/graph-model.md +102 -0
  168. package/docs/contracts/graph-patch-v1.md +98 -0
  169. package/docs/evaluation.md +128 -0
  170. package/docs/product-contract.md +148 -0
  171. package/package.json +78 -0
  172. package/schemas/cli-envelope-v1.schema.json +1359 -0
  173. package/schemas/evaluation-plan-v1.schema.json +211 -0
  174. package/schemas/evaluation-run-v1.schema.json +365 -0
  175. package/schemas/graph-patch-v1.schema.json +392 -0
@@ -0,0 +1,148 @@
1
+ # Semantic Atlas v0.1 Product Contract
2
+
3
+ ## Purpose and authority
4
+
5
+ Semantic Atlas is a local project world model used by AI coding agents. It connects code structure to durable business concepts, flows, data, rules, and interfaces so an agent can understand a project through business meaning instead of repeatedly reconstructing that meaning from source search.
6
+
7
+ Source code remains authoritative. Atlas is a revision-aware projection with explicit evidence and validity. A stale, unsupported, unresolved, or insufficient result sends the calling agent back to source inspection.
8
+
9
+ This document fixes the v0.1 product boundary. The versioned machine contracts live in `schemas/`; the storage and integration design is defined in [CodeGraph backend architecture](architecture/codegraph-backend.md).
10
+
11
+ ## One-product boundary
12
+
13
+ Users and calling agents interact with one product:
14
+
15
+ - the `semantic-atlas` CLI supplies deterministic, machine-readable operations;
16
+ - the Semantic Atlas Skill teaches the calling agent when and how to use those operations;
17
+ - `@colbymchenry/codegraph` is an internal structural-index dependency behind an Atlas-owned adapter;
18
+ - CodeGraph's CLI, MCP server, storage model, and public types are not exposed as Semantic Atlas workflows.
19
+
20
+ Atlas interprets CodeGraph results through its own world-graph contract. Replacing or upgrading the structural backend does not change the public product identity.
21
+
22
+ ## Agent workflow
23
+
24
+ ### First use
25
+
26
+ 1. The calling agent invokes `semantic-atlas status` in a target worktree.
27
+ 2. If the current worktree has no usable world snapshot, the agent invokes `semantic-atlas index`.
28
+ 3. Atlas creates local generated state under `<worktree>/.atlas/` and invokes the embedded CodeGraph SDK to build the structural graph.
29
+ 4. In the same index lifecycle, Atlas records the repository snapshot, rebinds evidence, derives validity, and makes one unified world graph queryable.
30
+ 5. The agent uses `map roots`, `map search`, `map children`, and `map show` to obtain business context connected to bounded structural evidence.
31
+ 6. The agent opens authoritative source where evidence is stale, unresolved, unsupported, or insufficient and performs engineering work outside Atlas.
32
+ 7. After relevant source changes, the agent reindexes, inspects `changes`, and submits verified business knowledge with `learn --stdin` against the current snapshot.
33
+
34
+ ### Recurring use
35
+
36
+ 1. The agent checks `status` before trusting stored knowledge.
37
+ 2. A current world map is queried before broad source search.
38
+ 3. Source edits, tests, Git operations, review, and natural-language reasoning remain normal agent work.
39
+ 4. Reindexing updates the structural projection and invalidates only business assertions whose evidence can no longer be rebound.
40
+
41
+ ## Responsibility boundary
42
+
43
+ | Concern | Semantic Atlas | Calling agent |
44
+ | --- | --- | --- |
45
+ | Product interface | Exposes the `semantic-atlas` CLI and Skill | Chooses the repository and task scope |
46
+ | Structural code model | Uses the embedded CodeGraph SDK for extraction, cross-file resolution, incremental sync, and structural queries | Reads source when the structural map is insufficient |
47
+ | Business world model | Stores and queries capabilities, scenarios, operations, invariants, interfaces, data, and their relationships | Understands natural language and decides which business assertions are justified |
48
+ | Unified graph | Connects business assertions to structural evidence and returns one Atlas graph contract | Uses graph results as bounded context |
49
+ | Evidence lifecycle | Records source locators and hashes, then derives `valid` or `stale` after indexing | Revalidates or replaces stale assertions |
50
+ | Source changes | Writes generated state only under `.atlas/` | Edits source and project configuration |
51
+ | Verification | Reports evidence, freshness, support, and unresolved boundaries | Runs tests, reviews diffs, and judges correctness |
52
+ | Git workflow | Reads Git state for snapshots without changing tracked state | Commits, merges, rebases, reviews, and releases |
53
+
54
+ ## Storage and zero-intrusion contract
55
+
56
+ Each Git worktree owns one local store:
57
+
58
+ ```text
59
+ <worktree>/
60
+ └── .atlas/
61
+ ├── .gitignore
62
+ ├── codegraph.db
63
+ └── transient lock and SQLite sidecar files
64
+ ```
65
+
66
+ - `.atlas/codegraph.db` is the single durable SQLite database. Its filename is an internal consequence of the embedded CodeGraph API, not a second product or a public compatibility promise.
67
+ - Atlas prepares `.atlas/.gitignore` so generated state does not change normal Git status. No tracked source file or project configuration is created or modified.
68
+ - Every worktree has an independent index because its checked-out and dirty source state can differ. v0.1 does not share one mutable structural database across worktrees or operating systems.
69
+ - CodeGraph owns its structural schema. Atlas owns namespaced business, evidence, snapshot, validity, and integration metadata in the same database.
70
+ - Atlas never copies CodeGraph structural nodes and edges into parallel Atlas structural tables. The Atlas query layer composes both ownership domains into one logical world graph.
71
+
72
+ ## Index and consistency lifecycle
73
+
74
+ `semantic-atlas index` is the only public owner of the combined lifecycle:
75
+
76
+ 1. acquire the Atlas worktree lock and mark the projection as building;
77
+ 2. initialize or open CodeGraph with `CODEGRAPH_DIR=.atlas`;
78
+ 3. run CodeGraph indexing or incremental sync and require a successful, complete result;
79
+ 4. close the CodeGraph write lifecycle;
80
+ 5. record the Atlas snapshot and structural-backend version;
81
+ 6. rebind business evidence to the current structural graph and derive assertion validity;
82
+ 7. publish the completed world snapshot and release the lock.
83
+
84
+ An interrupted or failed build remains explicit. Map commands do not present a partial structural graph as current.
85
+
86
+ Normal rebuilds use CodeGraph operations that preserve unknown tables in the same database. The Atlas adapter does not expose or invoke CodeGraph `recreate()` or `uninitialize()`, because those operations delete the physical database and therefore Atlas-owned business knowledge. Any future corruption-recovery path must preserve and restore Atlas-owned data before replacing the database file.
87
+
88
+ `learn` is an optimistic-concurrency transaction. It validates all evidence against the current completed snapshot and commits all operations together or none of them.
89
+
90
+ ## World-model contract
91
+
92
+ The public graph has two ownership domains and one query surface:
93
+
94
+ - structural nodes and relations come from CodeGraph and describe where code lives and how statically discoverable code connects;
95
+ - business nodes and relations come from evidence-bound Atlas learning and describe why the system exists and how its business behavior flows;
96
+ - evidence links connect business assertions to structural nodes without foreign-key ownership of CodeGraph rows;
97
+ - map and change results expose Atlas identifiers, certainty, validity, support, and evidence without leaking backend table layouts.
98
+
99
+ Evidence stores a backend locator together with normalized path, symbol identity, source range, and content hash. A structural rebuild may replace backend rows, so Atlas rebinds evidence after indexing. Failed rebinding produces `stale`; it never silently deletes or upgrades a business assertion.
100
+
101
+ ## Supported scope
102
+
103
+ v0.1 supports business understanding for TypeScript and JavaScript projects, with initial evaluation coverage for NestJS, GraphQL, TypeORM, and BullMQ flows. CodeGraph supplies the structural coverage available from the pinned dependency version. Atlas reports unsupported or unresolved structure instead of promising complete JavaScript runtime semantics.
104
+
105
+ Framework knowledge is implemented as Atlas-owned business interpretation over structural queries. It focuses on capabilities, operations, interfaces, data flow, rules, tests, and their evidence. Language parsing, cross-file symbol resolution, callers, callees, and file dependencies remain the structural backend's responsibility.
106
+
107
+ ## Non-goals
108
+
109
+ v0.1 does not provide:
110
+
111
+ - a second CodeGraph-facing product, CLI, MCP server, or user workflow;
112
+ - a new compiler, language server, or general-purpose JavaScript runtime analyzer;
113
+ - a duplicate copy of CodeGraph's structural graph in Atlas-owned tables;
114
+ - a language model, embeddings, vector search, or natural-language inference inside the CLI;
115
+ - source editing, test execution, Git mutation, code review, or release automation;
116
+ - exact claims for runtime-only behavior that the structural backend cannot establish;
117
+ - a human-facing IDE, documentation site, or graph explorer.
118
+
119
+ ## Dependency policy
120
+
121
+ The first implementation directly depends on a pinned, verified `@colbymchenry/codegraph` npm version and uses its public SDK. No upstream change or source copy is required for v0.1. An upgrade must pass adapter contract tests for directory placement, schema coexistence, index/sync behavior, structural query normalization, business-data preservation, evidence rebinding, and Node.js compatibility before the pinned version changes.
122
+
123
+ The fallback order is direct dependency, a small upstream extension, a thin maintained fork, then selective vendoring. Vendoring retains the upstream MIT notice and is used only when a required product boundary cannot be maintained through the SDK.
124
+
125
+ ## Release gate
126
+
127
+ The v0.1.0 release requires all of the following on the release commit:
128
+
129
+ 1. A packaged install uses the pinned CodeGraph SDK through an Atlas-owned adapter and exposes no CodeGraph CLI or MCP workflow.
130
+ 2. `semantic-atlas index` creates only ignored `.atlas/` state in the target worktree and leaves tracked files and normal Git status unchanged.
131
+ 3. CodeGraph and Atlas migrations coexist in one `.atlas/codegraph.db` without schema ownership collisions.
132
+ 4. Initial index, incremental sync, interrupted index recovery, and structural-only rebuild preserve Atlas-owned business knowledge.
133
+ 5. Business evidence rebinds after stable structural changes and becomes visibly stale after changed or missing evidence.
134
+ 6. Unified map queries traverse business and structural relationships through one versioned Atlas response contract.
135
+ 7. Packaged CLI smoke flows pass on supported Node.js versions and operating systems.
136
+ 8. Static and Fresh Agent verification of the packaged Semantic Atlas Skill passes.
137
+ 9. At least 12 paired Fresh Agent business-location and dependency/impact cases preserve necessary-file recall, necessary-symbol recall, and answer correctness while reducing either median unique opened source files or median source input tokens by at least 30 percent.
138
+ 10. No evaluated answer presents stale, hypothesis, unresolved, or unsupported knowledge as exact.
139
+
140
+ The gate is fixed before comparative results are collected. A failed gate creates follow-up work; it does not broaden the current task until it passes.
141
+
142
+ ## Related contracts
143
+
144
+ - [CodeGraph backend architecture](architecture/codegraph-backend.md)
145
+ - [Graph model](contracts/graph-model.md)
146
+ - [CLI v1](contracts/cli-v1.md)
147
+ - [GraphPatch v1](contracts/graph-patch-v1.md)
148
+ - [Evaluation protocol](evaluation.md)
package/package.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "semantic-atlas",
3
+ "version": "0.1.0",
4
+ "description": "A local, revision-aware project world model for AI coding agents.",
5
+ "keywords": [
6
+ "ai-agents",
7
+ "code-analysis",
8
+ "knowledge-graph",
9
+ "typescript",
10
+ "cli"
11
+ ],
12
+ "homepage": "https://github.com/lzj960515/semantic-atlas#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/lzj960515/semantic-atlas/issues"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/lzj960515/semantic-atlas.git"
19
+ },
20
+ "license": "MIT",
21
+ "author": {
22
+ "name": "Zijian Liao",
23
+ "email": "lzj960515@163.com"
24
+ },
25
+ "type": "module",
26
+ "main": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "bin": {
29
+ "semantic-atlas": "dist/cli/bin.js"
30
+ },
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.ts",
34
+ "import": "./dist/index.js"
35
+ }
36
+ },
37
+ "files": [
38
+ ".agents/skills/semantic-atlas",
39
+ "dist",
40
+ "docs",
41
+ "schemas",
42
+ "README.md",
43
+ "LICENSE"
44
+ ],
45
+ "engines": {
46
+ "node": ">=22.12.0 <25"
47
+ },
48
+ "packageManager": "pnpm@11.5.1",
49
+ "publishConfig": {
50
+ "access": "public",
51
+ "provenance": true
52
+ },
53
+ "scripts": {
54
+ "build": "tsc -p tsconfig.build.json",
55
+ "test": "vitest run",
56
+ "test:watch": "vitest",
57
+ "typecheck": "tsc -p tsconfig.json",
58
+ "evaluation:validate": "tsx scripts/validate-evaluation.ts --baseline evaluation/cases/plan.json evaluation/examples/no-atlas-run.json",
59
+ "evaluation:run": "tsx scripts/run-fresh-agent-evaluation.ts",
60
+ "evaluation:results": "tsx scripts/validate-evaluation.ts --baseline --comparison --report evaluation/results/fresh-agent-v1/report.json evaluation/cases/plan.json evaluation/results/fresh-agent-v1/runs/*.json",
61
+ "validation:backend": "tsx scripts/validate-embedded-backend.ts",
62
+ "package:verify": "tsx scripts/verify-package.ts",
63
+ "contracts:generate": "tsx scripts/generate-contracts.ts",
64
+ "contracts:check": "tsx scripts/generate-contracts.ts --check",
65
+ "prepack": "tsx scripts/generate-contracts.ts --check && tsc -p tsconfig.build.json"
66
+ },
67
+ "dependencies": {
68
+ "@colbymchenry/codegraph": "1.5.0",
69
+ "zod": "^4.1.12"
70
+ },
71
+ "devDependencies": {
72
+ "@types/node": "^22.10.0",
73
+ "tiktoken": "1.0.22",
74
+ "tsx": "^4.20.6",
75
+ "typescript": "^5.9.0",
76
+ "vitest": "^3.2.0"
77
+ }
78
+ }