mirai-graph 1.4.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 -122
- package/.github/workflows/ci.yml +0 -48
- package/.github/workflows/mirai-graph-validate.yml +0 -30
- package/CHANGELOG.md +0 -724
- package/CITATION.cff +0 -21
- package/LICENSE +0 -21
- package/LICENSE-DOCS +0 -26
- package/README.md +0 -368
- 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/executable-technology-course/README.md +0 -16
- package/examples/executable-technology-course/technology.json +0 -99
- 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 -141
- 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/cli/validate-technology-course.js +0 -81
- 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 -841
- package/packages/project-technology/technology-course.js +0 -282
- 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/executable-technology.schema.json +0 -70
- 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-course-pack.schema.json +0 -57
- 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 -215
- 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/standard/governance.md
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Governance
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Governance rules define how Mirai Graph controls updates, generated context,
|
|
8
|
-
public claims and action-capable workflows.
|
|
9
|
-
|
|
10
|
-
The central distinction is:
|
|
11
|
-
|
|
12
|
-
```text
|
|
13
|
-
suggestion != decision
|
|
14
|
-
generated context != canonical state
|
|
15
|
-
evidence != claim
|
|
16
|
-
plan != action
|
|
17
|
-
private material != public material
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Governance Gate
|
|
21
|
-
|
|
22
|
-
A governance gate is a rule or checkpoint that decides whether something may
|
|
23
|
-
proceed.
|
|
24
|
-
|
|
25
|
-
Gate examples:
|
|
26
|
-
|
|
27
|
-
- accept object into canonical graph;
|
|
28
|
-
- accept relation into canonical graph;
|
|
29
|
-
- publish material;
|
|
30
|
-
- execute action;
|
|
31
|
-
- generate external-facing context;
|
|
32
|
-
- claim validation;
|
|
33
|
-
- migrate from one standard version to another.
|
|
34
|
-
|
|
35
|
-
## Gate Record
|
|
36
|
-
|
|
37
|
-
A gate record should include:
|
|
38
|
-
|
|
39
|
-
```json
|
|
40
|
-
{
|
|
41
|
-
"id": "gate.public_release.synthetic_benchmark",
|
|
42
|
-
"kind": "governance_gate",
|
|
43
|
-
"title": "Public release check for synthetic benchmark",
|
|
44
|
-
"summary": "Checks that benchmark material is synthetic and public-safe before release.",
|
|
45
|
-
"readiness": "accepted",
|
|
46
|
-
"evidence": [],
|
|
47
|
-
"profile": "core"
|
|
48
|
-
}
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Future schemas may define a separate gate-result structure.
|
|
52
|
-
|
|
53
|
-
## Update Governance
|
|
54
|
-
|
|
55
|
-
Canonical graph updates should be gated when they:
|
|
56
|
-
|
|
57
|
-
- change accepted objects;
|
|
58
|
-
- change accepted relations;
|
|
59
|
-
- resolve or introduce contradictions;
|
|
60
|
-
- affect public claims;
|
|
61
|
-
- affect action permissions;
|
|
62
|
-
- change conformance status.
|
|
63
|
-
|
|
64
|
-
Generated suggestions may propose updates, but they do not become canonical
|
|
65
|
-
state until accepted through the appropriate gate.
|
|
66
|
-
|
|
67
|
-
## Action Governance
|
|
68
|
-
|
|
69
|
-
If a Mirai Graph implementation supports actions, it must separate:
|
|
70
|
-
|
|
71
|
-
- proposed action;
|
|
72
|
-
- authorized action;
|
|
73
|
-
- executed action;
|
|
74
|
-
- action evidence;
|
|
75
|
-
- rollback or recovery path.
|
|
76
|
-
|
|
77
|
-
Action-capable implementations need stricter gates than documentation-only
|
|
78
|
-
implementations.
|
|
79
|
-
|
|
80
|
-
## Public Release Governance
|
|
81
|
-
|
|
82
|
-
Before public release, check:
|
|
83
|
-
|
|
84
|
-
- no private source material;
|
|
85
|
-
- no secrets;
|
|
86
|
-
- no customer or employee data;
|
|
87
|
-
- no private repository paths;
|
|
88
|
-
- no unsupported validation claims;
|
|
89
|
-
- licensing is clear;
|
|
90
|
-
- synthetic materials are marked as synthetic.
|
|
91
|
-
|
|
92
|
-
## Claim Governance
|
|
93
|
-
|
|
94
|
-
Claims must be gated by evidence level.
|
|
95
|
-
|
|
96
|
-
Example:
|
|
97
|
-
|
|
98
|
-
- `The synthetic benchmark calculation is reproducible` may be claimed after a
|
|
99
|
-
passing benchmark run.
|
|
100
|
-
- `Mirai Graph improves real-world productivity` requires real-world validation
|
|
101
|
-
evidence.
|
|
102
|
-
- `Mirai Graph is universally valid` should not be claimed without broad
|
|
103
|
-
independent replication.
|
|
104
|
-
|
|
105
|
-
## Human Oversight
|
|
106
|
-
|
|
107
|
-
Mirai Graph can support AI-assisted work, but governance-sensitive operations
|
|
108
|
-
should have human oversight.
|
|
109
|
-
|
|
110
|
-
Human oversight is especially important for:
|
|
111
|
-
|
|
112
|
-
- public claims;
|
|
113
|
-
- external publication;
|
|
114
|
-
- irreversible actions;
|
|
115
|
-
- permission changes;
|
|
116
|
-
- legal, financial, safety or privacy-sensitive decisions.
|
|
117
|
-
|
|
118
|
-
## Failure Handling
|
|
119
|
-
|
|
120
|
-
A governance gate may produce:
|
|
121
|
-
|
|
122
|
-
- `pass`;
|
|
123
|
-
- `pass_with_notes`;
|
|
124
|
-
- `blocked`;
|
|
125
|
-
- `rejected`;
|
|
126
|
-
- `needs_more_evidence`.
|
|
127
|
-
|
|
128
|
-
Blocked items should remain traceable. Do not delete a blocked element merely to
|
|
129
|
-
make the graph look clean.
|
|
130
|
-
|
|
131
|
-
## Anti-Patterns
|
|
132
|
-
|
|
133
|
-
- Letting generated AI output directly mutate canonical state.
|
|
134
|
-
- Treating approval for one profile as approval for all profiles.
|
|
135
|
-
- Publishing synthetic evidence as real-world proof.
|
|
136
|
-
- Hiding governance failures.
|
|
137
|
-
- Combining private implementation notes with public standard text.
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Graph As AI Brain
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
This section defines how Mirai Graph can model the stable brain of an AI
|
|
8
|
-
employee without turning the standard into one specific AI-agent runtime.
|
|
9
|
-
|
|
10
|
-
## Core Principle
|
|
11
|
-
|
|
12
|
-
```text
|
|
13
|
-
AI employee is not a prompt.
|
|
14
|
-
AI employee is a governed runtime over an evolutionary graph.
|
|
15
|
-
The graph is the canonical brain/state/control model.
|
|
16
|
-
The runtime executes through tools, policies, approvals and audit.
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Brain Model
|
|
20
|
-
|
|
21
|
-
In this model, the graph stores durable state:
|
|
22
|
-
|
|
23
|
-
- identity of the AI employee;
|
|
24
|
-
- department and role;
|
|
25
|
-
- skills and specializations;
|
|
26
|
-
- knowledge and memory references;
|
|
27
|
-
- tools and capabilities;
|
|
28
|
-
- policies and approval gates;
|
|
29
|
-
- workflows and automation rules;
|
|
30
|
-
- actions, results, feedback and lessons;
|
|
31
|
-
- federation endpoints.
|
|
32
|
-
|
|
33
|
-
The graph does not directly execute actions. It provides the structured state
|
|
34
|
-
used by an implementation to generate context, select policies, request
|
|
35
|
-
approval, call tools and record results.
|
|
36
|
-
|
|
37
|
-
## Runtime Model
|
|
38
|
-
|
|
39
|
-
An implementation may run an AI employee using:
|
|
40
|
-
|
|
41
|
-
- an LLM or another reasoning engine;
|
|
42
|
-
- a tool adapter layer;
|
|
43
|
-
- queue or event processing;
|
|
44
|
-
- policy evaluation;
|
|
45
|
-
- approval workflows;
|
|
46
|
-
- audit logging;
|
|
47
|
-
- feedback evaluation.
|
|
48
|
-
|
|
49
|
-
These runtime choices are outside the core standard. Mirai Graph standardizes
|
|
50
|
-
the graph shape and safety boundaries that make implementations inspectable.
|
|
51
|
-
|
|
52
|
-
## Required Distinctions
|
|
53
|
-
|
|
54
|
-
An AI-employee implementation should keep these states separate:
|
|
55
|
-
|
|
56
|
-
- canonical graph state;
|
|
57
|
-
- generated context;
|
|
58
|
-
- runtime decision;
|
|
59
|
-
- proposed action;
|
|
60
|
-
- approved action;
|
|
61
|
-
- executed action;
|
|
62
|
-
- audited result;
|
|
63
|
-
- feedback;
|
|
64
|
-
- accepted lesson or behavior update.
|
|
65
|
-
|
|
66
|
-
Merging these states makes it difficult to audit why the employee acted, which
|
|
67
|
-
policy applied, whether approval was required and what changed after feedback.
|
|
68
|
-
|
|
69
|
-
## Anti-Patterns
|
|
70
|
-
|
|
71
|
-
- Treating a prompt as the entire AI employee.
|
|
72
|
-
- Letting generated context mutate canonical graph state.
|
|
73
|
-
- Treating a runtime decision as permission to execute.
|
|
74
|
-
- Recording only the final result without proposed action, policy and approval
|
|
75
|
-
trace.
|
|
76
|
-
- Learning from feedback without replay, evaluation and approval.
|
|
77
|
-
|
|
78
|
-
## Profile Link
|
|
79
|
-
|
|
80
|
-
The `ai_employee` profile provides the first public object and relation set for
|
|
81
|
-
this model.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Graph DNA Alignment
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Graph DNA alignment keeps components, work batches, generated projections and
|
|
8
|
-
runtime feedback aligned with the larger system purpose.
|
|
9
|
-
|
|
10
|
-
It prevents local optimization: a component can be internally detailed but still
|
|
11
|
-
harm the parent graph if it owns the wrong scope, violates invariants or drifts
|
|
12
|
-
from the evolution vector.
|
|
13
|
-
|
|
14
|
-
## Core Pattern
|
|
15
|
-
|
|
16
|
-
```text
|
|
17
|
-
parent DNA
|
|
18
|
-
-> component DNA
|
|
19
|
-
-> ownership boundary
|
|
20
|
-
-> invariants
|
|
21
|
-
-> anti-patterns
|
|
22
|
-
-> success criteria
|
|
23
|
-
-> alignment result
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Minimum Concepts
|
|
27
|
-
|
|
28
|
-
- parent system DNA: mission, evolution vector and non-negotiable principles;
|
|
29
|
-
- component DNA: why the component exists and what value it creates;
|
|
30
|
-
- owns: responsibilities the component is allowed to own;
|
|
31
|
-
- must not own: responsibilities that must stay elsewhere;
|
|
32
|
-
- invariants: properties that must remain true during change;
|
|
33
|
-
- anti-patterns: recurring shapes that indicate drift;
|
|
34
|
-
- success criteria: observable evidence that the component serves the parent.
|
|
35
|
-
|
|
36
|
-
## Rules
|
|
37
|
-
|
|
38
|
-
- A component must not redefine the parent system direction.
|
|
39
|
-
- A component that conflicts with parent DNA needs a proposal or a blocker.
|
|
40
|
-
- Generated projections can reveal DNA gaps but cannot change DNA by
|
|
41
|
-
themselves.
|
|
42
|
-
- Implementation work should load relevant DNA before crossing a launch gate.
|
|
43
|
-
|
|
44
|
-
## Schema
|
|
45
|
-
|
|
46
|
-
Machine-readable alignment results can be validated with:
|
|
47
|
-
|
|
48
|
-
```text
|
|
49
|
-
schemas/graph-dna-alignment.schema.json
|
|
50
|
-
```
|
package/standard/graph-dna.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Mirai Graph DNA
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Mirai Graph DNA defines why a graph exists, what it should become and which
|
|
8
|
-
principles must guide its growth.
|
|
9
|
-
|
|
10
|
-
Without DNA, a graph can collect objects and relations but still drift into an
|
|
11
|
-
uncontrolled archive. DNA keeps growth aligned with purpose.
|
|
12
|
-
|
|
13
|
-
## Definition
|
|
14
|
-
|
|
15
|
-
Graph DNA is the development contract of a graph.
|
|
16
|
-
|
|
17
|
-
It answers:
|
|
18
|
-
|
|
19
|
-
- why the graph exists;
|
|
20
|
-
- what larger system it serves;
|
|
21
|
-
- what kind of growth it should enable;
|
|
22
|
-
- which principles cannot be violated;
|
|
23
|
-
- which object families belong inside the graph;
|
|
24
|
-
- which entity families should become separate graphs;
|
|
25
|
-
- how success will be recognized.
|
|
26
|
-
|
|
27
|
-
## Minimum Fields
|
|
28
|
-
|
|
29
|
-
```json
|
|
30
|
-
{
|
|
31
|
-
"schema_version": "0.1.0",
|
|
32
|
-
"graph_id": "example.graph",
|
|
33
|
-
"purpose": "Why this graph exists.",
|
|
34
|
-
"parent_dna_ref": null,
|
|
35
|
-
"evolution_vector": "Where the graph should develop.",
|
|
36
|
-
"non_negotiable_principles": [],
|
|
37
|
-
"allowed_entity_families": [],
|
|
38
|
-
"success_criteria": []
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Alignment Rule
|
|
43
|
-
|
|
44
|
-
Every significant accepted object should be able to explain:
|
|
45
|
-
|
|
46
|
-
- how it serves the graph purpose;
|
|
47
|
-
- what it contributes to the evolution vector;
|
|
48
|
-
- what would be harmed if it were missing;
|
|
49
|
-
- whether it belongs in this graph or should become a separate graph.
|
|
50
|
-
|
|
51
|
-
If an object cannot answer these questions, keep it as a draft idea or separate
|
|
52
|
-
graph candidate.
|
|
53
|
-
|
|
54
|
-
## Relationship To Graph Seed
|
|
55
|
-
|
|
56
|
-
Graph DNA defines what the graph must become.
|
|
57
|
-
|
|
58
|
-
Graph Seed defines how the first controlled growth step should start.
|
|
59
|
-
|
|
60
|
-
```text
|
|
61
|
-
Graph DNA -> Graph Seed -> Graph Embryo -> Canonical Graph State
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Anti-Patterns
|
|
65
|
-
|
|
66
|
-
- Creating many objects without a purpose.
|
|
67
|
-
- Treating every related entity as part of the same graph.
|
|
68
|
-
- Adding relation types that do not support the evolution vector.
|
|
69
|
-
- Optimizing for local detail while losing the larger system goal.
|
|
70
|
-
- Changing DNA silently after downstream artifacts depend on it.
|
package/standard/graph-embryo.md
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Embryo
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
A Graph Embryo is the first candidate graph state generated from a Graph Seed.
|
|
8
|
-
|
|
9
|
-
It is reviewable and disposable until accepted. It should be small enough for
|
|
10
|
-
human review and structured enough to show the likely growth direction.
|
|
11
|
-
|
|
12
|
-
## Definition
|
|
13
|
-
|
|
14
|
-
A Graph Embryo contains candidate graph elements before canonical write:
|
|
15
|
-
|
|
16
|
-
- candidate objects;
|
|
17
|
-
- candidate relations;
|
|
18
|
-
- uncertain objects;
|
|
19
|
-
- missing evidence;
|
|
20
|
-
- rejected or deferred candidates;
|
|
21
|
-
- review questions;
|
|
22
|
-
- growth-gap notes.
|
|
23
|
-
|
|
24
|
-
## Relationship To Canonical State
|
|
25
|
-
|
|
26
|
-
The embryo is not canonical state.
|
|
27
|
-
|
|
28
|
-
Flow:
|
|
29
|
-
|
|
30
|
-
```text
|
|
31
|
-
Graph Seed -> Graph Embryo -> Review -> Accepted Canonical Graph State
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Only reviewed and accepted candidates should move into canonical graph state.
|
|
35
|
-
|
|
36
|
-
## Minimum Embryo Metadata
|
|
37
|
-
|
|
38
|
-
```json
|
|
39
|
-
{
|
|
40
|
-
"schema_version": "0.1.0",
|
|
41
|
-
"embryo_id": "embryo.example",
|
|
42
|
-
"seed_id": "seed.example",
|
|
43
|
-
"generated_at": "2026-05-28",
|
|
44
|
-
"candidate_objects": [],
|
|
45
|
-
"candidate_relations": [],
|
|
46
|
-
"uncertain_items": [],
|
|
47
|
-
"review_questions": [],
|
|
48
|
-
"stop_conditions_triggered": []
|
|
49
|
-
}
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Review Questions
|
|
53
|
-
|
|
54
|
-
A useful embryo should help reviewers answer:
|
|
55
|
-
|
|
56
|
-
- Which candidate objects belong in the graph?
|
|
57
|
-
- Which candidates should be rejected or deferred?
|
|
58
|
-
- Which relations are unsupported?
|
|
59
|
-
- Which evidence is missing?
|
|
60
|
-
- Which stop conditions were triggered?
|
|
61
|
-
- What should be accepted into canonical state?
|
|
62
|
-
|
|
63
|
-
## Anti-Patterns
|
|
64
|
-
|
|
65
|
-
- Treating the embryo as accepted graph state.
|
|
66
|
-
- Generating too many candidates for practical review.
|
|
67
|
-
- Hiding uncertain or rejected candidates.
|
|
68
|
-
- Dropping evidence gaps.
|
|
69
|
-
- Using embryo output as runtime context before review.
|
package/standard/graph-seed.md
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Seed
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
A Graph Seed is the controlled starting package for growing a Mirai Graph model.
|
|
8
|
-
|
|
9
|
-
Complex systems should not start as large hand-authored graphs. They should
|
|
10
|
-
start from a small seed that defines purpose, source boundaries, growth rules,
|
|
11
|
-
review gates and stop conditions.
|
|
12
|
-
|
|
13
|
-
## Definition
|
|
14
|
-
|
|
15
|
-
A Graph Seed is a machine-readable growth contract.
|
|
16
|
-
|
|
17
|
-
It answers:
|
|
18
|
-
|
|
19
|
-
- what graph should exist;
|
|
20
|
-
- why it should exist;
|
|
21
|
-
- which profile shapes it;
|
|
22
|
-
- what sources may be used;
|
|
23
|
-
- which object and relation families are allowed;
|
|
24
|
-
- what must be reviewed before canonical write;
|
|
25
|
-
- when growth should stop.
|
|
26
|
-
|
|
27
|
-
## Growth Flow
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
graph seed
|
|
31
|
-
-> profile expansion
|
|
32
|
-
-> candidate extraction
|
|
33
|
-
-> graph embryo
|
|
34
|
-
-> review packet
|
|
35
|
-
-> canonical accept
|
|
36
|
-
-> generated indexes/context/reports
|
|
37
|
-
-> readiness score
|
|
38
|
-
-> seed evolution
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Minimum Seed Fields
|
|
42
|
-
|
|
43
|
-
```json
|
|
44
|
-
{
|
|
45
|
-
"schema_version": "0.1.0",
|
|
46
|
-
"seed_id": "seed.example",
|
|
47
|
-
"target_graph_id": "example.graph",
|
|
48
|
-
"purpose": "Why this graph should exist.",
|
|
49
|
-
"target_profile": "profile.software_specification",
|
|
50
|
-
"target_mode": "discovery",
|
|
51
|
-
"graph_dna": {
|
|
52
|
-
"purpose": "Parent DNA draft.",
|
|
53
|
-
"evolution_vector": "How the graph should develop.",
|
|
54
|
-
"non_negotiable_principles": []
|
|
55
|
-
},
|
|
56
|
-
"source_boundaries": {
|
|
57
|
-
"allowed_sources": [],
|
|
58
|
-
"excluded_sources": [],
|
|
59
|
-
"canonical_write_allowed": false
|
|
60
|
-
},
|
|
61
|
-
"growth_rules": {
|
|
62
|
-
"allowed_object_families": [],
|
|
63
|
-
"allowed_relation_families": [],
|
|
64
|
-
"max_initial_objects": 20,
|
|
65
|
-
"depth_mode": "light"
|
|
66
|
-
},
|
|
67
|
-
"review_gates": [
|
|
68
|
-
"human_review_before_canonical_write",
|
|
69
|
-
"validate_before_generated_context"
|
|
70
|
-
],
|
|
71
|
-
"generated_views": [
|
|
72
|
-
"seed_preview",
|
|
73
|
-
"candidate_object_list",
|
|
74
|
-
"growth_gap_report"
|
|
75
|
-
],
|
|
76
|
-
"stop_conditions": []
|
|
77
|
-
}
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Target Modes
|
|
81
|
-
|
|
82
|
-
Initial target modes:
|
|
83
|
-
|
|
84
|
-
- `discovery`: understand a messy domain;
|
|
85
|
-
- `canonical`: prepare reviewed canonical graph state;
|
|
86
|
-
- `pilot`: support measured pilot work;
|
|
87
|
-
- `controlled_runtime`: support bounded runtime use with fallback;
|
|
88
|
-
- `production_runtime`: broad runtime use after repeated evidence.
|
|
89
|
-
|
|
90
|
-
## Human Control Rule
|
|
91
|
-
|
|
92
|
-
The user should not need to inspect the full graph first.
|
|
93
|
-
|
|
94
|
-
The seed should produce controlled views:
|
|
95
|
-
|
|
96
|
-
- seed summary;
|
|
97
|
-
- candidate objects;
|
|
98
|
-
- candidate relations;
|
|
99
|
-
- evidence gaps;
|
|
100
|
-
- risk view;
|
|
101
|
-
- readiness view;
|
|
102
|
-
- next-action view.
|
|
103
|
-
|
|
104
|
-
## Stop Conditions
|
|
105
|
-
|
|
106
|
-
Stop seed expansion when:
|
|
107
|
-
|
|
108
|
-
- purpose is vague;
|
|
109
|
-
- target profile is missing;
|
|
110
|
-
- source boundaries are unclear;
|
|
111
|
-
- candidate count exceeds growth budget;
|
|
112
|
-
- relation families are invented ad hoc;
|
|
113
|
-
- generated preview cannot explain why objects belong;
|
|
114
|
-
- canonical write is requested before review.
|
|
115
|
-
|
|
116
|
-
## Anti-Patterns
|
|
117
|
-
|
|
118
|
-
- Starting with the whole organization as one graph.
|
|
119
|
-
- Letting AI extraction write directly to canonical state.
|
|
120
|
-
- Expanding sources beyond the seed boundary.
|
|
121
|
-
- Treating a seed as the full graph.
|
|
122
|
-
- Ignoring stop conditions because the generated output looks useful.
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# Hybrid Source Of Truth
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Mirai Graph can act as the first machine-readable layer for routing, context,
|
|
8
|
-
capability discovery, readiness, gates and evidence. That does not mean the
|
|
9
|
-
graph replaces every original source.
|
|
10
|
-
|
|
11
|
-
Hybrid Source Of Truth defines how a Mirai Graph implementation can use graph
|
|
12
|
-
state for operational control while keeping domain source material authoritative
|
|
13
|
-
for meaning, judgement and sensitive procedures.
|
|
14
|
-
|
|
15
|
-
## Core Rule
|
|
16
|
-
|
|
17
|
-
```text
|
|
18
|
-
graph = routing, context, control, readiness and evidence layer
|
|
19
|
-
raw source = authoritative methodology, judgement and sensitive rules
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
A generated graph view may select what to read first. It must not silently
|
|
23
|
-
erase the authority of the source that created the meaning.
|
|
24
|
-
|
|
25
|
-
## Source Classes
|
|
26
|
-
|
|
27
|
-
A Mirai Graph implementation should classify sources before using them:
|
|
28
|
-
|
|
29
|
-
- `canonical`: approved source material or canonical graph state;
|
|
30
|
-
- `raw`: original source material that contains authoritative domain meaning;
|
|
31
|
-
- `generated`: derived context, report, dashboard or proposal;
|
|
32
|
-
- `evidence`: material used to support a claim or gate result;
|
|
33
|
-
- `draft`: working material that may be useful but is not authoritative;
|
|
34
|
-
- `deprecated`: material retained only for traceability.
|
|
35
|
-
|
|
36
|
-
## Authority Boundary
|
|
37
|
-
|
|
38
|
-
Canonical graph state may contain:
|
|
39
|
-
|
|
40
|
-
- stable object identifiers;
|
|
41
|
-
- typed relations;
|
|
42
|
-
- readiness state;
|
|
43
|
-
- evidence links;
|
|
44
|
-
- governance gates;
|
|
45
|
-
- adoption status;
|
|
46
|
-
- runtime policy references;
|
|
47
|
-
- generated view references.
|
|
48
|
-
|
|
49
|
-
Raw sources remain authoritative for:
|
|
50
|
-
|
|
51
|
-
- domain judgement;
|
|
52
|
-
- long-form procedures;
|
|
53
|
-
- sensitive runtime rules;
|
|
54
|
-
- safety constraints;
|
|
55
|
-
- legal, commercial or production-specific exceptions;
|
|
56
|
-
- source-writing permission.
|
|
57
|
-
|
|
58
|
-
Generated artifacts remain advisory unless an implementation explicitly accepts
|
|
59
|
-
them through a governance gate.
|
|
60
|
-
|
|
61
|
-
## Required Safeguards
|
|
62
|
-
|
|
63
|
-
A Hybrid Source Of Truth implementation should preserve these safeguards:
|
|
64
|
-
|
|
65
|
-
- generated context is not authorization;
|
|
66
|
-
- a runtime decision is not an executed action;
|
|
67
|
-
- feedback is not a canonical update;
|
|
68
|
-
- profile conformance is not semantic preservation;
|
|
69
|
-
- semantic preservation is not proof of effectiveness;
|
|
70
|
-
- effectiveness is not runtime safety.
|
|
71
|
-
|
|
72
|
-
## Graph-First Does Not Mean Graph-Only
|
|
73
|
-
|
|
74
|
-
Graph-first operation is allowed only when the graph is used as the first
|
|
75
|
-
navigation layer for a bounded task. It still requires fallback to raw sources
|
|
76
|
-
when coverage is missing, the task is sensitive, or the runtime policy requires
|
|
77
|
-
original source review.
|
|
78
|
-
|
|
79
|
-
Graph-only runtime should be treated as unsafe by default.
|
|
80
|
-
|
|
81
|
-
## Limited Claim
|
|
82
|
-
|
|
83
|
-
Passing a Hybrid Source Of Truth gate supports this limited claim:
|
|
84
|
-
|
|
85
|
-
```text
|
|
86
|
-
The Mirai Graph implementation preserves the authority boundary between graph
|
|
87
|
-
state, generated context and raw domain sources for the declared scope.
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
It does not prove semantic completeness, operational effectiveness or runtime
|
|
91
|
-
safety.
|