mirai-graph 1.4.0 → 2.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 (561) hide show
  1. package/cli.js +6 -0
  2. package/index.js +1 -0
  3. package/package.json +9 -122
  4. package/.github/workflows/ci.yml +0 -48
  5. package/.github/workflows/mirai-graph-validate.yml +0 -30
  6. package/CHANGELOG.md +0 -724
  7. package/CITATION.cff +0 -21
  8. package/LICENSE +0 -21
  9. package/LICENSE-DOCS +0 -26
  10. package/README.md +0 -368
  11. package/ROADMAP.md +0 -241
  12. package/benchmarks/protocols/measure-convert-optimize.md +0 -131
  13. package/benchmarks/synthetic-context-reduction-v0/README.md +0 -70
  14. package/benchmarks/synthetic-context-reduction-v0/RESULT.md +0 -52
  15. package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +0 -31
  16. package/benchmarks/synthetic-context-reduction-v0/gates/results.json +0 -12
  17. package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +0 -114
  18. package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +0 -74
  19. package/benchmarks/synthetic-context-reduction-v0/graph.json +0 -37
  20. package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +0 -22
  21. package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +0 -42
  22. package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +0 -181
  23. package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +0 -8
  24. package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +0 -28
  25. package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +0 -24
  26. package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +0 -78
  27. package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +0 -42
  28. package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +0 -8
  29. package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +0 -8
  30. package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +0 -8
  31. package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +0 -8
  32. package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +0 -31
  33. package/docs/README.md +0 -130
  34. package/docs/adoption/adopter-kit.md +0 -187
  35. package/docs/adoption/ai-employee-graph.md +0 -151
  36. package/docs/adoption/character-layer.md +0 -196
  37. package/docs/adoption/choose-profile.md +0 -106
  38. package/docs/adoption/cli.md +0 -134
  39. package/docs/adoption/connect-project-15-minutes.md +0 -122
  40. package/docs/adoption/developer-integration-guide.md +0 -122
  41. package/docs/adoption/end-to-end-control-loop.md +0 -168
  42. package/docs/adoption/for-developers.md +0 -210
  43. package/docs/adoption/getting-started.md +0 -192
  44. package/docs/adoption/mirai-graph-transition.md +0 -67
  45. package/docs/adoption/profile-conformance-fixtures.md +0 -112
  46. package/docs/adoption/seed-to-validated-package.md +0 -121
  47. package/docs/concept.md +0 -109
  48. package/docs/repository-purpose.md +0 -422
  49. package/docs/research/ai-work-field-instrumentation-bridge.md +0 -126
  50. package/docs/research/baseline-comparison-protocol.md +0 -79
  51. package/docs/research/evidence-package-v0.1.md +0 -99
  52. package/docs/research/evidence-package-v0.2.md +0 -150
  53. package/docs/research/evidence-package-v0.3.md +0 -256
  54. package/docs/research/independent-implementation-pilot-plan.md +0 -74
  55. package/docs/research/limitations-and-threats.md +0 -40
  56. package/docs/research/practice-science-program.md +0 -232
  57. package/docs/research/scientific-evidence-package.md +0 -188
  58. package/docs/research/semantic-completeness-review-protocol.md +0 -70
  59. package/docs/terminology.md +0 -119
  60. package/docs/transfer/ai-employee-profile-proposal.md +0 -119
  61. package/docs/transfer/federation-routing-control-loop-2026-05-31.md +0 -28
  62. package/docs/transfer/graph-capability-map-2026-05-29.md +0 -126
  63. package/docs/transfer/graph-skill-to-mirai-graph.md +0 -128
  64. package/docs/transfer/project-management-standard-harvest-2026-06-02.md +0 -322
  65. package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +0 -113
  66. package/docs/transfer/standard-gap-report-2026-05-28.md +0 -208
  67. package/examples/ai-employee-minimal/README.md +0 -53
  68. package/examples/ai-employee-minimal/gates/results.json +0 -35
  69. package/examples/ai-employee-minimal/graph/objects.json +0 -187
  70. package/examples/ai-employee-minimal/graph/relations.json +0 -167
  71. package/examples/ai-employee-minimal/graph.json +0 -37
  72. package/examples/ai-employee-minimal/results/profile-conformance-result.json +0 -28
  73. package/examples/character-layer-integration-minimal/README.md +0 -25
  74. package/examples/character-layer-integration-minimal/results/character-layer-integration.json +0 -53
  75. package/examples/character-layer-minimal/README.md +0 -29
  76. package/examples/character-layer-minimal/gates/results.json +0 -57
  77. package/examples/character-layer-minimal/graph/objects.json +0 -165
  78. package/examples/character-layer-minimal/graph/relations.json +0 -178
  79. package/examples/character-layer-minimal/graph.json +0 -37
  80. package/examples/character-layer-readiness-1-0/README.md +0 -27
  81. package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +0 -90
  82. package/examples/dynamic-episode-minimal/README.md +0 -34
  83. package/examples/dynamic-episode-minimal/gates/results.json +0 -12
  84. package/examples/dynamic-episode-minimal/graph/objects.json +0 -92
  85. package/examples/dynamic-episode-minimal/graph/relations.json +0 -29
  86. package/examples/dynamic-episode-minimal/graph.json +0 -47
  87. package/examples/dynamic-episode-minimal/invalid-canonical-write-allowed.json +0 -40
  88. package/examples/dynamic-episode-minimal/invalid-evidence-as-authorization.json +0 -46
  89. package/examples/dynamic-episode-minimal/invalid-missing-event.json +0 -35
  90. package/examples/dynamic-episode-minimal/invalid-missing-selected-path.json +0 -40
  91. package/examples/dynamic-episode-minimal/invalid-unclassified-finding.json +0 -50
  92. package/examples/dynamic-episode-minimal/results/dynamic-episode-trace.json +0 -149
  93. package/examples/executable-technology-course/README.md +0 -16
  94. package/examples/executable-technology-course/technology.json +0 -99
  95. package/examples/federation-routing-smoke/README.md +0 -19
  96. package/examples/federation-routing-smoke/federation-health-dashboard.json +0 -42
  97. package/examples/federation-routing-smoke/route-explanation.json +0 -32
  98. package/examples/federation-routing-smoke/route-regression-result.json +0 -35
  99. package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +0 -17
  100. package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +0 -12
  101. package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +0 -8
  102. package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +0 -1
  103. package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +0 -1
  104. package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +0 -17
  105. package/examples/federation-routing-smoke/routes/search-page-route-result.json +0 -12
  106. package/examples/federation-routing-smoke/routes/search-page-stderr.txt +0 -1
  107. package/examples/federation-routing-smoke/routes/search-page-stdout.txt +0 -1
  108. package/examples/federation-routing-smoke/routing-fixture-run.json +0 -66
  109. package/examples/federation-routing-smoke/routing-fixtures.json +0 -44
  110. package/examples/goal-vector-quality-control-minimal/README.md +0 -22
  111. package/examples/goal-vector-quality-control-minimal/gates/results.json +0 -22
  112. package/examples/goal-vector-quality-control-minimal/graph/objects.json +0 -56
  113. package/examples/goal-vector-quality-control-minimal/graph/relations.json +0 -29
  114. package/examples/goal-vector-quality-control-minimal/graph.json +0 -41
  115. package/examples/goal-vector-quality-control-minimal/invalid-complete-without-evidence.json +0 -77
  116. package/examples/goal-vector-quality-control-minimal/invalid-correction-without-route.json +0 -86
  117. package/examples/goal-vector-quality-control-minimal/invalid-missing-reverse-audit.json +0 -77
  118. package/examples/goal-vector-quality-control-minimal/invalid-missing-vector-link.json +0 -62
  119. package/examples/goal-vector-quality-control-minimal/invalid-tests-as-acceptance.json +0 -72
  120. package/examples/goal-vector-quality-control-minimal/results/goal-vector-quality-control.json +0 -130
  121. package/examples/graph-dna-alignment-minimal/README.md +0 -16
  122. package/examples/graph-dna-alignment-minimal/graph/objects.json +0 -38
  123. package/examples/graph-dna-alignment-minimal/graph/relations.json +0 -20
  124. package/examples/graph-dna-alignment-minimal/graph.json +0 -37
  125. package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +0 -32
  126. package/examples/graph-seed-minimal/README.md +0 -9
  127. package/examples/graph-seed-minimal/graph-embryo.json +0 -63
  128. package/examples/graph-seed-minimal/graph-seed.json +0 -60
  129. package/examples/implementation-control-cycles/README.md +0 -47
  130. package/examples/implementation-control-cycles/gates/results.json +0 -22
  131. package/examples/implementation-control-cycles/graph/objects.json +0 -119
  132. package/examples/implementation-control-cycles/graph/relations.json +0 -200
  133. package/examples/implementation-control-cycles/graph.json +0 -37
  134. package/examples/implementation-control-cycles/results/implementation-control-cycles.json +0 -456
  135. package/examples/implementation-control-minimal/README.md +0 -39
  136. package/examples/implementation-control-minimal/gates/results.json +0 -42
  137. package/examples/implementation-control-minimal/graph/objects.json +0 -128
  138. package/examples/implementation-control-minimal/graph/relations.json +0 -128
  139. package/examples/implementation-control-minimal/graph.json +0 -37
  140. package/examples/implementation-control-minimal/results/implementation-control-loop.json +0 -21
  141. package/examples/instrumentation-layer-minimal/README.md +0 -32
  142. package/examples/instrumentation-layer-minimal/gates/results.json +0 -11
  143. package/examples/instrumentation-layer-minimal/graph/objects.json +0 -74
  144. package/examples/instrumentation-layer-minimal/graph/relations.json +0 -56
  145. package/examples/instrumentation-layer-minimal/graph.json +0 -37
  146. package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +0 -40
  147. package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +0 -38
  148. package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +0 -38
  149. package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +0 -43
  150. package/examples/instrumentation-layer-minimal/results/development-cockpit.json +0 -68
  151. package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +0 -56
  152. package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +0 -72
  153. package/examples/invalid-character-layer-context-authorization/graph/objects.json +0 -22
  154. package/examples/invalid-character-layer-context-authorization/graph/relations.json +0 -1
  155. package/examples/invalid-character-layer-context-authorization/graph.json +0 -35
  156. package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +0 -22
  157. package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +0 -1
  158. package/examples/invalid-character-layer-correction-loop-no-review/graph.json +0 -35
  159. package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +0 -22
  160. package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +0 -1
  161. package/examples/invalid-character-layer-feedback-auto-update/graph.json +0 -35
  162. package/examples/invalid-character-layer-object-kind/graph/objects.json +0 -22
  163. package/examples/invalid-character-layer-object-kind/graph/relations.json +0 -1
  164. package/examples/invalid-character-layer-object-kind/graph.json +0 -35
  165. package/examples/invalid-character-layer-relation-direction/graph/objects.json +0 -33
  166. package/examples/invalid-character-layer-relation-direction/graph/relations.json +0 -13
  167. package/examples/invalid-character-layer-relation-direction/graph.json +0 -35
  168. package/examples/invalid-character-layer-relation-type/graph/objects.json +0 -33
  169. package/examples/invalid-character-layer-relation-type/graph/relations.json +0 -13
  170. package/examples/invalid-character-layer-relation-type/graph.json +0 -35
  171. package/examples/invalid-character-layer-role-permission/graph/objects.json +0 -22
  172. package/examples/invalid-character-layer-role-permission/graph/relations.json +0 -1
  173. package/examples/invalid-character-layer-role-permission/graph.json +0 -35
  174. package/examples/invalid-context-pack-missing-explanation/context-pack.json +0 -25
  175. package/examples/invalid-missing-relation-target/graph/objects.json +0 -11
  176. package/examples/invalid-missing-relation-target/graph/relations.json +0 -11
  177. package/examples/invalid-missing-relation-target/graph.json +0 -32
  178. package/examples/invalid-profile-object-kind/graph/objects.json +0 -20
  179. package/examples/invalid-profile-object-kind/graph/relations.json +0 -1
  180. package/examples/invalid-profile-object-kind/graph.json +0 -32
  181. package/examples/invalid-profile-relation-type/graph/objects.json +0 -29
  182. package/examples/invalid-profile-relation-type/graph/relations.json +0 -11
  183. package/examples/invalid-profile-relation-type/graph.json +0 -32
  184. package/examples/invalid-relation-id-mismatch/graph/objects.json +0 -29
  185. package/examples/invalid-relation-id-mismatch/graph/relations.json +0 -11
  186. package/examples/invalid-relation-id-mismatch/graph.json +0 -32
  187. package/examples/invalid-seed-unsafe-write/graph-seed.json +0 -27
  188. package/examples/invalid-societal-governance-auto-learning-update/graph/objects.json +0 -29
  189. package/examples/invalid-societal-governance-auto-learning-update/graph/relations.json +0 -11
  190. package/examples/invalid-societal-governance-auto-learning-update/graph.json +0 -35
  191. package/examples/invalid-societal-governance-avatar-no-consent/graph/objects.json +0 -29
  192. package/examples/invalid-societal-governance-avatar-no-consent/graph/relations.json +0 -11
  193. package/examples/invalid-societal-governance-avatar-no-consent/graph.json +0 -35
  194. package/examples/invalid-societal-governance-generated-context-authorization/graph/objects.json +0 -38
  195. package/examples/invalid-societal-governance-generated-context-authorization/graph/relations.json +0 -20
  196. package/examples/invalid-societal-governance-generated-context-authorization/graph.json +0 -35
  197. package/examples/invalid-societal-governance-missing-appeal-path/graph/objects.json +0 -29
  198. package/examples/invalid-societal-governance-missing-appeal-path/graph/relations.json +0 -11
  199. package/examples/invalid-societal-governance-missing-appeal-path/graph.json +0 -35
  200. package/examples/invalid-societal-governance-private-trace-exposed/graph/objects.json +0 -29
  201. package/examples/invalid-societal-governance-private-trace-exposed/graph/relations.json +0 -11
  202. package/examples/invalid-societal-governance-private-trace-exposed/graph.json +0 -35
  203. package/examples/invalid-societal-governance-rights-overridden/graph/objects.json +0 -29
  204. package/examples/invalid-societal-governance-rights-overridden/graph/relations.json +0 -11
  205. package/examples/invalid-societal-governance-rights-overridden/graph.json +0 -35
  206. package/examples/launch-record-minimal/README.md +0 -29
  207. package/examples/launch-record-minimal/gates/results.json +0 -12
  208. package/examples/launch-record-minimal/graph/objects.json +0 -47
  209. package/examples/launch-record-minimal/graph/relations.json +0 -38
  210. package/examples/launch-record-minimal/graph.json +0 -34
  211. package/examples/launch-record-minimal/results/launch-record.json +0 -51
  212. package/examples/managed-project-control-loop/README.md +0 -43
  213. package/examples/managed-project-control-loop/gates/results.json +0 -22
  214. package/examples/managed-project-control-loop/graph/objects.json +0 -119
  215. package/examples/managed-project-control-loop/graph/relations.json +0 -110
  216. package/examples/managed-project-control-loop/graph.json +0 -37
  217. package/examples/managed-project-control-loop/results/managed-loop-result.json +0 -21
  218. package/examples/minimal-graph/README.md +0 -15
  219. package/examples/minimal-graph/gates/results.json +0 -12
  220. package/examples/minimal-graph/graph/objects.json +0 -24
  221. package/examples/minimal-graph/graph/relations.json +0 -11
  222. package/examples/minimal-graph/graph.json +0 -37
  223. package/examples/minimal-graph/results/profile-conformance-result.json +0 -26
  224. package/examples/model-portability-minimal/README.md +0 -15
  225. package/examples/model-portability-minimal/results/model-portability-evidence.json +0 -55
  226. package/examples/organization-governance-minimal/README.md +0 -29
  227. package/examples/organization-governance-minimal/gates/results.json +0 -21
  228. package/examples/organization-governance-minimal/graph/objects.json +0 -147
  229. package/examples/organization-governance-minimal/graph/relations.json +0 -147
  230. package/examples/organization-governance-minimal/graph.json +0 -37
  231. package/examples/organization-governance-minimal/results/profile-conformance-result.json +0 -31
  232. package/examples/process-control-contract-minimal/README.md +0 -19
  233. package/examples/process-control-contract-minimal/graph/objects.json +0 -38
  234. package/examples/process-control-contract-minimal/graph/relations.json +0 -29
  235. package/examples/process-control-contract-minimal/graph.json +0 -34
  236. package/examples/process-control-contract-minimal/results/process-control-contract.json +0 -58
  237. package/examples/process-transition-minimal/README.md +0 -25
  238. package/examples/process-transition-minimal/invalid-missing-launch-record.json +0 -14
  239. package/examples/process-transition-minimal/invalid-ready-to-written.json +0 -14
  240. package/examples/process-transition-minimal/invalid-release-missing-evidence.json +0 -14
  241. package/examples/process-transition-minimal/invalid-sync-to-update.json +0 -14
  242. package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +0 -14
  243. package/examples/process-transition-minimal/invalid-tests-to-approved.json +0 -14
  244. package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +0 -35
  245. package/examples/process-transition-minimal/results/transition-explanation-valid.json +0 -34
  246. package/examples/process-transition-minimal/state-machine.json +0 -79
  247. package/examples/process-transition-minimal/transition-request-skip-kaizen.json +0 -14
  248. package/examples/process-transition-minimal/transition-request.json +0 -14
  249. package/examples/project-technology-context-traversal/README.md +0 -17
  250. package/examples/project-technology-context-traversal/graph/objects.json +0 -78
  251. package/examples/project-technology-context-traversal/graph/relations.json +0 -47
  252. package/examples/project-technology-context-traversal/graph.json +0 -30
  253. package/examples/project-technology-context-traversal/selection.example.json +0 -29
  254. package/examples/project-technology-context-traversal/sources/announcement.md +0 -3
  255. package/examples/project-technology-context-traversal/sources/release-guide.md +0 -3
  256. package/examples/project-technology-context-traversal/sources/release-smoke.md +0 -3
  257. package/examples/project-technology-context-traversal/sources/rollback-policy.md +0 -3
  258. package/examples/risk-and-coordination-minimal/README.md +0 -16
  259. package/examples/risk-and-coordination-minimal/graph/objects.json +0 -47
  260. package/examples/risk-and-coordination-minimal/graph/relations.json +0 -29
  261. package/examples/risk-and-coordination-minimal/graph.json +0 -37
  262. package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +0 -25
  263. package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +0 -34
  264. package/examples/self-service-onboarding/bootstrap-proposal/bootstrap-proposal.json +0 -20
  265. package/examples/self-service-onboarding/existing-graph/README.md +0 -4
  266. package/examples/self-service-onboarding/existing-graph/gates/results.json +0 -11
  267. package/examples/self-service-onboarding/existing-graph/graph/objects.json +0 -11
  268. package/examples/self-service-onboarding/existing-graph/graph/relations.json +0 -1
  269. package/examples/self-service-onboarding/existing-graph/graph.json +0 -36
  270. package/examples/self-service-onboarding/no-graph/README.md +0 -6
  271. package/examples/self-service-onboarding/no-graph/package.json +0 -6
  272. package/examples/self-service-onboarding/no-graph/src/index.js +0 -3
  273. package/examples/self-service-onboarding/stale-graph/README.md +0 -4
  274. package/examples/self-service-onboarding/stale-graph/graph.json +0 -36
  275. package/examples/semantic-intent-resolution-minimal/README.md +0 -13
  276. package/examples/semantic-intent-resolution-minimal/invalid-low-confidence-executes.json +0 -26
  277. package/examples/semantic-intent-resolution-minimal/invalid-proposal-canonical-update.json +0 -27
  278. package/examples/semantic-intent-resolution-minimal/results/semantic-intent-resolution.json +0 -45
  279. package/examples/skill-runtime-minimal/README.md +0 -29
  280. package/examples/skill-runtime-minimal/gates/results.json +0 -35
  281. package/examples/skill-runtime-minimal/graph/objects.json +0 -209
  282. package/examples/skill-runtime-minimal/graph/relations.json +0 -178
  283. package/examples/skill-runtime-minimal/graph.json +0 -37
  284. package/examples/skill-runtime-minimal/results/profile-conformance-result.json +0 -27
  285. package/examples/societal-governance-minimal/README.md +0 -37
  286. package/examples/societal-governance-minimal/graph/objects.json +0 -218
  287. package/examples/societal-governance-minimal/graph/relations.json +0 -209
  288. package/examples/societal-governance-minimal/graph.json +0 -37
  289. package/examples/source-boundary-minimal/README.md +0 -16
  290. package/examples/source-boundary-minimal/graph/objects.json +0 -38
  291. package/examples/source-boundary-minimal/graph/relations.json +0 -20
  292. package/examples/source-boundary-minimal/graph.json +0 -37
  293. package/examples/source-boundary-minimal/results/source-boundary-contract.json +0 -37
  294. package/examples/technology-quality-feedback-minimal/README.md +0 -33
  295. package/examples/technology-quality-feedback-minimal/graph/objects.json +0 -56
  296. package/examples/technology-quality-feedback-minimal/graph/relations.json +0 -47
  297. package/examples/technology-quality-feedback-minimal/graph.json +0 -34
  298. package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +0 -33
  299. package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +0 -22
  300. package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +0 -22
  301. package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +0 -33
  302. package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +0 -33
  303. package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +0 -33
  304. package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +0 -80
  305. package/examples/work-recovery-minimal/README.md +0 -15
  306. package/examples/work-recovery-minimal/graph/objects.json +0 -47
  307. package/examples/work-recovery-minimal/graph/relations.json +0 -20
  308. package/examples/work-recovery-minimal/graph.json +0 -37
  309. package/examples/work-recovery-minimal/results/recovery-resume-record.json +0 -17
  310. package/examples/work-recovery-minimal/results/work-state-machine.json +0 -21
  311. package/packages/cli/adopter-workflow.js +0 -228
  312. package/packages/cli/context-pack.js +0 -269
  313. package/packages/cli/graph-manifest.js +0 -367
  314. package/packages/cli/instrumentation-report.js +0 -97
  315. package/packages/cli/migrate-graph-manifest.js +0 -33
  316. package/packages/cli/mirai-graph.js +0 -154
  317. package/packages/cli/mirai_graph.js +0 -3
  318. package/packages/cli/playground-demo.js +0 -114
  319. package/packages/cli/project-technology.js +0 -141
  320. package/packages/cli/readiness-score.js +0 -164
  321. package/packages/cli/release-state.js +0 -329
  322. package/packages/cli/seed-preview.js +0 -78
  323. package/packages/cli/self-service-onboarding.js +0 -386
  324. package/packages/cli/validate-adopter-workflow.js +0 -63
  325. package/packages/cli/validate-artifact-releases.js +0 -282
  326. package/packages/cli/validate-baseline-comparison.js +0 -105
  327. package/packages/cli/validate-context-traversal.js +0 -292
  328. package/packages/cli/validate-graph-manifest-migration.js +0 -64
  329. package/packages/cli/validate-mirai-graph.js +0 -3245
  330. package/packages/cli/validate-process-transition-report.js +0 -105
  331. package/packages/cli/validate-profile-results.js +0 -64
  332. package/packages/cli/validate-project-continuity.js +0 -173
  333. package/packages/cli/validate-project-technology.js +0 -296
  334. package/packages/cli/validate-release-state.js +0 -100
  335. package/packages/cli/validate-routing-control-examples.js +0 -79
  336. package/packages/cli/validate-self-service-onboarding.js +0 -159
  337. package/packages/cli/validate-technology-course.js +0 -81
  338. package/packages/project-technology/artifact-release.js +0 -738
  339. package/packages/project-technology/context-traversal.js +0 -684
  340. package/packages/project-technology/continuity.js +0 -414
  341. package/packages/project-technology/index.js +0 -841
  342. package/packages/project-technology/technology-course.js +0 -282
  343. package/pilots/independent-implementation-001-conference-planning/README.md +0 -40
  344. package/pilots/independent-implementation-001-conference-planning/gates/results.json +0 -12
  345. package/pilots/independent-implementation-001-conference-planning/graph/objects.json +0 -74
  346. package/pilots/independent-implementation-001-conference-planning/graph/relations.json +0 -56
  347. package/pilots/independent-implementation-001-conference-planning/graph-seed.json +0 -65
  348. package/pilots/independent-implementation-001-conference-planning/graph.json +0 -37
  349. package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +0 -120
  350. package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +0 -35
  351. package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +0 -81
  352. package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +0 -7
  353. package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +0 -28
  354. package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +0 -26
  355. package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +0 -7
  356. package/pilots/independent-implementation-002-software-specification/README.md +0 -40
  357. package/pilots/independent-implementation-002-software-specification/gates/results.json +0 -22
  358. package/pilots/independent-implementation-002-software-specification/graph/objects.json +0 -101
  359. package/pilots/independent-implementation-002-software-specification/graph/relations.json +0 -92
  360. package/pilots/independent-implementation-002-software-specification/graph-seed.json +0 -72
  361. package/pilots/independent-implementation-002-software-specification/graph.json +0 -37
  362. package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +0 -142
  363. package/pilots/independent-implementation-002-software-specification/results/context-pack.json +0 -184
  364. package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +0 -90
  365. package/pilots/independent-implementation-002-software-specification/results/package-validation.json +0 -7
  366. package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +0 -28
  367. package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +0 -26
  368. package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +0 -7
  369. package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +0 -81
  370. package/pilots/independent-implementation-003-ai-employee-workflow/README.md +0 -42
  371. package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +0 -30
  372. package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +0 -156
  373. package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +0 -147
  374. package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +0 -90
  375. package/pilots/independent-implementation-003-ai-employee-workflow/graph.json +0 -37
  376. package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +0 -49
  377. package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +0 -30
  378. package/pilots/independent-implementation-004-research-program/README.md +0 -41
  379. package/pilots/independent-implementation-004-research-program/gates/results.json +0 -21
  380. package/pilots/independent-implementation-004-research-program/graph/objects.json +0 -102
  381. package/pilots/independent-implementation-004-research-program/graph/relations.json +0 -84
  382. package/pilots/independent-implementation-004-research-program/graph-seed.json +0 -76
  383. package/pilots/independent-implementation-004-research-program/graph.json +0 -37
  384. package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +0 -50
  385. package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +0 -30
  386. package/pilots/independent-implementation-005-organization-governance/README.md +0 -42
  387. package/pilots/independent-implementation-005-organization-governance/gates/results.json +0 -20
  388. package/pilots/independent-implementation-005-organization-governance/graph/objects.json +0 -137
  389. package/pilots/independent-implementation-005-organization-governance/graph/relations.json +0 -110
  390. package/pilots/independent-implementation-005-organization-governance/graph-seed.json +0 -97
  391. package/pilots/independent-implementation-005-organization-governance/graph.json +0 -37
  392. package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +0 -47
  393. package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +0 -29
  394. package/playground/README.md +0 -78
  395. package/playground/demo-report.md +0 -84
  396. package/profiles/README.md +0 -28
  397. package/profiles/ai-employee/README.md +0 -132
  398. package/profiles/ai-employee/profile.json +0 -58
  399. package/profiles/character-layer/README.md +0 -143
  400. package/profiles/character-layer/profile.json +0 -46
  401. package/profiles/implementation-control/README.md +0 -174
  402. package/profiles/implementation-control/profile.json +0 -108
  403. package/profiles/organization-governance/README.md +0 -60
  404. package/profiles/organization-governance/profile.json +0 -56
  405. package/profiles/project-management/README.md +0 -119
  406. package/profiles/project-management/profile.json +0 -38
  407. package/profiles/skill-runtime/README.md +0 -99
  408. package/profiles/skill-runtime/profile.json +0 -58
  409. package/profiles/societal-governance/README.md +0 -129
  410. package/profiles/societal-governance/profile.json +0 -121
  411. package/profiles/software-specification/README.md +0 -142
  412. package/profiles/software-specification/profile.json +0 -31
  413. package/publications/README.md +0 -39
  414. package/publications/observable-self-correcting-ai-workflows/README.md +0 -105
  415. package/publications/preprint-note.md +0 -11
  416. package/publications/preprint-outline.md +0 -45
  417. package/publications/semantic-intent-goal-vector-control/README.md +0 -99
  418. package/releases/0.1.0-alpha.0.md +0 -45
  419. package/releases/0.1.0-alpha.1.md +0 -63
  420. package/releases/0.1.0-alpha.10.md +0 -93
  421. package/releases/0.1.0-alpha.11.md +0 -114
  422. package/releases/0.1.0-alpha.2.md +0 -37
  423. package/releases/0.1.0-alpha.3.md +0 -61
  424. package/releases/0.1.0-alpha.4.md +0 -53
  425. package/releases/0.1.0-alpha.5.md +0 -48
  426. package/releases/0.1.0-alpha.6.md +0 -96
  427. package/releases/0.1.0-alpha.7.md +0 -114
  428. package/releases/0.1.0-alpha.8.md +0 -92
  429. package/releases/0.1.0-alpha.9.md +0 -80
  430. package/releases/1.0.0-rc.1.md +0 -121
  431. package/releases/1.0.0-rc.10.md +0 -14
  432. package/releases/1.0.0-rc.11.md +0 -14
  433. package/releases/1.0.0-rc.2.md +0 -79
  434. package/releases/1.0.0-rc.3.md +0 -51
  435. package/releases/1.0.0-rc.4.md +0 -70
  436. package/releases/1.0.0-rc.5.md +0 -88
  437. package/releases/1.0.0-rc.6.md +0 -76
  438. package/releases/1.0.0-rc.8.md +0 -17
  439. package/releases/1.0.0-rc.9.md +0 -14
  440. package/releases/1.0.0.md +0 -23
  441. package/releases/1.1.0.md +0 -36
  442. package/releases/1.1.1.md +0 -25
  443. package/releases/1.2.0.md +0 -19
  444. package/releases/1.3.0.md +0 -16
  445. package/releases/README.md +0 -135
  446. package/releases/societal-governance-profile-proposal.md +0 -45
  447. package/schemas/baseline-comparison-result.schema.json +0 -87
  448. package/schemas/character-layer-integration.schema.json +0 -112
  449. package/schemas/character-layer-readiness.schema.json +0 -73
  450. package/schemas/context-pack.schema.json +0 -190
  451. package/schemas/context-traversal-receipt.schema.json +0 -64
  452. package/schemas/development-cockpit.schema.json +0 -74
  453. package/schemas/dynamic-episode-trace.schema.json +0 -153
  454. package/schemas/executable-technology.schema.json +0 -70
  455. package/schemas/feature-implementation-traceability.schema.json +0 -80
  456. package/schemas/federation-health-dashboard.schema.json +0 -47
  457. package/schemas/gate-result.schema.json +0 -44
  458. package/schemas/goal-vector-quality-control.schema.json +0 -131
  459. package/schemas/graph-dna-alignment.schema.json +0 -49
  460. package/schemas/graph-embryo.schema.json +0 -51
  461. package/schemas/graph-lock.schema.json +0 -28
  462. package/schemas/graph-manifest.schema.json +0 -154
  463. package/schemas/graph-seed.schema.json +0 -137
  464. package/schemas/implementation-control-cycle.schema.json +0 -265
  465. package/schemas/implementation-control-loop.schema.json +0 -84
  466. package/schemas/launch-record.schema.json +0 -78
  467. package/schemas/model-portability-evidence.schema.json +0 -93
  468. package/schemas/multi-agent-coordination.schema.json +0 -35
  469. package/schemas/multi-source-quality-feedback.schema.json +0 -54
  470. package/schemas/object.schema.json +0 -49
  471. package/schemas/package-manifest.schema.json +0 -53
  472. package/schemas/process-control-contract.schema.json +0 -100
  473. package/schemas/process-transition-request.schema.json +0 -41
  474. package/schemas/profile.schema.json +0 -56
  475. package/schemas/project-technology-extension.schema.json +0 -15
  476. package/schemas/project-technology-target-export.schema.json +0 -35
  477. package/schemas/readiness-score.schema.json +0 -43
  478. package/schemas/recovery-resume-record.schema.json +0 -25
  479. package/schemas/relation.schema.json +0 -43
  480. package/schemas/risk-control-matrix.schema.json +0 -36
  481. package/schemas/route-explanation.schema.json +0 -51
  482. package/schemas/route-regression-result.schema.json +0 -33
  483. package/schemas/routing-fixture-run.schema.json +0 -45
  484. package/schemas/routing-fixtures.schema.json +0 -59
  485. package/schemas/semantic-intent-resolution.schema.json +0 -151
  486. package/schemas/source-boundary-contract.schema.json +0 -31
  487. package/schemas/technology-course-pack.schema.json +0 -57
  488. package/schemas/technology-quality-feedback.schema.json +0 -116
  489. package/schemas/work-state-machine.schema.json +0 -34
  490. package/standard/action-runtime-boundary.md +0 -99
  491. package/standard/adoption-levels.md +0 -69
  492. package/standard/conformance-levels.md +0 -133
  493. package/standard/context-pack-generation.md +0 -184
  494. package/standard/development-cockpit.md +0 -67
  495. package/standard/dynamic-episode-layer.md +0 -113
  496. package/standard/dynamic-layer-code-generation.md +0 -87
  497. package/standard/episode-trace.md +0 -97
  498. package/standard/evidence-provenance.md +0 -128
  499. package/standard/feature-implementation-traceability.md +0 -68
  500. package/standard/federation-health.md +0 -42
  501. package/standard/feedback-learning-gate.md +0 -101
  502. package/standard/goal-vector-quality-control.md +0 -128
  503. package/standard/governance.md +0 -137
  504. package/standard/graph-as-ai-brain.md +0 -81
  505. package/standard/graph-dna-alignment.md +0 -50
  506. package/standard/graph-dna.md +0 -70
  507. package/standard/graph-embryo.md +0 -69
  508. package/standard/graph-seed.md +0 -122
  509. package/standard/hybrid-source-of-truth.md +0 -91
  510. package/standard/implementation-control-cycles.md +0 -194
  511. package/standard/implementation-control.md +0 -102
  512. package/standard/launch-record.md +0 -53
  513. package/standard/lifecycle-readiness.md +0 -159
  514. package/standard/multi-agent-coordination.md +0 -50
  515. package/standard/multi-source-quality-feedback.md +0 -71
  516. package/standard/object-model.md +0 -167
  517. package/standard/organization-governance.md +0 -83
  518. package/standard/process-control-contract.md +0 -53
  519. package/standard/profile-boundaries.md +0 -225
  520. package/standard/profiles.md +0 -253
  521. package/standard/project-technology.md +0 -215
  522. package/standard/projection-views.md +0 -69
  523. package/standard/recovery-resume.md +0 -49
  524. package/standard/relation-model.md +0 -149
  525. package/standard/risk-control-matrix.md +0 -53
  526. package/standard/route-explanation.md +0 -35
  527. package/standard/route-regression.md +0 -33
  528. package/standard/routing-fixtures.md +0 -54
  529. package/standard/runtime-enablement.md +0 -85
  530. package/standard/semantic-intent-resolution.md +0 -91
  531. package/standard/source-boundary-contract.md +0 -49
  532. package/standard/standard-v0.1.md +0 -132
  533. package/standard/technology-quality-feedback.md +0 -97
  534. package/standard/test-suite.md +0 -159
  535. package/standard/work-state-machine.md +0 -62
  536. package/templates/README.md +0 -77
  537. package/templates/ai-employee-starter/README.md +0 -9
  538. package/templates/ai-employee-starter/gates/results.json +0 -12
  539. package/templates/ai-employee-starter/graph/objects.json +0 -90
  540. package/templates/ai-employee-starter/graph/relations.json +0 -47
  541. package/templates/ai-employee-starter/graph.json +0 -37
  542. package/templates/character-layer-starter/README.md +0 -39
  543. package/templates/character-layer-starter/gates/results.json +0 -20
  544. package/templates/character-layer-starter/graph/objects.json +0 -308
  545. package/templates/character-layer-starter/graph/relations.json +0 -344
  546. package/templates/character-layer-starter/graph.json +0 -37
  547. package/templates/organization-governance-starter/README.md +0 -9
  548. package/templates/organization-governance-starter/gates/results.json +0 -12
  549. package/templates/organization-governance-starter/graph/objects.json +0 -112
  550. package/templates/organization-governance-starter/graph/relations.json +0 -65
  551. package/templates/organization-governance-starter/graph.json +0 -37
  552. package/templates/research-program-starter/README.md +0 -9
  553. package/templates/research-program-starter/gates/results.json +0 -12
  554. package/templates/research-program-starter/graph/objects.json +0 -79
  555. package/templates/research-program-starter/graph/relations.json +0 -47
  556. package/templates/research-program-starter/graph.json +0 -37
  557. package/templates/software-project-starter/README.md +0 -9
  558. package/templates/software-project-starter/gates/results.json +0 -12
  559. package/templates/software-project-starter/graph/objects.json +0 -79
  560. package/templates/software-project-starter/graph/relations.json +0 -47
  561. package/templates/software-project-starter/graph.json +0 -37
package/CITATION.cff DELETED
@@ -1,21 +0,0 @@
1
- cff-version: 1.2.0
2
- title: "Mirai Graph"
3
- message: "If you use Mirai Graph in research or software, please cite this repository."
4
- type: software
5
- authors:
6
- - family-names: "Zabarov"
7
- given-names: "Rim"
8
- orcid: "https://orcid.org/0009-0004-8605-5594"
9
- abstract: "Mirai Graph is an evolutionary graph operating model for managing the growth of complex systems."
10
- repository-code: "https://github.com/zabarov/mirai-graph"
11
- license: "MIT"
12
- keywords:
13
- - graph operating model
14
- - knowledge graph
15
- - AI-assisted work
16
- - governance
17
- - complex systems
18
- - context engineering
19
- - systems engineering
20
- version: "1.2.0"
21
- date-released: "2026-08-27"
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Rim Zabarov
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/LICENSE-DOCS DELETED
@@ -1,26 +0,0 @@
1
- Creative Commons Attribution 4.0 International Public License
2
-
3
- Documentation, standard text, examples and research materials in this
4
- repository are licensed under the Creative Commons Attribution 4.0
5
- International License, unless a file states otherwise.
6
-
7
- License URL:
8
-
9
- https://creativecommons.org/licenses/by/4.0/
10
-
11
- You are free to:
12
-
13
- - Share: copy and redistribute the material in any medium or format.
14
- - Adapt: remix, transform and build upon the material for any purpose, even
15
- commercially.
16
-
17
- Under the following terms:
18
-
19
- - Attribution: you must give appropriate credit, provide a link to the license
20
- and indicate if changes were made. You may do so in any reasonable manner,
21
- but not in any way that suggests the licensor endorses you or your use.
22
-
23
- No additional restrictions:
24
-
25
- You may not apply legal terms or technological measures that legally restrict
26
- others from doing anything the license permits.
package/README.md DELETED
@@ -1,368 +0,0 @@
1
- # Mirai Graph
2
-
3
- Make your project understandable to humans and AI.
4
-
5
- Mirai Graph turns scattered project knowledge into a structured graph of
6
- features, requirements, dependencies, risks, decisions, evidence and process
7
- gates.
8
-
9
- Use it when a software project has useful knowledge spread across README files,
10
- docs, issues, chats, code comments and AI prompts, and you need a small
11
- machine-readable map that developers and AI assistants can validate and reuse.
12
-
13
- Status: stable public `1.3.0` release.
14
-
15
- ## What Problem Does It Solve?
16
-
17
- - New developers need too much time to understand the project.
18
- - AI assistants miss important constraints because context is scattered.
19
- - Feature dependencies live in people's heads or old tickets.
20
- - Requirements, implementation decisions and evidence are hard to trace.
21
- - Work is marked "done" before the process, tests, review or evidence are clear.
22
- - Project knowledge improves in chats but does not become reusable structure.
23
- - AI-assisted work produces results without a durable trace of why a path was
24
- selected or blocked.
25
-
26
- Mirai Graph gives the project a reviewable graph package: objects, relations and
27
- gates that describe what exists, how it connects, what is blocked, what is
28
- evidenced and what needs approval.
29
-
30
- ## What Can A Developer Do With It?
31
-
32
- Start with a normal repository and use Mirai Graph to:
33
-
34
- - detect whether the project already has a graph package;
35
- - generate a bootstrap proposal without changing canonical graph files;
36
- - create a starter graph for features, requirements, risks and decisions;
37
- - validate the graph locally or in CI;
38
- - give AI assistants a cleaner project map instead of dumping full docs into a
39
- prompt;
40
- - grow the graph later into process control, AI employee workflows or
41
- organization governance.
42
-
43
- ## Current Installation Status
44
-
45
- The repository provides the stable `mirai-graph@1.3.0` package. To verify a
46
- repository checkout directly, use:
47
-
48
- ```bash
49
- git clone https://github.com/zabarov/mirai-graph.git
50
- cd mirai-graph
51
- npm install
52
- npm run release:check
53
- ```
54
-
55
- External projects use:
56
-
57
- ```bash
58
- npm install -D mirai-graph
59
- ```
60
-
61
- ## Connect A Project In 10 Minutes
62
-
63
- From the project you want to connect, the intended workflow is:
64
-
65
- ```bash
66
- npx mirai-graph detect . --markdown
67
- npx mirai-graph bootstrap . --mode suggest --markdown
68
- npx mirai-graph init . --profile software_specification
69
- npx mirai-graph validate .
70
- npx mirai-graph migrate .
71
- ```
72
-
73
- What each command does:
74
-
75
- - `detect` is read-only and reports what kind of project you have.
76
- - `bootstrap --mode suggest` creates proposal/evidence only.
77
- - `init` creates starter graph files after you choose a profile.
78
- - `validate` checks the graph package structure and profile rules.
79
- - `migrate` shows a read-only plan; add `--apply` only after reviewing it.
80
-
81
- If you are using a repository checkout before npm publication, run the same
82
- commands through `node packages/cli/mirai-graph.js` from this repository.
83
-
84
- ## Project Technology
85
-
86
- Project Technology is the executable part of Mirai Graph. It gives ordinary
87
- projects, skills, platforms and federations one safe way to build task context,
88
- bind an accepted target and verify that work still follows it.
89
-
90
- Enable it in the existing root manifest:
91
-
92
- ```json
93
- {
94
- "extensions": {
95
- "mirai.project_technology": {
96
- "contract_version": "1.0.0",
97
- "enabled": true,
98
- "context_policy": "task_scoped",
99
- "source_boundary": "hybrid_sot",
100
- "continuity_policy": "task_boundary"
101
- }
102
- }
103
- }
104
- ```
105
-
106
- Read-only operations never need `--apply`:
107
-
108
- ```bash
109
- mirai-graph technology explain .
110
- mirai-graph technology status .
111
- mirai-graph technology context . --task "implement the approved feature"
112
- mirai-graph technology verify . --significant-work
113
- ```
114
-
115
- For deeper graphs, the same `context` operation supports four read-only phases:
116
-
117
- ```bash
118
- mirai-graph technology context . --phase discover --task "implement the approved feature"
119
- mirai-graph technology context . --phase expand --input receipt.json --select capability.delivery
120
- mirai-graph technology context . --phase compile --input receipt.json --selection selection.json
121
- mirai-graph technology context . --phase verify --packet context-pack.json --evidence usage-evidence.json
122
- ```
123
-
124
- `discover` returns a bounded top-level choice. `expand` follows only selected
125
- branches. `compile` adds every required process, constraint and validator, and
126
- returns an immutable context pack only when the selection is complete.
127
- `verify` proves that required sources influenced a decision and a checked
128
- outcome; merely loading a document is not enough.
129
-
130
- The programmatic API exposes the same operations as `discoverContext`,
131
- `expandContext`, `compileContext` and `verifyContext`. Mirai Graph does not call
132
- or depend on a particular AI model.
133
-
134
- Verified project experience can be saved without storing a chat transcript:
135
-
136
- ```bash
137
- mirai-graph technology sync . --boundary task_complete --evidence continuity-evidence.json
138
- mirai-graph technology sync . --boundary task_complete --evidence continuity-evidence.json --apply
139
- ```
140
-
141
- Accepted facts and reusable cases live in `graph/specs`; mutable receipts and
142
- rollback data stay host-local. The same contract works in Git repositories and
143
- ordinary shared folders.
144
-
145
- Project Technology can also preserve immutable releases of file bundles:
146
-
147
- ```bash
148
- mirai-graph technology artifact inspect . --input incoming.zip
149
- mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound
150
- mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound --apply
151
- mirai-graph technology artifact compare . --matter-id agreement-main --base-release 20260828-01 --target-release 20260828-02
152
- mirai-graph technology artifact verify . --matter-id agreement-main --release-id 20260828-02
153
- ```
154
-
155
- The protected files remain outside graph data. The graph keeps only safe
156
- identity, lineage, state, references and checksums. Mirai Graph performs
157
- technical integrity checks; a domain owner decides what a version means.
158
-
159
- Large operational methods can be described once as executable technologies and
160
- compiled into staff courses without maintaining a second semantic copy:
161
-
162
- ```bash
163
- mirai-graph technology course compile . --technology graph/specs/technology.json
164
- mirai-graph technology course compile . --technology graph/specs/technology.json --scenario scenario.recovery
165
- mirai-graph technology course verify . --course-pack course-pack.json
166
- mirai-graph technology course reconcile . --course-pack course-pack.json --projection edited-course.json
167
- ```
168
-
169
- An executable technology contains reusable operations, their prerequisites,
170
- inputs, outputs, stop conditions, rollback paths, checks and raw source refs.
171
- Scenarios select the operations needed for a complete or partial outcome.
172
- Compilation restores every required dependency. Reconciliation is read-only:
173
- editorial differences go to the documentation owner, while changed execution
174
- or safety rules become proposals to the technology owner.
175
-
176
- Changing operations return a preview unless `--apply` is explicit. See
177
- [Project Technology](standard/project-technology.md) for provider/consumer
178
- binding, local state and safety boundaries.
179
-
180
- ## What Files Will Be Created?
181
-
182
- For a typical software project, `init` creates:
183
-
184
- ```text
185
- graph.json
186
- graph/
187
- objects.json # features, requirements, risks, decisions, evidence
188
- relations.json # depends_on, implements, blocks, evidences, governs
189
- gates/
190
- results.json # validation and readiness checks
191
- ```
192
-
193
- `bootstrap --mode suggest` creates proposal/evidence separately:
194
-
195
- ```text
196
- mirai-graph/
197
- bootstrap-proposal/
198
- bootstrap-proposal.json
199
- ```
200
-
201
- Generated proposals do not update canonical graph state by themselves.
202
-
203
- For the guided path, use
204
- [Connect A Project In 15 Minutes](docs/adoption/connect-project-15-minutes.md)
205
- or the developer-focused guide
206
- [Mirai Graph For Developers](docs/adoption/for-developers.md).
207
-
208
- ## What Should I Read First?
209
-
210
- | If you are... | Start here | Then read |
211
- | --- | --- | --- |
212
- | Trying Mirai Graph in a project | [Connect A Project In 15 Minutes](docs/adoption/connect-project-15-minutes.md) | [Mirai Graph For Developers](docs/adoption/for-developers.md), [CLI](docs/adoption/cli.md) |
213
- | A developer integrating validation | [Mirai Graph For Developers](docs/adoption/for-developers.md) | [Developer Integration Guide](docs/adoption/developer-integration-guide.md), [Test Suite](standard/test-suite.md) |
214
- | A researcher evaluating the model | [Scientific Evidence Package](docs/research/scientific-evidence-package.md) | [Practice And Science Program](docs/research/practice-science-program.md), [Publications](publications/README.md) |
215
- | Building an AI employee | [AI Employee Graph Adoption](docs/adoption/ai-employee-graph.md) | [Character Layer Adoption](docs/adoption/character-layer.md), [Graph As AI Brain](standard/graph-as-ai-brain.md) |
216
- | Managing an organization or program | [Organization Governance](standard/organization-governance.md) | [Project Management Profile](profiles/project-management/README.md), [Process Control Contract](standard/process-control-contract.md) |
217
- | Looking for the full map | [Documentation Map](docs/README.md) | [Roadmap](ROADMAP.md), [Release Process](releases/README.md) |
218
-
219
- ## How It Helps AI Assistants
220
-
221
- LLMs are useful, but they depend on the context they receive. If the project
222
- context is incomplete, the assistant can miss constraints, invent assumptions or
223
- ignore the team's working process.
224
-
225
- Mirai Graph gives AI assistants structured context:
226
-
227
- - stable objects instead of loose paragraphs;
228
- - explicit dependency and evidence links;
229
- - readiness and uncertainty;
230
- - process gates that separate suggestion, approval and action;
231
- - technology-quality feedback when work did not follow the declared process.
232
-
233
- In this framing, an AI employee is not just a prompt. It is a governed process:
234
- context, tools, policies, actions, results, feedback and learning are connected
235
- through explicit state and approval boundaries.
236
-
237
- ## Repository Map
238
-
239
- ```text
240
- docs/ Concept, terminology, adoption and research guides.
241
- standard/ Implementation-independent standard sections.
242
- schemas/ Machine-readable schemas.
243
- examples/ Public-safe examples and anti-examples.
244
- templates/ Starter graph packages.
245
- packages/ Reference CLI and validators.
246
- playground/ Deterministic local demo report.
247
- profiles/ Domain profiles.
248
- pilots/ Public-safe pilot packages and reports.
249
- publications/ Citation notes and publication materials.
250
- releases/ Release notes and release process.
251
- ```
252
-
253
- ## Core Standard Areas
254
-
255
- - [Object Model](standard/object-model.md)
256
- - [Relation Model](standard/relation-model.md)
257
- - [Lifecycle Readiness](standard/lifecycle-readiness.md)
258
- - [Evidence Provenance](standard/evidence-provenance.md)
259
- - [Context Pack Generation](standard/context-pack-generation.md)
260
- - [Governance](standard/governance.md)
261
- - [Hybrid Source Of Truth](standard/hybrid-source-of-truth.md)
262
- - [Profile Boundaries](standard/profile-boundaries.md)
263
- - [Implementation Control](standard/implementation-control.md)
264
- - [Process Control Contract](standard/process-control-contract.md)
265
- - [Technology Quality Feedback](standard/technology-quality-feedback.md)
266
- - [Dynamic Episode Layer](standard/dynamic-episode-layer.md)
267
- - [Semantic Intent Resolution](standard/semantic-intent-resolution.md)
268
- - [Goal Vector Quality Control](standard/goal-vector-quality-control.md)
269
- - [Character Layer Profile](profiles/character-layer/README.md)
270
- - [Organization Governance](standard/organization-governance.md)
271
-
272
- Additional standard sections, profiles, examples and research materials are
273
- listed in the [Documentation Map](docs/README.md).
274
-
275
- ## Profiles
276
-
277
- Current release-candidate profiles:
278
-
279
- - [Software Specification](profiles/software-specification/README.md)
280
- - [Project Management](profiles/project-management/README.md)
281
- - [AI Employee](profiles/ai-employee/README.md)
282
- - [Character Layer](profiles/character-layer/README.md)
283
- - [Skill Runtime](profiles/skill-runtime/README.md)
284
- - [Implementation Control](profiles/implementation-control/README.md)
285
- - [Organization Governance](profiles/organization-governance/README.md)
286
-
287
- Proposal/experimental profile:
288
-
289
- - [Societal Governance](profiles/societal-governance/README.md)
290
-
291
- Proposal/experimental standard layer:
292
-
293
- - [Dynamic Episode Layer](standard/dynamic-episode-layer.md)
294
- - [Episode Trace](standard/episode-trace.md)
295
- - [Dynamic Layer For AI-Assisted Code Generation](standard/dynamic-layer-code-generation.md)
296
-
297
- ## Validate And Explore
298
-
299
- Common commands:
300
-
301
- ```bash
302
- npx mirai-graph validate .
303
- npx mirai-graph report validation .
304
- npx mirai-graph report dynamic-episode examples/dynamic-episode-minimal/results/dynamic-episode-trace.json
305
- npx mirai-graph choose-profile
306
- npx mirai-graph report playground
307
- ```
308
-
309
- Repository checkout checks:
310
-
311
- ```bash
312
- npm test
313
- npm run release:check
314
- ```
315
-
316
- For the full command surface, see [Mirai Graph CLI](docs/adoption/cli.md) and
317
- [Test Suite](standard/test-suite.md).
318
-
319
- ## Evidence Boundary
320
-
321
- Mirai Graph validation checks graph package structure, profile rules, process
322
- artifacts and public-safe examples. It does not prove that a project is correct,
323
- scientifically validated, production-ready or authorized for release.
324
-
325
- Generated context, evidence, feedback, cockpit metrics and proposals do not
326
- authorize canonical updates by themselves. Controlled updates require explicit
327
- governance gates.
328
-
329
- Mirai Graph also does not store bulk source content as canonical graph state.
330
- Documents, code, CMS records, tickets and databases remain source systems. The
331
- graph stores governable meaning: object ids, relations, summaries, source refs,
332
- evidence refs, owners, readiness, gates, decisions, episode metadata and Kaizen
333
- routes. See [Profile Boundaries](standard/profile-boundaries.md).
334
-
335
- ## Release Candidate
336
-
337
- The stable 1.0 release consolidates the validator-backed public standard
338
- across the core model, profiles, executable process control, instrumentation,
339
- Character Layer, adopter kit and evidence boundaries.
340
-
341
- `1.0.0-rc.6` specifically presents the anti-drift / quality-control contour as
342
- one coherent review surface:
343
-
344
- ```text
345
- semantic intent
346
- -> process and technology control
347
- -> dynamic episode trace
348
- -> goal-vector reverse audit
349
- -> technology quality feedback
350
- -> Kaizen / replay / regression candidate
351
- ```
352
-
353
- See [v1.0.0-rc.6](releases/1.0.0-rc.6.md) and the
354
- [Release Process](releases/README.md).
355
-
356
- ## What This Repository Is Not
357
-
358
- This repository is not a dump of private research, company or client material.
359
- Private project data, internal chats, internal skill sources, secrets and raw
360
- customer or employee data do not belong here.
361
-
362
- Synthetic examples and benchmarks are marked as synthetic. They support method
363
- inspection and reproducibility, not broad external validity claims.
364
-
365
- ## License
366
-
367
- - Code is licensed under the MIT License. See [LICENSE](LICENSE).
368
- - Documentation is licensed separately. See [LICENSE-DOCS](LICENSE-DOCS).
package/ROADMAP.md DELETED
@@ -1,241 +0,0 @@
1
- # Mirai Graph Roadmap
2
-
3
- Status: stable 1.1 roadmap
4
-
5
- ## Phase 0: Public Foundation
6
-
7
- Goal: make the repository understandable, safe to open and ready for structured
8
- growth.
9
-
10
- 1.0 RC status: implemented.
11
-
12
- Done when:
13
-
14
- - README exists;
15
- - repository purpose is documented;
16
- - license strategy is explicit;
17
- - citation metadata exists;
18
- - initial concept and terminology exist;
19
- - no private source material is present.
20
-
21
- Initial artifacts:
22
-
23
- - `README.md`
24
- - `docs/repository-purpose.md`
25
- - `docs/concept.md`
26
- - `docs/terminology.md`
27
- - `ROADMAP.md`
28
- - `LICENSE`
29
- - `LICENSE-DOCS`
30
- - `CITATION.cff`
31
-
32
- ## Phase 1: Standard Draft
33
-
34
- Goal: define the implementation-independent Mirai Graph standard.
35
-
36
- 1.0 RC status: implemented with notes. The repository now contains the core
37
- object/relation/readiness/evidence/governance standard plus validator-backed
38
- sections for graph seed, hybrid source of truth, profiles, implementation
39
- control, routing control, source boundaries, recovery, risk, process control,
40
- instrumentation and Character Layer.
41
-
42
- Planned artifacts:
43
-
44
- - `standard/standard-v0.1.md`
45
- - `standard/object-model.md`
46
- - `standard/relation-model.md`
47
- - `standard/lifecycle-readiness.md`
48
- - `standard/evidence-provenance.md`
49
- - `standard/context-pack-generation.md`
50
- - `standard/governance.md`
51
- - `standard/profiles.md`
52
- - `standard/conformance-levels.md`
53
- - `standard/test-suite.md`
54
-
55
- Additional 1.0 RC artifacts now present:
56
-
57
- - graph seed and graph embryo;
58
- - hybrid source of truth;
59
- - profile boundaries and the extension-before-profile rule;
60
- - graph-as-AI-brain;
61
- - action/runtime boundary;
62
- - implementation-control cycles;
63
- - launch record;
64
- - work state machine;
65
- - process-control contract;
66
- - technology quality feedback;
67
- - semantic intent resolution;
68
- - goal vector quality control;
69
- - recovery/resume;
70
- - risk-control matrix;
71
- - multi-agent coordination;
72
- - source-boundary contract;
73
- - route explanation, fixtures, regression and federation health.
74
- - development cockpit, feature implementation traceability and multi-source
75
- quality feedback;
76
- - Character Layer profile, starter pack, integration evidence, portability
77
- evidence shape and 1.0 readiness artifact.
78
- - proposal/experimental Dynamic Episode Layer, episode trace schema and
79
- synthetic code-generation trace example;
80
- - `1.0.0-rc.6` anti-drift / quality-control contour that connects semantic
81
- intent, process control, dynamic episode tracing, goal-vector reverse audit,
82
- technology quality feedback and Kaizen/replay follow-up.
83
-
84
- Readiness target:
85
-
86
- `1_0_release_candidate_ready_with_notes` for public review and implementation
87
- pilots.
88
-
89
- ## Phase 2: Method And Adoption Kit
90
-
91
- Goal: help teams use Mirai Graph in real work.
92
-
93
- 1.0 RC status: implemented with notes. The current repository includes
94
- npm-first self-service onboarding, getting started material, profile
95
- conformance fixtures, AI employee adoption, seed to validated package tutorial,
96
- implementation-control examples, managed-project examples, Character Layer
97
- adoption, starter templates and public-safe transfer notes.
98
-
99
- Planned artifacts:
100
-
101
- - adoption guide;
102
- - project profile;
103
- - product profile;
104
- - software-specification profile;
105
- - organization-governance profile;
106
- - human-AI system profile;
107
- - implementation checklist;
108
- - examples and anti-examples.
109
-
110
- Post-1.0 gaps:
111
-
112
- - final npm publication and GitHub Release execution after release-state
113
- approval;
114
- - import/export helpers for starter packages;
115
- - stronger non-software adoption recipes;
116
- - external adopter feedback from independent pilots.
117
- - sanitized pilot/replay evidence for the anti-drift contour before claiming
118
- real-world drift reduction.
119
-
120
- Implemented adopter-workflow focus:
121
-
122
- - profile-selection guide;
123
- - starter-template happy path;
124
- - human-readable validation reports for adopter workflows;
125
- - packaged adopter command sequence;
126
- - organization-governance adoption report.
127
- - self-service onboarding with `detect`, `bootstrap` and `init`;
128
- - 15-minute project connection tutorial;
129
- - GitHub Action starter for validation.
130
-
131
- Initial implementation:
132
-
133
- - `docs/adoption/choose-profile.md`;
134
- - `mirai-graph choose-profile`;
135
- - `mirai-graph adopter plan <role-or-profile>`;
136
- - `mirai-graph adopter report <template-dir>`;
137
- - `validate:adopter-workflow`.
138
-
139
- ## Phase 3: Reusable Tooling
140
-
141
- Goal: make adoption practical for developers.
142
-
143
- 1.0 RC status: implemented with notes. The CLI validates packages, profiles,
144
- context packs, graph seeds, implementation-control cycles, launch records,
145
- process transitions, process-transition decision reports, process-control
146
- contracts, technology quality feedback reports, DNA alignment, work state,
147
- recovery, risk, coordination, source boundaries, routing-control examples and
148
- baseline-comparison artifacts, instrumentation artifacts and Character Layer
149
- readiness.
150
-
151
- Planned artifacts:
152
-
153
- - JSON schemas;
154
- - validator;
155
- - CLI package;
156
- - reference context-pack generator;
157
- - import/export helpers;
158
- - test fixtures.
159
-
160
- Post-1.0 gaps:
161
-
162
- - publish the prepared CLI package after release-state approval;
163
- - add import/export helpers;
164
- - extend human-readable reports beyond process-transition and instrumentation
165
- checks;
166
- - add process-control explanation output and richer report formatting.
167
- - add adoption recipes for technology quality feedback in non-software
168
- workflows.
169
- - evolve dynamic episode traces from synthetic validation to replay/regression
170
- support for internal pilots.
171
- - add optional validator/report warnings for profile overlap and bulk-content
172
- drift.
173
-
174
- Current tooling target:
175
-
176
- ```text
177
- choose profile -> starter template -> validate -> report -> launch/evidence/kaizen
178
- ```
179
-
180
- The standard must remain implementation-independent. Tooling validates and
181
- demonstrates the standard; it does not replace the standard.
182
-
183
- ## Phase 4: Evidence And Playground
184
-
185
- Goal: provide reproducible public-safe demonstrations.
186
-
187
- 1.0 RC status: implemented with notes. Synthetic benchmark, baseline-comparison
188
- artifact, pilot packages, profile conformance results and runnable CLI examples
189
- exist. The playground is a deterministic local report package rather than a
190
- hosted interactive app.
191
-
192
- Planned artifacts:
193
-
194
- - synthetic context-reduction benchmark;
195
- - benchmark runner;
196
- - playground;
197
- - semantic-completeness review protocol;
198
- - limitations and threats-to-validity notes.
199
-
200
- Post-1.0 gaps:
201
-
202
- - separate synthetic evidence, pilot evidence and scientific claims more
203
- visibly;
204
- - connect instrumentation reports to reproducibility packages and pilot
205
- protocols without exposing private runtime traces;
206
- - add dynamic episode trace datasets for public-safe code-generation drift
207
- experiments;
208
- - add more independent implementation pilots;
209
- - explore an interactive playground after CLI-first reports stabilize.
210
-
211
- Synthetic materials must remain clearly separated from real-world validation.
212
-
213
- ## Phase 5: Publication And Ecosystem
214
-
215
- Goal: connect the repository to research publications and external adoption.
216
-
217
- 1.0 RC status: early. Citation metadata, publication notes and evidence package
218
- v0.3 exist, but the project still needs public publication records, stronger
219
- reviewer protocols and external adoption evidence before making broad
220
- scientific claims.
221
-
222
- Planned artifacts:
223
-
224
- - publication index;
225
- - citation notes;
226
- - reproducibility records;
227
- - contributor guide;
228
- - release process;
229
- - public examples from approved external adopters.
230
-
231
- ## Near-Term Work After 1.1
232
-
233
- 1. Validate sequential context traversal in independent adopter projects and
234
- collect public-safe compatibility evidence.
235
- 2. Continue adopter workflow with richer reports and domain-neutral recipes.
236
- 3. Add external public-safe pilots maintained outside the original Mirai Graph
237
- authoring contour.
238
- 4. Collect real multi-model replay evidence before stronger effectiveness or
239
- portability claims.
240
- 5. Keep the deterministic CLI and public contracts stable while improving
241
- ranking as a replaceable client-side concern.