mirai-graph 1.3.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/cli.js +6 -0
  2. package/index.js +1 -0
  3. package/package.json +9 -121
  4. package/.github/workflows/ci.yml +0 -48
  5. package/.github/workflows/mirai-graph-validate.yml +0 -30
  6. package/CHANGELOG.md +0 -702
  7. package/CITATION.cff +0 -21
  8. package/LICENSE +0 -21
  9. package/LICENSE-DOCS +0 -26
  10. package/README.md +0 -351
  11. package/ROADMAP.md +0 -241
  12. package/benchmarks/protocols/measure-convert-optimize.md +0 -131
  13. package/benchmarks/synthetic-context-reduction-v0/README.md +0 -70
  14. package/benchmarks/synthetic-context-reduction-v0/RESULT.md +0 -52
  15. package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +0 -31
  16. package/benchmarks/synthetic-context-reduction-v0/gates/results.json +0 -12
  17. package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +0 -114
  18. package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +0 -74
  19. package/benchmarks/synthetic-context-reduction-v0/graph.json +0 -37
  20. package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +0 -22
  21. package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +0 -42
  22. package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +0 -181
  23. package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +0 -8
  24. package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +0 -28
  25. package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +0 -24
  26. package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +0 -78
  27. package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +0 -42
  28. package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +0 -8
  29. package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +0 -8
  30. package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +0 -8
  31. package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +0 -8
  32. package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +0 -31
  33. package/docs/README.md +0 -130
  34. package/docs/adoption/adopter-kit.md +0 -187
  35. package/docs/adoption/ai-employee-graph.md +0 -151
  36. package/docs/adoption/character-layer.md +0 -196
  37. package/docs/adoption/choose-profile.md +0 -106
  38. package/docs/adoption/cli.md +0 -134
  39. package/docs/adoption/connect-project-15-minutes.md +0 -122
  40. package/docs/adoption/developer-integration-guide.md +0 -122
  41. package/docs/adoption/end-to-end-control-loop.md +0 -168
  42. package/docs/adoption/for-developers.md +0 -210
  43. package/docs/adoption/getting-started.md +0 -192
  44. package/docs/adoption/mirai-graph-transition.md +0 -67
  45. package/docs/adoption/profile-conformance-fixtures.md +0 -112
  46. package/docs/adoption/seed-to-validated-package.md +0 -121
  47. package/docs/concept.md +0 -109
  48. package/docs/repository-purpose.md +0 -422
  49. package/docs/research/ai-work-field-instrumentation-bridge.md +0 -126
  50. package/docs/research/baseline-comparison-protocol.md +0 -79
  51. package/docs/research/evidence-package-v0.1.md +0 -99
  52. package/docs/research/evidence-package-v0.2.md +0 -150
  53. package/docs/research/evidence-package-v0.3.md +0 -256
  54. package/docs/research/independent-implementation-pilot-plan.md +0 -74
  55. package/docs/research/limitations-and-threats.md +0 -40
  56. package/docs/research/practice-science-program.md +0 -232
  57. package/docs/research/scientific-evidence-package.md +0 -188
  58. package/docs/research/semantic-completeness-review-protocol.md +0 -70
  59. package/docs/terminology.md +0 -119
  60. package/docs/transfer/ai-employee-profile-proposal.md +0 -119
  61. package/docs/transfer/federation-routing-control-loop-2026-05-31.md +0 -28
  62. package/docs/transfer/graph-capability-map-2026-05-29.md +0 -126
  63. package/docs/transfer/graph-skill-to-mirai-graph.md +0 -128
  64. package/docs/transfer/project-management-standard-harvest-2026-06-02.md +0 -322
  65. package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +0 -113
  66. package/docs/transfer/standard-gap-report-2026-05-28.md +0 -208
  67. package/examples/ai-employee-minimal/README.md +0 -53
  68. package/examples/ai-employee-minimal/gates/results.json +0 -35
  69. package/examples/ai-employee-minimal/graph/objects.json +0 -187
  70. package/examples/ai-employee-minimal/graph/relations.json +0 -167
  71. package/examples/ai-employee-minimal/graph.json +0 -37
  72. package/examples/ai-employee-minimal/results/profile-conformance-result.json +0 -28
  73. package/examples/character-layer-integration-minimal/README.md +0 -25
  74. package/examples/character-layer-integration-minimal/results/character-layer-integration.json +0 -53
  75. package/examples/character-layer-minimal/README.md +0 -29
  76. package/examples/character-layer-minimal/gates/results.json +0 -57
  77. package/examples/character-layer-minimal/graph/objects.json +0 -165
  78. package/examples/character-layer-minimal/graph/relations.json +0 -178
  79. package/examples/character-layer-minimal/graph.json +0 -37
  80. package/examples/character-layer-readiness-1-0/README.md +0 -27
  81. package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +0 -90
  82. package/examples/dynamic-episode-minimal/README.md +0 -34
  83. package/examples/dynamic-episode-minimal/gates/results.json +0 -12
  84. package/examples/dynamic-episode-minimal/graph/objects.json +0 -92
  85. package/examples/dynamic-episode-minimal/graph/relations.json +0 -29
  86. package/examples/dynamic-episode-minimal/graph.json +0 -47
  87. package/examples/dynamic-episode-minimal/invalid-canonical-write-allowed.json +0 -40
  88. package/examples/dynamic-episode-minimal/invalid-evidence-as-authorization.json +0 -46
  89. package/examples/dynamic-episode-minimal/invalid-missing-event.json +0 -35
  90. package/examples/dynamic-episode-minimal/invalid-missing-selected-path.json +0 -40
  91. package/examples/dynamic-episode-minimal/invalid-unclassified-finding.json +0 -50
  92. package/examples/dynamic-episode-minimal/results/dynamic-episode-trace.json +0 -149
  93. package/examples/federation-routing-smoke/README.md +0 -19
  94. package/examples/federation-routing-smoke/federation-health-dashboard.json +0 -42
  95. package/examples/federation-routing-smoke/route-explanation.json +0 -32
  96. package/examples/federation-routing-smoke/route-regression-result.json +0 -35
  97. package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +0 -17
  98. package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +0 -12
  99. package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +0 -8
  100. package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +0 -1
  101. package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +0 -1
  102. package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +0 -17
  103. package/examples/federation-routing-smoke/routes/search-page-route-result.json +0 -12
  104. package/examples/federation-routing-smoke/routes/search-page-stderr.txt +0 -1
  105. package/examples/federation-routing-smoke/routes/search-page-stdout.txt +0 -1
  106. package/examples/federation-routing-smoke/routing-fixture-run.json +0 -66
  107. package/examples/federation-routing-smoke/routing-fixtures.json +0 -44
  108. package/examples/goal-vector-quality-control-minimal/README.md +0 -22
  109. package/examples/goal-vector-quality-control-minimal/gates/results.json +0 -22
  110. package/examples/goal-vector-quality-control-minimal/graph/objects.json +0 -56
  111. package/examples/goal-vector-quality-control-minimal/graph/relations.json +0 -29
  112. package/examples/goal-vector-quality-control-minimal/graph.json +0 -41
  113. package/examples/goal-vector-quality-control-minimal/invalid-complete-without-evidence.json +0 -77
  114. package/examples/goal-vector-quality-control-minimal/invalid-correction-without-route.json +0 -86
  115. package/examples/goal-vector-quality-control-minimal/invalid-missing-reverse-audit.json +0 -77
  116. package/examples/goal-vector-quality-control-minimal/invalid-missing-vector-link.json +0 -62
  117. package/examples/goal-vector-quality-control-minimal/invalid-tests-as-acceptance.json +0 -72
  118. package/examples/goal-vector-quality-control-minimal/results/goal-vector-quality-control.json +0 -130
  119. package/examples/graph-dna-alignment-minimal/README.md +0 -16
  120. package/examples/graph-dna-alignment-minimal/graph/objects.json +0 -38
  121. package/examples/graph-dna-alignment-minimal/graph/relations.json +0 -20
  122. package/examples/graph-dna-alignment-minimal/graph.json +0 -37
  123. package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +0 -32
  124. package/examples/graph-seed-minimal/README.md +0 -9
  125. package/examples/graph-seed-minimal/graph-embryo.json +0 -63
  126. package/examples/graph-seed-minimal/graph-seed.json +0 -60
  127. package/examples/implementation-control-cycles/README.md +0 -47
  128. package/examples/implementation-control-cycles/gates/results.json +0 -22
  129. package/examples/implementation-control-cycles/graph/objects.json +0 -119
  130. package/examples/implementation-control-cycles/graph/relations.json +0 -200
  131. package/examples/implementation-control-cycles/graph.json +0 -37
  132. package/examples/implementation-control-cycles/results/implementation-control-cycles.json +0 -456
  133. package/examples/implementation-control-minimal/README.md +0 -39
  134. package/examples/implementation-control-minimal/gates/results.json +0 -42
  135. package/examples/implementation-control-minimal/graph/objects.json +0 -128
  136. package/examples/implementation-control-minimal/graph/relations.json +0 -128
  137. package/examples/implementation-control-minimal/graph.json +0 -37
  138. package/examples/implementation-control-minimal/results/implementation-control-loop.json +0 -21
  139. package/examples/instrumentation-layer-minimal/README.md +0 -32
  140. package/examples/instrumentation-layer-minimal/gates/results.json +0 -11
  141. package/examples/instrumentation-layer-minimal/graph/objects.json +0 -74
  142. package/examples/instrumentation-layer-minimal/graph/relations.json +0 -56
  143. package/examples/instrumentation-layer-minimal/graph.json +0 -37
  144. package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +0 -40
  145. package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +0 -38
  146. package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +0 -38
  147. package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +0 -43
  148. package/examples/instrumentation-layer-minimal/results/development-cockpit.json +0 -68
  149. package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +0 -56
  150. package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +0 -72
  151. package/examples/invalid-character-layer-context-authorization/graph/objects.json +0 -22
  152. package/examples/invalid-character-layer-context-authorization/graph/relations.json +0 -1
  153. package/examples/invalid-character-layer-context-authorization/graph.json +0 -35
  154. package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +0 -22
  155. package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +0 -1
  156. package/examples/invalid-character-layer-correction-loop-no-review/graph.json +0 -35
  157. package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +0 -22
  158. package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +0 -1
  159. package/examples/invalid-character-layer-feedback-auto-update/graph.json +0 -35
  160. package/examples/invalid-character-layer-object-kind/graph/objects.json +0 -22
  161. package/examples/invalid-character-layer-object-kind/graph/relations.json +0 -1
  162. package/examples/invalid-character-layer-object-kind/graph.json +0 -35
  163. package/examples/invalid-character-layer-relation-direction/graph/objects.json +0 -33
  164. package/examples/invalid-character-layer-relation-direction/graph/relations.json +0 -13
  165. package/examples/invalid-character-layer-relation-direction/graph.json +0 -35
  166. package/examples/invalid-character-layer-relation-type/graph/objects.json +0 -33
  167. package/examples/invalid-character-layer-relation-type/graph/relations.json +0 -13
  168. package/examples/invalid-character-layer-relation-type/graph.json +0 -35
  169. package/examples/invalid-character-layer-role-permission/graph/objects.json +0 -22
  170. package/examples/invalid-character-layer-role-permission/graph/relations.json +0 -1
  171. package/examples/invalid-character-layer-role-permission/graph.json +0 -35
  172. package/examples/invalid-context-pack-missing-explanation/context-pack.json +0 -25
  173. package/examples/invalid-missing-relation-target/graph/objects.json +0 -11
  174. package/examples/invalid-missing-relation-target/graph/relations.json +0 -11
  175. package/examples/invalid-missing-relation-target/graph.json +0 -32
  176. package/examples/invalid-profile-object-kind/graph/objects.json +0 -20
  177. package/examples/invalid-profile-object-kind/graph/relations.json +0 -1
  178. package/examples/invalid-profile-object-kind/graph.json +0 -32
  179. package/examples/invalid-profile-relation-type/graph/objects.json +0 -29
  180. package/examples/invalid-profile-relation-type/graph/relations.json +0 -11
  181. package/examples/invalid-profile-relation-type/graph.json +0 -32
  182. package/examples/invalid-relation-id-mismatch/graph/objects.json +0 -29
  183. package/examples/invalid-relation-id-mismatch/graph/relations.json +0 -11
  184. package/examples/invalid-relation-id-mismatch/graph.json +0 -32
  185. package/examples/invalid-seed-unsafe-write/graph-seed.json +0 -27
  186. package/examples/invalid-societal-governance-auto-learning-update/graph/objects.json +0 -29
  187. package/examples/invalid-societal-governance-auto-learning-update/graph/relations.json +0 -11
  188. package/examples/invalid-societal-governance-auto-learning-update/graph.json +0 -35
  189. package/examples/invalid-societal-governance-avatar-no-consent/graph/objects.json +0 -29
  190. package/examples/invalid-societal-governance-avatar-no-consent/graph/relations.json +0 -11
  191. package/examples/invalid-societal-governance-avatar-no-consent/graph.json +0 -35
  192. package/examples/invalid-societal-governance-generated-context-authorization/graph/objects.json +0 -38
  193. package/examples/invalid-societal-governance-generated-context-authorization/graph/relations.json +0 -20
  194. package/examples/invalid-societal-governance-generated-context-authorization/graph.json +0 -35
  195. package/examples/invalid-societal-governance-missing-appeal-path/graph/objects.json +0 -29
  196. package/examples/invalid-societal-governance-missing-appeal-path/graph/relations.json +0 -11
  197. package/examples/invalid-societal-governance-missing-appeal-path/graph.json +0 -35
  198. package/examples/invalid-societal-governance-private-trace-exposed/graph/objects.json +0 -29
  199. package/examples/invalid-societal-governance-private-trace-exposed/graph/relations.json +0 -11
  200. package/examples/invalid-societal-governance-private-trace-exposed/graph.json +0 -35
  201. package/examples/invalid-societal-governance-rights-overridden/graph/objects.json +0 -29
  202. package/examples/invalid-societal-governance-rights-overridden/graph/relations.json +0 -11
  203. package/examples/invalid-societal-governance-rights-overridden/graph.json +0 -35
  204. package/examples/launch-record-minimal/README.md +0 -29
  205. package/examples/launch-record-minimal/gates/results.json +0 -12
  206. package/examples/launch-record-minimal/graph/objects.json +0 -47
  207. package/examples/launch-record-minimal/graph/relations.json +0 -38
  208. package/examples/launch-record-minimal/graph.json +0 -34
  209. package/examples/launch-record-minimal/results/launch-record.json +0 -51
  210. package/examples/managed-project-control-loop/README.md +0 -43
  211. package/examples/managed-project-control-loop/gates/results.json +0 -22
  212. package/examples/managed-project-control-loop/graph/objects.json +0 -119
  213. package/examples/managed-project-control-loop/graph/relations.json +0 -110
  214. package/examples/managed-project-control-loop/graph.json +0 -37
  215. package/examples/managed-project-control-loop/results/managed-loop-result.json +0 -21
  216. package/examples/minimal-graph/README.md +0 -15
  217. package/examples/minimal-graph/gates/results.json +0 -12
  218. package/examples/minimal-graph/graph/objects.json +0 -24
  219. package/examples/minimal-graph/graph/relations.json +0 -11
  220. package/examples/minimal-graph/graph.json +0 -37
  221. package/examples/minimal-graph/results/profile-conformance-result.json +0 -26
  222. package/examples/model-portability-minimal/README.md +0 -15
  223. package/examples/model-portability-minimal/results/model-portability-evidence.json +0 -55
  224. package/examples/organization-governance-minimal/README.md +0 -29
  225. package/examples/organization-governance-minimal/gates/results.json +0 -21
  226. package/examples/organization-governance-minimal/graph/objects.json +0 -147
  227. package/examples/organization-governance-minimal/graph/relations.json +0 -147
  228. package/examples/organization-governance-minimal/graph.json +0 -37
  229. package/examples/organization-governance-minimal/results/profile-conformance-result.json +0 -31
  230. package/examples/process-control-contract-minimal/README.md +0 -19
  231. package/examples/process-control-contract-minimal/graph/objects.json +0 -38
  232. package/examples/process-control-contract-minimal/graph/relations.json +0 -29
  233. package/examples/process-control-contract-minimal/graph.json +0 -34
  234. package/examples/process-control-contract-minimal/results/process-control-contract.json +0 -58
  235. package/examples/process-transition-minimal/README.md +0 -25
  236. package/examples/process-transition-minimal/invalid-missing-launch-record.json +0 -14
  237. package/examples/process-transition-minimal/invalid-ready-to-written.json +0 -14
  238. package/examples/process-transition-minimal/invalid-release-missing-evidence.json +0 -14
  239. package/examples/process-transition-minimal/invalid-sync-to-update.json +0 -14
  240. package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +0 -14
  241. package/examples/process-transition-minimal/invalid-tests-to-approved.json +0 -14
  242. package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +0 -35
  243. package/examples/process-transition-minimal/results/transition-explanation-valid.json +0 -34
  244. package/examples/process-transition-minimal/state-machine.json +0 -79
  245. package/examples/process-transition-minimal/transition-request-skip-kaizen.json +0 -14
  246. package/examples/process-transition-minimal/transition-request.json +0 -14
  247. package/examples/project-technology-context-traversal/README.md +0 -17
  248. package/examples/project-technology-context-traversal/graph/objects.json +0 -78
  249. package/examples/project-technology-context-traversal/graph/relations.json +0 -47
  250. package/examples/project-technology-context-traversal/graph.json +0 -30
  251. package/examples/project-technology-context-traversal/selection.example.json +0 -29
  252. package/examples/project-technology-context-traversal/sources/announcement.md +0 -3
  253. package/examples/project-technology-context-traversal/sources/release-guide.md +0 -3
  254. package/examples/project-technology-context-traversal/sources/release-smoke.md +0 -3
  255. package/examples/project-technology-context-traversal/sources/rollback-policy.md +0 -3
  256. package/examples/risk-and-coordination-minimal/README.md +0 -16
  257. package/examples/risk-and-coordination-minimal/graph/objects.json +0 -47
  258. package/examples/risk-and-coordination-minimal/graph/relations.json +0 -29
  259. package/examples/risk-and-coordination-minimal/graph.json +0 -37
  260. package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +0 -25
  261. package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +0 -34
  262. package/examples/self-service-onboarding/bootstrap-proposal/bootstrap-proposal.json +0 -20
  263. package/examples/self-service-onboarding/existing-graph/README.md +0 -4
  264. package/examples/self-service-onboarding/existing-graph/gates/results.json +0 -11
  265. package/examples/self-service-onboarding/existing-graph/graph/objects.json +0 -11
  266. package/examples/self-service-onboarding/existing-graph/graph/relations.json +0 -1
  267. package/examples/self-service-onboarding/existing-graph/graph.json +0 -36
  268. package/examples/self-service-onboarding/no-graph/README.md +0 -6
  269. package/examples/self-service-onboarding/no-graph/package.json +0 -6
  270. package/examples/self-service-onboarding/no-graph/src/index.js +0 -3
  271. package/examples/self-service-onboarding/stale-graph/README.md +0 -4
  272. package/examples/self-service-onboarding/stale-graph/graph.json +0 -36
  273. package/examples/semantic-intent-resolution-minimal/README.md +0 -13
  274. package/examples/semantic-intent-resolution-minimal/invalid-low-confidence-executes.json +0 -26
  275. package/examples/semantic-intent-resolution-minimal/invalid-proposal-canonical-update.json +0 -27
  276. package/examples/semantic-intent-resolution-minimal/results/semantic-intent-resolution.json +0 -45
  277. package/examples/skill-runtime-minimal/README.md +0 -29
  278. package/examples/skill-runtime-minimal/gates/results.json +0 -35
  279. package/examples/skill-runtime-minimal/graph/objects.json +0 -209
  280. package/examples/skill-runtime-minimal/graph/relations.json +0 -178
  281. package/examples/skill-runtime-minimal/graph.json +0 -37
  282. package/examples/skill-runtime-minimal/results/profile-conformance-result.json +0 -27
  283. package/examples/societal-governance-minimal/README.md +0 -37
  284. package/examples/societal-governance-minimal/graph/objects.json +0 -218
  285. package/examples/societal-governance-minimal/graph/relations.json +0 -209
  286. package/examples/societal-governance-minimal/graph.json +0 -37
  287. package/examples/source-boundary-minimal/README.md +0 -16
  288. package/examples/source-boundary-minimal/graph/objects.json +0 -38
  289. package/examples/source-boundary-minimal/graph/relations.json +0 -20
  290. package/examples/source-boundary-minimal/graph.json +0 -37
  291. package/examples/source-boundary-minimal/results/source-boundary-contract.json +0 -37
  292. package/examples/technology-quality-feedback-minimal/README.md +0 -33
  293. package/examples/technology-quality-feedback-minimal/graph/objects.json +0 -56
  294. package/examples/technology-quality-feedback-minimal/graph/relations.json +0 -47
  295. package/examples/technology-quality-feedback-minimal/graph.json +0 -34
  296. package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +0 -33
  297. package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +0 -22
  298. package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +0 -22
  299. package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +0 -33
  300. package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +0 -33
  301. package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +0 -33
  302. package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +0 -80
  303. package/examples/work-recovery-minimal/README.md +0 -15
  304. package/examples/work-recovery-minimal/graph/objects.json +0 -47
  305. package/examples/work-recovery-minimal/graph/relations.json +0 -20
  306. package/examples/work-recovery-minimal/graph.json +0 -37
  307. package/examples/work-recovery-minimal/results/recovery-resume-record.json +0 -17
  308. package/examples/work-recovery-minimal/results/work-state-machine.json +0 -21
  309. package/packages/cli/adopter-workflow.js +0 -228
  310. package/packages/cli/context-pack.js +0 -269
  311. package/packages/cli/graph-manifest.js +0 -367
  312. package/packages/cli/instrumentation-report.js +0 -97
  313. package/packages/cli/migrate-graph-manifest.js +0 -33
  314. package/packages/cli/mirai-graph.js +0 -154
  315. package/packages/cli/mirai_graph.js +0 -3
  316. package/packages/cli/playground-demo.js +0 -114
  317. package/packages/cli/project-technology.js +0 -129
  318. package/packages/cli/readiness-score.js +0 -164
  319. package/packages/cli/release-state.js +0 -329
  320. package/packages/cli/seed-preview.js +0 -78
  321. package/packages/cli/self-service-onboarding.js +0 -386
  322. package/packages/cli/validate-adopter-workflow.js +0 -63
  323. package/packages/cli/validate-artifact-releases.js +0 -282
  324. package/packages/cli/validate-baseline-comparison.js +0 -105
  325. package/packages/cli/validate-context-traversal.js +0 -292
  326. package/packages/cli/validate-graph-manifest-migration.js +0 -64
  327. package/packages/cli/validate-mirai-graph.js +0 -3245
  328. package/packages/cli/validate-process-transition-report.js +0 -105
  329. package/packages/cli/validate-profile-results.js +0 -64
  330. package/packages/cli/validate-project-continuity.js +0 -173
  331. package/packages/cli/validate-project-technology.js +0 -296
  332. package/packages/cli/validate-release-state.js +0 -100
  333. package/packages/cli/validate-routing-control-examples.js +0 -79
  334. package/packages/cli/validate-self-service-onboarding.js +0 -159
  335. package/packages/project-technology/artifact-release.js +0 -738
  336. package/packages/project-technology/context-traversal.js +0 -684
  337. package/packages/project-technology/continuity.js +0 -414
  338. package/packages/project-technology/index.js +0 -835
  339. package/pilots/independent-implementation-001-conference-planning/README.md +0 -40
  340. package/pilots/independent-implementation-001-conference-planning/gates/results.json +0 -12
  341. package/pilots/independent-implementation-001-conference-planning/graph/objects.json +0 -74
  342. package/pilots/independent-implementation-001-conference-planning/graph/relations.json +0 -56
  343. package/pilots/independent-implementation-001-conference-planning/graph-seed.json +0 -65
  344. package/pilots/independent-implementation-001-conference-planning/graph.json +0 -37
  345. package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +0 -120
  346. package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +0 -35
  347. package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +0 -81
  348. package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +0 -7
  349. package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +0 -28
  350. package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +0 -26
  351. package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +0 -7
  352. package/pilots/independent-implementation-002-software-specification/README.md +0 -40
  353. package/pilots/independent-implementation-002-software-specification/gates/results.json +0 -22
  354. package/pilots/independent-implementation-002-software-specification/graph/objects.json +0 -101
  355. package/pilots/independent-implementation-002-software-specification/graph/relations.json +0 -92
  356. package/pilots/independent-implementation-002-software-specification/graph-seed.json +0 -72
  357. package/pilots/independent-implementation-002-software-specification/graph.json +0 -37
  358. package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +0 -142
  359. package/pilots/independent-implementation-002-software-specification/results/context-pack.json +0 -184
  360. package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +0 -90
  361. package/pilots/independent-implementation-002-software-specification/results/package-validation.json +0 -7
  362. package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +0 -28
  363. package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +0 -26
  364. package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +0 -7
  365. package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +0 -81
  366. package/pilots/independent-implementation-003-ai-employee-workflow/README.md +0 -42
  367. package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +0 -30
  368. package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +0 -156
  369. package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +0 -147
  370. package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +0 -90
  371. package/pilots/independent-implementation-003-ai-employee-workflow/graph.json +0 -37
  372. package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +0 -49
  373. package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +0 -30
  374. package/pilots/independent-implementation-004-research-program/README.md +0 -41
  375. package/pilots/independent-implementation-004-research-program/gates/results.json +0 -21
  376. package/pilots/independent-implementation-004-research-program/graph/objects.json +0 -102
  377. package/pilots/independent-implementation-004-research-program/graph/relations.json +0 -84
  378. package/pilots/independent-implementation-004-research-program/graph-seed.json +0 -76
  379. package/pilots/independent-implementation-004-research-program/graph.json +0 -37
  380. package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +0 -50
  381. package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +0 -30
  382. package/pilots/independent-implementation-005-organization-governance/README.md +0 -42
  383. package/pilots/independent-implementation-005-organization-governance/gates/results.json +0 -20
  384. package/pilots/independent-implementation-005-organization-governance/graph/objects.json +0 -137
  385. package/pilots/independent-implementation-005-organization-governance/graph/relations.json +0 -110
  386. package/pilots/independent-implementation-005-organization-governance/graph-seed.json +0 -97
  387. package/pilots/independent-implementation-005-organization-governance/graph.json +0 -37
  388. package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +0 -47
  389. package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +0 -29
  390. package/playground/README.md +0 -78
  391. package/playground/demo-report.md +0 -84
  392. package/profiles/README.md +0 -28
  393. package/profiles/ai-employee/README.md +0 -132
  394. package/profiles/ai-employee/profile.json +0 -58
  395. package/profiles/character-layer/README.md +0 -143
  396. package/profiles/character-layer/profile.json +0 -46
  397. package/profiles/implementation-control/README.md +0 -174
  398. package/profiles/implementation-control/profile.json +0 -108
  399. package/profiles/organization-governance/README.md +0 -60
  400. package/profiles/organization-governance/profile.json +0 -56
  401. package/profiles/project-management/README.md +0 -119
  402. package/profiles/project-management/profile.json +0 -38
  403. package/profiles/skill-runtime/README.md +0 -99
  404. package/profiles/skill-runtime/profile.json +0 -58
  405. package/profiles/societal-governance/README.md +0 -129
  406. package/profiles/societal-governance/profile.json +0 -121
  407. package/profiles/software-specification/README.md +0 -142
  408. package/profiles/software-specification/profile.json +0 -31
  409. package/publications/README.md +0 -39
  410. package/publications/observable-self-correcting-ai-workflows/README.md +0 -105
  411. package/publications/preprint-note.md +0 -11
  412. package/publications/preprint-outline.md +0 -45
  413. package/publications/semantic-intent-goal-vector-control/README.md +0 -99
  414. package/releases/0.1.0-alpha.0.md +0 -45
  415. package/releases/0.1.0-alpha.1.md +0 -63
  416. package/releases/0.1.0-alpha.10.md +0 -93
  417. package/releases/0.1.0-alpha.11.md +0 -114
  418. package/releases/0.1.0-alpha.2.md +0 -37
  419. package/releases/0.1.0-alpha.3.md +0 -61
  420. package/releases/0.1.0-alpha.4.md +0 -53
  421. package/releases/0.1.0-alpha.5.md +0 -48
  422. package/releases/0.1.0-alpha.6.md +0 -96
  423. package/releases/0.1.0-alpha.7.md +0 -114
  424. package/releases/0.1.0-alpha.8.md +0 -92
  425. package/releases/0.1.0-alpha.9.md +0 -80
  426. package/releases/1.0.0-rc.1.md +0 -121
  427. package/releases/1.0.0-rc.10.md +0 -14
  428. package/releases/1.0.0-rc.11.md +0 -14
  429. package/releases/1.0.0-rc.2.md +0 -79
  430. package/releases/1.0.0-rc.3.md +0 -51
  431. package/releases/1.0.0-rc.4.md +0 -70
  432. package/releases/1.0.0-rc.5.md +0 -88
  433. package/releases/1.0.0-rc.6.md +0 -76
  434. package/releases/1.0.0-rc.8.md +0 -17
  435. package/releases/1.0.0-rc.9.md +0 -14
  436. package/releases/1.0.0.md +0 -23
  437. package/releases/1.1.0.md +0 -36
  438. package/releases/1.1.1.md +0 -25
  439. package/releases/1.2.0.md +0 -19
  440. package/releases/1.3.0.md +0 -16
  441. package/releases/README.md +0 -135
  442. package/releases/societal-governance-profile-proposal.md +0 -45
  443. package/schemas/baseline-comparison-result.schema.json +0 -87
  444. package/schemas/character-layer-integration.schema.json +0 -112
  445. package/schemas/character-layer-readiness.schema.json +0 -73
  446. package/schemas/context-pack.schema.json +0 -190
  447. package/schemas/context-traversal-receipt.schema.json +0 -64
  448. package/schemas/development-cockpit.schema.json +0 -74
  449. package/schemas/dynamic-episode-trace.schema.json +0 -153
  450. package/schemas/feature-implementation-traceability.schema.json +0 -80
  451. package/schemas/federation-health-dashboard.schema.json +0 -47
  452. package/schemas/gate-result.schema.json +0 -44
  453. package/schemas/goal-vector-quality-control.schema.json +0 -131
  454. package/schemas/graph-dna-alignment.schema.json +0 -49
  455. package/schemas/graph-embryo.schema.json +0 -51
  456. package/schemas/graph-lock.schema.json +0 -28
  457. package/schemas/graph-manifest.schema.json +0 -154
  458. package/schemas/graph-seed.schema.json +0 -137
  459. package/schemas/implementation-control-cycle.schema.json +0 -265
  460. package/schemas/implementation-control-loop.schema.json +0 -84
  461. package/schemas/launch-record.schema.json +0 -78
  462. package/schemas/model-portability-evidence.schema.json +0 -93
  463. package/schemas/multi-agent-coordination.schema.json +0 -35
  464. package/schemas/multi-source-quality-feedback.schema.json +0 -54
  465. package/schemas/object.schema.json +0 -49
  466. package/schemas/package-manifest.schema.json +0 -53
  467. package/schemas/process-control-contract.schema.json +0 -100
  468. package/schemas/process-transition-request.schema.json +0 -41
  469. package/schemas/profile.schema.json +0 -56
  470. package/schemas/project-technology-extension.schema.json +0 -15
  471. package/schemas/project-technology-target-export.schema.json +0 -35
  472. package/schemas/readiness-score.schema.json +0 -43
  473. package/schemas/recovery-resume-record.schema.json +0 -25
  474. package/schemas/relation.schema.json +0 -43
  475. package/schemas/risk-control-matrix.schema.json +0 -36
  476. package/schemas/route-explanation.schema.json +0 -51
  477. package/schemas/route-regression-result.schema.json +0 -33
  478. package/schemas/routing-fixture-run.schema.json +0 -45
  479. package/schemas/routing-fixtures.schema.json +0 -59
  480. package/schemas/semantic-intent-resolution.schema.json +0 -151
  481. package/schemas/source-boundary-contract.schema.json +0 -31
  482. package/schemas/technology-quality-feedback.schema.json +0 -116
  483. package/schemas/work-state-machine.schema.json +0 -34
  484. package/standard/action-runtime-boundary.md +0 -99
  485. package/standard/adoption-levels.md +0 -69
  486. package/standard/conformance-levels.md +0 -133
  487. package/standard/context-pack-generation.md +0 -184
  488. package/standard/development-cockpit.md +0 -67
  489. package/standard/dynamic-episode-layer.md +0 -113
  490. package/standard/dynamic-layer-code-generation.md +0 -87
  491. package/standard/episode-trace.md +0 -97
  492. package/standard/evidence-provenance.md +0 -128
  493. package/standard/feature-implementation-traceability.md +0 -68
  494. package/standard/federation-health.md +0 -42
  495. package/standard/feedback-learning-gate.md +0 -101
  496. package/standard/goal-vector-quality-control.md +0 -128
  497. package/standard/governance.md +0 -137
  498. package/standard/graph-as-ai-brain.md +0 -81
  499. package/standard/graph-dna-alignment.md +0 -50
  500. package/standard/graph-dna.md +0 -70
  501. package/standard/graph-embryo.md +0 -69
  502. package/standard/graph-seed.md +0 -122
  503. package/standard/hybrid-source-of-truth.md +0 -91
  504. package/standard/implementation-control-cycles.md +0 -194
  505. package/standard/implementation-control.md +0 -102
  506. package/standard/launch-record.md +0 -53
  507. package/standard/lifecycle-readiness.md +0 -159
  508. package/standard/multi-agent-coordination.md +0 -50
  509. package/standard/multi-source-quality-feedback.md +0 -71
  510. package/standard/object-model.md +0 -167
  511. package/standard/organization-governance.md +0 -83
  512. package/standard/process-control-contract.md +0 -53
  513. package/standard/profile-boundaries.md +0 -225
  514. package/standard/profiles.md +0 -253
  515. package/standard/project-technology.md +0 -186
  516. package/standard/projection-views.md +0 -69
  517. package/standard/recovery-resume.md +0 -49
  518. package/standard/relation-model.md +0 -149
  519. package/standard/risk-control-matrix.md +0 -53
  520. package/standard/route-explanation.md +0 -35
  521. package/standard/route-regression.md +0 -33
  522. package/standard/routing-fixtures.md +0 -54
  523. package/standard/runtime-enablement.md +0 -85
  524. package/standard/semantic-intent-resolution.md +0 -91
  525. package/standard/source-boundary-contract.md +0 -49
  526. package/standard/standard-v0.1.md +0 -132
  527. package/standard/technology-quality-feedback.md +0 -97
  528. package/standard/test-suite.md +0 -159
  529. package/standard/work-state-machine.md +0 -62
  530. package/templates/README.md +0 -77
  531. package/templates/ai-employee-starter/README.md +0 -9
  532. package/templates/ai-employee-starter/gates/results.json +0 -12
  533. package/templates/ai-employee-starter/graph/objects.json +0 -90
  534. package/templates/ai-employee-starter/graph/relations.json +0 -47
  535. package/templates/ai-employee-starter/graph.json +0 -37
  536. package/templates/character-layer-starter/README.md +0 -39
  537. package/templates/character-layer-starter/gates/results.json +0 -20
  538. package/templates/character-layer-starter/graph/objects.json +0 -308
  539. package/templates/character-layer-starter/graph/relations.json +0 -344
  540. package/templates/character-layer-starter/graph.json +0 -37
  541. package/templates/organization-governance-starter/README.md +0 -9
  542. package/templates/organization-governance-starter/gates/results.json +0 -12
  543. package/templates/organization-governance-starter/graph/objects.json +0 -112
  544. package/templates/organization-governance-starter/graph/relations.json +0 -65
  545. package/templates/organization-governance-starter/graph.json +0 -37
  546. package/templates/research-program-starter/README.md +0 -9
  547. package/templates/research-program-starter/gates/results.json +0 -12
  548. package/templates/research-program-starter/graph/objects.json +0 -79
  549. package/templates/research-program-starter/graph/relations.json +0 -47
  550. package/templates/research-program-starter/graph.json +0 -37
  551. package/templates/software-project-starter/README.md +0 -9
  552. package/templates/software-project-starter/gates/results.json +0 -12
  553. package/templates/software-project-starter/graph/objects.json +0 -79
  554. package/templates/software-project-starter/graph/relations.json +0 -47
  555. package/templates/software-project-starter/graph.json +0 -37
@@ -1,132 +0,0 @@
1
- # Mirai Graph Standard v0.1 Draft
2
-
3
- Status: historical v0.1 standard draft
4
-
5
- ## Purpose
6
-
7
- This document defines the first public draft of the Mirai Graph standard: an
8
- implementation-independent graph operating model for managing the growth of
9
- complex systems.
10
-
11
- The draft is intentionally incomplete. It establishes the core sections,
12
- normative direction and conformance path for future implementation pilots.
13
-
14
- ## Normative Language
15
-
16
- This draft uses plain language. Future versions may adopt RFC-style terms such
17
- as `MUST`, `SHOULD` and `MAY` after the object, relation and conformance models
18
- are stable.
19
-
20
- ## Standard Scope
21
-
22
- Mirai Graph standardizes:
23
-
24
- - canonical graph state;
25
- - object identity and object kinds;
26
- - typed relations;
27
- - evidence and provenance;
28
- - readiness and lifecycle state;
29
- - generated context packs;
30
- - profiles;
31
- - governance gates;
32
- - conformance levels;
33
- - validation fixtures.
34
-
35
- ## Non-Scope
36
-
37
- Mirai Graph does not standardize:
38
-
39
- - one database engine;
40
- - one programming language;
41
- - one UI;
42
- - one AI-agent framework;
43
- - one organizational management methodology;
44
- - private project data;
45
- - claims of universal validity.
46
-
47
- ## Core Model
48
-
49
- A Mirai Graph implementation maintains a canonical graph state and can generate
50
- task-specific context packs from that state.
51
-
52
- The canonical graph state contains:
53
-
54
- - objects;
55
- - relations;
56
- - evidence links;
57
- - readiness/lifecycle fields;
58
- - profile metadata;
59
- - governance records where applicable.
60
-
61
- A generated context pack is a temporary, task-specific view. It helps a human
62
- or AI system act with relevant context, but it is not the source of truth.
63
-
64
- ## Required Standard Sections
65
-
66
- The public standard is expected to contain:
67
-
68
- - [Object Model](object-model.md)
69
- - [Relation Model](relation-model.md)
70
- - [Graph DNA](graph-dna.md)
71
- - [Graph Seed](graph-seed.md)
72
- - [Graph Embryo](graph-embryo.md)
73
- - [Lifecycle And Readiness](lifecycle-readiness.md)
74
- - [Evidence And Provenance](evidence-provenance.md)
75
- - `context-pack-generation.md`
76
- - [Governance](governance.md)
77
- - [Hybrid Source Of Truth](hybrid-source-of-truth.md)
78
- - [Adoption Levels](adoption-levels.md)
79
- - [Projection Views](projection-views.md)
80
- - [Runtime Enablement](runtime-enablement.md)
81
- - [Graph As AI Brain](graph-as-ai-brain.md)
82
- - [Action Runtime Boundary](action-runtime-boundary.md)
83
- - [Feedback Learning Gate](feedback-learning-gate.md)
84
- - [Profiles](profiles.md)
85
- - [Conformance Levels](conformance-levels.md)
86
- - [Test Suite](test-suite.md)
87
-
88
- Only the first sections are drafted in this initial public batch.
89
-
90
- ## Minimum Implementation Idea
91
-
92
- A minimal Mirai Graph package should be able to represent:
93
-
94
- 1. A set of stable objects.
95
- 2. Typed relations between those objects.
96
- 3. Evidence references for important claims.
97
- 4. Readiness state for objects or decisions.
98
- 5. A generated context pack for one task.
99
- 6. A boundary between canonical state and generated context.
100
-
101
- ## Conformance Direction
102
-
103
- Future conformance levels:
104
-
105
- - Level 0: terminology alignment;
106
- - Level 1: canonical graph state;
107
- - Level 2: context-pack generation;
108
- - Level 3: governance-gated operation;
109
- - Level 4: profiled multi-domain operation.
110
-
111
- Conformance must be testable with schemas, fixtures and examples.
112
-
113
- ## Current Readiness
114
-
115
- Verdict: `not_standard_ready`
116
-
117
- Reason:
118
-
119
- The repository now contains the public foundation, terminology, initial object
120
- model, initial relation model, lifecycle/readiness, evidence/provenance,
121
- graph DNA, graph seed, graph embryo, context-pack generation, profiles,
122
- governance, Hybrid Source Of Truth, adoption levels, projection views,
123
- runtime enablement, conformance levels, test-suite direction, initial schemas,
124
- a validator, a minimal example and a synthetic benchmark.
125
-
126
- Next required sections:
127
-
128
- 1. CLI seed preview and embryo generation;
129
- 2. stricter context-pack schema;
130
- 3. profile manifest schema;
131
- 4. richer negative fixtures;
132
- 5. independent implementation pilot.
@@ -1,97 +0,0 @@
1
- # Technology Quality Feedback
2
-
3
- Status: 1.0 release-candidate standard section
4
-
5
- ## Purpose
6
-
7
- Technology quality feedback checks whether completed work followed the declared
8
- technology, process or method before that work can be accepted, released or
9
- used as evidence for canonical change.
10
-
11
- It exists because passing tests, producing artifacts or collecting evidence can
12
- still hide process drift. A team needs a separate review loop that asks:
13
-
14
- ```text
15
- Did the work follow the technology it claimed to follow?
16
- ```
17
-
18
- ## Core Pattern
19
-
20
- ```text
21
- technology contract
22
- -> work evidence
23
- -> technology quality feedback
24
- -> finding classification
25
- -> transition decision
26
- -> Kaizen / proposal / fix route
27
- ```
28
-
29
- The feedback report is a gate artifact. It classifies findings and routes the
30
- next transition, but it does not execute actions or update canonical state.
31
-
32
- ## Required Rules
33
-
34
- - Passing tests do not mean accepted work.
35
- - Evidence does not authorize release or canonical update.
36
- - Generated context and proposals do not mutate canonical state.
37
- - Every finding must be classified.
38
- - `process_improvement` findings route to Kaizen.
39
- - `spec_gap` findings route back to planning, human review or graph sync
40
- proposal.
41
- - Blocking findings stop acceptance and release transitions.
42
-
43
- ## Classifications
44
-
45
- Public Mirai Graph uses universal classifications:
46
-
47
- - `accepted`;
48
- - `work_fix_required`;
49
- - `test_gap`;
50
- - `spec_gap`;
51
- - `graph_update_proposal`;
52
- - `process_improvement`;
53
- - `release_blocker`;
54
- - `security_blocker`;
55
- - `defer_with_reason`.
56
-
57
- Domain adapters may map narrower terms to these values. For example, a
58
- software-code review adapter may map `code_fix_required` to
59
- `work_fix_required`.
60
-
61
- ## Review Dimensions
62
-
63
- A feedback report should choose dimensions that match the technology being
64
- checked. Common dimensions include:
65
-
66
- - scope;
67
- - architecture;
68
- - ownership;
69
- - security;
70
- - runtime;
71
- - tests;
72
- - evidence;
73
- - graph_drift;
74
- - release;
75
- - process_adherence.
76
-
77
- ## Transition Boundary
78
-
79
- Technology feedback can support a process transition such as `review_ready`,
80
- `accepted`, `approved` or `released`. It must not be treated as the transition
81
- itself.
82
-
83
- Significant work should enter acceptance or release states only when the
84
- process-control contract requires and receives a passing technology quality
85
- feedback report.
86
-
87
- ## Schema
88
-
89
- Machine-readable feedback reports can be validated with:
90
-
91
- ```text
92
- schemas/technology-quality-feedback.schema.json
93
- ```
94
-
95
- The schema validates public shape, finding classification and boundary rules.
96
- It does not prove semantic correctness, production safety or scientific
97
- effectiveness.
@@ -1,159 +0,0 @@
1
- # Mirai Graph Test Suite
2
-
3
- Status: 1.2 stable standard section
4
-
5
- ## Purpose
6
-
7
- The Mirai Graph test suite verifies that examples, packages and implementations
8
- follow the standard.
9
-
10
- The test suite should cover structure, conformance, context-pack generation,
11
- governance gates and benchmark reproducibility.
12
-
13
- ## Current Smoke Tests
14
-
15
- Run:
16
-
17
- ```bash
18
- npm test
19
- ```
20
-
21
- Current checks:
22
-
23
- - validate minimal graph package;
24
- - validate synthetic benchmark graph package;
25
- - validate public profile manifests;
26
- - validate public pilot packages;
27
- - validate dynamic episode traces and reject unsafe trace semantics;
28
- - validate goal-vector quality-control reports and reject false-progress
29
- semantics;
30
- - run deterministic seed preview;
31
- - generate benchmark context pack;
32
- - score benchmark readiness;
33
- - run synthetic context-reduction calculation;
34
- - reject negative fixtures.
35
- - verify deterministic Project Technology context traversal across project,
36
- research, organization, platform, skill-like and multi-repository scopes;
37
- - reject incomplete mandatory closure, stale nodes, conflicts, cycles,
38
- tampered digests, secret-like evidence and context-budget shortcuts.
39
- - verify portable continuity for Git and non-Git projects, two independent
40
- installations, idempotent repeats, stale receipts, CAS conflicts, secret
41
- rejection, bounded proposals and two-case method promotion.
42
-
43
- ## Structural Validation
44
-
45
- Structural validation checks:
46
-
47
- - required object fields;
48
- - required relation fields;
49
- - unique object ids;
50
- - unique relation ids;
51
- - relation source/target references;
52
- - readiness values;
53
- - evidence arrays;
54
- - optional package manifest;
55
- - optional gate result records.
56
-
57
- ## Profile Conformance
58
-
59
- Profile conformance checks:
60
-
61
- - package object kinds are allowed by `manifest.profile`;
62
- - package relation types are allowed by `manifest.profile`;
63
- - relation ids agree with source, type and target fields.
64
-
65
- Fixture guide:
66
-
67
- ```text
68
- docs/adoption/profile-conformance-fixtures.md
69
- ```
70
-
71
- Current validator:
72
-
73
- ```bash
74
- node packages/cli/validate-mirai-graph.js <package-dir>
75
- ```
76
-
77
- ## Dynamic Episode Validation
78
-
79
- Dynamic episode validation checks:
80
-
81
- - event presence;
82
- - source refs;
83
- - activated objects, relations, policies, gates and technology steps;
84
- - selected path;
85
- - blocked paths;
86
- - finding classifications;
87
- - feedback classifications;
88
- - Kaizen route for process improvements;
89
- - replay/regression placeholders;
90
- - `canonical_write_allowed=false`;
91
- - absence of evidence-as-authorization language.
92
-
93
- Current commands:
94
-
95
- ```bash
96
- npm run validate:dynamic-episodes
97
- npm run validate:dynamic-episode-report
98
- npm run test:dynamic-episodes-negative
99
- ```
100
-
101
- ## Goal Vector Quality Control Validation
102
-
103
- Goal-vector validation checks:
104
-
105
- - final outcome and start state presence;
106
- - visible vector segments and batch vector links;
107
- - evidence before completion claims;
108
- - reverse audit before pass verdicts;
109
- - rejection of tests-as-acceptance language;
110
- - correction routes for drift findings;
111
- - `canonical_write_allowed=false`;
112
- - public-safety boundaries.
113
-
114
- Current commands:
115
-
116
- ```bash
117
- npm run validate:goal-vector-quality-control
118
- npm run test:goal-vector-quality-control-negative
119
- ```
120
-
121
- ## Benchmark Reproducibility
122
-
123
- Synthetic benchmark:
124
-
125
- ```bash
126
- node benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js
127
- ```
128
-
129
- Expected result:
130
-
131
- ```text
132
- 56.4516%
133
- ```
134
-
135
- This test verifies arithmetic reproducibility only. It does not validate
136
- semantic completeness or real-world performance.
137
-
138
- ## Future Tests
139
-
140
- Planned:
141
-
142
- - context-pack metadata validation;
143
- - context-pack evidence preservation;
144
- - governance gate result validation;
145
- - package manifest validation;
146
- - semantic completeness review fixture validation;
147
- - cross-package import/export tests.
148
-
149
- ## Test Result Policy
150
-
151
- Every test result should state:
152
-
153
- - command;
154
- - expected output;
155
- - actual output;
156
- - verdict;
157
- - limitations.
158
-
159
- Do not convert a passing smoke test into a stronger scientific claim.
@@ -1,62 +0,0 @@
1
- # Work State Machine
2
-
3
- Status: 1.0 release-candidate standard section
4
-
5
- ## Purpose
6
-
7
- Work state machines define allowed movement through a governed work lifecycle.
8
- They prevent false promotion from planning readiness to execution, from written
9
- work to implemented state, or from proposal to canonical update.
10
-
11
- ## Core States
12
-
13
- Typical state sequence:
14
-
15
- ```text
16
- planned
17
- -> launch_ready
18
- -> prepared
19
- -> ready_to_execute
20
- -> started
21
- -> written
22
- -> tests_recorded
23
- -> evidence_recorded
24
- -> sync_proposed
25
- -> review_ready
26
- -> changes_requested
27
- -> approved
28
- -> release_ready
29
- -> released
30
- -> feedback_recorded
31
- -> evolution_proposed
32
- ```
33
-
34
- Exceptional states:
35
-
36
- - `blocked`
37
- - `paused`
38
- - `abandoned`
39
- - `superseded`
40
- - `reverted`
41
- - `recovered`
42
-
43
- ## Critical Rules
44
-
45
- - `ready_to_execute` is not `started`.
46
- - `ready_to_code` is not `implemented`.
47
- - `written` is not accepted implementation state.
48
- - `tests_recorded` without semantic evidence is not review acceptance.
49
- - `sync_proposed` does not update canonical graph state.
50
- - invalid transitions fail closed.
51
- - transitions may require a launch record when they cross from planning into
52
- executable work.
53
- - terminal states require a Kaizen review or an explicit no-reusable-lessons
54
- reason when the process is significant.
55
-
56
- ## Schema
57
-
58
- Machine-readable state machines can be validated with:
59
-
60
- ```text
61
- schemas/work-state-machine.schema.json
62
- ```
@@ -1,77 +0,0 @@
1
- # Mirai Graph Templates
2
-
3
- Status: 1.0 release-candidate starter kit
4
-
5
- These templates are small public-safe starter packages. They are intentionally
6
- complete enough to validate, but small enough to copy into a new project and
7
- replace with real public or private sources.
8
-
9
- For the full role-oriented starter path, use the
10
- [1.0 RC Adopter Kit](../docs/adoption/adopter-kit.md).
11
-
12
- For self-service onboarding in a project, prefer:
13
-
14
- ```bash
15
- npx mirai-graph detect . --markdown
16
- npx mirai-graph bootstrap . --mode suggest --markdown
17
- npx mirai-graph init . --profile software_specification
18
- npx mirai-graph validate .
19
- ```
20
-
21
- `init` copies only starter graph package files. It does not overwrite project
22
- README files and refuses to replace existing graph files unless `--force` is
23
- passed.
24
-
25
- ## Starters
26
-
27
- | Template | Profile | Use when |
28
- | --- | --- | --- |
29
- | `software-project-starter/` | `software_specification` | Starting from features, requirements, components, tasks and risks. |
30
- | `research-program-starter/` | `project_management` | Starting from hypotheses, evidence, milestones, review gates and publication risks. |
31
- | `ai-employee-starter/` | `ai_employee` | Modeling an AI worker with role, skill, tool, policy, action and feedback gates. |
32
- | `character-layer-starter/` | `character_layer` | Reusing behavior constitution, role character profiles, reflection and correction boundaries. |
33
- | `organization-governance-starter/` | `organization_governance` | Modeling mission, strategy, departments, programs, policies, controls and metrics. |
34
-
35
- ## One-Day Adoption Path
36
-
37
- 1. Choose the closest starter profile.
38
- 2. Copy the template into your project.
39
- 3. Replace synthetic object titles and summaries with your domain objects.
40
- 4. Keep private notes, secrets, raw logs and internal handoffs outside the
41
- public graph package.
42
- 5. Run:
43
-
44
- ```bash
45
- npm run validate:templates
46
- node packages/cli/validate-mirai-graph.js templates/<template-name>
47
- ```
48
-
49
- 6. Add launch records, process transitions and evidence packs only after the
50
- graph package shape validates.
51
-
52
- ## Adopter Workflow Commands
53
-
54
- List the role/profile/starter map:
55
-
56
- ```bash
57
- node packages/cli/mirai-graph.js choose-profile
58
- ```
59
-
60
- Print a plan for a role or profile:
61
-
62
- ```bash
63
- node packages/cli/mirai-graph.js adopter plan organization
64
- node packages/cli/mirai-graph.js adopter plan ai_employee
65
- ```
66
-
67
- Generate a readable report for a starter:
68
-
69
- ```bash
70
- node packages/cli/mirai-graph.js adopter report templates/organization-governance-starter
71
- ```
72
-
73
- ## Boundary
74
-
75
- Templates are starter packages, not adoption proof. Passing validation means
76
- only that the package follows the current release-candidate schema/profile
77
- shape.
@@ -1,9 +0,0 @@
1
- # AI Employee Starter
2
-
3
- Use this template for a governed AI employee graph.
4
-
5
- Validate:
6
-
7
- ```bash
8
- node packages/cli/validate-mirai-graph.js templates/ai-employee-starter
9
- ```
@@ -1,12 +0,0 @@
1
- [
2
- {
3
- "id": "gate_result.template_ai_employee.public_safety",
4
- "gate_id": "gate.public_safety",
5
- "target_id": "package.template_ai_employee",
6
- "verdict": "pass",
7
- "summary": "Template uses only synthetic AI employee content and no private runtime traces.",
8
- "evidence": ["evidence.synthetic_role_brief"],
9
- "reviewed_at": "2026-06-03",
10
- "reviewer": "Mirai Graph template validator"
11
- }
12
- ]
@@ -1,90 +0,0 @@
1
- [
2
- {
3
- "id": "ai_employee.research_assistant",
4
- "kind": "ai_employee",
5
- "title": "Research Assistant",
6
- "summary": "Synthetic AI employee used to demonstrate governed capability and feedback boundaries.",
7
- "readiness": "draft",
8
- "evidence": ["evidence.synthetic_role_brief"],
9
- "profile": "ai_employee",
10
- "created_at": "2026-06-03",
11
- "updated_at": "2026-06-03"
12
- },
13
- {
14
- "id": "role.research_support",
15
- "kind": "role",
16
- "title": "Research Support",
17
- "summary": "Role responsible for summarizing evidence and preparing review queues.",
18
- "readiness": "draft",
19
- "evidence": ["evidence.synthetic_role_brief"],
20
- "profile": "ai_employee",
21
- "created_at": "2026-06-03",
22
- "updated_at": "2026-06-03"
23
- },
24
- {
25
- "id": "skill.evidence_summary",
26
- "kind": "skill",
27
- "title": "Evidence Summary",
28
- "summary": "Summarize source evidence without turning suggestions into canonical updates.",
29
- "readiness": "draft",
30
- "evidence": ["evidence.synthetic_role_brief"],
31
- "profile": "ai_employee",
32
- "created_at": "2026-06-03",
33
- "updated_at": "2026-06-03"
34
- },
35
- {
36
- "id": "tool.search_index",
37
- "kind": "tool",
38
- "title": "Search Index",
39
- "summary": "Synthetic tool placeholder for finding reviewed public sources.",
40
- "readiness": "draft",
41
- "evidence": ["evidence.synthetic_role_brief"],
42
- "profile": "ai_employee",
43
- "created_at": "2026-06-03",
44
- "updated_at": "2026-06-03"
45
- },
46
- {
47
- "id": "policy.human_approval",
48
- "kind": "policy",
49
- "title": "Human Approval",
50
- "summary": "External action and behavior updates require human approval.",
51
- "readiness": "draft",
52
- "evidence": ["evidence.synthetic_role_brief"],
53
- "profile": "ai_employee",
54
- "created_at": "2026-06-03",
55
- "updated_at": "2026-06-03"
56
- },
57
- {
58
- "id": "action.prepare_summary",
59
- "kind": "action",
60
- "title": "Prepare Summary",
61
- "summary": "Prepare a reviewable summary, not a canonical update.",
62
- "readiness": "draft",
63
- "evidence": ["evidence.synthetic_role_brief"],
64
- "profile": "ai_employee",
65
- "created_at": "2026-06-03",
66
- "updated_at": "2026-06-03"
67
- },
68
- {
69
- "id": "feedback.review_note",
70
- "kind": "feedback",
71
- "title": "Review Note",
72
- "summary": "Feedback may create a proposal but cannot directly update behavior.",
73
- "readiness": "draft",
74
- "evidence": ["evidence.synthetic_role_brief"],
75
- "profile": "ai_employee",
76
- "created_at": "2026-06-03",
77
- "updated_at": "2026-06-03"
78
- },
79
- {
80
- "id": "evidence.synthetic_role_brief",
81
- "kind": "evidence",
82
- "title": "Synthetic Role Brief",
83
- "summary": "Public-safe placeholder evidence for the starter template.",
84
- "readiness": "accepted",
85
- "evidence": [],
86
- "profile": "ai_employee",
87
- "created_at": "2026-06-03",
88
- "updated_at": "2026-06-03"
89
- }
90
- ]
@@ -1,47 +0,0 @@
1
- [
2
- {
3
- "id": "relation.ai_employee.research_assistant.has_role.role.research_support",
4
- "type": "has_role",
5
- "source": "ai_employee.research_assistant",
6
- "target": "role.research_support",
7
- "readiness": "draft",
8
- "evidence": ["evidence.synthetic_role_brief"],
9
- "profile": "ai_employee"
10
- },
11
- {
12
- "id": "relation.ai_employee.research_assistant.has_skill.skill.evidence_summary",
13
- "type": "has_skill",
14
- "source": "ai_employee.research_assistant",
15
- "target": "skill.evidence_summary",
16
- "readiness": "draft",
17
- "evidence": ["evidence.synthetic_role_brief"],
18
- "profile": "ai_employee"
19
- },
20
- {
21
- "id": "relation.skill.evidence_summary.requires_capability.tool.search_index",
22
- "type": "requires_capability",
23
- "source": "skill.evidence_summary",
24
- "target": "tool.search_index",
25
- "readiness": "draft",
26
- "evidence": ["evidence.synthetic_role_brief"],
27
- "profile": "ai_employee"
28
- },
29
- {
30
- "id": "relation.action.prepare_summary.requires_approval.policy.human_approval",
31
- "type": "requires_approval",
32
- "source": "action.prepare_summary",
33
- "target": "policy.human_approval",
34
- "readiness": "draft",
35
- "evidence": ["evidence.synthetic_role_brief"],
36
- "profile": "ai_employee"
37
- },
38
- {
39
- "id": "relation.feedback.review_note.updates_behavior.policy.human_approval",
40
- "type": "updates_behavior",
41
- "source": "feedback.review_note",
42
- "target": "policy.human_approval",
43
- "readiness": "draft",
44
- "evidence": ["evidence.synthetic_role_brief"],
45
- "profile": "ai_employee"
46
- }
47
- ]