mirai-graph 1.0.0-rc.1

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 (432) hide show
  1. package/CHANGELOG.md +376 -0
  2. package/CITATION.cff +20 -0
  3. package/LICENSE +21 -0
  4. package/LICENSE-DOCS +26 -0
  5. package/README.md +270 -0
  6. package/ROADMAP.md +225 -0
  7. package/benchmarks/protocols/measure-convert-optimize.md +131 -0
  8. package/benchmarks/synthetic-context-reduction-v0/README.md +70 -0
  9. package/benchmarks/synthetic-context-reduction-v0/RESULT.md +52 -0
  10. package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +31 -0
  11. package/benchmarks/synthetic-context-reduction-v0/gates/results.json +12 -0
  12. package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +114 -0
  13. package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +74 -0
  14. package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +22 -0
  15. package/benchmarks/synthetic-context-reduction-v0/mirai-graph-package.json +14 -0
  16. package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +42 -0
  17. package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +181 -0
  18. package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +8 -0
  19. package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +28 -0
  20. package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +24 -0
  21. package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +78 -0
  22. package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +42 -0
  23. package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +8 -0
  24. package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +8 -0
  25. package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +8 -0
  26. package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +8 -0
  27. package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +31 -0
  28. package/docs/adoption/adopter-kit.md +179 -0
  29. package/docs/adoption/ai-employee-graph.md +151 -0
  30. package/docs/adoption/character-layer.md +196 -0
  31. package/docs/adoption/choose-profile.md +98 -0
  32. package/docs/adoption/cli.md +78 -0
  33. package/docs/adoption/developer-integration-guide.md +93 -0
  34. package/docs/adoption/end-to-end-control-loop.md +168 -0
  35. package/docs/adoption/getting-started.md +169 -0
  36. package/docs/adoption/mirai-graph-transition.md +64 -0
  37. package/docs/adoption/profile-conformance-fixtures.md +112 -0
  38. package/docs/adoption/seed-to-validated-package.md +121 -0
  39. package/docs/concept.md +109 -0
  40. package/docs/repository-purpose.md +421 -0
  41. package/docs/research/ai-work-field-instrumentation-bridge.md +126 -0
  42. package/docs/research/baseline-comparison-protocol.md +79 -0
  43. package/docs/research/evidence-package-v0.1.md +99 -0
  44. package/docs/research/evidence-package-v0.2.md +150 -0
  45. package/docs/research/evidence-package-v0.3.md +226 -0
  46. package/docs/research/independent-implementation-pilot-plan.md +74 -0
  47. package/docs/research/limitations-and-threats.md +40 -0
  48. package/docs/research/practice-science-program.md +232 -0
  49. package/docs/research/scientific-evidence-package.md +154 -0
  50. package/docs/research/semantic-completeness-review-protocol.md +70 -0
  51. package/docs/terminology.md +119 -0
  52. package/docs/transfer/ai-employee-profile-proposal.md +119 -0
  53. package/docs/transfer/federation-routing-control-loop-2026-05-31.md +28 -0
  54. package/docs/transfer/graph-capability-map-2026-05-29.md +126 -0
  55. package/docs/transfer/graph-skill-to-mirai-graph.md +128 -0
  56. package/docs/transfer/project-management-standard-harvest-2026-06-02.md +322 -0
  57. package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +113 -0
  58. package/docs/transfer/standard-gap-report-2026-05-28.md +208 -0
  59. package/examples/ai-employee-minimal/README.md +53 -0
  60. package/examples/ai-employee-minimal/gates/results.json +35 -0
  61. package/examples/ai-employee-minimal/graph/objects.json +187 -0
  62. package/examples/ai-employee-minimal/graph/relations.json +167 -0
  63. package/examples/ai-employee-minimal/mirai-graph-package.json +14 -0
  64. package/examples/ai-employee-minimal/results/profile-conformance-result.json +28 -0
  65. package/examples/character-layer-integration-minimal/README.md +25 -0
  66. package/examples/character-layer-integration-minimal/results/character-layer-integration.json +53 -0
  67. package/examples/character-layer-minimal/README.md +29 -0
  68. package/examples/character-layer-minimal/gates/results.json +57 -0
  69. package/examples/character-layer-minimal/graph/objects.json +165 -0
  70. package/examples/character-layer-minimal/graph/relations.json +178 -0
  71. package/examples/character-layer-minimal/mirai-graph-package.json +14 -0
  72. package/examples/character-layer-readiness-1-0/README.md +27 -0
  73. package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +90 -0
  74. package/examples/federation-routing-smoke/README.md +19 -0
  75. package/examples/federation-routing-smoke/federation-health-dashboard.json +42 -0
  76. package/examples/federation-routing-smoke/route-explanation.json +32 -0
  77. package/examples/federation-routing-smoke/route-regression-result.json +35 -0
  78. package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +17 -0
  79. package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +12 -0
  80. package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +8 -0
  81. package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +1 -0
  82. package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +1 -0
  83. package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +17 -0
  84. package/examples/federation-routing-smoke/routes/search-page-route-result.json +12 -0
  85. package/examples/federation-routing-smoke/routes/search-page-stderr.txt +1 -0
  86. package/examples/federation-routing-smoke/routes/search-page-stdout.txt +1 -0
  87. package/examples/federation-routing-smoke/routing-fixture-run.json +66 -0
  88. package/examples/federation-routing-smoke/routing-fixtures.json +44 -0
  89. package/examples/graph-dna-alignment-minimal/README.md +16 -0
  90. package/examples/graph-dna-alignment-minimal/graph/objects.json +38 -0
  91. package/examples/graph-dna-alignment-minimal/graph/relations.json +20 -0
  92. package/examples/graph-dna-alignment-minimal/mirai-graph-package.json +14 -0
  93. package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +32 -0
  94. package/examples/graph-seed-minimal/README.md +9 -0
  95. package/examples/graph-seed-minimal/graph-embryo.json +63 -0
  96. package/examples/graph-seed-minimal/graph-seed.json +60 -0
  97. package/examples/implementation-control-cycles/README.md +47 -0
  98. package/examples/implementation-control-cycles/gates/results.json +22 -0
  99. package/examples/implementation-control-cycles/graph/objects.json +119 -0
  100. package/examples/implementation-control-cycles/graph/relations.json +200 -0
  101. package/examples/implementation-control-cycles/mirai-graph-package.json +14 -0
  102. package/examples/implementation-control-cycles/results/implementation-control-cycles.json +456 -0
  103. package/examples/implementation-control-minimal/README.md +39 -0
  104. package/examples/implementation-control-minimal/gates/results.json +42 -0
  105. package/examples/implementation-control-minimal/graph/objects.json +128 -0
  106. package/examples/implementation-control-minimal/graph/relations.json +128 -0
  107. package/examples/implementation-control-minimal/mirai-graph-package.json +14 -0
  108. package/examples/implementation-control-minimal/results/implementation-control-loop.json +21 -0
  109. package/examples/instrumentation-layer-minimal/README.md +32 -0
  110. package/examples/instrumentation-layer-minimal/gates/results.json +11 -0
  111. package/examples/instrumentation-layer-minimal/graph/objects.json +74 -0
  112. package/examples/instrumentation-layer-minimal/graph/relations.json +56 -0
  113. package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +40 -0
  114. package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +38 -0
  115. package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +38 -0
  116. package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +43 -0
  117. package/examples/instrumentation-layer-minimal/mirai-graph-package.json +14 -0
  118. package/examples/instrumentation-layer-minimal/results/development-cockpit.json +68 -0
  119. package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +56 -0
  120. package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +72 -0
  121. package/examples/invalid-character-layer-context-authorization/graph/objects.json +22 -0
  122. package/examples/invalid-character-layer-context-authorization/graph/relations.json +1 -0
  123. package/examples/invalid-character-layer-context-authorization/mirai-graph-package.json +14 -0
  124. package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +22 -0
  125. package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +1 -0
  126. package/examples/invalid-character-layer-correction-loop-no-review/mirai-graph-package.json +14 -0
  127. package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +22 -0
  128. package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +1 -0
  129. package/examples/invalid-character-layer-feedback-auto-update/mirai-graph-package.json +14 -0
  130. package/examples/invalid-character-layer-object-kind/graph/objects.json +22 -0
  131. package/examples/invalid-character-layer-object-kind/graph/relations.json +1 -0
  132. package/examples/invalid-character-layer-object-kind/mirai-graph-package.json +14 -0
  133. package/examples/invalid-character-layer-relation-direction/graph/objects.json +33 -0
  134. package/examples/invalid-character-layer-relation-direction/graph/relations.json +13 -0
  135. package/examples/invalid-character-layer-relation-direction/mirai-graph-package.json +14 -0
  136. package/examples/invalid-character-layer-relation-type/graph/objects.json +33 -0
  137. package/examples/invalid-character-layer-relation-type/graph/relations.json +13 -0
  138. package/examples/invalid-character-layer-relation-type/mirai-graph-package.json +14 -0
  139. package/examples/invalid-character-layer-role-permission/graph/objects.json +22 -0
  140. package/examples/invalid-character-layer-role-permission/graph/relations.json +1 -0
  141. package/examples/invalid-character-layer-role-permission/mirai-graph-package.json +14 -0
  142. package/examples/invalid-context-pack-missing-explanation/context-pack.json +25 -0
  143. package/examples/invalid-missing-relation-target/graph/objects.json +11 -0
  144. package/examples/invalid-missing-relation-target/graph/relations.json +11 -0
  145. package/examples/invalid-missing-relation-target/mirai-graph-package.json +11 -0
  146. package/examples/invalid-profile-object-kind/graph/objects.json +20 -0
  147. package/examples/invalid-profile-object-kind/graph/relations.json +1 -0
  148. package/examples/invalid-profile-object-kind/mirai-graph-package.json +11 -0
  149. package/examples/invalid-profile-relation-type/graph/objects.json +29 -0
  150. package/examples/invalid-profile-relation-type/graph/relations.json +11 -0
  151. package/examples/invalid-profile-relation-type/mirai-graph-package.json +11 -0
  152. package/examples/invalid-relation-id-mismatch/graph/objects.json +29 -0
  153. package/examples/invalid-relation-id-mismatch/graph/relations.json +11 -0
  154. package/examples/invalid-relation-id-mismatch/mirai-graph-package.json +11 -0
  155. package/examples/invalid-seed-unsafe-write/graph-seed.json +27 -0
  156. package/examples/launch-record-minimal/README.md +29 -0
  157. package/examples/launch-record-minimal/gates/results.json +12 -0
  158. package/examples/launch-record-minimal/graph/objects.json +47 -0
  159. package/examples/launch-record-minimal/graph/relations.json +38 -0
  160. package/examples/launch-record-minimal/mirai-graph-package.json +11 -0
  161. package/examples/launch-record-minimal/results/launch-record.json +51 -0
  162. package/examples/managed-project-control-loop/README.md +43 -0
  163. package/examples/managed-project-control-loop/gates/results.json +22 -0
  164. package/examples/managed-project-control-loop/graph/objects.json +119 -0
  165. package/examples/managed-project-control-loop/graph/relations.json +110 -0
  166. package/examples/managed-project-control-loop/mirai-graph-package.json +14 -0
  167. package/examples/managed-project-control-loop/results/managed-loop-result.json +21 -0
  168. package/examples/minimal-graph/README.md +15 -0
  169. package/examples/minimal-graph/gates/results.json +12 -0
  170. package/examples/minimal-graph/graph/objects.json +24 -0
  171. package/examples/minimal-graph/graph/relations.json +11 -0
  172. package/examples/minimal-graph/mirai-graph-package.json +14 -0
  173. package/examples/minimal-graph/results/profile-conformance-result.json +26 -0
  174. package/examples/model-portability-minimal/README.md +15 -0
  175. package/examples/model-portability-minimal/results/model-portability-evidence.json +55 -0
  176. package/examples/organization-governance-minimal/README.md +29 -0
  177. package/examples/organization-governance-minimal/gates/results.json +21 -0
  178. package/examples/organization-governance-minimal/graph/objects.json +147 -0
  179. package/examples/organization-governance-minimal/graph/relations.json +147 -0
  180. package/examples/organization-governance-minimal/mirai-graph-package.json +15 -0
  181. package/examples/organization-governance-minimal/results/profile-conformance-result.json +31 -0
  182. package/examples/process-control-contract-minimal/README.md +19 -0
  183. package/examples/process-control-contract-minimal/graph/objects.json +38 -0
  184. package/examples/process-control-contract-minimal/graph/relations.json +29 -0
  185. package/examples/process-control-contract-minimal/mirai-graph-package.json +11 -0
  186. package/examples/process-control-contract-minimal/results/process-control-contract.json +58 -0
  187. package/examples/process-transition-minimal/README.md +25 -0
  188. package/examples/process-transition-minimal/invalid-missing-launch-record.json +14 -0
  189. package/examples/process-transition-minimal/invalid-ready-to-written.json +14 -0
  190. package/examples/process-transition-minimal/invalid-release-missing-evidence.json +14 -0
  191. package/examples/process-transition-minimal/invalid-sync-to-update.json +14 -0
  192. package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +14 -0
  193. package/examples/process-transition-minimal/invalid-tests-to-approved.json +14 -0
  194. package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +35 -0
  195. package/examples/process-transition-minimal/results/transition-explanation-valid.json +34 -0
  196. package/examples/process-transition-minimal/state-machine.json +79 -0
  197. package/examples/process-transition-minimal/transition-request-skip-kaizen.json +14 -0
  198. package/examples/process-transition-minimal/transition-request.json +14 -0
  199. package/examples/risk-and-coordination-minimal/README.md +16 -0
  200. package/examples/risk-and-coordination-minimal/graph/objects.json +47 -0
  201. package/examples/risk-and-coordination-minimal/graph/relations.json +29 -0
  202. package/examples/risk-and-coordination-minimal/mirai-graph-package.json +14 -0
  203. package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +25 -0
  204. package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +34 -0
  205. package/examples/skill-runtime-minimal/README.md +29 -0
  206. package/examples/skill-runtime-minimal/gates/results.json +35 -0
  207. package/examples/skill-runtime-minimal/graph/objects.json +209 -0
  208. package/examples/skill-runtime-minimal/graph/relations.json +178 -0
  209. package/examples/skill-runtime-minimal/mirai-graph-package.json +14 -0
  210. package/examples/skill-runtime-minimal/results/profile-conformance-result.json +27 -0
  211. package/examples/source-boundary-minimal/README.md +16 -0
  212. package/examples/source-boundary-minimal/graph/objects.json +38 -0
  213. package/examples/source-boundary-minimal/graph/relations.json +20 -0
  214. package/examples/source-boundary-minimal/mirai-graph-package.json +14 -0
  215. package/examples/source-boundary-minimal/results/source-boundary-contract.json +37 -0
  216. package/examples/technology-quality-feedback-minimal/README.md +33 -0
  217. package/examples/technology-quality-feedback-minimal/graph/objects.json +56 -0
  218. package/examples/technology-quality-feedback-minimal/graph/relations.json +47 -0
  219. package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +33 -0
  220. package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +22 -0
  221. package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +22 -0
  222. package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +33 -0
  223. package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +33 -0
  224. package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +33 -0
  225. package/examples/technology-quality-feedback-minimal/mirai-graph-package.json +11 -0
  226. package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +80 -0
  227. package/examples/work-recovery-minimal/README.md +15 -0
  228. package/examples/work-recovery-minimal/graph/objects.json +47 -0
  229. package/examples/work-recovery-minimal/graph/relations.json +20 -0
  230. package/examples/work-recovery-minimal/mirai-graph-package.json +14 -0
  231. package/examples/work-recovery-minimal/results/recovery-resume-record.json +17 -0
  232. package/examples/work-recovery-minimal/results/work-state-machine.json +21 -0
  233. package/package.json +104 -0
  234. package/packages/cli/adopter-workflow.js +227 -0
  235. package/packages/cli/context-pack.js +267 -0
  236. package/packages/cli/instrumentation-report.js +97 -0
  237. package/packages/cli/mirai-graph.js +121 -0
  238. package/packages/cli/mirai_graph.js +3 -0
  239. package/packages/cli/playground-demo.js +114 -0
  240. package/packages/cli/readiness-score.js +162 -0
  241. package/packages/cli/release-state.js +329 -0
  242. package/packages/cli/seed-preview.js +78 -0
  243. package/packages/cli/validate-adopter-workflow.js +63 -0
  244. package/packages/cli/validate-baseline-comparison.js +105 -0
  245. package/packages/cli/validate-mirai-graph.js +2434 -0
  246. package/packages/cli/validate-process-transition-report.js +105 -0
  247. package/packages/cli/validate-profile-results.js +64 -0
  248. package/packages/cli/validate-release-state.js +100 -0
  249. package/packages/cli/validate-routing-control-examples.js +79 -0
  250. package/pilots/independent-implementation-001-conference-planning/README.md +40 -0
  251. package/pilots/independent-implementation-001-conference-planning/gates/results.json +12 -0
  252. package/pilots/independent-implementation-001-conference-planning/graph/objects.json +74 -0
  253. package/pilots/independent-implementation-001-conference-planning/graph/relations.json +56 -0
  254. package/pilots/independent-implementation-001-conference-planning/graph-seed.json +65 -0
  255. package/pilots/independent-implementation-001-conference-planning/mirai-graph-package.json +14 -0
  256. package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +120 -0
  257. package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +35 -0
  258. package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +81 -0
  259. package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +7 -0
  260. package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +28 -0
  261. package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +26 -0
  262. package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +7 -0
  263. package/pilots/independent-implementation-002-software-specification/README.md +40 -0
  264. package/pilots/independent-implementation-002-software-specification/gates/results.json +22 -0
  265. package/pilots/independent-implementation-002-software-specification/graph/objects.json +101 -0
  266. package/pilots/independent-implementation-002-software-specification/graph/relations.json +92 -0
  267. package/pilots/independent-implementation-002-software-specification/graph-seed.json +72 -0
  268. package/pilots/independent-implementation-002-software-specification/mirai-graph-package.json +14 -0
  269. package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +142 -0
  270. package/pilots/independent-implementation-002-software-specification/results/context-pack.json +184 -0
  271. package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +90 -0
  272. package/pilots/independent-implementation-002-software-specification/results/package-validation.json +7 -0
  273. package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +28 -0
  274. package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +26 -0
  275. package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +7 -0
  276. package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +81 -0
  277. package/pilots/independent-implementation-003-ai-employee-workflow/README.md +42 -0
  278. package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +30 -0
  279. package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +156 -0
  280. package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +147 -0
  281. package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +90 -0
  282. package/pilots/independent-implementation-003-ai-employee-workflow/mirai-graph-package.json +15 -0
  283. package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +49 -0
  284. package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +30 -0
  285. package/pilots/independent-implementation-004-research-program/README.md +41 -0
  286. package/pilots/independent-implementation-004-research-program/gates/results.json +21 -0
  287. package/pilots/independent-implementation-004-research-program/graph/objects.json +102 -0
  288. package/pilots/independent-implementation-004-research-program/graph/relations.json +84 -0
  289. package/pilots/independent-implementation-004-research-program/graph-seed.json +76 -0
  290. package/pilots/independent-implementation-004-research-program/mirai-graph-package.json +15 -0
  291. package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +50 -0
  292. package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +30 -0
  293. package/pilots/independent-implementation-005-organization-governance/README.md +42 -0
  294. package/pilots/independent-implementation-005-organization-governance/gates/results.json +20 -0
  295. package/pilots/independent-implementation-005-organization-governance/graph/objects.json +137 -0
  296. package/pilots/independent-implementation-005-organization-governance/graph/relations.json +110 -0
  297. package/pilots/independent-implementation-005-organization-governance/graph-seed.json +97 -0
  298. package/pilots/independent-implementation-005-organization-governance/mirai-graph-package.json +14 -0
  299. package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +47 -0
  300. package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +29 -0
  301. package/playground/README.md +78 -0
  302. package/playground/demo-report.md +84 -0
  303. package/profiles/README.md +19 -0
  304. package/profiles/ai-employee/README.md +132 -0
  305. package/profiles/ai-employee/profile.json +58 -0
  306. package/profiles/character-layer/README.md +143 -0
  307. package/profiles/character-layer/profile.json +46 -0
  308. package/profiles/implementation-control/README.md +170 -0
  309. package/profiles/implementation-control/profile.json +106 -0
  310. package/profiles/organization-governance/README.md +61 -0
  311. package/profiles/organization-governance/profile.json +56 -0
  312. package/profiles/project-management/README.md +115 -0
  313. package/profiles/project-management/profile.json +31 -0
  314. package/profiles/skill-runtime/README.md +94 -0
  315. package/profiles/skill-runtime/profile.json +58 -0
  316. package/profiles/software-specification/README.md +142 -0
  317. package/profiles/software-specification/profile.json +31 -0
  318. package/publications/README.md +24 -0
  319. package/publications/preprint-note.md +11 -0
  320. package/publications/preprint-outline.md +45 -0
  321. package/releases/0.1.0-alpha.0.md +45 -0
  322. package/releases/0.1.0-alpha.1.md +63 -0
  323. package/releases/0.1.0-alpha.10.md +93 -0
  324. package/releases/0.1.0-alpha.11.md +114 -0
  325. package/releases/0.1.0-alpha.2.md +37 -0
  326. package/releases/0.1.0-alpha.3.md +61 -0
  327. package/releases/0.1.0-alpha.4.md +53 -0
  328. package/releases/0.1.0-alpha.5.md +48 -0
  329. package/releases/0.1.0-alpha.6.md +96 -0
  330. package/releases/0.1.0-alpha.7.md +114 -0
  331. package/releases/0.1.0-alpha.8.md +92 -0
  332. package/releases/0.1.0-alpha.9.md +80 -0
  333. package/releases/1.0.0-rc.1.md +112 -0
  334. package/releases/README.md +114 -0
  335. package/schemas/baseline-comparison-result.schema.json +87 -0
  336. package/schemas/character-layer-integration.schema.json +112 -0
  337. package/schemas/character-layer-readiness.schema.json +73 -0
  338. package/schemas/context-pack.schema.json +137 -0
  339. package/schemas/development-cockpit.schema.json +74 -0
  340. package/schemas/feature-implementation-traceability.schema.json +80 -0
  341. package/schemas/federation-health-dashboard.schema.json +47 -0
  342. package/schemas/gate-result.schema.json +44 -0
  343. package/schemas/graph-dna-alignment.schema.json +49 -0
  344. package/schemas/graph-embryo.schema.json +51 -0
  345. package/schemas/graph-seed.schema.json +137 -0
  346. package/schemas/implementation-control-cycle.schema.json +265 -0
  347. package/schemas/implementation-control-loop.schema.json +84 -0
  348. package/schemas/launch-record.schema.json +78 -0
  349. package/schemas/model-portability-evidence.schema.json +93 -0
  350. package/schemas/multi-agent-coordination.schema.json +35 -0
  351. package/schemas/multi-source-quality-feedback.schema.json +54 -0
  352. package/schemas/object.schema.json +49 -0
  353. package/schemas/package-manifest.schema.json +53 -0
  354. package/schemas/process-control-contract.schema.json +100 -0
  355. package/schemas/process-transition-request.schema.json +41 -0
  356. package/schemas/profile.schema.json +56 -0
  357. package/schemas/readiness-score.schema.json +43 -0
  358. package/schemas/recovery-resume-record.schema.json +25 -0
  359. package/schemas/relation.schema.json +43 -0
  360. package/schemas/risk-control-matrix.schema.json +36 -0
  361. package/schemas/route-explanation.schema.json +51 -0
  362. package/schemas/route-regression-result.schema.json +33 -0
  363. package/schemas/routing-fixture-run.schema.json +45 -0
  364. package/schemas/routing-fixtures.schema.json +59 -0
  365. package/schemas/source-boundary-contract.schema.json +31 -0
  366. package/schemas/technology-quality-feedback.schema.json +116 -0
  367. package/schemas/work-state-machine.schema.json +34 -0
  368. package/standard/action-runtime-boundary.md +99 -0
  369. package/standard/adoption-levels.md +69 -0
  370. package/standard/conformance-levels.md +133 -0
  371. package/standard/context-pack-generation.md +141 -0
  372. package/standard/development-cockpit.md +67 -0
  373. package/standard/evidence-provenance.md +128 -0
  374. package/standard/feature-implementation-traceability.md +68 -0
  375. package/standard/federation-health.md +42 -0
  376. package/standard/feedback-learning-gate.md +101 -0
  377. package/standard/governance.md +137 -0
  378. package/standard/graph-as-ai-brain.md +81 -0
  379. package/standard/graph-dna-alignment.md +50 -0
  380. package/standard/graph-dna.md +70 -0
  381. package/standard/graph-embryo.md +69 -0
  382. package/standard/graph-seed.md +122 -0
  383. package/standard/hybrid-source-of-truth.md +91 -0
  384. package/standard/implementation-control-cycles.md +194 -0
  385. package/standard/implementation-control.md +102 -0
  386. package/standard/launch-record.md +53 -0
  387. package/standard/lifecycle-readiness.md +159 -0
  388. package/standard/multi-agent-coordination.md +50 -0
  389. package/standard/multi-source-quality-feedback.md +71 -0
  390. package/standard/object-model.md +152 -0
  391. package/standard/organization-governance.md +84 -0
  392. package/standard/process-control-contract.md +53 -0
  393. package/standard/profiles.md +233 -0
  394. package/standard/projection-views.md +69 -0
  395. package/standard/recovery-resume.md +49 -0
  396. package/standard/relation-model.md +139 -0
  397. package/standard/risk-control-matrix.md +53 -0
  398. package/standard/route-explanation.md +35 -0
  399. package/standard/route-regression.md +33 -0
  400. package/standard/routing-fixtures.md +54 -0
  401. package/standard/runtime-enablement.md +85 -0
  402. package/standard/source-boundary-contract.md +49 -0
  403. package/standard/standard-v0.1.md +132 -0
  404. package/standard/technology-quality-feedback.md +97 -0
  405. package/standard/test-suite.md +105 -0
  406. package/standard/work-state-machine.md +62 -0
  407. package/templates/README.md +64 -0
  408. package/templates/ai-employee-starter/README.md +9 -0
  409. package/templates/ai-employee-starter/gates/results.json +12 -0
  410. package/templates/ai-employee-starter/graph/objects.json +90 -0
  411. package/templates/ai-employee-starter/graph/relations.json +47 -0
  412. package/templates/ai-employee-starter/mirai-graph-package.json +14 -0
  413. package/templates/character-layer-starter/README.md +39 -0
  414. package/templates/character-layer-starter/gates/results.json +20 -0
  415. package/templates/character-layer-starter/graph/objects.json +308 -0
  416. package/templates/character-layer-starter/graph/relations.json +344 -0
  417. package/templates/character-layer-starter/mirai-graph-package.json +14 -0
  418. package/templates/organization-governance-starter/README.md +9 -0
  419. package/templates/organization-governance-starter/gates/results.json +12 -0
  420. package/templates/organization-governance-starter/graph/objects.json +112 -0
  421. package/templates/organization-governance-starter/graph/relations.json +65 -0
  422. package/templates/organization-governance-starter/mirai-graph-package.json +14 -0
  423. package/templates/research-program-starter/README.md +9 -0
  424. package/templates/research-program-starter/gates/results.json +12 -0
  425. package/templates/research-program-starter/graph/objects.json +79 -0
  426. package/templates/research-program-starter/graph/relations.json +47 -0
  427. package/templates/research-program-starter/mirai-graph-package.json +14 -0
  428. package/templates/software-project-starter/README.md +9 -0
  429. package/templates/software-project-starter/gates/results.json +12 -0
  430. package/templates/software-project-starter/graph/objects.json +79 -0
  431. package/templates/software-project-starter/graph/relations.json +47 -0
  432. package/templates/software-project-starter/mirai-graph-package.json +14 -0
package/README.md ADDED
@@ -0,0 +1,270 @@
1
+ # Mirai Graph
2
+
3
+ Mirai Graph is an evolutionary graph operating model for managing the growth of
4
+ complex systems.
5
+
6
+ It defines how projects, products, organizations and human-AI systems can use
7
+ canonical graph state, generated context packs, evidence, readiness and
8
+ governance gates to coordinate knowledge, decisions and action.
9
+
10
+ Mirai Graph is the graph foundation of the broader Mirai direction: governed AI
11
+ systems that can work with people, projects and organizations through explicit
12
+ state, evidence, approval gates, feedback loops and controlled evolution.
13
+
14
+ ## Why Mirai Graph
15
+
16
+ Many teams use documents, chats, task trackers and isolated knowledge bases as
17
+ their main working substrate. This becomes fragile when the system grows:
18
+ requirements change, decisions depend on each other, evidence is scattered and
19
+ AI assistants receive incomplete context.
20
+
21
+ Mirai Graph treats the working system as an evolving graph:
22
+
23
+ - objects represent the system state;
24
+ - relations make dependencies explicit;
25
+ - evidence links claims to sources;
26
+ - readiness records maturity and uncertainty;
27
+ - generated context packs provide task-specific AI context;
28
+ - governance gates separate suggestions, decisions and actions;
29
+ - profiles adapt the model to domains without changing the core standard.
30
+
31
+ ## Strategic Goal
32
+
33
+ The long-term goal is to make Mirai Graph an open, verifiable and practical
34
+ standard for governed AI work. A Mirai Graph system should make it possible to
35
+ move from idea to action without losing context, ownership, evidence, process
36
+ discipline or human control.
37
+
38
+ In this framing, an AI agent is not just a prompt or chat session. It is a
39
+ governed graph-backed operating process: context, tools, policies, actions,
40
+ results, feedback and learning are connected through explicit state and
41
+ approval boundaries.
42
+
43
+ ## Current Status
44
+
45
+ Status: public 1.0 release candidate.
46
+
47
+ This repository is being prepared as the public source of truth for the
48
+ Mirai Graph model, standard, methods, examples and reproducibility materials.
49
+
50
+ The model is related to the `Evolutionary Object Graph (EOG)` research program.
51
+ The current public name is `Mirai Graph`; `EOG` remains the scientific continuity
52
+ term for earlier preprint materials.
53
+
54
+ Current release candidate:
55
+ [v1.0.0-rc.1](releases/1.0.0-rc.1.md). This candidate consolidates the
56
+ validator-backed public standard across the core model, profiles, executable
57
+ process control, instrumentation, Character Layer, adopter kit and evidence
58
+ boundaries.
59
+
60
+ ## Intended Audiences
61
+
62
+ - Researchers who need a clear model, reproducible experiments and citation
63
+ trail.
64
+ - Developers who need schemas, validators, examples and integration methods.
65
+ - Product teams that need adoption guides, profiles and operating procedures.
66
+ - Organizations that need governance patterns for complex human-AI systems.
67
+
68
+ ## Repository Map
69
+
70
+ ```text
71
+ docs/ Concept, terminology, methodology, adoption and research guides.
72
+ standard/ Implementation-independent standard sections.
73
+ schemas/ Machine-readable schemas and validation rules.
74
+ benchmarks/ Synthetic benchmarks and reproducibility packages.
75
+ examples/ Public-safe examples and anti-examples.
76
+ packages/ Reference tooling, libraries and CLI packages.
77
+ playground/ Runnable demo index backed by examples and CLI commands.
78
+ profiles/ Domain profiles for project, software, AI and process use cases.
79
+ pilots/ Public-safe pilot packages and reports.
80
+ publications/ Publication links, citation notes and reproducibility records.
81
+ ```
82
+
83
+ ## Start Here
84
+
85
+ Start by role:
86
+
87
+ - Researchers: [Practice And Science Program](docs/research/practice-science-program.md),
88
+ [Scientific Evidence Package](docs/research/scientific-evidence-package.md),
89
+ [Evidence Package v0.3](docs/research/evidence-package-v0.3.md),
90
+ [Evidence Package v0.2](docs/research/evidence-package-v0.2.md),
91
+ [Evidence Package v0.1](docs/research/evidence-package-v0.1.md),
92
+ [Publications](publications/README.md).
93
+ - Developers: [Getting Started](docs/adoption/getting-started.md),
94
+ [1.0 RC Adopter Kit](docs/adoption/adopter-kit.md),
95
+ [Choose A Profile](docs/adoption/choose-profile.md),
96
+ [End-To-End Tutorial](docs/adoption/end-to-end-control-loop.md),
97
+ [Developer Integration Guide](docs/adoption/developer-integration-guide.md),
98
+ [Mirai Graph CLI](docs/adoption/cli.md),
99
+ [Test Suite](standard/test-suite.md).
100
+ - Product teams: [Managed Project Control Loop Example](examples/managed-project-control-loop/README.md),
101
+ [Implementation Control](standard/implementation-control.md),
102
+ [Implementation Control Cycles](standard/implementation-control-cycles.md),
103
+ [Development Cockpit](standard/development-cockpit.md),
104
+ [Feature Implementation Traceability](standard/feature-implementation-traceability.md).
105
+ - Organizations and AI systems: [Graph As AI Brain](standard/graph-as-ai-brain.md),
106
+ [AI Employee Graph Adoption](docs/adoption/ai-employee-graph.md),
107
+ [Character Layer Adoption](docs/adoption/character-layer.md),
108
+ [Organization Governance](standard/organization-governance.md),
109
+ [Process Control Contract](standard/process-control-contract.md),
110
+ [Multi-Source Quality Feedback](standard/multi-source-quality-feedback.md).
111
+
112
+ Core references:
113
+
114
+ - [Repository Purpose](docs/repository-purpose.md)
115
+ - [Roadmap](ROADMAP.md)
116
+ - [Changelog](CHANGELOG.md)
117
+ - [Contributing](CONTRIBUTING.md)
118
+ - [Release Process](releases/README.md)
119
+ - [Concept](docs/concept.md)
120
+ - [Terminology](docs/terminology.md)
121
+ - [Standard v0.1 Draft](standard/standard-v0.1.md)
122
+ - [Profiles](profiles/README.md)
123
+ - [Templates](templates/README.md)
124
+ - [1.0 RC Adopter Kit](docs/adoption/adopter-kit.md)
125
+ - [Mirai Graph To Mirai Graph Transition](docs/adoption/mirai-graph-transition.md)
126
+ - [Alpha.10 Adopter Workflow](releases/0.1.0-alpha.10.md)
127
+ - [Alpha.11 Instrumentation Layer](releases/0.1.0-alpha.11.md)
128
+ - [1.0 Release Candidate](releases/1.0.0-rc.1.md)
129
+ - [Evidence Package v0.3](docs/research/evidence-package-v0.3.md)
130
+
131
+ Current 1.0 release-candidate standard areas:
132
+
133
+ - [Object Model](standard/object-model.md)
134
+ - [Relation Model](standard/relation-model.md)
135
+ - [Lifecycle Readiness](standard/lifecycle-readiness.md)
136
+ - [Evidence Provenance](standard/evidence-provenance.md)
137
+ - [Context Pack Generation](standard/context-pack-generation.md)
138
+ - [Governance](standard/governance.md)
139
+ - [Graph Seed](standard/graph-seed.md)
140
+ - [Graph Embryo](standard/graph-embryo.md)
141
+ - [Hybrid Source Of Truth](standard/hybrid-source-of-truth.md)
142
+ - [Graph DNA Alignment](standard/graph-dna-alignment.md)
143
+ - [Implementation Control](standard/implementation-control.md)
144
+ - [Launch Record](standard/launch-record.md)
145
+ - [Work State Machine](standard/work-state-machine.md)
146
+ - [Process Control Contract](standard/process-control-contract.md)
147
+ - [Technology Quality Feedback](standard/technology-quality-feedback.md)
148
+ - [Development Cockpit](standard/development-cockpit.md)
149
+ - [Feature Implementation Traceability](standard/feature-implementation-traceability.md)
150
+ - [Multi-Source Quality Feedback](standard/multi-source-quality-feedback.md)
151
+ - [Organization Governance](standard/organization-governance.md)
152
+ - [Recovery Resume](standard/recovery-resume.md)
153
+ - [Risk Control Matrix](standard/risk-control-matrix.md)
154
+ - [Multi-Agent Coordination](standard/multi-agent-coordination.md)
155
+ - [Source Boundary Contract](standard/source-boundary-contract.md)
156
+ - [Route Explanation](standard/route-explanation.md)
157
+ - [Routing Fixtures](standard/routing-fixtures.md)
158
+ - [Federation Health](standard/federation-health.md)
159
+ - [Route Regression](standard/route-regression.md)
160
+ - [Conformance Levels](standard/conformance-levels.md)
161
+ - [Test Suite](standard/test-suite.md)
162
+
163
+ Runnable materials:
164
+
165
+ - [Playground](playground/README.md)
166
+ - [1.0 RC Adopter Kit](docs/adoption/adopter-kit.md)
167
+ - [Minimal Graph Example](examples/minimal-graph/README.md)
168
+ - [Minimal Implementation Control Example](examples/implementation-control-minimal/README.md)
169
+ - [Implementation Control Cycles Example](examples/implementation-control-cycles/README.md)
170
+ - [Launch Record Example](examples/launch-record-minimal/README.md)
171
+ - [Process Transition Example](examples/process-transition-minimal/README.md)
172
+ - [Process Control Contract Example](examples/process-control-contract-minimal/README.md)
173
+ - [Technology Quality Feedback Example](examples/technology-quality-feedback-minimal/README.md)
174
+ - [Instrumentation Layer Example](examples/instrumentation-layer-minimal/README.md)
175
+ - [Organization Governance Example](examples/organization-governance-minimal/README.md)
176
+ - [Federation Routing Smoke Example](examples/federation-routing-smoke/README.md)
177
+ - [Synthetic Context-Reduction Benchmark](benchmarks/synthetic-context-reduction-v0/README.md)
178
+ - [Independent Implementation Pilot 001](pilots/independent-implementation-001-conference-planning/reports/pilot-report.md)
179
+ - [Independent Implementation Pilot 002](pilots/independent-implementation-002-software-specification/reports/pilot-report.md)
180
+ - [Independent Implementation Pilot 003](pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md)
181
+ - [Independent Implementation Pilot 004](pilots/independent-implementation-004-research-program/reports/pilot-report.md)
182
+ - [Independent Implementation Pilot 005](pilots/independent-implementation-005-organization-governance/reports/pilot-report.md)
183
+
184
+ ## Validate A Graph Package
185
+
186
+ Run the initial validator:
187
+
188
+ ```bash
189
+ node packages/cli/validate-mirai-graph.js examples/minimal-graph
190
+ node packages/cli/validate-mirai-graph.js benchmarks/synthetic-context-reduction-v0
191
+ node packages/cli/validate-mirai-graph.js examples/ai-employee-minimal
192
+ node packages/cli/validate-mirai-graph.js examples/skill-runtime-minimal
193
+ node packages/cli/validate-mirai-graph.js seed examples/graph-seed-minimal/graph-seed.json
194
+ node packages/cli/validate-mirai-graph.js profile profiles/software-specification/profile.json
195
+ node packages/cli/validate-mirai-graph.js profile profiles/skill-runtime/profile.json
196
+ node packages/cli/validate-mirai-graph.js context-pack benchmarks/synthetic-context-reduction-v0 benchmarks/synthetic-context-reduction-v0/results/context-pack.json
197
+ node packages/cli/validate-mirai-graph.js launch-record examples/launch-record-minimal/results/launch-record.json
198
+ node packages/cli/validate-mirai-graph.js process-transition examples/process-transition-minimal/state-machine.json examples/process-transition-minimal/transition-request.json
199
+ node packages/cli/validate-mirai-graph.js process-control-contract examples/process-control-contract-minimal/results/process-control-contract.json
200
+ node packages/cli/validate-mirai-graph.js technology-quality-feedback examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json
201
+ node packages/cli/validate-mirai-graph.js development-cockpit examples/instrumentation-layer-minimal/results/development-cockpit.json
202
+ node packages/cli/validate-mirai-graph.js feature-implementation-traceability examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json
203
+ node packages/cli/validate-mirai-graph.js multi-source-quality-feedback examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json
204
+ node packages/cli/validate-mirai-graph.js graph-dna-alignment examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json
205
+ node packages/cli/validate-mirai-graph.js work-state-machine examples/work-recovery-minimal/results/work-state-machine.json
206
+ node packages/cli/validate-mirai-graph.js recovery-resume-record examples/work-recovery-minimal/results/recovery-resume-record.json
207
+ node packages/cli/validate-mirai-graph.js risk-control-matrix examples/risk-and-coordination-minimal/results/risk-control-matrix.json
208
+ node packages/cli/validate-mirai-graph.js source-boundary-contract examples/source-boundary-minimal/results/source-boundary-contract.json
209
+ node packages/cli/validate-mirai-graph.js examples/organization-governance-minimal
210
+ node packages/cli/seed-preview.js examples/graph-seed-minimal/graph-seed.json
211
+ node packages/cli/context-pack.js benchmarks/synthetic-context-reduction-v0 --task-id task.notify_after_approval
212
+ node packages/cli/readiness-score.js benchmarks/synthetic-context-reduction-v0 --target-mode pilot
213
+ node packages/cli/validate-process-transition-report.js
214
+ node packages/cli/validate-baseline-comparison.js benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json
215
+ node packages/cli/playground-demo.js
216
+ node packages/cli/instrumentation-report.js examples/instrumentation-layer-minimal
217
+ node packages/cli/mirai-graph.js validate examples/minimal-graph
218
+ node packages/cli/mirai-graph.js report validation examples/minimal-graph
219
+ node packages/cli/mirai-graph.js explain process-transition examples/process-transition-minimal/state-machine.json examples/process-transition-minimal/transition-request.json
220
+ node packages/cli/mirai-graph.js report technology-quality-feedback examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json
221
+ node packages/cli/mirai-graph.js report instrumentation examples/instrumentation-layer-minimal
222
+ node packages/cli/mirai-graph.js release state --markdown
223
+ ```
224
+
225
+ The supported 1.0 release-candidate command surfaces are `mirai-graph`,
226
+ `packages/cli/mirai-graph.js`, `packages/cli/mirai_graph.js`,
227
+ `packages/cli/validate-mirai-graph.js` and `mirai-graph-package.json`.
228
+
229
+ Or run the current smoke checks:
230
+
231
+ ```bash
232
+ npm test
233
+ npm run playground:report
234
+ npm run validate:playground-report
235
+ npm run validate:baseline-comparison
236
+ npm run validate:technology-quality-feedback
237
+ npm run validate:instrumentation-layer
238
+ npm run validate:instrumentation-report
239
+ npm run validate:adopter-workflow
240
+ npm run validate:release-state
241
+ ```
242
+
243
+ Adopter workflow commands:
244
+
245
+ ```bash
246
+ node packages/cli/mirai-graph.js choose-profile
247
+ node packages/cli/mirai-graph.js adopter plan developer
248
+ node packages/cli/mirai-graph.js adopter report templates/software-project-starter
249
+ ```
250
+
251
+ ## What This Repository Is Not
252
+
253
+ This repository is not a dump of private research, company or client material.
254
+ Private project data, internal chats, internal skill sources, secrets and raw
255
+ customer or employee data do not belong here.
256
+
257
+ Synthetic examples and benchmarks are clearly marked as synthetic. They support
258
+ method inspection and reproducibility, not broad external validity claims.
259
+
260
+ ## License
261
+
262
+ - Code is licensed under the MIT License. See [LICENSE](LICENSE).
263
+ - Documentation, standard text and research materials are licensed under
264
+ Creative Commons Attribution 4.0 International. See
265
+ [LICENSE-DOCS](LICENSE-DOCS).
266
+
267
+ ## Citation
268
+
269
+ Use [CITATION.cff](CITATION.cff) for citation metadata. Publication links will
270
+ be maintained in `publications/`.
package/ROADMAP.md ADDED
@@ -0,0 +1,225 @@
1
+ # Mirai Graph Roadmap
2
+
3
+ Status: 1.0 release-candidate 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
+ - graph-as-AI-brain;
60
+ - action/runtime boundary;
61
+ - implementation-control cycles;
62
+ - launch record;
63
+ - work state machine;
64
+ - process-control contract;
65
+ - technology quality feedback;
66
+ - recovery/resume;
67
+ - risk-control matrix;
68
+ - multi-agent coordination;
69
+ - source-boundary contract;
70
+ - route explanation, fixtures, regression and federation health.
71
+ - development cockpit, feature implementation traceability and multi-source
72
+ quality feedback;
73
+ - Character Layer profile, starter pack, integration evidence, portability
74
+ evidence shape and 1.0 readiness artifact.
75
+
76
+ Readiness target:
77
+
78
+ `1_0_release_candidate_ready_with_notes` for public review and implementation
79
+ pilots.
80
+
81
+ ## Phase 2: Method And Adoption Kit
82
+
83
+ Goal: help teams use Mirai Graph in real work.
84
+
85
+ 1.0 RC status: implemented with notes. The current repository includes getting
86
+ started material, profile conformance fixtures, AI employee adoption, seed to
87
+ validated package tutorial, implementation-control examples, managed-project
88
+ examples, Character Layer adoption, starter templates and public-safe transfer
89
+ notes.
90
+
91
+ Planned artifacts:
92
+
93
+ - adoption guide;
94
+ - project profile;
95
+ - product profile;
96
+ - software-specification profile;
97
+ - organization-governance profile;
98
+ - human-AI system profile;
99
+ - implementation checklist;
100
+ - examples and anti-examples.
101
+
102
+ Post-1.0 gaps:
103
+
104
+ - final npm publication and GitHub Release execution after release-state
105
+ approval;
106
+ - import/export helpers for starter packages;
107
+ - stronger non-software adoption recipes;
108
+ - external adopter feedback from independent pilots.
109
+
110
+ Implemented adopter-workflow focus:
111
+
112
+ - profile-selection guide;
113
+ - starter-template happy path;
114
+ - human-readable validation reports for adopter workflows;
115
+ - packaged adopter command sequence;
116
+ - organization-governance adoption report.
117
+
118
+ Initial implementation:
119
+
120
+ - `docs/adoption/choose-profile.md`;
121
+ - `mirai-graph choose-profile`;
122
+ - `mirai-graph adopter plan <role-or-profile>`;
123
+ - `mirai-graph adopter report <template-dir>`;
124
+ - `validate:adopter-workflow`.
125
+
126
+ ## Phase 3: Reusable Tooling
127
+
128
+ Goal: make adoption practical for developers.
129
+
130
+ 1.0 RC status: implemented with notes. The CLI validates packages, profiles,
131
+ context packs, graph seeds, implementation-control cycles, launch records,
132
+ process transitions, process-transition decision reports, process-control
133
+ contracts, technology quality feedback reports, DNA alignment, work state,
134
+ recovery, risk, coordination, source boundaries, routing-control examples and
135
+ baseline-comparison artifacts, instrumentation artifacts and Character Layer
136
+ readiness.
137
+
138
+ Planned artifacts:
139
+
140
+ - JSON schemas;
141
+ - validator;
142
+ - CLI package;
143
+ - reference context-pack generator;
144
+ - import/export helpers;
145
+ - test fixtures.
146
+
147
+ Post-1.0 gaps:
148
+
149
+ - package and publish the CLI as a cleaner public developer interface;
150
+ - add import/export helpers;
151
+ - extend human-readable reports beyond process-transition and instrumentation
152
+ checks;
153
+ - add process-control explanation output and richer report formatting.
154
+ - add adoption recipes for technology quality feedback in non-software
155
+ workflows.
156
+
157
+ Current tooling target:
158
+
159
+ ```text
160
+ choose profile -> starter template -> validate -> report -> launch/evidence/kaizen
161
+ ```
162
+
163
+ The standard must remain implementation-independent. Tooling validates and
164
+ demonstrates the standard; it does not replace the standard.
165
+
166
+ ## Phase 4: Evidence And Playground
167
+
168
+ Goal: provide reproducible public-safe demonstrations.
169
+
170
+ 1.0 RC status: implemented with notes. Synthetic benchmark, baseline-comparison
171
+ artifact, pilot packages, profile conformance results and runnable CLI examples
172
+ exist. The playground is a deterministic local report package rather than a
173
+ hosted interactive app.
174
+
175
+ Planned artifacts:
176
+
177
+ - synthetic context-reduction benchmark;
178
+ - benchmark runner;
179
+ - playground;
180
+ - semantic-completeness review protocol;
181
+ - limitations and threats-to-validity notes.
182
+
183
+ Post-1.0 gaps:
184
+
185
+ - separate synthetic evidence, pilot evidence and scientific claims more
186
+ visibly;
187
+ - connect instrumentation reports to reproducibility packages and pilot
188
+ protocols without exposing private runtime traces;
189
+ - add more independent implementation pilots;
190
+ - explore an interactive playground after CLI-first reports stabilize.
191
+
192
+ Synthetic materials must remain clearly separated from real-world validation.
193
+
194
+ ## Phase 5: Publication And Ecosystem
195
+
196
+ Goal: connect the repository to research publications and external adoption.
197
+
198
+ 1.0 RC status: early. Citation metadata, publication notes and evidence package
199
+ v0.3 exist, but the project still needs public publication records, stronger
200
+ reviewer protocols and external adoption evidence before making broad
201
+ scientific claims.
202
+
203
+ Planned artifacts:
204
+
205
+ - publication index;
206
+ - citation notes;
207
+ - reproducibility records;
208
+ - contributor guide;
209
+ - release process;
210
+ - public examples from approved external adopters.
211
+
212
+ ## Near-Term Work After 1.0 RC
213
+
214
+ 1. Execute the `1.0.0-rc.1` release: tag, GitHub Release and npm publication
215
+ only after release-state checks are accepted.
216
+ 2. Continue adopter workflow: import/export helper skeletons and richer report
217
+ formatting when they directly support self-service adoption.
218
+ 3. Add one or two external public-safe pilots maintained outside the original
219
+ Mirai Graph authoring contour.
220
+ 4. Expand organization-governance validation reports and adoption recipes.
221
+ 5. Collect real multi-model Character Layer replay evidence before stronger
222
+ portability claims.
223
+ 6. Explore a local interactive playground only after deterministic report
224
+ fixtures remain stable.
225
+ 7. Turn evidence package v0.3 into a publication-ready reproducibility bundle.
@@ -0,0 +1,131 @@
1
+ # Measure-Convert-Optimize Protocol
2
+
3
+ Status: initial public protocol
4
+
5
+ ## Purpose
6
+
7
+ Mirai Graph adoption must be measured, not assumed to be better.
8
+
9
+ This protocol defines how to compare a current workflow with a Mirai Graph-assisted
10
+ workflow.
11
+
12
+ ## Cycle
13
+
14
+ ```text
15
+ freeze benchmark
16
+ -> measure current mode
17
+ -> convert selected scope to Mirai Graph
18
+ -> measure graph mode
19
+ -> compare
20
+ -> optimize
21
+ -> validate
22
+ -> scale
23
+ ```
24
+
25
+ ## 1. Freeze Benchmark
26
+
27
+ Before converting a target scope, freeze:
28
+
29
+ - benchmark suite;
30
+ - dataset;
31
+ - task ids;
32
+ - expected outputs;
33
+ - acceptance criteria;
34
+ - review policy;
35
+ - metrics.
36
+
37
+ Do not change the suite after current-mode baseline if direct comparison is
38
+ required.
39
+
40
+ ## 2. Measure Current Mode
41
+
42
+ Record:
43
+
44
+ - materials read;
45
+ - context size;
46
+ - time to relevant context;
47
+ - time to done;
48
+ - wrong assumptions;
49
+ - missed dependencies;
50
+ - user corrections;
51
+ - rework cycles;
52
+ - evidence references used;
53
+ - final result;
54
+ - reviewer notes.
55
+
56
+ ## 3. Convert Selected Scope
57
+
58
+ Convert only a small scope first:
59
+
60
+ - goals;
61
+ - objects;
62
+ - relations;
63
+ - evidence;
64
+ - readiness;
65
+ - governance gates;
66
+ - context-pack boundary.
67
+
68
+ Do not convert a whole organization before validating a local graph.
69
+
70
+ ## 4. Measure Graph Mode
71
+
72
+ Record:
73
+
74
+ - profile;
75
+ - graph depth;
76
+ - objects considered;
77
+ - relations traversed;
78
+ - generated context size;
79
+ - context pack contents;
80
+ - stale findings;
81
+ - warnings;
82
+ - final result;
83
+ - reviewer notes.
84
+
85
+ ## 5. Compare
86
+
87
+ Compare only when:
88
+
89
+ - suite version matches;
90
+ - dataset version matches;
91
+ - task list matches;
92
+ - acceptance criteria match;
93
+ - review policy matches.
94
+
95
+ If these changed, start a new experiment series.
96
+
97
+ ## 6. Optimize
98
+
99
+ Use comparison results:
100
+
101
+ - low precision -> improve object selection;
102
+ - low recall -> improve relations or extraction;
103
+ - negative context reduction -> narrow context profile;
104
+ - missed dependencies -> improve impact traversal;
105
+ - high review overhead -> simplify graph granularity;
106
+ - weak evidence coverage -> improve evidence modeling.
107
+
108
+ ## 7. Validate
109
+
110
+ Use a separate evaluation set where possible.
111
+
112
+ Do not tune only on the same tasks used for final claims.
113
+
114
+ ## Minimum Metrics
115
+
116
+ - `time_to_context`;
117
+ - `context_units`;
118
+ - `context_precision`;
119
+ - `missed_dependencies`;
120
+ - `wrong_assumptions`;
121
+ - `rework_cycles`;
122
+ - `evidence_coverage`;
123
+ - `time_to_done`;
124
+ - `manual_review_overhead`.
125
+
126
+ ## Claim Rule
127
+
128
+ Use results only for claims supported by the protocol.
129
+
130
+ A local pilot can support local usefulness. It does not prove universal
131
+ validity.
@@ -0,0 +1,70 @@
1
+ # Synthetic Mirai Graph Benchmark v0
2
+
3
+ Status: draft synthetic package for public-method inspection
4
+
5
+ This package is artificial. It does not contain private project, customer, employee, source-chat or private skill material.
6
+
7
+ ## Purpose
8
+
9
+ The package demonstrates the structure of the Mirai Graph context-selection
10
+ method on a small synthetic software-specification scenario.
11
+ It is intended for public inspection of the method, not for empirical claims
12
+ about external performance.
13
+
14
+ ## Scenario
15
+
16
+ A fictional modular publishing platform is planning four related packages:
17
+
18
+ - identity and access;
19
+ - content workflow;
20
+ - audit events;
21
+ - notification delivery.
22
+
23
+ Feature notes, graph objects, relations and context-selection tasks are
24
+ provided as small files that mimic the shape of an evolving specification
25
+ workspace.
26
+
27
+ ## Files
28
+
29
+ - `source-corpus/`: synthetic source notes.
30
+ - `graph/objects.json`: graph objects extracted from the source corpus.
31
+ - `graph/relations.json`: typed relations between graph objects.
32
+ - `tasks/tasks.json`: sample context-selection tasks.
33
+ - `expected/context-pack-compact.md`: expected compact context package for one
34
+ task.
35
+ - `metrics/example-metrics.json`: illustrative metric calculation.
36
+ - `scripts/calculate-context-reduction.js`: repeatable calculation for the
37
+ illustrative synthetic metric.
38
+
39
+ The graph files are normalized to the initial Mirai Graph v0.1 draft object and
40
+ relation shape.
41
+
42
+ ## Limits
43
+
44
+ This package supports reproducibility of the method structure only. It does not
45
+ validate external generalization, agent safety or task success.
46
+
47
+ An initial semantic-completeness review is available at:
48
+
49
+ `reviews/semantic-completeness-review.json`
50
+
51
+ ## Example Calculation
52
+
53
+ Run from this package directory:
54
+
55
+ ```bash
56
+ node scripts/calculate-context-reduction.js
57
+ ```
58
+
59
+ Expected result:
60
+
61
+ ```json
62
+ {
63
+ "schema_version": "0.1.0",
64
+ "task_id": "task.notify_after_approval",
65
+ "baseline_context_units": 620,
66
+ "graph_context_units": 270,
67
+ "total_reduction_percent": 56.4516,
68
+ "note": "Synthetic demonstration only; do not merge with internal empirical metrics."
69
+ }
70
+ ```