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
package/docs/adoption/cli.md
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# Mirai Graph CLI
|
|
2
|
-
|
|
3
|
-
Status: 1.1 stable CLI guide
|
|
4
|
-
|
|
5
|
-
Mirai Graph keeps the reference scripts for direct automation. The
|
|
6
|
-
`mirai-graph` entrypoint is the primary command surface for common checks and
|
|
7
|
-
reports.
|
|
8
|
-
|
|
9
|
-
## Commands
|
|
10
|
-
|
|
11
|
-
Detect an existing project without writing files:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx mirai-graph detect . --markdown
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Create a bootstrap proposal without canonical writes:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Initialize a starter package:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
npx mirai-graph init . --profile software_specification
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
List profile choices:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx mirai-graph choose-profile
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Print an adopter plan for a role or profile:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npx mirai-graph adopter plan developer
|
|
39
|
-
npx mirai-graph adopter plan organization_governance
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Generate a readable adopter report for a starter template:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npx mirai-graph adopter report templates/software-project-starter
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Validate a package:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npx mirai-graph validate examples/minimal-graph
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Generate a Markdown validation report:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npx mirai-graph report validation examples/minimal-graph
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Explain a process transition:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npx mirai-graph explain process-transition examples/process-transition-minimal/state-machine.json examples/process-transition-minimal/transition-request.json
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Generate a dynamic episode trace report:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
npx mirai-graph report dynamic-episode examples/dynamic-episode-minimal/results/dynamic-episode-trace.json
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Generate the playground report:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
npx mirai-graph report playground
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Check the external release state without publishing:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
npx mirai-graph release state --markdown
|
|
82
|
-
npm run validate:release-state
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Discover and compile task context without writing files:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
npx mirai-graph technology context . --phase discover --task "prepare the release"
|
|
89
|
-
npx mirai-graph technology context . --phase expand --input receipt.json --select capability.release
|
|
90
|
-
npx mirai-graph technology context . --phase compile --input receipt.json --selection selection.json
|
|
91
|
-
npx mirai-graph technology context . --phase verify --packet context-pack.json --evidence usage-evidence.json
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Versioned file bundles use the same Project Technology entrypoint:
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
npx mirai-graph technology artifact inspect . --input incoming.zip
|
|
98
|
-
npx mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound
|
|
99
|
-
npx mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound --apply
|
|
100
|
-
npx mirai-graph technology artifact compare . --matter-id agreement-main --base-release 20260828-01 --target-release 20260828-02
|
|
101
|
-
npx mirai-graph technology artifact verify . --matter-id agreement-main --release-id 20260828-02
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
Inspection, comparison and verification are read-only. Release creation is a
|
|
105
|
-
preview until `--apply` is present.
|
|
106
|
-
|
|
107
|
-
Omitting `--phase` keeps the original bounded context-discovery behavior.
|
|
108
|
-
Receipt, selection, context-pack and usage-evidence files are caller-owned
|
|
109
|
-
inputs and outputs; the command never stores them itself.
|
|
110
|
-
|
|
111
|
-
## Output Boundary
|
|
112
|
-
|
|
113
|
-
- JSON output is intended for tools and CI.
|
|
114
|
-
- Markdown output is intended for human review.
|
|
115
|
-
- `detect` is read-only.
|
|
116
|
-
- `bootstrap --mode suggest` writes proposal/evidence only.
|
|
117
|
-
- `init` creates starter graph files and refuses to overwrite by default.
|
|
118
|
-
- Adopter workflow output is a starting aid, not adoption proof.
|
|
119
|
-
- Dynamic episode reports explain operational behavior. They do not expose
|
|
120
|
-
hidden model reasoning and do not authorize canonical updates.
|
|
121
|
-
- A passing report is evidence for the checked artifact only.
|
|
122
|
-
- A release-state report checks package, git tag, GitHub Release, npm registry
|
|
123
|
-
and npm auth state, but it does not publish or authorize a release.
|
|
124
|
-
- Generated context, evidence, feedback and proposals do not authorize
|
|
125
|
-
canonical updates.
|
|
126
|
-
- Context traversal never reads secret values into its output. Access is
|
|
127
|
-
represented by a safe reference, availability and required permission.
|
|
128
|
-
|
|
129
|
-
## Command Aliases
|
|
130
|
-
|
|
131
|
-
The `mirai_graph` entrypoint is an underscore alias for environments where a
|
|
132
|
-
hyphenated command name is inconvenient. New documentation and automation
|
|
133
|
-
should prefer `npx mirai-graph ...` for adopter projects and
|
|
134
|
-
`node packages/cli/mirai-graph.js ...` for repository checkout maintenance.
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# Connect A Project In 15 Minutes
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate tutorial
|
|
4
|
-
|
|
5
|
-
This tutorial starts from an existing project and creates a first validated
|
|
6
|
-
Mirai Graph package. It is intentionally small: the goal is a reviewable
|
|
7
|
-
starter graph, not a complete model of the project.
|
|
8
|
-
|
|
9
|
-
If you want the developer-facing rationale first, read
|
|
10
|
-
[Mirai Graph For Developers](for-developers.md).
|
|
11
|
-
|
|
12
|
-
## 1. Install
|
|
13
|
-
|
|
14
|
-
From the project you want to connect:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install -D mirai-graph
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Release-candidate note: `mirai-graph@1.0.0-rc.6` is not published on npm yet.
|
|
21
|
-
Until npm publication is complete, use a repository checkout and run the same
|
|
22
|
-
commands through `node packages/cli/mirai-graph.js`.
|
|
23
|
-
|
|
24
|
-
You can also run without saving the dependency:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
npx mirai-graph detect . --markdown
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## 2. Detect The Project
|
|
31
|
-
|
|
32
|
-
Run read-only detection:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx mirai-graph detect . --markdown
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Detection reports whether a Mirai Graph package already exists, which profile
|
|
39
|
-
is recommended, which artifacts are missing and what the next safe action is.
|
|
40
|
-
Detection does not write files.
|
|
41
|
-
|
|
42
|
-
## 3. Generate A Bootstrap Proposal
|
|
43
|
-
|
|
44
|
-
Create a proposal without changing canonical graph files:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
The proposal is written to:
|
|
51
|
-
|
|
52
|
-
```text
|
|
53
|
-
mirai-graph/bootstrap-proposal/
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
It keeps `canonical_write_allowed=false`.
|
|
57
|
-
|
|
58
|
-
## 4. Initialize The Starter Graph
|
|
59
|
-
|
|
60
|
-
After reviewing the recommendation, create a starter package:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npx mirai-graph init . --profile software_specification
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Use another profile when detection recommends it:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
npx mirai-graph init . --profile project_management
|
|
70
|
-
npx mirai-graph init . --profile ai_employee
|
|
71
|
-
npx mirai-graph init . --profile character_layer
|
|
72
|
-
npx mirai-graph init . --profile organization_governance
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
`init` creates:
|
|
76
|
-
|
|
77
|
-
```text
|
|
78
|
-
graph.json
|
|
79
|
-
graph/objects.json
|
|
80
|
-
graph/relations.json
|
|
81
|
-
gates/results.json
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
It refuses to overwrite existing graph files unless `--force` is passed.
|
|
85
|
-
|
|
86
|
-
## 5. Validate
|
|
87
|
-
|
|
88
|
-
Run:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
npx mirai-graph validate .
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
For a human-readable report:
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
npx mirai-graph report validation .
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## 6. Add CI
|
|
101
|
-
|
|
102
|
-
Copy the GitHub Action starter from:
|
|
103
|
-
|
|
104
|
-
```text
|
|
105
|
-
.github/workflows/mirai-graph-validate.yml
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Use this command in CI:
|
|
109
|
-
|
|
110
|
-
```bash
|
|
111
|
-
npx mirai-graph validate .
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
Adjust `.` if your package root is somewhere else.
|
|
115
|
-
|
|
116
|
-
## Boundaries
|
|
117
|
-
|
|
118
|
-
- A starter graph is not proof that the project is correct.
|
|
119
|
-
- Generated proposals do not update canonical graph state.
|
|
120
|
-
- Evidence and feedback do not authorize production changes.
|
|
121
|
-
- Private data, credentials and customer logs should stay outside public graph
|
|
122
|
-
packages.
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Developer Integration Guide
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate developer guide
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
This guide shows how to use Mirai Graph validation in a developer workflow or
|
|
8
|
-
CI pipeline.
|
|
9
|
-
|
|
10
|
-
Mirai Graph tooling is a reference implementation. The standard remains the
|
|
11
|
-
source of the model; the CLI helps teams check graph packages, profiles,
|
|
12
|
-
context packs and process-control artifacts.
|
|
13
|
-
|
|
14
|
-
## Install In A Project
|
|
15
|
-
|
|
16
|
-
Use the npm package in the project you want to connect:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
npm install -D mirai-graph
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Detect the project and create a proposal before adding canonical graph files:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npx mirai-graph detect . --markdown
|
|
26
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
After reviewing the proposal, initialize and validate the starter graph:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx mirai-graph init . --profile software_specification
|
|
33
|
-
npx mirai-graph validate .
|
|
34
|
-
npx mirai-graph report validation .
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Use another profile when appropriate:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npx mirai-graph init . --profile project_management
|
|
41
|
-
npx mirai-graph init . --profile ai_employee
|
|
42
|
-
npx mirai-graph init . --profile character_layer
|
|
43
|
-
npx mirai-graph init . --profile organization_governance
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## Contributor Checkout
|
|
47
|
-
|
|
48
|
-
Use repository checkout commands when changing Mirai Graph itself:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
cd /path/to/mirai-graph
|
|
52
|
-
npm install
|
|
53
|
-
npm test
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Direct script calls are mainly for maintainers and validators:
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
node packages/cli/validate-mirai-graph.js examples/minimal-graph
|
|
60
|
-
node packages/cli/validate-mirai-graph.js --markdown examples/minimal-graph
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## CI Example
|
|
64
|
-
|
|
65
|
-
Minimal GitHub Actions step for an adopter project:
|
|
66
|
-
|
|
67
|
-
```yaml
|
|
68
|
-
- name: Validate Mirai Graph package
|
|
69
|
-
run: npx mirai-graph validate .
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Markdown report artifact:
|
|
73
|
-
|
|
74
|
-
```yaml
|
|
75
|
-
- name: Generate Mirai Graph validation report
|
|
76
|
-
run: npx mirai-graph report validation . > mirai-graph-report.md
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
Repository maintainers can use the full release-candidate suite:
|
|
80
|
-
|
|
81
|
-
```yaml
|
|
82
|
-
- name: Validate Mirai Graph repository
|
|
83
|
-
run: |
|
|
84
|
-
npm ci
|
|
85
|
-
npm run release:check
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Process-Control Checks
|
|
89
|
-
|
|
90
|
-
Use process-transition validation when work moves through an executable state
|
|
91
|
-
machine:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
npx mirai-graph explain process-transition \
|
|
95
|
-
examples/process-transition-minimal/state-machine.json \
|
|
96
|
-
examples/process-transition-minimal/transition-request.json
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
Use process-control contract validation from a repository checkout when a
|
|
100
|
-
project binds cycles, state machine, launch policy, evidence, recovery and
|
|
101
|
-
Kaizen policy:
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
node packages/cli/validate-mirai-graph.js process-control-contract \
|
|
105
|
-
examples/process-control-contract-minimal/results/process-control-contract.json
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
## Exit Codes
|
|
109
|
-
|
|
110
|
-
- `0`: validation passed.
|
|
111
|
-
- `1`: validation failed or an input file could not be read.
|
|
112
|
-
- `2`: command usage error.
|
|
113
|
-
|
|
114
|
-
## Boundaries
|
|
115
|
-
|
|
116
|
-
- `detect` is read-only.
|
|
117
|
-
- `bootstrap --mode suggest` writes proposal/evidence only.
|
|
118
|
-
- `init` creates starter graph files and refuses to overwrite by default.
|
|
119
|
-
- A passing validation report is evidence for the selected check only.
|
|
120
|
-
- Generated context is not canonical graph state.
|
|
121
|
-
- Evidence and proposals do not authorize canonical updates.
|
|
122
|
-
- Readiness states do not imply execution or release.
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
# End-To-End Mirai Graph Control Loop
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate tutorial
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
This tutorial shows the public alpha control loop:
|
|
8
|
-
|
|
9
|
-
```text
|
|
10
|
-
seed -> graph -> context -> launch -> transition -> evidence -> kaizen
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
It uses existing public-safe examples. It does not require private project data
|
|
14
|
-
and does not grant automatic permission to change canonical graph state.
|
|
15
|
-
|
|
16
|
-
## 1. Start With A Seed
|
|
17
|
-
|
|
18
|
-
A graph seed defines the first bounded system shape before a full graph exists.
|
|
19
|
-
|
|
20
|
-
Run:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
node packages/cli/validate-mirai-graph.js seed examples/graph-seed-minimal/graph-seed.json
|
|
24
|
-
node packages/cli/seed-preview.js examples/graph-seed-minimal/graph-seed.json
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Read:
|
|
28
|
-
|
|
29
|
-
- `standard/graph-seed.md`
|
|
30
|
-
- `examples/graph-seed-minimal/README.md`
|
|
31
|
-
|
|
32
|
-
## 2. Validate A Graph Package
|
|
33
|
-
|
|
34
|
-
A package stores graph objects, relations and gate results.
|
|
35
|
-
|
|
36
|
-
Run:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
node packages/cli/validate-mirai-graph.js examples/minimal-graph
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Read:
|
|
43
|
-
|
|
44
|
-
- `standard/object-model.md`
|
|
45
|
-
- `standard/relation-model.md`
|
|
46
|
-
- `standard/evidence-provenance.md`
|
|
47
|
-
|
|
48
|
-
## 3. Generate Or Inspect Task Context
|
|
49
|
-
|
|
50
|
-
Context packs select task-relevant graph material. They are generated context,
|
|
51
|
-
not canonical state.
|
|
52
|
-
|
|
53
|
-
Run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
node packages/cli/context-pack.js benchmarks/synthetic-context-reduction-v0 --task-id task.notify_after_approval
|
|
57
|
-
node packages/cli/validate-mirai-graph.js context-pack benchmarks/synthetic-context-reduction-v0 benchmarks/synthetic-context-reduction-v0/results/context-pack.json
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Read:
|
|
61
|
-
|
|
62
|
-
- `standard/context-pack-generation.md`
|
|
63
|
-
- `benchmarks/synthetic-context-reduction-v0/README.md`
|
|
64
|
-
|
|
65
|
-
## 4. Prepare A Launch Record
|
|
66
|
-
|
|
67
|
-
A launch record defines a bounded work batch, required gates, allowed scope and
|
|
68
|
-
evidence expectations. It is not proof that the work has been executed.
|
|
69
|
-
|
|
70
|
-
Run:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
node packages/cli/validate-mirai-graph.js examples/launch-record-minimal
|
|
74
|
-
node packages/cli/validate-mirai-graph.js launch-record examples/launch-record-minimal/results/launch-record.json
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Read:
|
|
78
|
-
|
|
79
|
-
- `standard/launch-record.md`
|
|
80
|
-
- `examples/launch-record-minimal/README.md`
|
|
81
|
-
|
|
82
|
-
## 5. Validate A Process Transition
|
|
83
|
-
|
|
84
|
-
Process transitions move through executable state-machine states. Human stages
|
|
85
|
-
and documentation can explain the movement, but the transition request must
|
|
86
|
-
pass validator checks.
|
|
87
|
-
|
|
88
|
-
Run:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
node packages/cli/validate-mirai-graph.js process-transition examples/process-transition-minimal/state-machine.json examples/process-transition-minimal/transition-request.json
|
|
92
|
-
node packages/cli/validate-mirai-graph.js process-transition examples/process-transition-minimal/state-machine.json examples/process-transition-minimal/transition-request-skip-kaizen.json
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
Negative fixtures intentionally fail:
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
npm run test:process-transition-negative
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
Read:
|
|
102
|
-
|
|
103
|
-
- `standard/work-state-machine.md`
|
|
104
|
-
- `standard/process-control-contract.md`
|
|
105
|
-
- `examples/process-transition-minimal/README.md`
|
|
106
|
-
|
|
107
|
-
## 6. Record Evidence
|
|
108
|
-
|
|
109
|
-
Evidence links claims to sources, gates, validation results and limitations. It
|
|
110
|
-
does not approve canonical updates by itself.
|
|
111
|
-
|
|
112
|
-
Run:
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
npm run validate:implementation-control
|
|
116
|
-
npm run validate:process-control
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Read:
|
|
120
|
-
|
|
121
|
-
- `standard/evidence-provenance.md`
|
|
122
|
-
- `standard/implementation-control.md`
|
|
123
|
-
- `examples/process-control-contract-minimal/README.md`
|
|
124
|
-
|
|
125
|
-
## 7. Close With Kaizen
|
|
126
|
-
|
|
127
|
-
Significant work should end with a Kaizen review or an explicit
|
|
128
|
-
`no_reusable_lessons` reason. Kaizen findings become classified improvement
|
|
129
|
-
inputs, not automatic rewrites.
|
|
130
|
-
|
|
131
|
-
Run:
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
npm run validate:implementation-control-cycles
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Read:
|
|
138
|
-
|
|
139
|
-
- `standard/implementation-control-cycles.md`
|
|
140
|
-
- `examples/implementation-control-cycles/README.md`
|
|
141
|
-
|
|
142
|
-
## Full Smoke Check
|
|
143
|
-
|
|
144
|
-
Run the current release-candidate test suite:
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
npm test
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
Generate the playground report for this loop:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
npm run playground:demo
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
For release readiness:
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
npm run release:check
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
## Boundaries
|
|
163
|
-
|
|
164
|
-
- Generated context is not canonical state.
|
|
165
|
-
- Evidence is not approval.
|
|
166
|
-
- A proposal is not a canonical update.
|
|
167
|
-
- `ready_to_execute` is not execution.
|
|
168
|
-
- Synthetic benchmarks are method demonstrations, not broad scientific proof.
|