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.
- package/cli.js +6 -0
- package/index.js +1 -0
- package/package.json +9 -121
- package/.github/workflows/ci.yml +0 -48
- package/.github/workflows/mirai-graph-validate.yml +0 -30
- package/CHANGELOG.md +0 -702
- package/CITATION.cff +0 -21
- package/LICENSE +0 -21
- package/LICENSE-DOCS +0 -26
- package/README.md +0 -351
- package/ROADMAP.md +0 -241
- package/benchmarks/protocols/measure-convert-optimize.md +0 -131
- package/benchmarks/synthetic-context-reduction-v0/README.md +0 -70
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +0 -52
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +0 -31
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +0 -12
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +0 -114
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +0 -74
- package/benchmarks/synthetic-context-reduction-v0/graph.json +0 -37
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +0 -22
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +0 -42
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +0 -181
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +0 -8
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +0 -28
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +0 -24
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +0 -78
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +0 -42
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +0 -31
- package/docs/README.md +0 -130
- package/docs/adoption/adopter-kit.md +0 -187
- package/docs/adoption/ai-employee-graph.md +0 -151
- package/docs/adoption/character-layer.md +0 -196
- package/docs/adoption/choose-profile.md +0 -106
- package/docs/adoption/cli.md +0 -134
- package/docs/adoption/connect-project-15-minutes.md +0 -122
- package/docs/adoption/developer-integration-guide.md +0 -122
- package/docs/adoption/end-to-end-control-loop.md +0 -168
- package/docs/adoption/for-developers.md +0 -210
- package/docs/adoption/getting-started.md +0 -192
- package/docs/adoption/mirai-graph-transition.md +0 -67
- package/docs/adoption/profile-conformance-fixtures.md +0 -112
- package/docs/adoption/seed-to-validated-package.md +0 -121
- package/docs/concept.md +0 -109
- package/docs/repository-purpose.md +0 -422
- package/docs/research/ai-work-field-instrumentation-bridge.md +0 -126
- package/docs/research/baseline-comparison-protocol.md +0 -79
- package/docs/research/evidence-package-v0.1.md +0 -99
- package/docs/research/evidence-package-v0.2.md +0 -150
- package/docs/research/evidence-package-v0.3.md +0 -256
- package/docs/research/independent-implementation-pilot-plan.md +0 -74
- package/docs/research/limitations-and-threats.md +0 -40
- package/docs/research/practice-science-program.md +0 -232
- package/docs/research/scientific-evidence-package.md +0 -188
- package/docs/research/semantic-completeness-review-protocol.md +0 -70
- package/docs/terminology.md +0 -119
- package/docs/transfer/ai-employee-profile-proposal.md +0 -119
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +0 -28
- package/docs/transfer/graph-capability-map-2026-05-29.md +0 -126
- package/docs/transfer/graph-skill-to-mirai-graph.md +0 -128
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +0 -322
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +0 -113
- package/docs/transfer/standard-gap-report-2026-05-28.md +0 -208
- package/examples/ai-employee-minimal/README.md +0 -53
- package/examples/ai-employee-minimal/gates/results.json +0 -35
- package/examples/ai-employee-minimal/graph/objects.json +0 -187
- package/examples/ai-employee-minimal/graph/relations.json +0 -167
- package/examples/ai-employee-minimal/graph.json +0 -37
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +0 -28
- package/examples/character-layer-integration-minimal/README.md +0 -25
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +0 -53
- package/examples/character-layer-minimal/README.md +0 -29
- package/examples/character-layer-minimal/gates/results.json +0 -57
- package/examples/character-layer-minimal/graph/objects.json +0 -165
- package/examples/character-layer-minimal/graph/relations.json +0 -178
- package/examples/character-layer-minimal/graph.json +0 -37
- package/examples/character-layer-readiness-1-0/README.md +0 -27
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +0 -90
- package/examples/dynamic-episode-minimal/README.md +0 -34
- package/examples/dynamic-episode-minimal/gates/results.json +0 -12
- package/examples/dynamic-episode-minimal/graph/objects.json +0 -92
- package/examples/dynamic-episode-minimal/graph/relations.json +0 -29
- package/examples/dynamic-episode-minimal/graph.json +0 -47
- package/examples/dynamic-episode-minimal/invalid-canonical-write-allowed.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-evidence-as-authorization.json +0 -46
- package/examples/dynamic-episode-minimal/invalid-missing-event.json +0 -35
- package/examples/dynamic-episode-minimal/invalid-missing-selected-path.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-unclassified-finding.json +0 -50
- package/examples/dynamic-episode-minimal/results/dynamic-episode-trace.json +0 -149
- package/examples/federation-routing-smoke/README.md +0 -19
- package/examples/federation-routing-smoke/federation-health-dashboard.json +0 -42
- package/examples/federation-routing-smoke/route-explanation.json +0 -32
- package/examples/federation-routing-smoke/route-regression-result.json +0 -35
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +0 -8
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routing-fixture-run.json +0 -66
- package/examples/federation-routing-smoke/routing-fixtures.json +0 -44
- package/examples/goal-vector-quality-control-minimal/README.md +0 -22
- package/examples/goal-vector-quality-control-minimal/gates/results.json +0 -22
- package/examples/goal-vector-quality-control-minimal/graph/objects.json +0 -56
- package/examples/goal-vector-quality-control-minimal/graph/relations.json +0 -29
- package/examples/goal-vector-quality-control-minimal/graph.json +0 -41
- package/examples/goal-vector-quality-control-minimal/invalid-complete-without-evidence.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-correction-without-route.json +0 -86
- package/examples/goal-vector-quality-control-minimal/invalid-missing-reverse-audit.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-missing-vector-link.json +0 -62
- package/examples/goal-vector-quality-control-minimal/invalid-tests-as-acceptance.json +0 -72
- package/examples/goal-vector-quality-control-minimal/results/goal-vector-quality-control.json +0 -130
- package/examples/graph-dna-alignment-minimal/README.md +0 -16
- package/examples/graph-dna-alignment-minimal/graph/objects.json +0 -38
- package/examples/graph-dna-alignment-minimal/graph/relations.json +0 -20
- package/examples/graph-dna-alignment-minimal/graph.json +0 -37
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +0 -32
- package/examples/graph-seed-minimal/README.md +0 -9
- package/examples/graph-seed-minimal/graph-embryo.json +0 -63
- package/examples/graph-seed-minimal/graph-seed.json +0 -60
- package/examples/implementation-control-cycles/README.md +0 -47
- package/examples/implementation-control-cycles/gates/results.json +0 -22
- package/examples/implementation-control-cycles/graph/objects.json +0 -119
- package/examples/implementation-control-cycles/graph/relations.json +0 -200
- package/examples/implementation-control-cycles/graph.json +0 -37
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +0 -456
- package/examples/implementation-control-minimal/README.md +0 -39
- package/examples/implementation-control-minimal/gates/results.json +0 -42
- package/examples/implementation-control-minimal/graph/objects.json +0 -128
- package/examples/implementation-control-minimal/graph/relations.json +0 -128
- package/examples/implementation-control-minimal/graph.json +0 -37
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +0 -21
- package/examples/instrumentation-layer-minimal/README.md +0 -32
- package/examples/instrumentation-layer-minimal/gates/results.json +0 -11
- package/examples/instrumentation-layer-minimal/graph/objects.json +0 -74
- package/examples/instrumentation-layer-minimal/graph/relations.json +0 -56
- package/examples/instrumentation-layer-minimal/graph.json +0 -37
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +0 -40
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +0 -43
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +0 -68
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +0 -56
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +0 -72
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +0 -22
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +0 -1
- package/examples/invalid-character-layer-context-authorization/graph.json +0 -35
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +0 -22
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +0 -1
- package/examples/invalid-character-layer-correction-loop-no-review/graph.json +0 -35
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +0 -22
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +0 -1
- package/examples/invalid-character-layer-feedback-auto-update/graph.json +0 -35
- package/examples/invalid-character-layer-object-kind/graph/objects.json +0 -22
- package/examples/invalid-character-layer-object-kind/graph/relations.json +0 -1
- package/examples/invalid-character-layer-object-kind/graph.json +0 -35
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-direction/graph.json +0 -35
- package/examples/invalid-character-layer-relation-type/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-type/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-type/graph.json +0 -35
- package/examples/invalid-character-layer-role-permission/graph/objects.json +0 -22
- package/examples/invalid-character-layer-role-permission/graph/relations.json +0 -1
- package/examples/invalid-character-layer-role-permission/graph.json +0 -35
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +0 -25
- package/examples/invalid-missing-relation-target/graph/objects.json +0 -11
- package/examples/invalid-missing-relation-target/graph/relations.json +0 -11
- package/examples/invalid-missing-relation-target/graph.json +0 -32
- package/examples/invalid-profile-object-kind/graph/objects.json +0 -20
- package/examples/invalid-profile-object-kind/graph/relations.json +0 -1
- package/examples/invalid-profile-object-kind/graph.json +0 -32
- package/examples/invalid-profile-relation-type/graph/objects.json +0 -29
- package/examples/invalid-profile-relation-type/graph/relations.json +0 -11
- package/examples/invalid-profile-relation-type/graph.json +0 -32
- package/examples/invalid-relation-id-mismatch/graph/objects.json +0 -29
- package/examples/invalid-relation-id-mismatch/graph/relations.json +0 -11
- package/examples/invalid-relation-id-mismatch/graph.json +0 -32
- package/examples/invalid-seed-unsafe-write/graph-seed.json +0 -27
- package/examples/invalid-societal-governance-auto-learning-update/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-auto-learning-update/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-auto-learning-update/graph.json +0 -35
- package/examples/invalid-societal-governance-avatar-no-consent/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-avatar-no-consent/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-avatar-no-consent/graph.json +0 -35
- package/examples/invalid-societal-governance-generated-context-authorization/graph/objects.json +0 -38
- package/examples/invalid-societal-governance-generated-context-authorization/graph/relations.json +0 -20
- package/examples/invalid-societal-governance-generated-context-authorization/graph.json +0 -35
- package/examples/invalid-societal-governance-missing-appeal-path/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-missing-appeal-path/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-missing-appeal-path/graph.json +0 -35
- package/examples/invalid-societal-governance-private-trace-exposed/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-private-trace-exposed/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-private-trace-exposed/graph.json +0 -35
- package/examples/invalid-societal-governance-rights-overridden/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-rights-overridden/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-rights-overridden/graph.json +0 -35
- package/examples/launch-record-minimal/README.md +0 -29
- package/examples/launch-record-minimal/gates/results.json +0 -12
- package/examples/launch-record-minimal/graph/objects.json +0 -47
- package/examples/launch-record-minimal/graph/relations.json +0 -38
- package/examples/launch-record-minimal/graph.json +0 -34
- package/examples/launch-record-minimal/results/launch-record.json +0 -51
- package/examples/managed-project-control-loop/README.md +0 -43
- package/examples/managed-project-control-loop/gates/results.json +0 -22
- package/examples/managed-project-control-loop/graph/objects.json +0 -119
- package/examples/managed-project-control-loop/graph/relations.json +0 -110
- package/examples/managed-project-control-loop/graph.json +0 -37
- package/examples/managed-project-control-loop/results/managed-loop-result.json +0 -21
- package/examples/minimal-graph/README.md +0 -15
- package/examples/minimal-graph/gates/results.json +0 -12
- package/examples/minimal-graph/graph/objects.json +0 -24
- package/examples/minimal-graph/graph/relations.json +0 -11
- package/examples/minimal-graph/graph.json +0 -37
- package/examples/minimal-graph/results/profile-conformance-result.json +0 -26
- package/examples/model-portability-minimal/README.md +0 -15
- package/examples/model-portability-minimal/results/model-portability-evidence.json +0 -55
- package/examples/organization-governance-minimal/README.md +0 -29
- package/examples/organization-governance-minimal/gates/results.json +0 -21
- package/examples/organization-governance-minimal/graph/objects.json +0 -147
- package/examples/organization-governance-minimal/graph/relations.json +0 -147
- package/examples/organization-governance-minimal/graph.json +0 -37
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +0 -31
- package/examples/process-control-contract-minimal/README.md +0 -19
- package/examples/process-control-contract-minimal/graph/objects.json +0 -38
- package/examples/process-control-contract-minimal/graph/relations.json +0 -29
- package/examples/process-control-contract-minimal/graph.json +0 -34
- package/examples/process-control-contract-minimal/results/process-control-contract.json +0 -58
- package/examples/process-transition-minimal/README.md +0 -25
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +0 -14
- package/examples/process-transition-minimal/invalid-ready-to-written.json +0 -14
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +0 -14
- package/examples/process-transition-minimal/invalid-sync-to-update.json +0 -14
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +0 -14
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +0 -14
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +0 -35
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +0 -34
- package/examples/process-transition-minimal/state-machine.json +0 -79
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +0 -14
- package/examples/process-transition-minimal/transition-request.json +0 -14
- package/examples/project-technology-context-traversal/README.md +0 -17
- package/examples/project-technology-context-traversal/graph/objects.json +0 -78
- package/examples/project-technology-context-traversal/graph/relations.json +0 -47
- package/examples/project-technology-context-traversal/graph.json +0 -30
- package/examples/project-technology-context-traversal/selection.example.json +0 -29
- package/examples/project-technology-context-traversal/sources/announcement.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-guide.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-smoke.md +0 -3
- package/examples/project-technology-context-traversal/sources/rollback-policy.md +0 -3
- package/examples/risk-and-coordination-minimal/README.md +0 -16
- package/examples/risk-and-coordination-minimal/graph/objects.json +0 -47
- package/examples/risk-and-coordination-minimal/graph/relations.json +0 -29
- package/examples/risk-and-coordination-minimal/graph.json +0 -37
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +0 -25
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +0 -34
- package/examples/self-service-onboarding/bootstrap-proposal/bootstrap-proposal.json +0 -20
- package/examples/self-service-onboarding/existing-graph/README.md +0 -4
- package/examples/self-service-onboarding/existing-graph/gates/results.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/objects.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/relations.json +0 -1
- package/examples/self-service-onboarding/existing-graph/graph.json +0 -36
- package/examples/self-service-onboarding/no-graph/README.md +0 -6
- package/examples/self-service-onboarding/no-graph/package.json +0 -6
- package/examples/self-service-onboarding/no-graph/src/index.js +0 -3
- package/examples/self-service-onboarding/stale-graph/README.md +0 -4
- package/examples/self-service-onboarding/stale-graph/graph.json +0 -36
- package/examples/semantic-intent-resolution-minimal/README.md +0 -13
- package/examples/semantic-intent-resolution-minimal/invalid-low-confidence-executes.json +0 -26
- package/examples/semantic-intent-resolution-minimal/invalid-proposal-canonical-update.json +0 -27
- package/examples/semantic-intent-resolution-minimal/results/semantic-intent-resolution.json +0 -45
- package/examples/skill-runtime-minimal/README.md +0 -29
- package/examples/skill-runtime-minimal/gates/results.json +0 -35
- package/examples/skill-runtime-minimal/graph/objects.json +0 -209
- package/examples/skill-runtime-minimal/graph/relations.json +0 -178
- package/examples/skill-runtime-minimal/graph.json +0 -37
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +0 -27
- package/examples/societal-governance-minimal/README.md +0 -37
- package/examples/societal-governance-minimal/graph/objects.json +0 -218
- package/examples/societal-governance-minimal/graph/relations.json +0 -209
- package/examples/societal-governance-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/README.md +0 -16
- package/examples/source-boundary-minimal/graph/objects.json +0 -38
- package/examples/source-boundary-minimal/graph/relations.json +0 -20
- package/examples/source-boundary-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +0 -37
- package/examples/technology-quality-feedback-minimal/README.md +0 -33
- package/examples/technology-quality-feedback-minimal/graph/objects.json +0 -56
- package/examples/technology-quality-feedback-minimal/graph/relations.json +0 -47
- package/examples/technology-quality-feedback-minimal/graph.json +0 -34
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +0 -33
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +0 -80
- package/examples/work-recovery-minimal/README.md +0 -15
- package/examples/work-recovery-minimal/graph/objects.json +0 -47
- package/examples/work-recovery-minimal/graph/relations.json +0 -20
- package/examples/work-recovery-minimal/graph.json +0 -37
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +0 -17
- package/examples/work-recovery-minimal/results/work-state-machine.json +0 -21
- package/packages/cli/adopter-workflow.js +0 -228
- package/packages/cli/context-pack.js +0 -269
- package/packages/cli/graph-manifest.js +0 -367
- package/packages/cli/instrumentation-report.js +0 -97
- package/packages/cli/migrate-graph-manifest.js +0 -33
- package/packages/cli/mirai-graph.js +0 -154
- package/packages/cli/mirai_graph.js +0 -3
- package/packages/cli/playground-demo.js +0 -114
- package/packages/cli/project-technology.js +0 -129
- package/packages/cli/readiness-score.js +0 -164
- package/packages/cli/release-state.js +0 -329
- package/packages/cli/seed-preview.js +0 -78
- package/packages/cli/self-service-onboarding.js +0 -386
- package/packages/cli/validate-adopter-workflow.js +0 -63
- package/packages/cli/validate-artifact-releases.js +0 -282
- package/packages/cli/validate-baseline-comparison.js +0 -105
- package/packages/cli/validate-context-traversal.js +0 -292
- package/packages/cli/validate-graph-manifest-migration.js +0 -64
- package/packages/cli/validate-mirai-graph.js +0 -3245
- package/packages/cli/validate-process-transition-report.js +0 -105
- package/packages/cli/validate-profile-results.js +0 -64
- package/packages/cli/validate-project-continuity.js +0 -173
- package/packages/cli/validate-project-technology.js +0 -296
- package/packages/cli/validate-release-state.js +0 -100
- package/packages/cli/validate-routing-control-examples.js +0 -79
- package/packages/cli/validate-self-service-onboarding.js +0 -159
- package/packages/project-technology/artifact-release.js +0 -738
- package/packages/project-technology/context-traversal.js +0 -684
- package/packages/project-technology/continuity.js +0 -414
- package/packages/project-technology/index.js +0 -835
- package/pilots/independent-implementation-001-conference-planning/README.md +0 -40
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +0 -12
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +0 -74
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +0 -56
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +0 -65
- package/pilots/independent-implementation-001-conference-planning/graph.json +0 -37
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +0 -120
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +0 -35
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +0 -81
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +0 -7
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/README.md +0 -40
- package/pilots/independent-implementation-002-software-specification/gates/results.json +0 -22
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +0 -101
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +0 -92
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +0 -72
- package/pilots/independent-implementation-002-software-specification/graph.json +0 -37
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +0 -142
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +0 -184
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +0 -90
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +0 -81
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +0 -42
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +0 -30
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +0 -156
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +0 -147
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +0 -90
- package/pilots/independent-implementation-003-ai-employee-workflow/graph.json +0 -37
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +0 -49
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-004-research-program/README.md +0 -41
- package/pilots/independent-implementation-004-research-program/gates/results.json +0 -21
- package/pilots/independent-implementation-004-research-program/graph/objects.json +0 -102
- package/pilots/independent-implementation-004-research-program/graph/relations.json +0 -84
- package/pilots/independent-implementation-004-research-program/graph-seed.json +0 -76
- package/pilots/independent-implementation-004-research-program/graph.json +0 -37
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +0 -50
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-005-organization-governance/README.md +0 -42
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +0 -20
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +0 -137
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +0 -110
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +0 -97
- package/pilots/independent-implementation-005-organization-governance/graph.json +0 -37
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +0 -47
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +0 -29
- package/playground/README.md +0 -78
- package/playground/demo-report.md +0 -84
- package/profiles/README.md +0 -28
- package/profiles/ai-employee/README.md +0 -132
- package/profiles/ai-employee/profile.json +0 -58
- package/profiles/character-layer/README.md +0 -143
- package/profiles/character-layer/profile.json +0 -46
- package/profiles/implementation-control/README.md +0 -174
- package/profiles/implementation-control/profile.json +0 -108
- package/profiles/organization-governance/README.md +0 -60
- package/profiles/organization-governance/profile.json +0 -56
- package/profiles/project-management/README.md +0 -119
- package/profiles/project-management/profile.json +0 -38
- package/profiles/skill-runtime/README.md +0 -99
- package/profiles/skill-runtime/profile.json +0 -58
- package/profiles/societal-governance/README.md +0 -129
- package/profiles/societal-governance/profile.json +0 -121
- package/profiles/software-specification/README.md +0 -142
- package/profiles/software-specification/profile.json +0 -31
- package/publications/README.md +0 -39
- package/publications/observable-self-correcting-ai-workflows/README.md +0 -105
- package/publications/preprint-note.md +0 -11
- package/publications/preprint-outline.md +0 -45
- package/publications/semantic-intent-goal-vector-control/README.md +0 -99
- package/releases/0.1.0-alpha.0.md +0 -45
- package/releases/0.1.0-alpha.1.md +0 -63
- package/releases/0.1.0-alpha.10.md +0 -93
- package/releases/0.1.0-alpha.11.md +0 -114
- package/releases/0.1.0-alpha.2.md +0 -37
- package/releases/0.1.0-alpha.3.md +0 -61
- package/releases/0.1.0-alpha.4.md +0 -53
- package/releases/0.1.0-alpha.5.md +0 -48
- package/releases/0.1.0-alpha.6.md +0 -96
- package/releases/0.1.0-alpha.7.md +0 -114
- package/releases/0.1.0-alpha.8.md +0 -92
- package/releases/0.1.0-alpha.9.md +0 -80
- package/releases/1.0.0-rc.1.md +0 -121
- package/releases/1.0.0-rc.10.md +0 -14
- package/releases/1.0.0-rc.11.md +0 -14
- package/releases/1.0.0-rc.2.md +0 -79
- package/releases/1.0.0-rc.3.md +0 -51
- package/releases/1.0.0-rc.4.md +0 -70
- package/releases/1.0.0-rc.5.md +0 -88
- package/releases/1.0.0-rc.6.md +0 -76
- package/releases/1.0.0-rc.8.md +0 -17
- package/releases/1.0.0-rc.9.md +0 -14
- package/releases/1.0.0.md +0 -23
- package/releases/1.1.0.md +0 -36
- package/releases/1.1.1.md +0 -25
- package/releases/1.2.0.md +0 -19
- package/releases/1.3.0.md +0 -16
- package/releases/README.md +0 -135
- package/releases/societal-governance-profile-proposal.md +0 -45
- package/schemas/baseline-comparison-result.schema.json +0 -87
- package/schemas/character-layer-integration.schema.json +0 -112
- package/schemas/character-layer-readiness.schema.json +0 -73
- package/schemas/context-pack.schema.json +0 -190
- package/schemas/context-traversal-receipt.schema.json +0 -64
- package/schemas/development-cockpit.schema.json +0 -74
- package/schemas/dynamic-episode-trace.schema.json +0 -153
- package/schemas/feature-implementation-traceability.schema.json +0 -80
- package/schemas/federation-health-dashboard.schema.json +0 -47
- package/schemas/gate-result.schema.json +0 -44
- package/schemas/goal-vector-quality-control.schema.json +0 -131
- package/schemas/graph-dna-alignment.schema.json +0 -49
- package/schemas/graph-embryo.schema.json +0 -51
- package/schemas/graph-lock.schema.json +0 -28
- package/schemas/graph-manifest.schema.json +0 -154
- package/schemas/graph-seed.schema.json +0 -137
- package/schemas/implementation-control-cycle.schema.json +0 -265
- package/schemas/implementation-control-loop.schema.json +0 -84
- package/schemas/launch-record.schema.json +0 -78
- package/schemas/model-portability-evidence.schema.json +0 -93
- package/schemas/multi-agent-coordination.schema.json +0 -35
- package/schemas/multi-source-quality-feedback.schema.json +0 -54
- package/schemas/object.schema.json +0 -49
- package/schemas/package-manifest.schema.json +0 -53
- package/schemas/process-control-contract.schema.json +0 -100
- package/schemas/process-transition-request.schema.json +0 -41
- package/schemas/profile.schema.json +0 -56
- package/schemas/project-technology-extension.schema.json +0 -15
- package/schemas/project-technology-target-export.schema.json +0 -35
- package/schemas/readiness-score.schema.json +0 -43
- package/schemas/recovery-resume-record.schema.json +0 -25
- package/schemas/relation.schema.json +0 -43
- package/schemas/risk-control-matrix.schema.json +0 -36
- package/schemas/route-explanation.schema.json +0 -51
- package/schemas/route-regression-result.schema.json +0 -33
- package/schemas/routing-fixture-run.schema.json +0 -45
- package/schemas/routing-fixtures.schema.json +0 -59
- package/schemas/semantic-intent-resolution.schema.json +0 -151
- package/schemas/source-boundary-contract.schema.json +0 -31
- package/schemas/technology-quality-feedback.schema.json +0 -116
- package/schemas/work-state-machine.schema.json +0 -34
- package/standard/action-runtime-boundary.md +0 -99
- package/standard/adoption-levels.md +0 -69
- package/standard/conformance-levels.md +0 -133
- package/standard/context-pack-generation.md +0 -184
- package/standard/development-cockpit.md +0 -67
- package/standard/dynamic-episode-layer.md +0 -113
- package/standard/dynamic-layer-code-generation.md +0 -87
- package/standard/episode-trace.md +0 -97
- package/standard/evidence-provenance.md +0 -128
- package/standard/feature-implementation-traceability.md +0 -68
- package/standard/federation-health.md +0 -42
- package/standard/feedback-learning-gate.md +0 -101
- package/standard/goal-vector-quality-control.md +0 -128
- package/standard/governance.md +0 -137
- package/standard/graph-as-ai-brain.md +0 -81
- package/standard/graph-dna-alignment.md +0 -50
- package/standard/graph-dna.md +0 -70
- package/standard/graph-embryo.md +0 -69
- package/standard/graph-seed.md +0 -122
- package/standard/hybrid-source-of-truth.md +0 -91
- package/standard/implementation-control-cycles.md +0 -194
- package/standard/implementation-control.md +0 -102
- package/standard/launch-record.md +0 -53
- package/standard/lifecycle-readiness.md +0 -159
- package/standard/multi-agent-coordination.md +0 -50
- package/standard/multi-source-quality-feedback.md +0 -71
- package/standard/object-model.md +0 -167
- package/standard/organization-governance.md +0 -83
- package/standard/process-control-contract.md +0 -53
- package/standard/profile-boundaries.md +0 -225
- package/standard/profiles.md +0 -253
- package/standard/project-technology.md +0 -186
- package/standard/projection-views.md +0 -69
- package/standard/recovery-resume.md +0 -49
- package/standard/relation-model.md +0 -149
- package/standard/risk-control-matrix.md +0 -53
- package/standard/route-explanation.md +0 -35
- package/standard/route-regression.md +0 -33
- package/standard/routing-fixtures.md +0 -54
- package/standard/runtime-enablement.md +0 -85
- package/standard/semantic-intent-resolution.md +0 -91
- package/standard/source-boundary-contract.md +0 -49
- package/standard/standard-v0.1.md +0 -132
- package/standard/technology-quality-feedback.md +0 -97
- package/standard/test-suite.md +0 -159
- package/standard/work-state-machine.md +0 -62
- package/templates/README.md +0 -77
- package/templates/ai-employee-starter/README.md +0 -9
- package/templates/ai-employee-starter/gates/results.json +0 -12
- package/templates/ai-employee-starter/graph/objects.json +0 -90
- package/templates/ai-employee-starter/graph/relations.json +0 -47
- package/templates/ai-employee-starter/graph.json +0 -37
- package/templates/character-layer-starter/README.md +0 -39
- package/templates/character-layer-starter/gates/results.json +0 -20
- package/templates/character-layer-starter/graph/objects.json +0 -308
- package/templates/character-layer-starter/graph/relations.json +0 -344
- package/templates/character-layer-starter/graph.json +0 -37
- package/templates/organization-governance-starter/README.md +0 -9
- package/templates/organization-governance-starter/gates/results.json +0 -12
- package/templates/organization-governance-starter/graph/objects.json +0 -112
- package/templates/organization-governance-starter/graph/relations.json +0 -65
- package/templates/organization-governance-starter/graph.json +0 -37
- package/templates/research-program-starter/README.md +0 -9
- package/templates/research-program-starter/gates/results.json +0 -12
- package/templates/research-program-starter/graph/objects.json +0 -79
- package/templates/research-program-starter/graph/relations.json +0 -47
- package/templates/research-program-starter/graph.json +0 -37
- package/templates/software-project-starter/README.md +0 -9
- package/templates/software-project-starter/gates/results.json +0 -12
- package/templates/software-project-starter/graph/objects.json +0 -79
- package/templates/software-project-starter/graph/relations.json +0 -47
- package/templates/software-project-starter/graph.json +0 -37
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
# Mirai Graph For Developers
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate developer guide
|
|
4
|
-
|
|
5
|
-
## Why A Developer Would Use This
|
|
6
|
-
|
|
7
|
-
Use Mirai Graph when a repository has important project knowledge spread across
|
|
8
|
-
README files, tickets, docs, code comments, decisions and AI chats.
|
|
9
|
-
|
|
10
|
-
Mirai Graph does not replace your code, issue tracker or documentation. It adds
|
|
11
|
-
a small graph package that describes:
|
|
12
|
-
|
|
13
|
-
- what the important project objects are;
|
|
14
|
-
- how features, requirements, risks and decisions connect;
|
|
15
|
-
- what evidence supports a claim;
|
|
16
|
-
- what is blocked or uncertain;
|
|
17
|
-
- what an AI assistant should know before helping with implementation.
|
|
18
|
-
|
|
19
|
-
The goal is practical: make the project easier to understand, validate and hand
|
|
20
|
-
to an AI assistant without dumping the whole repository into a prompt.
|
|
21
|
-
|
|
22
|
-
## Common Developer Use Cases
|
|
23
|
-
|
|
24
|
-
### 1. Project Onboarding
|
|
25
|
-
|
|
26
|
-
Create a graph package that helps a new developer answer:
|
|
27
|
-
|
|
28
|
-
- What are the main features?
|
|
29
|
-
- What depends on what?
|
|
30
|
-
- What risks or blockers exist?
|
|
31
|
-
- Which decisions matter?
|
|
32
|
-
- Which evidence or validation exists?
|
|
33
|
-
|
|
34
|
-
### 2. AI-Assisted Development
|
|
35
|
-
|
|
36
|
-
Use the graph as structured context for AI:
|
|
37
|
-
|
|
38
|
-
- relevant features;
|
|
39
|
-
- required constraints;
|
|
40
|
-
- related risks;
|
|
41
|
-
- accepted decisions;
|
|
42
|
-
- evidence and missing evidence;
|
|
43
|
-
- process gates before claiming work is done.
|
|
44
|
-
|
|
45
|
-
### 3. Requirement Traceability
|
|
46
|
-
|
|
47
|
-
Connect requirements to implementation objects, decisions and evidence:
|
|
48
|
-
|
|
49
|
-
```text
|
|
50
|
-
requirement -> feature -> component -> test/evidence -> release gate
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
This makes it easier to explain why a change exists and what should be checked
|
|
54
|
-
before it is accepted.
|
|
55
|
-
|
|
56
|
-
### 4. Dependency And Risk Map
|
|
57
|
-
|
|
58
|
-
Use relations such as `depends_on`, `blocks`, `implements`, `evidences` and
|
|
59
|
-
`governs` to show why a task is not isolated.
|
|
60
|
-
|
|
61
|
-
### 5. CI Validation
|
|
62
|
-
|
|
63
|
-
Run validation in CI to make sure graph package structure and profile rules do
|
|
64
|
-
not silently break.
|
|
65
|
-
|
|
66
|
-
Validation does not prove the project is correct. It checks that the graph
|
|
67
|
-
package remains structurally usable.
|
|
68
|
-
|
|
69
|
-
## What You Get
|
|
70
|
-
|
|
71
|
-
A starter software graph usually looks like this:
|
|
72
|
-
|
|
73
|
-
```text
|
|
74
|
-
graph.json
|
|
75
|
-
graph/
|
|
76
|
-
objects.json
|
|
77
|
-
relations.json
|
|
78
|
-
gates/
|
|
79
|
-
results.json
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Example object:
|
|
83
|
-
|
|
84
|
-
```json
|
|
85
|
-
{
|
|
86
|
-
"id": "feature.user_notifications",
|
|
87
|
-
"kind": "feature",
|
|
88
|
-
"title": "User notifications",
|
|
89
|
-
"summary": "Notify users when important workflow events happen.",
|
|
90
|
-
"readiness": "draft",
|
|
91
|
-
"profile": "software_specification",
|
|
92
|
-
"evidence": ["docs/product-notifications.md"]
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Example relation:
|
|
97
|
-
|
|
98
|
-
```json
|
|
99
|
-
{
|
|
100
|
-
"id": "relation.user_notifications.depends_on.event_log",
|
|
101
|
-
"type": "depends_on",
|
|
102
|
-
"source": "feature.user_notifications",
|
|
103
|
-
"target": "feature.event_log",
|
|
104
|
-
"summary": "Notifications require event records before delivery."
|
|
105
|
-
}
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
## Quick Start
|
|
109
|
-
|
|
110
|
-
The intended npm workflow is:
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
npm install -D mirai-graph
|
|
114
|
-
npx mirai-graph detect . --markdown
|
|
115
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
116
|
-
npx mirai-graph init . --profile software_specification
|
|
117
|
-
npx mirai-graph validate .
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Current release-candidate note: if the npm package is not published yet, use the
|
|
121
|
-
repository checkout path:
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
git clone https://github.com/zabarov/mirai-graph.git
|
|
125
|
-
cd mirai-graph
|
|
126
|
-
npm install
|
|
127
|
-
node packages/cli/mirai-graph.js validate examples/minimal-graph
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
## What The Commands Mean
|
|
131
|
-
|
|
132
|
-
### `detect`
|
|
133
|
-
|
|
134
|
-
Read-only scan. It reports:
|
|
135
|
-
|
|
136
|
-
- whether a graph package already exists;
|
|
137
|
-
- which profile is recommended;
|
|
138
|
-
- which files are missing;
|
|
139
|
-
- what the next safe action is.
|
|
140
|
-
|
|
141
|
-
### `bootstrap --mode suggest`
|
|
142
|
-
|
|
143
|
-
Creates a generated proposal. It does not update canonical graph files.
|
|
144
|
-
|
|
145
|
-
Use this when you want Mirai Graph to suggest what the project graph could look
|
|
146
|
-
like before committing to a starter package.
|
|
147
|
-
|
|
148
|
-
### `init`
|
|
149
|
-
|
|
150
|
-
Creates the starter package files.
|
|
151
|
-
|
|
152
|
-
For most software projects, start with:
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
npx mirai-graph init . --profile software_specification
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
### `validate`
|
|
159
|
-
|
|
160
|
-
Checks package structure, object/relation references, profile rules and known
|
|
161
|
-
semantic guardrails.
|
|
162
|
-
|
|
163
|
-
## First Useful Graph
|
|
164
|
-
|
|
165
|
-
Do not try to model the whole system on day one.
|
|
166
|
-
|
|
167
|
-
Start with:
|
|
168
|
-
|
|
169
|
-
- 3-5 features;
|
|
170
|
-
- 2-3 requirements;
|
|
171
|
-
- 1-2 risks;
|
|
172
|
-
- 1-2 decisions;
|
|
173
|
-
- evidence links for the most important claims;
|
|
174
|
-
- a few relations that change how the project should be understood.
|
|
175
|
-
|
|
176
|
-
That is enough to make the graph useful for onboarding and AI context.
|
|
177
|
-
|
|
178
|
-
## How This Helps AI Work
|
|
179
|
-
|
|
180
|
-
Without a graph, an AI assistant often receives scattered context:
|
|
181
|
-
|
|
182
|
-
```text
|
|
183
|
-
README + issue + old chat + partial code + developer note
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
With Mirai Graph, the assistant can receive a structured map:
|
|
187
|
-
|
|
188
|
-
```text
|
|
189
|
-
task -> relevant features -> dependencies -> risks -> evidence -> gates
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
This reduces missing context and makes it easier to detect false progress, such
|
|
193
|
-
as "tests exist" being treated as "work is accepted".
|
|
194
|
-
|
|
195
|
-
## Boundaries
|
|
196
|
-
|
|
197
|
-
- Mirai Graph validation is not proof that your software is correct.
|
|
198
|
-
- Generated proposals do not update canonical graph state.
|
|
199
|
-
- Evidence does not authorize release by itself.
|
|
200
|
-
- Feedback does not automatically change the graph.
|
|
201
|
-
- Private data, secrets and customer logs should stay outside public graph
|
|
202
|
-
packages.
|
|
203
|
-
|
|
204
|
-
## Next Steps
|
|
205
|
-
|
|
206
|
-
- Follow [Connect A Project In 15 Minutes](connect-project-15-minutes.md).
|
|
207
|
-
- Read the [CLI Guide](cli.md).
|
|
208
|
-
- Add CI with the GitHub Action starter.
|
|
209
|
-
- Use [Developer Integration Guide](developer-integration-guide.md) when you
|
|
210
|
-
want to integrate validation into a real repository workflow.
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
# Getting Started With Mirai Graph
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate adoption guide
|
|
4
|
-
|
|
5
|
-
## Goal
|
|
6
|
-
|
|
7
|
-
This guide helps a team create a first Mirai Graph package for a project,
|
|
8
|
-
product, organization or human-AI workflow.
|
|
9
|
-
|
|
10
|
-
For the fastest path from an existing project, use
|
|
11
|
-
[Connect A Project In 15 Minutes](connect-project-15-minutes.md). For a
|
|
12
|
-
developer-focused explanation of what problem Mirai Graph solves, start with
|
|
13
|
-
[Mirai Graph For Developers](for-developers.md). For a shorter role-oriented
|
|
14
|
-
entry point, start with the [1.0 RC Adopter Kit](adopter-kit.md).
|
|
15
|
-
|
|
16
|
-
## NPM-First Quick Start
|
|
17
|
-
|
|
18
|
-
From the project you want to connect:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npm install -D mirai-graph
|
|
22
|
-
npx mirai-graph detect . --markdown
|
|
23
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
24
|
-
npx mirai-graph init . --profile software_specification
|
|
25
|
-
npx mirai-graph validate .
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Release-candidate note: `mirai-graph@1.0.0-rc.6` is not published on npm yet.
|
|
29
|
-
Until npm publication is complete, use the repository checkout path and run the
|
|
30
|
-
same commands through `node packages/cli/mirai-graph.js`.
|
|
31
|
-
|
|
32
|
-
Use `detect` first when you are unsure which profile to use. `detect` is
|
|
33
|
-
read-only. `bootstrap --mode suggest` creates proposal/evidence only. `init`
|
|
34
|
-
creates the starter package after you choose a profile.
|
|
35
|
-
|
|
36
|
-
## Step 1: Choose The System Boundary
|
|
37
|
-
|
|
38
|
-
Define what the graph will manage.
|
|
39
|
-
|
|
40
|
-
Examples:
|
|
41
|
-
|
|
42
|
-
- one product;
|
|
43
|
-
- one software project;
|
|
44
|
-
- one research program;
|
|
45
|
-
- one organizational process;
|
|
46
|
-
- one AI-assisted workflow.
|
|
47
|
-
|
|
48
|
-
Avoid starting with the whole organization unless the immediate scope is clear.
|
|
49
|
-
|
|
50
|
-
Then choose the closest profile:
|
|
51
|
-
|
|
52
|
-
- software project or package -> `software_specification`;
|
|
53
|
-
- research or cross-functional work -> `project_management`;
|
|
54
|
-
- governed AI worker -> `ai_employee`;
|
|
55
|
-
- organization, department or portfolio governance -> `organization_governance`.
|
|
56
|
-
|
|
57
|
-
Use [Choose A Mirai Graph Profile](choose-profile.md) for the full profile and
|
|
58
|
-
starter-template map.
|
|
59
|
-
|
|
60
|
-
## Step 2: Create A Graph Seed
|
|
61
|
-
|
|
62
|
-
Start with a small seed:
|
|
63
|
-
|
|
64
|
-
- 3-10 objects;
|
|
65
|
-
- the most important relations;
|
|
66
|
-
- evidence boundaries;
|
|
67
|
-
- one target task;
|
|
68
|
-
- one readiness policy.
|
|
69
|
-
|
|
70
|
-
Do not try to model everything at once.
|
|
71
|
-
|
|
72
|
-
## Step 3: Create Package Files
|
|
73
|
-
|
|
74
|
-
Recommended minimal structure:
|
|
75
|
-
|
|
76
|
-
```text
|
|
77
|
-
graph.json
|
|
78
|
-
graph/
|
|
79
|
-
objects.json
|
|
80
|
-
relations.json
|
|
81
|
-
gates/
|
|
82
|
-
results.json
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Use `examples/minimal-graph/` as a minimal reference or start from one of the
|
|
86
|
-
starter templates in `templates/`.
|
|
87
|
-
|
|
88
|
-
## Step 4: Define Objects
|
|
89
|
-
|
|
90
|
-
Create objects for things that need stable identity:
|
|
91
|
-
|
|
92
|
-
- goals;
|
|
93
|
-
- requirements;
|
|
94
|
-
- features;
|
|
95
|
-
- decisions;
|
|
96
|
-
- risks;
|
|
97
|
-
- tasks;
|
|
98
|
-
- components;
|
|
99
|
-
- evidence;
|
|
100
|
-
- governance gates.
|
|
101
|
-
|
|
102
|
-
Each object should have:
|
|
103
|
-
|
|
104
|
-
- `id`;
|
|
105
|
-
- `kind`;
|
|
106
|
-
- `title`;
|
|
107
|
-
- `summary`;
|
|
108
|
-
- `readiness`;
|
|
109
|
-
- `evidence`;
|
|
110
|
-
- `profile`.
|
|
111
|
-
|
|
112
|
-
## Step 5: Define Relations
|
|
113
|
-
|
|
114
|
-
Add relations only when the connection changes understanding, execution or
|
|
115
|
-
governance.
|
|
116
|
-
|
|
117
|
-
Common relation types:
|
|
118
|
-
|
|
119
|
-
- `depends_on`;
|
|
120
|
-
- `supports`;
|
|
121
|
-
- `blocks`;
|
|
122
|
-
- `implements`;
|
|
123
|
-
- `evidences`;
|
|
124
|
-
- `governs`;
|
|
125
|
-
- `generates`;
|
|
126
|
-
- `related_to`.
|
|
127
|
-
|
|
128
|
-
## Step 6: Validate The Package
|
|
129
|
-
|
|
130
|
-
Run:
|
|
131
|
-
|
|
132
|
-
```bash
|
|
133
|
-
npx mirai-graph validate <package-dir>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Example:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
node packages/cli/validate-mirai-graph.js examples/minimal-graph
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
For a role-oriented starter workflow, run:
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
npx mirai-graph choose-profile
|
|
146
|
-
npx mirai-graph adopter plan developer
|
|
147
|
-
npx mirai-graph adopter report templates/software-project-starter
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
## Step 7: Generate A Context Pack
|
|
151
|
-
|
|
152
|
-
For the first iteration, write a simple manual context pack:
|
|
153
|
-
|
|
154
|
-
- task;
|
|
155
|
-
- included objects;
|
|
156
|
-
- included relations;
|
|
157
|
-
- evidence;
|
|
158
|
-
- assumptions;
|
|
159
|
-
- omissions;
|
|
160
|
-
- limitations.
|
|
161
|
-
|
|
162
|
-
Later, automate generation from the canonical graph.
|
|
163
|
-
|
|
164
|
-
## Step 8: Review Governance
|
|
165
|
-
|
|
166
|
-
Before using the graph for decisions or action, check:
|
|
167
|
-
|
|
168
|
-
- What is draft?
|
|
169
|
-
- What is accepted?
|
|
170
|
-
- What is blocked?
|
|
171
|
-
- What evidence is missing?
|
|
172
|
-
- What requires human approval?
|
|
173
|
-
- What cannot be published?
|
|
174
|
-
|
|
175
|
-
## Step 9: Grow Iteratively
|
|
176
|
-
|
|
177
|
-
Mirai Graph works best as an iterative model:
|
|
178
|
-
|
|
179
|
-
```text
|
|
180
|
-
seed -> embryo -> reviewed graph -> context packs -> task results -> graph updates
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
Keep each growth step reviewable.
|
|
184
|
-
|
|
185
|
-
## Common Mistakes
|
|
186
|
-
|
|
187
|
-
- Modeling too much too early.
|
|
188
|
-
- Treating generated context as canonical state.
|
|
189
|
-
- Adding relations without evidence or direction.
|
|
190
|
-
- Publishing private material in examples.
|
|
191
|
-
- Claiming validation before tests exist.
|
|
192
|
-
- Skipping governance gates for action-capable workflows.
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Naming Transition
|
|
2
|
-
|
|
3
|
-
Status: historical naming transition note
|
|
4
|
-
|
|
5
|
-
Mirai Graph has completed its public naming transition. This document records
|
|
6
|
-
the current naming model and the boundaries for adopters.
|
|
7
|
-
|
|
8
|
-
The current naming model is:
|
|
9
|
-
|
|
10
|
-
- `Mirai` is the broader AI direction.
|
|
11
|
-
- `Mirai Graph` is the public standard, model and methodology.
|
|
12
|
-
- `mirai-graph` is the repository, package and primary CLI slug.
|
|
13
|
-
- `EOG` remains a scientific continuity term for earlier research framing.
|
|
14
|
-
|
|
15
|
-
The strategic goal of the rename is not cosmetic. It separates the future-facing
|
|
16
|
-
Mirai direction from earlier working labels and positions Mirai Graph as the
|
|
17
|
-
public graph standard for governed AI work: AI employees, projects,
|
|
18
|
-
organizations and research systems coordinated through state, evidence, gates,
|
|
19
|
-
feedback and controlled evolution.
|
|
20
|
-
|
|
21
|
-
## What Changed
|
|
22
|
-
|
|
23
|
-
- Package name: `mirai-graph`.
|
|
24
|
-
- Primary CLI: `mirai-graph`.
|
|
25
|
-
- Canonical workspace and package manifest: root `graph.json` schema `2.0.0`.
|
|
26
|
-
- `mirai-graph-package.json` and `graph/graph.json` are read-only legacy inputs during the compatibility window.
|
|
27
|
-
- Public docs and examples use Mirai Graph naming.
|
|
28
|
-
|
|
29
|
-
## Current Command Surfaces
|
|
30
|
-
|
|
31
|
-
The supported current command surfaces are:
|
|
32
|
-
|
|
33
|
-
- `npx mirai-graph ...` for adopter projects;
|
|
34
|
-
- `node packages/cli/mirai-graph.js ...` for repository checkout maintenance;
|
|
35
|
-
- `node packages/cli/mirai_graph.js ...` as an underscore alias;
|
|
36
|
-
- `node packages/cli/validate-mirai-graph.js ...` for direct validator calls;
|
|
37
|
-
- `graph.json` plus `graph.lock.json` for immutable external pins
|
|
38
|
-
|
|
39
|
-
The underscore CLI is an alias for local environments that prefer identifier
|
|
40
|
-
style command names. It is not a separate standard.
|
|
41
|
-
|
|
42
|
-
## Migration Steps
|
|
43
|
-
|
|
44
|
-
1. Run `mirai-graph migrate .` for a read-only plan and add `--apply` only after review.
|
|
45
|
-
2. Keep exactly one root `graph.json`; do not write a second manifest into `graph/`.
|
|
46
|
-
3. Use `npx mirai-graph validate .` in adopter projects.
|
|
47
|
-
4. Use direct validator calls from repository checkout only when maintaining
|
|
48
|
-
Mirai Graph itself.
|
|
49
|
-
5. Keep generated reports as historical evidence; do not rewrite evidence
|
|
50
|
-
payloads unless they are regenerated by the current tooling.
|
|
51
|
-
|
|
52
|
-
## Schema Namespace
|
|
53
|
-
|
|
54
|
-
Existing schema `$id` values may still use the previous namespace during the
|
|
55
|
-
transition. Mirai Graph will move schema namespaces only after the public domain
|
|
56
|
-
decision is confirmed. Schema `$id` changes should be treated as a compatibility
|
|
57
|
-
event, not as a cosmetic text edit.
|
|
58
|
-
|
|
59
|
-
## Boundary
|
|
60
|
-
|
|
61
|
-
The rename does not change the standard semantics:
|
|
62
|
-
|
|
63
|
-
- generated context is not canonical state;
|
|
64
|
-
- evidence and proposals do not authorize canonical updates;
|
|
65
|
-
- feedback does not automatically change behavior;
|
|
66
|
-
- readiness is not execution;
|
|
67
|
-
- command aliases are not new standards.
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
# Profile Conformance Fixtures
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate public guide
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Profile conformance fixtures show how Mirai Graph validates that a package follows
|
|
8
|
-
the object kinds and relation types declared by its profile.
|
|
9
|
-
|
|
10
|
-
They are not scientific proof of real-world usefulness. They are executable
|
|
11
|
-
examples for implementers and regression checks for the public standard.
|
|
12
|
-
|
|
13
|
-
## Positive Fixtures
|
|
14
|
-
|
|
15
|
-
Positive fixtures are packages expected to pass validation.
|
|
16
|
-
|
|
17
|
-
| Fixture | Profile | Purpose |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| `pilots/independent-implementation-001-conference-planning/` | `project_management` | Small workflow package using goals, tasks, decisions, risks and governance gates. |
|
|
20
|
-
| `pilots/independent-implementation-002-software-specification/` | `software_specification` | Small software package using requirements, features, components, tasks, risks, constraints and decisions. |
|
|
21
|
-
| `pilots/independent-implementation-003-ai-employee-workflow/` | `ai_employee` | Small governed AI employee workflow package using roles, tools, policies, actions, feedback and learning gates. |
|
|
22
|
-
| `pilots/independent-implementation-004-research-program/` | `project_management` | Small research-program governance package using evidence, milestones, publication gates, risks and decisions. |
|
|
23
|
-
| `pilots/independent-implementation-005-organization-governance/` | `organization_governance` | Small organization governance package using mission, strategy, decision rights, controls, metrics, feedback and Kaizen. |
|
|
24
|
-
| `benchmarks/synthetic-context-reduction-v0/` | `software_specification` | Synthetic benchmark package for context-pack generation and semantic review. |
|
|
25
|
-
| `examples/ai-employee-minimal/` | `ai_employee` | Synthetic AI employee package using role, skill, knowledge, tool, policy, action boundary, feedback and learning gate. |
|
|
26
|
-
| `examples/skill-runtime-minimal/` | `skill_runtime` | Synthetic governed skill package using Hybrid SOT, runtime policy, fallback, projection view and federation contract boundaries. |
|
|
27
|
-
| `examples/minimal-graph/` | `core` | Minimal core package shape. |
|
|
28
|
-
|
|
29
|
-
Stored positive result artifacts:
|
|
30
|
-
|
|
31
|
-
- `examples/minimal-graph/results/profile-conformance-result.json`;
|
|
32
|
-
- `examples/ai-employee-minimal/results/profile-conformance-result.json`;
|
|
33
|
-
- `examples/skill-runtime-minimal/results/profile-conformance-result.json`;
|
|
34
|
-
- `benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json`;
|
|
35
|
-
- `pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json`;
|
|
36
|
-
- `pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json`;
|
|
37
|
-
- `pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json`;
|
|
38
|
-
- `pilots/independent-implementation-004-research-program/results/profile-conformance-result.json`.
|
|
39
|
-
- `pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json`.
|
|
40
|
-
|
|
41
|
-
## Negative Fixtures
|
|
42
|
-
|
|
43
|
-
Negative fixtures are packages expected to fail validation.
|
|
44
|
-
|
|
45
|
-
| Fixture | Expected failure |
|
|
46
|
-
| --- | --- |
|
|
47
|
-
| `examples/invalid-missing-relation-target/` | Relation target references a missing object. |
|
|
48
|
-
| `examples/invalid-relation-id-mismatch/` | Relation id disagrees with source, type and target fields. |
|
|
49
|
-
| `examples/invalid-profile-object-kind/` | Object kind is not allowed by the package profile. |
|
|
50
|
-
| `examples/invalid-profile-relation-type/` | Relation type is not allowed by the package profile. |
|
|
51
|
-
|
|
52
|
-
## Commands
|
|
53
|
-
|
|
54
|
-
Run the full conformance smoke suite:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npm run release:check
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Run only public pilot validation:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npm run validate:pilots
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Run positive fixture result checks:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
npm run validate:profile-results
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Run negative fixture checks:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
npm run test:negative
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Current Validator Scope
|
|
79
|
-
|
|
80
|
-
The validator currently checks:
|
|
81
|
-
|
|
82
|
-
- required package, object, relation and gate-result fields;
|
|
83
|
-
- unique object and relation ids;
|
|
84
|
-
- relation source and target existence;
|
|
85
|
-
- relation id consistency with source, type and target;
|
|
86
|
-
- readiness and gate verdict values;
|
|
87
|
-
- profile object-kind conformance;
|
|
88
|
-
- profile relation-type conformance.
|
|
89
|
-
|
|
90
|
-
## Current Limits
|
|
91
|
-
|
|
92
|
-
The fixtures do not yet prove:
|
|
93
|
-
|
|
94
|
-
- semantic completeness;
|
|
95
|
-
- real-world productivity;
|
|
96
|
-
- downstream AI task performance;
|
|
97
|
-
- runtime safety;
|
|
98
|
-
- external validity.
|
|
99
|
-
|
|
100
|
-
Semantic completeness is reviewed separately through
|
|
101
|
-
`docs/research/semantic-completeness-review-protocol.md`.
|
|
102
|
-
|
|
103
|
-
## Claim Rule
|
|
104
|
-
|
|
105
|
-
Passing profile conformance supports this limited claim:
|
|
106
|
-
|
|
107
|
-
```text
|
|
108
|
-
The package follows the declared Mirai Graph profile shape checked by the current validator.
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
It does not support claims about correctness, usefulness or completeness of the
|
|
112
|
-
modeled domain.
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# From Graph Seed To Validated Package
|
|
2
|
-
|
|
3
|
-
Status: worked tutorial
|
|
4
|
-
|
|
5
|
-
## Goal
|
|
6
|
-
|
|
7
|
-
This tutorial shows the basic Mirai Graph adoption path:
|
|
8
|
-
|
|
9
|
-
```text
|
|
10
|
-
graph seed -> graph embryo preview -> graph package -> validation -> context pack -> readiness score
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
It uses the synthetic conference planning pilot.
|
|
14
|
-
|
|
15
|
-
## 1. Validate The Seed
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
node packages/cli/validate-mirai-graph.js seed pilots/independent-implementation-001-conference-planning/graph-seed.json
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Expected:
|
|
22
|
-
|
|
23
|
-
```json
|
|
24
|
-
{
|
|
25
|
-
"valid": true,
|
|
26
|
-
"errors": [],
|
|
27
|
-
"warnings": []
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## 2. Generate A Graph Embryo Preview
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
node packages/cli/seed-preview.js pilots/independent-implementation-001-conference-planning/graph-seed.json
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
The embryo is a reviewable candidate state. It is not canonical graph state.
|
|
38
|
-
|
|
39
|
-
## 3. Create Package Files
|
|
40
|
-
|
|
41
|
-
Minimum package shape:
|
|
42
|
-
|
|
43
|
-
```text
|
|
44
|
-
graph.json
|
|
45
|
-
graph/
|
|
46
|
-
objects.json
|
|
47
|
-
relations.json
|
|
48
|
-
gates/
|
|
49
|
-
results.json
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Use the pilot package as an example:
|
|
53
|
-
|
|
54
|
-
```text
|
|
55
|
-
pilots/independent-implementation-001-conference-planning/
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## 4. Validate The Package
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
node packages/cli/validate-mirai-graph.js pilots/independent-implementation-001-conference-planning
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Expected:
|
|
65
|
-
|
|
66
|
-
```json
|
|
67
|
-
{
|
|
68
|
-
"valid": true,
|
|
69
|
-
"errors": [],
|
|
70
|
-
"warnings": []
|
|
71
|
-
}
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## 5. Generate A Context Pack
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
node packages/cli/context-pack.js pilots/independent-implementation-001-conference-planning --task-id task.prepare_speaker_schedule
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
Current release-candidate behavior:
|
|
81
|
-
|
|
82
|
-
The generator uses token matching and one-hop relation expansion. It remains an
|
|
83
|
-
alpha generator and does not prove semantic completeness.
|
|
84
|
-
|
|
85
|
-
## 6. Score Readiness
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
node packages/cli/readiness-score.js pilots/independent-implementation-001-conference-planning --target-mode pilot
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Interpretation:
|
|
92
|
-
|
|
93
|
-
Readiness score is a navigation signal, not approval. Synthetic-only evidence
|
|
94
|
-
and missing benchmark evidence cap the score.
|
|
95
|
-
|
|
96
|
-
## 7. Record Findings
|
|
97
|
-
|
|
98
|
-
Write a pilot report:
|
|
99
|
-
|
|
100
|
-
```text
|
|
101
|
-
pilots/<pilot-id>/reports/pilot-report.md
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
At minimum record:
|
|
105
|
-
|
|
106
|
-
- domain;
|
|
107
|
-
- research question;
|
|
108
|
-
- validation result;
|
|
109
|
-
- readiness score;
|
|
110
|
-
- what worked;
|
|
111
|
-
- gaps found;
|
|
112
|
-
- supported claims;
|
|
113
|
-
- unsupported claims.
|
|
114
|
-
|
|
115
|
-
## Common Mistakes
|
|
116
|
-
|
|
117
|
-
- Treating embryo output as canonical graph state.
|
|
118
|
-
- Skipping public-safety gate results.
|
|
119
|
-
- Creating relations to missing objects.
|
|
120
|
-
- Using readiness score as approval.
|
|
121
|
-
- Claiming practical improvement without a baseline comparison.
|