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
@@ -0,0 +1,421 @@
1
+ # Mirai Graph Repository Purpose
2
+
3
+ Status: draft alignment brief
4
+
5
+ ## Mission
6
+
7
+ Mirai Graph is an open research, standardization and developer-adoption
8
+ repository for an evolutionary graph operating model that helps manage the
9
+ growth of complex systems.
10
+
11
+ The broader purpose is to make Mirai Graph the graph foundation of the Mirai
12
+ direction: governed AI systems that can coordinate people, projects,
13
+ organizations and AI employees through explicit state, evidence, approvals,
14
+ feedback and controlled evolution.
15
+
16
+ The repository should become the public source of truth for:
17
+
18
+ - the Mirai Graph / EOG model;
19
+ - the implementation-independent standard;
20
+ - methodological materials;
21
+ - reusable developer methods and libraries;
22
+ - adoption profiles and step-by-step implementation guides;
23
+ - synthetic benchmarks and playground materials;
24
+ - publications, citations and research evidence.
25
+
26
+ For the current public alpha, "source of truth" means public standardization
27
+ and reproducible examples. It does not mean that private project graphs,
28
+ internal workflows or generated context packs are published here.
29
+
30
+ ## Strategic Goal
31
+
32
+ Mirai Graph should become an open, verifiable and practical standard for
33
+ governed AI work across projects, products, organizations, research programs
34
+ and AI-employee systems.
35
+
36
+ The standard should make this operating loop explicit:
37
+
38
+ ```text
39
+ intent -> graph state -> generated context -> launch gate -> governed work
40
+ -> evidence -> technology quality feedback -> approval boundary
41
+ -> controlled graph update -> Kaizen learning
42
+ ```
43
+
44
+ The intended end state is not a passive knowledge graph. It is a controlled
45
+ operating substrate where humans and AI systems can:
46
+
47
+ - understand the current state of a system;
48
+ - decide what is ready, blocked, risky or uncertain;
49
+ - generate task-specific context without replacing canonical truth;
50
+ - execute bounded work only through declared gates;
51
+ - capture results as evidence;
52
+ - route feedback into review, proposal and Kaizen loops;
53
+ - evolve the graph without silent self-modification.
54
+
55
+ This goal keeps Mirai Graph useful for developers and product teams while also
56
+ leaving a clear research path for EOG-style scientific evaluation.
57
+
58
+ ## Core Positioning
59
+
60
+ Working public name:
61
+
62
+ `Mirai Graph`
63
+
64
+ Scientific continuity:
65
+
66
+ `Evolutionary Object Graph (EOG)`
67
+
68
+ Recommended description:
69
+
70
+ ```text
71
+ Mirai Graph is an evolutionary graph operating model for managing the growth of
72
+ complex systems, from projects and products to organizations and human-AI
73
+ systems.
74
+ ```
75
+
76
+ The model is not just a knowledge graph. It combines:
77
+
78
+ - canonical graph state;
79
+ - generated context packs;
80
+ - typed objects and relations;
81
+ - evidence and provenance;
82
+ - readiness and lifecycle state;
83
+ - profiles;
84
+ - governance gates;
85
+ - feedback loops;
86
+ - implementation and adoption methods.
87
+ - organization-governance coordination patterns.
88
+
89
+ The current 1.0 release candidate also makes the operating model executable
90
+ enough to test:
91
+
92
+ - launch records define bounded work permission;
93
+ - process transitions validate movement through a state machine;
94
+ - negative fixtures prove false transitions fail closed;
95
+ - recovery/resume records prevent chat-only continuation;
96
+ - risk, coordination and source-boundary contracts make governance explicit;
97
+ - Kaizen closure records reusable process learning without automatic canonical
98
+ update.
99
+
100
+ ## Primary Goals
101
+
102
+ ### 1. Describe The Standard And Model
103
+
104
+ The repository must define the standard and all required model elements:
105
+
106
+ - terminology;
107
+ - object model;
108
+ - relation model;
109
+ - lifecycle and readiness model;
110
+ - evidence and provenance rules;
111
+ - generated context-pack rules;
112
+ - profiles and extension points;
113
+ - governance gates;
114
+ - executable process-control contracts;
115
+ - launch records and transition rules;
116
+ - source-boundary and recovery rules;
117
+ - conformance levels;
118
+ - examples and anti-examples.
119
+
120
+ ### 2. Provide Methodological Materials
121
+
122
+ The repository must explain how to work with the model in practice:
123
+
124
+ - how to identify system objects;
125
+ - how to form a graph seed;
126
+ - how to grow a graph embryo;
127
+ - how to maintain canonical graph state;
128
+ - how to generate task-specific context packs;
129
+ - how to evaluate readiness;
130
+ - how to govern updates and actions;
131
+ - how to use the model in research, product and organizational settings.
132
+
133
+ ### 3. Provide Reusable Methods And Libraries
134
+
135
+ The repository should eventually include code that makes the standard easy to
136
+ adopt:
137
+
138
+ - schemas;
139
+ - validators;
140
+ - CLI tools;
141
+ - context-pack generators;
142
+ - benchmark runners;
143
+ - import/export utilities;
144
+ - reference implementations;
145
+ - adapters for common project structures.
146
+
147
+ The first code should be small and testable. The standard must not depend on
148
+ one implementation.
149
+
150
+ Current release-candidate tooling is a reference implementation, not the
151
+ standard itself. It validates public-safe packages and examples so readers can
152
+ inspect the model through executable checks.
153
+
154
+ ### 4. Provide Use Cases, Profiles And Adoption Guides
155
+
156
+ The repository should include practical profiles and step-by-step guides for:
157
+
158
+ - project management;
159
+ - product development;
160
+ - software specification;
161
+ - AI-agent knowledge management;
162
+ - organizational governance;
163
+ - research-program management;
164
+ - public-sector or country-scale governance as a future conceptual profile.
165
+
166
+ Profiles should define how the core model is specialized without changing the
167
+ standard itself.
168
+
169
+ ### 5. Provide Playground And Synthetic Evidence
170
+
171
+ The repository should include public-safe materials that let users inspect and
172
+ test the model:
173
+
174
+ - synthetic datasets;
175
+ - benchmark tasks;
176
+ - expected context packs;
177
+ - reproducible metric scripts;
178
+ - playground examples;
179
+ - tutorials;
180
+ - limitations and threats to validity.
181
+
182
+ Synthetic evidence must be clearly separated from real-world validation.
183
+
184
+ In the current release candidate, `playground/` is an index of runnable CLI
185
+ examples. A hosted or interactive playground is future work.
186
+
187
+ ### 6. Link Publications And Research Evidence
188
+
189
+ The repository should maintain a research trail:
190
+
191
+ - links to SSRN, preprints and future journal publications;
192
+ - citation metadata;
193
+ - publication-ready abstracts where appropriate;
194
+ - reproducibility notes;
195
+ - research roadmap;
196
+ - validation results;
197
+ - response-to-review notes if public.
198
+
199
+ It may include publication texts only when licensing and venue policy allow it.
200
+
201
+ The current scientific layer should be read as a research evidence package and
202
+ program plan, not as peer-reviewed proof of broad effectiveness.
203
+
204
+ ## Intended Audiences
205
+
206
+ ### Researchers
207
+
208
+ Need:
209
+
210
+ - clear model definitions;
211
+ - relationship to prior work;
212
+ - reproducible experiments;
213
+ - limitations;
214
+ - citation and publication links.
215
+
216
+ ### Developers
217
+
218
+ Need:
219
+
220
+ - schemas;
221
+ - examples;
222
+ - libraries;
223
+ - CLI commands;
224
+ - integration guides;
225
+ - tests and validation checks.
226
+
227
+ ### Product Teams
228
+
229
+ Need:
230
+
231
+ - adoption guides;
232
+ - use-case profiles;
233
+ - maturity levels;
234
+ - operating procedures;
235
+ - governance patterns.
236
+
237
+ ### Organizations
238
+
239
+ Need:
240
+
241
+ - governance model;
242
+ - roles and responsibilities;
243
+ - evidence and decision flows;
244
+ - lifecycle/readiness rules;
245
+ - implementation roadmap.
246
+
247
+ ## What This Repository Is
248
+
249
+ - A public standardization workspace.
250
+ - A developer adoption kit.
251
+ - A research evidence and reproducibility hub.
252
+ - A source of public terminology and examples.
253
+ - A bridge between scientific publication and practical implementation.
254
+
255
+ ## What This Repository Is Not
256
+
257
+ - A dump of the private `science` repository.
258
+ - A publication of raw SIMAI, Larena, customer, employee or internal skill data.
259
+ - A claim that the model is already universally validated.
260
+ - A peer-reviewed journal publication by itself.
261
+ - A single product implementation that defines the whole standard.
262
+ - A place for secrets, private chats, internal access details or raw client work.
263
+
264
+ ## Public-Safe Source Policy
265
+
266
+ The private `science` repository remains the internal research workspace.
267
+
268
+ Materials may be copied into the Mirai Graph public repository only when they are:
269
+
270
+ - public-safe;
271
+ - generalized or synthetic;
272
+ - free of private project names unless explicitly approved;
273
+ - free of secrets and access details;
274
+ - clear about evidence level;
275
+ - licensed or authored for public release.
276
+
277
+ Before copying from `science`, check:
278
+
279
+ - no raw SIMAI or Larena source material;
280
+ - no customer or employee data;
281
+ - no internal chat fragments;
282
+ - no private skill implementation details;
283
+ - no overclaiming of external validity;
284
+ - no SSRN preprint presented as peer-reviewed publication.
285
+
286
+ ## Repository Shape
287
+
288
+ Recommended initial structure:
289
+
290
+ ```text
291
+ README.md
292
+ LICENSE
293
+ LICENSE-DOCS
294
+ CITATION.cff
295
+ ROADMAP.md
296
+ docs/
297
+ concept.md
298
+ repository-purpose.md
299
+ terminology.md
300
+ standard-roadmap.md
301
+ methodology/
302
+ adoption/
303
+ profiles/
304
+ standard/
305
+ standard-v0.1.md
306
+ object-model.md
307
+ relation-model.md
308
+ lifecycle-readiness.md
309
+ evidence-provenance.md
310
+ governance.md
311
+ conformance-levels.md
312
+ schemas/
313
+ benchmarks/
314
+ synthetic-context-reduction-v0/
315
+ examples/
316
+ synthetic-publishing-platform/
317
+ packages/
318
+ cli/
319
+ js/
320
+ python/
321
+ playground/
322
+ publications/
323
+ ```
324
+
325
+ ## Development Phases
326
+
327
+ ### Phase 0: Public Foundation
328
+
329
+ Done when:
330
+
331
+ - README exists;
332
+ - purpose brief exists;
333
+ - license strategy exists;
334
+ - citation metadata exists;
335
+ - public-safe concept and standard roadmap exist.
336
+
337
+ ### Phase 1: Standard Draft
338
+
339
+ Done when:
340
+
341
+ - terminology exists;
342
+ - object model exists;
343
+ - relation model exists;
344
+ - evidence/provenance rules exist;
345
+ - governance and conformance sections exist;
346
+ - examples and anti-examples exist.
347
+
348
+ ### Phase 2: Method And Adoption Kit
349
+
350
+ Done when:
351
+
352
+ - step-by-step adoption guide exists;
353
+ - core profiles exist;
354
+ - implementation checklist exists;
355
+ - tutorial examples exist.
356
+
357
+ ### Phase 3: Reusable Tooling
358
+
359
+ Done when:
360
+
361
+ - schemas exist;
362
+ - validator exists;
363
+ - CLI can check a Mirai Graph package;
364
+ - context-pack generation example exists;
365
+ - tests are included.
366
+
367
+ ### Phase 4: Evidence And Playground
368
+
369
+ Done when:
370
+
371
+ - synthetic benchmark is public;
372
+ - benchmark runner is reproducible;
373
+ - playground is available;
374
+ - limitations are documented;
375
+ - validation roadmap is public.
376
+
377
+ ### Phase 5: Publication And Ecosystem
378
+
379
+ Done when:
380
+
381
+ - publications are linked;
382
+ - citation metadata is maintained;
383
+ - contributor guide exists;
384
+ - roadmap separates research, standard and implementation tracks.
385
+
386
+ ## Open Decisions
387
+
388
+ - Final public name: `Mirai Graph` is accepted as the working name, but a naming
389
+ and trademark/domain screen is still needed before strong branding.
390
+ - License split: likely `MIT` for code and `CC BY 4.0` for documentation and
391
+ standard text, but this needs final confirmation.
392
+ - First implementation language: JavaScript, Python or both.
393
+ - Initial package format and schema format.
394
+ - Whether to host a separate website later.
395
+ - Whether standard text lives under `docs/`, `standard/` or both.
396
+
397
+ ## Immediate Next Artifacts
398
+
399
+ 1. `README.md`
400
+ 2. `ROADMAP.md`
401
+ 3. `LICENSE`
402
+ 4. `LICENSE-DOCS`
403
+ 5. `CITATION.cff`
404
+ 6. `docs/concept.md`
405
+ 7. `docs/terminology.md`
406
+ 8. `standard/object-model.md`
407
+ 9. `benchmarks/synthetic-context-reduction-v0/`
408
+
409
+ ## Success Criteria
410
+
411
+ The repository is successful when a new researcher or developer can:
412
+
413
+ 1. Understand what Mirai Graph is.
414
+ 2. Understand how it differs from a normal knowledge graph.
415
+ 3. Read the standard elements.
416
+ 4. Follow an adoption guide.
417
+ 5. Run a synthetic benchmark or playground.
418
+ 6. Validate a simple Mirai Graph package.
419
+ 7. Cite the model and find related publications.
420
+ 8. Integrate the model into a real project without access to private SIMAI
421
+ materials.
@@ -0,0 +1,126 @@
1
+ # AI Work Field Instrumentation Bridge
2
+
3
+ Status: public-safe research bridge
4
+
5
+ ## Purpose
6
+
7
+ This note connects Mirai Graph instrumentation with the AI Work Field research
8
+ framing.
9
+
10
+ The bridge is intentionally limited: it explains the public model, synthetic
11
+ artifacts and evidence boundaries. Private pilot repositories, runtime traces,
12
+ customer data, internal policies and unpublished handoff material are not
13
+ published as Mirai Graph evidence.
14
+
15
+ ## Research Framing
16
+
17
+ AI Work Field treats AI-assisted work as a governed trajectory through explicit
18
+ state, constraints, evidence, feedback and cockpit signals.
19
+
20
+ The public Mirai Graph standard maps that framing into reusable artifacts:
21
+
22
+ - graph state: objects, relations, readiness and evidence;
23
+ - process control: launch records, state machines and transition validation;
24
+ - technology adherence: technology quality feedback;
25
+ - instrumentation: development cockpit, feature implementation traceability
26
+ and multi-source quality feedback;
27
+ - improvement loop: Kaizen findings, proposals and controlled updates.
28
+
29
+ ## Instrumentation Hypothesis
30
+
31
+ The instrumentation layer supports this hypothesis:
32
+
33
+ ```text
34
+ AI-assisted work becomes more controllable when feature intent, implementation
35
+ evidence, technology adherence, cockpit signals and expert feedback are all
36
+ represented as explicit graph-linked artifacts.
37
+ ```
38
+
39
+ This is a research hypothesis, not a proven general law.
40
+
41
+ ## Public Evidence Levels
42
+
43
+ ### Synthetic Evidence
44
+
45
+ Synthetic examples demonstrate schema shape, validator behavior and boundary
46
+ rules. They can show that the process is executable and reproducible on toy
47
+ cases.
48
+
49
+ Current artifacts:
50
+
51
+ - `examples/instrumentation-layer-minimal`;
52
+ - `schemas/development-cockpit.schema.json`;
53
+ - `schemas/feature-implementation-traceability.schema.json`;
54
+ - `schemas/multi-source-quality-feedback.schema.json`;
55
+ - `npm run validate:instrumentation-layer`.
56
+
57
+ Synthetic evidence does not prove real productivity, quality improvement,
58
+ production safety or external validity.
59
+
60
+ ### Private Pilot Evidence
61
+
62
+ Private pilot work can inform the standard by revealing useful abstractions:
63
+
64
+ - cockpit-style signals for trajectory, coverage, evidence, quality, drift and
65
+ next action;
66
+ - feature-to-implementation traceability;
67
+ - multi-source feedback from tests, validators, process checks, expert review
68
+ and Kaizen;
69
+ - separation between readiness, execution, acceptance, release and canonical
70
+ updates.
71
+
72
+ Private pilot evidence must be generalized before public transfer. Public Mirai
73
+ Graph receives only the abstract pattern, synthetic examples and schemas.
74
+
75
+ ### Scientific Evidence
76
+
77
+ Scientific evidence requires stronger protocols:
78
+
79
+ - preregistered or clearly stated hypotheses;
80
+ - reproducible datasets or public-safe fixtures;
81
+ - metrics and measurement limits;
82
+ - independent review or replication where possible;
83
+ - limitations and threats-to-validity analysis.
84
+
85
+ The current public repository supports preparation for that work. It does not
86
+ claim peer-reviewed proof.
87
+
88
+ ## Measurement Candidates
89
+
90
+ Future research can measure:
91
+
92
+ - context reduction without losing required dependencies;
93
+ - missing dependency rate;
94
+ - unsupported assumption rate;
95
+ - false progress claim rate;
96
+ - evidence coverage;
97
+ - transition violation detection;
98
+ - reviewer correction rate before and after Kaizen;
99
+ - feature implementation traceability coverage.
100
+
101
+ ## Boundary Rules
102
+
103
+ The bridge preserves these Mirai Graph invariants:
104
+
105
+ - generated context is not canonical state;
106
+ - evidence is not approval;
107
+ - tests are not acceptance;
108
+ - cockpit metrics are not release permission;
109
+ - feedback and proposals do not authorize canonical updates;
110
+ - Kaizen can propose process changes, but controlled update still requires the
111
+ relevant approval path.
112
+
113
+ ## Reproducibility Path
114
+
115
+ For public reproduction, use:
116
+
117
+ ```bash
118
+ npm run validate:instrumentation-layer
119
+ npm run validate:technology-quality-feedback
120
+ npm run validate:process-transition
121
+ npm run validate:baseline-comparison
122
+ npm test
123
+ ```
124
+
125
+ For publication work, pair these commands with the evidence packages and
126
+ limitations documents already maintained under `docs/research/`.
@@ -0,0 +1,79 @@
1
+ # Mirai Graph Baseline Comparison Protocol
2
+
3
+ Status: alpha protocol
4
+
5
+ ## Purpose
6
+
7
+ This protocol describes how to compare a document/chat/task-tracker workflow
8
+ against a Mirai Graph-assisted workflow without overclaiming.
9
+
10
+ ## Comparison Setup
11
+
12
+ Use the same task, source materials and reviewer criteria for both modes.
13
+
14
+ Mode A:
15
+
16
+ ```text
17
+ baseline documents/chats/task notes
18
+ ```
19
+
20
+ Mode B:
21
+
22
+ ```text
23
+ Mirai Graph package -> context pack -> governed process control
24
+ ```
25
+
26
+ ## Required Inputs
27
+
28
+ - task statement;
29
+ - source materials;
30
+ - expected dependency list;
31
+ - expected evidence list;
32
+ - reviewer acceptance criteria;
33
+ - timebox;
34
+ - allowed tools;
35
+ - recording template.
36
+
37
+ ## Measurements
38
+
39
+ Record:
40
+
41
+ - context size;
42
+ - selected context precision;
43
+ - missed dependencies;
44
+ - unsupported assumptions;
45
+ - evidence coverage;
46
+ - false progress claims;
47
+ - rework cycles;
48
+ - time to relevant context;
49
+ - time to validated completion;
50
+ - review overhead.
51
+
52
+ ## Result Template
53
+
54
+ ```text
55
+ task_id:
56
+ baseline_context_units:
57
+ mirai_graph_context_units:
58
+ missed_dependencies_baseline:
59
+ missed_dependencies_mirai_graph:
60
+ unsupported_assumptions_baseline:
61
+ unsupported_assumptions_mirai_graph:
62
+ evidence_coverage_baseline:
63
+ evidence_coverage_mirai_graph:
64
+ reviewer_notes:
65
+ limitations:
66
+ verdict:
67
+ ```
68
+
69
+ ## Acceptance Rule
70
+
71
+ A Mirai Graph result is stronger only when it improves at least one target metric
72
+ without making critical safety, evidence or semantic-completeness metrics worse.
73
+
74
+ ## Boundaries
75
+
76
+ - One task does not prove broad effectiveness.
77
+ - A smaller context is not better if important dependencies are omitted.
78
+ - Passing validators do not prove semantic completeness.
79
+ - Human review remains required for scientific claims.