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,232 @@
1
+ # Mirai Graph Practice And Science Program
2
+
3
+ Status: working program model
4
+
5
+ ## Purpose
6
+
7
+ Mirai Graph should develop as both:
8
+
9
+ - a practical graph methodology used in real AI-assisted work;
10
+ - a scientific research program that produces publishable evidence, standards
11
+ and reproducible artifacts.
12
+
13
+ The practical `$graph` skill is the implementation and methodology laboratory.
14
+ The public Mirai Graph repository is the standardization, adoption and research
15
+ artifact layer.
16
+
17
+ ## Operating Role
18
+
19
+ The maintainer role is not only to write theory.
20
+
21
+ The role is to act as a research engineer / scientific collaborator who:
22
+
23
+ - observes practical graph use;
24
+ - detects methodological gaps;
25
+ - improves standard definitions;
26
+ - helps implementation mature;
27
+ - designs measurable experiments;
28
+ - records evidence and limitations;
29
+ - prepares publication-ready artifacts;
30
+ - prevents overclaiming;
31
+ - keeps public materials safe and reusable.
32
+
33
+ ## Three-Layer Model
34
+
35
+ ### 1. Practical Layer
36
+
37
+ Source:
38
+
39
+ `$graph` skill and real project usage.
40
+
41
+ Purpose:
42
+
43
+ - convert scattered information into object graphs;
44
+ - build graph seeds and graph embryos;
45
+ - generate AI context packs;
46
+ - validate readiness;
47
+ - run practical rollout workflows;
48
+ - discover tooling and methodology gaps.
49
+
50
+ Output examples:
51
+
52
+ - object and relation candidates;
53
+ - extraction reports;
54
+ - generated context packs;
55
+ - graph readiness dashboards;
56
+ - benchmark runs;
57
+ - method improvement candidates.
58
+
59
+ ### 2. Public Standard Layer
60
+
61
+ Source:
62
+
63
+ This repository.
64
+
65
+ Purpose:
66
+
67
+ - define implementation-independent terminology;
68
+ - define schemas and conformance levels;
69
+ - publish public-safe examples;
70
+ - maintain adoption guides;
71
+ - provide validators and reference tooling;
72
+ - separate standard from one private implementation.
73
+
74
+ Output examples:
75
+
76
+ - standard sections;
77
+ - schemas;
78
+ - CLI validator;
79
+ - examples;
80
+ - synthetic benchmark packages;
81
+ - profiles;
82
+ - conformance reports.
83
+
84
+ ### 3. Scientific Layer
85
+
86
+ Source:
87
+
88
+ Research workspace, public-safe evidence and publications.
89
+
90
+ Purpose:
91
+
92
+ - formulate research questions;
93
+ - design experiments;
94
+ - compare baselines;
95
+ - record evidence levels;
96
+ - prepare manuscripts;
97
+ - publish reproducibility packages;
98
+ - handle limitations and reviewer objections.
99
+
100
+ Output examples:
101
+
102
+ - experiment protocols;
103
+ - validation results;
104
+ - evidence inventories;
105
+ - literature maps;
106
+ - preprints;
107
+ - journal manuscripts;
108
+ - response-to-review tables.
109
+
110
+ The current public evidence framing is maintained in
111
+ `docs/research/scientific-evidence-package.md`, with the current evidence index
112
+ in `docs/research/evidence-package-v0.3.md`.
113
+
114
+ ## Core Development Loop
115
+
116
+ Mirai Graph development should follow this loop:
117
+
118
+ ```text
119
+ practical use
120
+ -> observed gap
121
+ -> classify gap
122
+ -> update implementation, standard or research plan
123
+ -> validate with tests or experiment
124
+ -> publish public-safe artifact
125
+ -> feed lessons back into practice
126
+ ```
127
+
128
+ ## Gap Classification
129
+
130
+ Every significant finding should be classified as:
131
+
132
+ - `local_gap`: specific to one project or example;
133
+ - `profile_gap`: belongs to a Mirai Graph profile;
134
+ - `standard_gap`: should change the public standard;
135
+ - `tooling_gap`: needs validator, generator, migration or CLI work;
136
+ - `research_gap`: needs protocol, evidence or independent validation;
137
+ - `publication_gap`: needs clearer writing, citations, limitations or data.
138
+
139
+ ## Measurement Discipline
140
+
141
+ Do not assume graph mode is better. Measure it.
142
+
143
+ Recommended evaluation cycle:
144
+
145
+ ```text
146
+ freeze benchmark
147
+ -> measure current mode
148
+ -> convert selected scope to graph mode
149
+ -> measure graph mode
150
+ -> compare
151
+ -> optimize
152
+ -> validate
153
+ -> scale
154
+ ```
155
+
156
+ Minimum metrics:
157
+
158
+ - time to relevant context;
159
+ - context size;
160
+ - context precision;
161
+ - missed dependencies;
162
+ - wrong assumptions;
163
+ - rework cycles;
164
+ - evidence coverage;
165
+ - time to done;
166
+ - manual review overhead.
167
+
168
+ ## Research Artifact Policy
169
+
170
+ Every important practical improvement should produce at least one durable
171
+ research artifact:
172
+
173
+ - experiment protocol;
174
+ - benchmark fixture;
175
+ - result note;
176
+ - evidence table;
177
+ - limitation note;
178
+ - standard change proposal;
179
+ - publication note.
180
+
181
+ If no artifact is produced, the learning remains anecdotal.
182
+
183
+ ## Public Transfer Policy
184
+
185
+ Not every practical `$graph` detail belongs in the public standard.
186
+
187
+ Promote only material that is:
188
+
189
+ - reusable beyond one private project;
190
+ - public-safe;
191
+ - evidence-bounded;
192
+ - implementation-independent or clearly marked as reference tooling;
193
+ - useful for adoption, validation or publication.
194
+
195
+ Keep private:
196
+
197
+ - raw project materials;
198
+ - internal chats;
199
+ - secrets;
200
+ - customer or employee data;
201
+ - private skill internals that are not approved for release.
202
+
203
+ ## Immediate Program Priorities
204
+
205
+ 1. Map existing `$graph` capabilities to Mirai Graph public standard sections.
206
+ 2. Identify which `$graph` features are standard concepts, profile concepts or
207
+ implementation details.
208
+ 3. Create a public-safe standard gap report.
209
+ 4. Add schemas for context packs and profiles.
210
+ 5. Create a benchmark protocol that compares text-first and graph-assisted
211
+ workflows.
212
+ 6. Prepare a validation roadmap for future publications.
213
+
214
+ ## Scientific Guardrails
215
+
216
+ - Do not claim universal validity from internal use.
217
+ - Do not treat synthetic benchmark results as field validation.
218
+ - Do not confuse product usefulness with scientific proof.
219
+ - Do not publish private implementation details without approval.
220
+ - Do not describe a preprint as peer reviewed unless the venue confirms it.
221
+
222
+ ## Working Verdict
223
+
224
+ Mirai Graph should be developed as a research-engineering program:
225
+
226
+ ```text
227
+ practice-led, evidence-bounded, standard-oriented and publication-aware
228
+ ```
229
+
230
+ The practical `$graph` skill is a source of real operational pressure and
231
+ method gaps. The public Mirai Graph repository turns reusable lessons into a
232
+ standard, tooling and scientific evidence.
@@ -0,0 +1,154 @@
1
+ # Mirai Graph Scientific Evidence Package
2
+
3
+ Status: alpha evidence framing
4
+
5
+ ## Purpose
6
+
7
+ This document defines how public Mirai Graph evidence should be read. It connects
8
+ synthetic benchmarks, public pilots, reproducibility materials and publication
9
+ notes without overclaiming scientific proof.
10
+
11
+ ## Current Research Hypotheses
12
+
13
+ Mirai Graph is currently evaluated around these hypotheses:
14
+
15
+ - Graph-structured project state can reduce task-context size while preserving
16
+ relevant dependencies.
17
+ - Evidence-linked relations can reduce missed dependencies and unsupported
18
+ assumptions in AI-assisted work.
19
+ - Launch records, process transitions and governance gates can reduce false
20
+ progress claims such as treating readiness as execution.
21
+ - Recovery, source-boundary and Kaizen records can improve continuation across
22
+ long-running human-AI workflows.
23
+
24
+ These are hypotheses and engineering claims under test, not settled scientific
25
+ facts.
26
+
27
+ ## Evidence Levels
28
+
29
+ ### Synthetic Evidence
30
+
31
+ Synthetic evidence uses public-safe examples and benchmarks.
32
+
33
+ Current materials:
34
+
35
+ - `benchmarks/synthetic-context-reduction-v0/`
36
+ - `benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json`
37
+ - `examples/federation-routing-smoke/`
38
+ - `examples/process-transition-minimal/`
39
+ - `examples/implementation-control-cycles/`
40
+ - `examples/instrumentation-layer-minimal/`
41
+
42
+ Use synthetic evidence to inspect method shape, validation behavior and
43
+ reproducibility. Do not treat it as broad external validity.
44
+
45
+ ### Public Pilot Evidence
46
+
47
+ Pilot evidence uses public-safe implementation packages and reports.
48
+
49
+ Current materials:
50
+
51
+ - `pilots/independent-implementation-001-conference-planning/`
52
+ - `pilots/independent-implementation-002-software-specification/`
53
+ - `pilots/independent-implementation-003-ai-employee-workflow/`
54
+ - `pilots/independent-implementation-004-research-program/`
55
+ - `pilots/independent-implementation-005-organization-governance/`
56
+
57
+ Use pilot evidence to inspect whether the model can be applied outside the
58
+ minimal examples. Pilot evidence still needs replication and independent
59
+ review.
60
+
61
+ ### Scientific Evidence
62
+
63
+ Scientific evidence requires explicit protocols, metrics, limitations and
64
+ comparison baselines.
65
+
66
+ Current supporting materials:
67
+
68
+ - `docs/research/evidence-package-v0.3.md`
69
+ - `docs/research/evidence-package-v0.2.md`
70
+ - `docs/research/evidence-package-v0.1.md`
71
+ - `docs/research/baseline-comparison-protocol.md`
72
+ - `docs/research/limitations-and-threats.md`
73
+ - `docs/research/practice-science-program.md`
74
+ - `docs/research/ai-work-field-instrumentation-bridge.md`
75
+ - `docs/research/independent-implementation-pilot-plan.md`
76
+ - `docs/research/semantic-completeness-review-protocol.md`
77
+ - `publications/README.md`
78
+ - `publications/preprint-note.md`
79
+ - `publications/preprint-outline.md`
80
+
81
+ Use `docs/research/evidence-package-v0.3.md` as the current public evidence
82
+ entrypoint. The v0.2 and v0.1 packages remain historical alpha evidence
83
+ snapshots.
84
+
85
+ ## Metrics Under Development
86
+
87
+ Recommended metrics:
88
+
89
+ - context size reduction;
90
+ - context precision;
91
+ - missed dependency count;
92
+ - unsupported assumption count;
93
+ - evidence coverage;
94
+ - rework cycles;
95
+ - time to relevant context;
96
+ - time to validated completion;
97
+ - review overhead;
98
+ - false-transition rejection rate.
99
+
100
+ ## Reproducibility Path
101
+
102
+ Run:
103
+
104
+ ```bash
105
+ npm run benchmark:synthetic
106
+ npm run validate:context-packs
107
+ npm run validate:profile-results
108
+ npm run validate:process-transition
109
+ npm run validate:process-transition-report
110
+ npm run test:process-transition-negative
111
+ npm run validate:instrumentation-layer
112
+ npm run validate:baseline-comparison
113
+ npm run validate:pilots
114
+ npm run validate:templates
115
+ npm run validate:cli-unified
116
+ ```
117
+
118
+ Then inspect:
119
+
120
+ - benchmark input package;
121
+ - generated or expected context pack;
122
+ - validator output;
123
+ - profile conformance results;
124
+ - limitations recorded in each result.
125
+
126
+ ## Claim Boundaries
127
+
128
+ Mirai Graph public alpha may claim:
129
+
130
+ - a public standard draft exists;
131
+ - schemas, validators and examples are runnable;
132
+ - synthetic and pilot evidence are separated;
133
+ - baseline comparisons are public-safe and bounded by explicit limitations;
134
+ - governance controls can be represented and tested in public-safe fixtures.
135
+ - cockpit, traceability and multi-source feedback artifacts can be represented
136
+ and validated as bounded instrumentation inputs.
137
+ - role-oriented adopter workflow evidence can connect templates, CLI checks and
138
+ public-safety boundaries into a reproducible first-use path.
139
+
140
+ Mirai Graph public alpha must not claim:
141
+
142
+ - peer-reviewed proof of effectiveness;
143
+ - production safety for autonomous execution;
144
+ - universal superiority over document-based workflows;
145
+ - automatic correctness of generated context;
146
+ - canonical update authorization from evidence, feedback or proposals.
147
+
148
+ ## Next Evidence Work
149
+
150
+ - Add more independent public pilots.
151
+ - Replicate baseline-vs-graph comparison reports across different domains.
152
+ - Publish limitation tables per pilot.
153
+ - Prepare publication-ready reproducibility bundles.
154
+ - Record reviewer objections and response notes when publications exist.
@@ -0,0 +1,70 @@
1
+ # Semantic Completeness Review Protocol
2
+
3
+ Status: initial public protocol
4
+
5
+ ## Purpose
6
+
7
+ Context reduction is useful only if the reduced context preserves the meaning
8
+ needed for the task.
9
+
10
+ This protocol reviews whether a generated context pack is semantically complete
11
+ enough for its declared task.
12
+
13
+ ## Research Question
14
+
15
+ Does the generated context pack preserve the objects, relations, evidence,
16
+ risks and governance constraints needed to perform the task?
17
+
18
+ ## Review Inputs
19
+
20
+ - task definition;
21
+ - canonical graph package;
22
+ - generated context pack;
23
+ - source corpus or source summary;
24
+ - evidence references;
25
+ - expected output or reviewer rubric.
26
+
27
+ ## Review Rubric
28
+
29
+ Score each dimension from `0` to `2`:
30
+
31
+ - `0`: missing or misleading;
32
+ - `1`: partially present;
33
+ - `2`: sufficient for the task.
34
+
35
+ Dimensions:
36
+
37
+ 1. Task relevance.
38
+ 2. Required object coverage.
39
+ 3. Required relation coverage.
40
+ 4. Evidence preservation.
41
+ 5. Risk and blocker visibility.
42
+ 6. Governance gate visibility.
43
+ 7. Omission transparency.
44
+ 8. No private or unsafe leakage.
45
+
46
+ ## Verdicts
47
+
48
+ - `pass`: sufficient for the task.
49
+ - `pass_with_notes`: usable, but limitations must be recorded.
50
+ - `needs_more_context`: important context is missing.
51
+ - `semantic_regression`: context reduction changed or weakened meaning.
52
+ - `unsafe_context`: context leaks private material or hides safety constraints.
53
+
54
+ ## Output Artifact
55
+
56
+ Recommended output:
57
+
58
+ ```text
59
+ benchmarks/<benchmark-id>/reviews/semantic-completeness-review.json
60
+ ```
61
+
62
+ ## Claim Rule
63
+
64
+ Passing this review supports a limited claim:
65
+
66
+ ```text
67
+ The generated context pack preserved task-relevant meaning under this review protocol.
68
+ ```
69
+
70
+ It does not prove external validity or universal semantic completeness.
@@ -0,0 +1,119 @@
1
+ # Mirai Graph Terminology
2
+
3
+ Status: initial draft
4
+
5
+ ## Mirai Graph
6
+
7
+ An evolutionary graph operating model for managing the growth of complex
8
+ systems.
9
+
10
+ Mirai Graph combines canonical graph state, generated context packs, evidence,
11
+ readiness, profiles and governance gates.
12
+
13
+ ## Evolutionary Object Graph
14
+
15
+ The scientific continuity term used in earlier research materials. Mirai Graph is
16
+ the public working name for the same model direction.
17
+
18
+ ## Complex System
19
+
20
+ A system with many interacting parts, changing goals, dependencies, evidence,
21
+ decisions and feedback loops.
22
+
23
+ Examples include projects, products, organizations, research programs and
24
+ human-AI systems.
25
+
26
+ ## Object
27
+
28
+ A stable graph entity that represents something the system needs to track.
29
+
30
+ Examples:
31
+
32
+ - feature;
33
+ - requirement;
34
+ - decision;
35
+ - component;
36
+ - risk;
37
+ - task;
38
+ - evidence item;
39
+ - governance gate.
40
+
41
+ ## Relation
42
+
43
+ A typed connection between two objects.
44
+
45
+ Examples:
46
+
47
+ - depends on;
48
+ - implements;
49
+ - blocks;
50
+ - supports;
51
+ - contradicts;
52
+ - evidences;
53
+ - governs;
54
+ - supersedes.
55
+
56
+ ## Canonical Graph State
57
+
58
+ The maintained source-of-truth graph state. It should have stable object
59
+ identity, typed relations, evidence links, lifecycle/readiness fields and
60
+ governance rules.
61
+
62
+ ## Generated Context Pack
63
+
64
+ A task-specific context package generated from canonical graph state.
65
+
66
+ It helps a human or AI assistant perform a specific task, but it is not itself
67
+ the canonical source of truth.
68
+
69
+ ## Graph Seed
70
+
71
+ The smallest useful starting structure for a Mirai Graph model. A seed captures
72
+ the initial objects, relations, evidence boundaries and intended growth path.
73
+
74
+ ## Graph Embryo
75
+
76
+ An early graph state that has grown beyond a seed but is not yet mature enough
77
+ to be treated as a stable canonical model.
78
+
79
+ ## Evidence
80
+
81
+ Material that supports, explains or constrains a graph object, relation,
82
+ decision or claim.
83
+
84
+ Evidence can include documents, source records, experiments, reviews, logs,
85
+ published sources or synthetic examples. Evidence level must be explicit.
86
+
87
+ ## Readiness
88
+
89
+ A maturity state that indicates whether an object, relation, decision, context
90
+ pack or standard section is draft, review-ready, accepted, blocked, deprecated
91
+ or otherwise constrained.
92
+
93
+ ## Profile
94
+
95
+ A domain-specific adaptation of the core Mirai Graph model.
96
+
97
+ Profiles may define additional object kinds, relation types, readiness rules,
98
+ governance gates and examples without changing the core standard.
99
+
100
+ ## Governance Gate
101
+
102
+ A rule or checkpoint that controls whether a proposed update, claim, generated
103
+ context pack or action may proceed.
104
+
105
+ Governance gates separate:
106
+
107
+ - suggestion from decision;
108
+ - generated context from canonical state;
109
+ - evidence from claim;
110
+ - planning from action;
111
+ - private material from public release.
112
+
113
+ ## Conformance Level
114
+
115
+ A declared level showing how completely an implementation follows the Mirai Graph
116
+ standard.
117
+
118
+ Conformance levels should be testable with schemas, examples, fixtures and
119
+ validation rules.
@@ -0,0 +1,119 @@
1
+ # AI Employee Profile Proposal
2
+
3
+ Status: alpha proposal
4
+
5
+ ## Purpose
6
+
7
+ This proposal defines the public Mirai Graph direction for modeling an
8
+ AI employee as a governed runtime over an evolutionary graph.
9
+
10
+ The goal is to support systems such as Larena/AI without turning Mirai Graph
11
+ into a single AI-agent framework or publishing private implementation details.
12
+
13
+ ## Core Thesis
14
+
15
+ ```text
16
+ AI employee is not a prompt.
17
+ AI employee is a governed runtime over an evolutionary graph.
18
+ The graph is the canonical brain/state/control model.
19
+ The runtime executes through tools, policies, approvals and audit.
20
+ ```
21
+
22
+ ## Why A Separate Profile
23
+
24
+ The existing profiles model projects and software specifications. An
25
+ AI-employee system needs additional first-class concepts:
26
+
27
+ - roles and departments;
28
+ - skills and specializations;
29
+ - knowledge and memory;
30
+ - tools and capabilities;
31
+ - workflows and automation rules;
32
+ - policies and approval gates;
33
+ - actions, results, feedback and lessons;
34
+ - federation endpoints for multi-employee or multi-service systems.
35
+
36
+ These concepts should not bloat the core standard. They belong in a profile
37
+ that specializes Mirai Graph for agentic work while preserving the core
38
+ governance model.
39
+
40
+ ## Public Scope
41
+
42
+ The public standard may define:
43
+
44
+ - graph object kinds for AI-employee modeling;
45
+ - relation types for skill, tool, policy and delegation structure;
46
+ - canonical state versus runtime/event boundaries;
47
+ - feedback learning gates;
48
+ - synthetic fixtures;
49
+ - validation rules;
50
+ - adoption guidance.
51
+
52
+ The public standard must not define:
53
+
54
+ - private Larena package internals;
55
+ - SIMAI customer or employee data;
56
+ - secret handling details beyond public-safe policy boundaries;
57
+ - one mandatory LLM provider;
58
+ - one mandatory runtime or queue implementation;
59
+ - uncontrolled self-modifying behavior.
60
+
61
+ ## Larena/AI Boundary
62
+
63
+ Mirai Graph should define the portable model. Larena/AI may implement runtime
64
+ execution, UI, storage, queues, tools, permissions, audit logs and package
65
+ integration.
66
+
67
+ Portable Mirai Graph layer:
68
+
69
+ - AI employee graph model;
70
+ - object and relation semantics;
71
+ - policy gates;
72
+ - feedback learning lifecycle;
73
+ - profile conformance fixtures.
74
+
75
+ Larena/AI runtime layer:
76
+
77
+ - authentication and authorization;
78
+ - tool adapters;
79
+ - execution queues;
80
+ - event logs;
81
+ - UI screens;
82
+ - deployment topology;
83
+ - provider-specific integration.
84
+
85
+ ## Minimal Alpha Scope
86
+
87
+ The first public alpha should include:
88
+
89
+ - `profiles/ai-employee/profile.json`;
90
+ - `profiles/ai-employee/README.md`;
91
+ - `standard/graph-as-ai-brain.md`;
92
+ - `standard/action-runtime-boundary.md`;
93
+ - `standard/feedback-learning-gate.md`;
94
+ - `docs/adoption/ai-employee-graph.md`;
95
+ - `examples/ai-employee-minimal/`;
96
+ - validation through `npm run release:check`.
97
+
98
+ ## Safety Principles
99
+
100
+ 1. Feedback does not mutate canonical graph state directly.
101
+ 2. Generated context does not become authorization.
102
+ 3. Runtime decisions do not equal executed actions.
103
+ 4. Executed actions need audited results.
104
+ 5. High-risk actions require explicit policy and approval gates.
105
+ 6. Learning requires proposal, replay or evaluation, approval and canonical
106
+ update.
107
+ 7. Federation endpoints need compatibility and trust boundaries.
108
+
109
+ ## Claim Rule
110
+
111
+ This proposal supports only this claim:
112
+
113
+ ```text
114
+ Mirai Graph can model the public structure of an AI employee as a governed graph
115
+ profile with explicit runtime, action and learning boundaries.
116
+ ```
117
+
118
+ It does not prove that any runtime implementation is safe, autonomous or
119
+ effective.