mirai-graph 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +376 -0
- package/CITATION.cff +20 -0
- package/LICENSE +21 -0
- package/LICENSE-DOCS +26 -0
- package/README.md +270 -0
- package/ROADMAP.md +225 -0
- package/benchmarks/protocols/measure-convert-optimize.md +131 -0
- package/benchmarks/synthetic-context-reduction-v0/README.md +70 -0
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +52 -0
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +31 -0
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +12 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +114 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +74 -0
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +22 -0
- package/benchmarks/synthetic-context-reduction-v0/mirai-graph-package.json +14 -0
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +42 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +181 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +8 -0
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +28 -0
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +24 -0
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +78 -0
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +42 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +31 -0
- package/docs/adoption/adopter-kit.md +179 -0
- package/docs/adoption/ai-employee-graph.md +151 -0
- package/docs/adoption/character-layer.md +196 -0
- package/docs/adoption/choose-profile.md +98 -0
- package/docs/adoption/cli.md +78 -0
- package/docs/adoption/developer-integration-guide.md +93 -0
- package/docs/adoption/end-to-end-control-loop.md +168 -0
- package/docs/adoption/getting-started.md +169 -0
- package/docs/adoption/mirai-graph-transition.md +64 -0
- package/docs/adoption/profile-conformance-fixtures.md +112 -0
- package/docs/adoption/seed-to-validated-package.md +121 -0
- package/docs/concept.md +109 -0
- package/docs/repository-purpose.md +421 -0
- package/docs/research/ai-work-field-instrumentation-bridge.md +126 -0
- package/docs/research/baseline-comparison-protocol.md +79 -0
- package/docs/research/evidence-package-v0.1.md +99 -0
- package/docs/research/evidence-package-v0.2.md +150 -0
- package/docs/research/evidence-package-v0.3.md +226 -0
- package/docs/research/independent-implementation-pilot-plan.md +74 -0
- package/docs/research/limitations-and-threats.md +40 -0
- package/docs/research/practice-science-program.md +232 -0
- package/docs/research/scientific-evidence-package.md +154 -0
- package/docs/research/semantic-completeness-review-protocol.md +70 -0
- package/docs/terminology.md +119 -0
- package/docs/transfer/ai-employee-profile-proposal.md +119 -0
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +28 -0
- package/docs/transfer/graph-capability-map-2026-05-29.md +126 -0
- package/docs/transfer/graph-skill-to-mirai-graph.md +128 -0
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +322 -0
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +113 -0
- package/docs/transfer/standard-gap-report-2026-05-28.md +208 -0
- package/examples/ai-employee-minimal/README.md +53 -0
- package/examples/ai-employee-minimal/gates/results.json +35 -0
- package/examples/ai-employee-minimal/graph/objects.json +187 -0
- package/examples/ai-employee-minimal/graph/relations.json +167 -0
- package/examples/ai-employee-minimal/mirai-graph-package.json +14 -0
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +28 -0
- package/examples/character-layer-integration-minimal/README.md +25 -0
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +53 -0
- package/examples/character-layer-minimal/README.md +29 -0
- package/examples/character-layer-minimal/gates/results.json +57 -0
- package/examples/character-layer-minimal/graph/objects.json +165 -0
- package/examples/character-layer-minimal/graph/relations.json +178 -0
- package/examples/character-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/character-layer-readiness-1-0/README.md +27 -0
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +90 -0
- package/examples/federation-routing-smoke/README.md +19 -0
- package/examples/federation-routing-smoke/federation-health-dashboard.json +42 -0
- package/examples/federation-routing-smoke/route-explanation.json +32 -0
- package/examples/federation-routing-smoke/route-regression-result.json +35 -0
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +8 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routing-fixture-run.json +66 -0
- package/examples/federation-routing-smoke/routing-fixtures.json +44 -0
- package/examples/graph-dna-alignment-minimal/README.md +16 -0
- package/examples/graph-dna-alignment-minimal/graph/objects.json +38 -0
- package/examples/graph-dna-alignment-minimal/graph/relations.json +20 -0
- package/examples/graph-dna-alignment-minimal/mirai-graph-package.json +14 -0
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +32 -0
- package/examples/graph-seed-minimal/README.md +9 -0
- package/examples/graph-seed-minimal/graph-embryo.json +63 -0
- package/examples/graph-seed-minimal/graph-seed.json +60 -0
- package/examples/implementation-control-cycles/README.md +47 -0
- package/examples/implementation-control-cycles/gates/results.json +22 -0
- package/examples/implementation-control-cycles/graph/objects.json +119 -0
- package/examples/implementation-control-cycles/graph/relations.json +200 -0
- package/examples/implementation-control-cycles/mirai-graph-package.json +14 -0
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +456 -0
- package/examples/implementation-control-minimal/README.md +39 -0
- package/examples/implementation-control-minimal/gates/results.json +42 -0
- package/examples/implementation-control-minimal/graph/objects.json +128 -0
- package/examples/implementation-control-minimal/graph/relations.json +128 -0
- package/examples/implementation-control-minimal/mirai-graph-package.json +14 -0
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +21 -0
- package/examples/instrumentation-layer-minimal/README.md +32 -0
- package/examples/instrumentation-layer-minimal/gates/results.json +11 -0
- package/examples/instrumentation-layer-minimal/graph/objects.json +74 -0
- package/examples/instrumentation-layer-minimal/graph/relations.json +56 -0
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +40 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +43 -0
- package/examples/instrumentation-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +68 -0
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +56 -0
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +72 -0
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +22 -0
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +1 -0
- package/examples/invalid-character-layer-context-authorization/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +22 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +1 -0
- package/examples/invalid-character-layer-correction-loop-no-review/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +22 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +1 -0
- package/examples/invalid-character-layer-feedback-auto-update/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-object-kind/graph/objects.json +22 -0
- package/examples/invalid-character-layer-object-kind/graph/relations.json +1 -0
- package/examples/invalid-character-layer-object-kind/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-direction/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-type/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-type/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-type/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-role-permission/graph/objects.json +22 -0
- package/examples/invalid-character-layer-role-permission/graph/relations.json +1 -0
- package/examples/invalid-character-layer-role-permission/mirai-graph-package.json +14 -0
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +25 -0
- package/examples/invalid-missing-relation-target/graph/objects.json +11 -0
- package/examples/invalid-missing-relation-target/graph/relations.json +11 -0
- package/examples/invalid-missing-relation-target/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-object-kind/graph/objects.json +20 -0
- package/examples/invalid-profile-object-kind/graph/relations.json +1 -0
- package/examples/invalid-profile-object-kind/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-relation-type/graph/objects.json +29 -0
- package/examples/invalid-profile-relation-type/graph/relations.json +11 -0
- package/examples/invalid-profile-relation-type/mirai-graph-package.json +11 -0
- package/examples/invalid-relation-id-mismatch/graph/objects.json +29 -0
- package/examples/invalid-relation-id-mismatch/graph/relations.json +11 -0
- package/examples/invalid-relation-id-mismatch/mirai-graph-package.json +11 -0
- package/examples/invalid-seed-unsafe-write/graph-seed.json +27 -0
- package/examples/launch-record-minimal/README.md +29 -0
- package/examples/launch-record-minimal/gates/results.json +12 -0
- package/examples/launch-record-minimal/graph/objects.json +47 -0
- package/examples/launch-record-minimal/graph/relations.json +38 -0
- package/examples/launch-record-minimal/mirai-graph-package.json +11 -0
- package/examples/launch-record-minimal/results/launch-record.json +51 -0
- package/examples/managed-project-control-loop/README.md +43 -0
- package/examples/managed-project-control-loop/gates/results.json +22 -0
- package/examples/managed-project-control-loop/graph/objects.json +119 -0
- package/examples/managed-project-control-loop/graph/relations.json +110 -0
- package/examples/managed-project-control-loop/mirai-graph-package.json +14 -0
- package/examples/managed-project-control-loop/results/managed-loop-result.json +21 -0
- package/examples/minimal-graph/README.md +15 -0
- package/examples/minimal-graph/gates/results.json +12 -0
- package/examples/minimal-graph/graph/objects.json +24 -0
- package/examples/minimal-graph/graph/relations.json +11 -0
- package/examples/minimal-graph/mirai-graph-package.json +14 -0
- package/examples/minimal-graph/results/profile-conformance-result.json +26 -0
- package/examples/model-portability-minimal/README.md +15 -0
- package/examples/model-portability-minimal/results/model-portability-evidence.json +55 -0
- package/examples/organization-governance-minimal/README.md +29 -0
- package/examples/organization-governance-minimal/gates/results.json +21 -0
- package/examples/organization-governance-minimal/graph/objects.json +147 -0
- package/examples/organization-governance-minimal/graph/relations.json +147 -0
- package/examples/organization-governance-minimal/mirai-graph-package.json +15 -0
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +31 -0
- package/examples/process-control-contract-minimal/README.md +19 -0
- package/examples/process-control-contract-minimal/graph/objects.json +38 -0
- package/examples/process-control-contract-minimal/graph/relations.json +29 -0
- package/examples/process-control-contract-minimal/mirai-graph-package.json +11 -0
- package/examples/process-control-contract-minimal/results/process-control-contract.json +58 -0
- package/examples/process-transition-minimal/README.md +25 -0
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +14 -0
- package/examples/process-transition-minimal/invalid-ready-to-written.json +14 -0
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +14 -0
- package/examples/process-transition-minimal/invalid-sync-to-update.json +14 -0
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +14 -0
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +14 -0
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +35 -0
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +34 -0
- package/examples/process-transition-minimal/state-machine.json +79 -0
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +14 -0
- package/examples/process-transition-minimal/transition-request.json +14 -0
- package/examples/risk-and-coordination-minimal/README.md +16 -0
- package/examples/risk-and-coordination-minimal/graph/objects.json +47 -0
- package/examples/risk-and-coordination-minimal/graph/relations.json +29 -0
- package/examples/risk-and-coordination-minimal/mirai-graph-package.json +14 -0
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +25 -0
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +34 -0
- package/examples/skill-runtime-minimal/README.md +29 -0
- package/examples/skill-runtime-minimal/gates/results.json +35 -0
- package/examples/skill-runtime-minimal/graph/objects.json +209 -0
- package/examples/skill-runtime-minimal/graph/relations.json +178 -0
- package/examples/skill-runtime-minimal/mirai-graph-package.json +14 -0
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +27 -0
- package/examples/source-boundary-minimal/README.md +16 -0
- package/examples/source-boundary-minimal/graph/objects.json +38 -0
- package/examples/source-boundary-minimal/graph/relations.json +20 -0
- package/examples/source-boundary-minimal/mirai-graph-package.json +14 -0
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +37 -0
- package/examples/technology-quality-feedback-minimal/README.md +33 -0
- package/examples/technology-quality-feedback-minimal/graph/objects.json +56 -0
- package/examples/technology-quality-feedback-minimal/graph/relations.json +47 -0
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +33 -0
- package/examples/technology-quality-feedback-minimal/mirai-graph-package.json +11 -0
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +80 -0
- package/examples/work-recovery-minimal/README.md +15 -0
- package/examples/work-recovery-minimal/graph/objects.json +47 -0
- package/examples/work-recovery-minimal/graph/relations.json +20 -0
- package/examples/work-recovery-minimal/mirai-graph-package.json +14 -0
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +17 -0
- package/examples/work-recovery-minimal/results/work-state-machine.json +21 -0
- package/package.json +104 -0
- package/packages/cli/adopter-workflow.js +227 -0
- package/packages/cli/context-pack.js +267 -0
- package/packages/cli/instrumentation-report.js +97 -0
- package/packages/cli/mirai-graph.js +121 -0
- package/packages/cli/mirai_graph.js +3 -0
- package/packages/cli/playground-demo.js +114 -0
- package/packages/cli/readiness-score.js +162 -0
- package/packages/cli/release-state.js +329 -0
- package/packages/cli/seed-preview.js +78 -0
- package/packages/cli/validate-adopter-workflow.js +63 -0
- package/packages/cli/validate-baseline-comparison.js +105 -0
- package/packages/cli/validate-mirai-graph.js +2434 -0
- package/packages/cli/validate-process-transition-report.js +105 -0
- package/packages/cli/validate-profile-results.js +64 -0
- package/packages/cli/validate-release-state.js +100 -0
- package/packages/cli/validate-routing-control-examples.js +79 -0
- package/pilots/independent-implementation-001-conference-planning/README.md +40 -0
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +12 -0
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +74 -0
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +56 -0
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +65 -0
- package/pilots/independent-implementation-001-conference-planning/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +120 -0
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +35 -0
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +81 -0
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +7 -0
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/README.md +40 -0
- package/pilots/independent-implementation-002-software-specification/gates/results.json +22 -0
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +101 -0
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +92 -0
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +72 -0
- package/pilots/independent-implementation-002-software-specification/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +142 -0
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +184 -0
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +90 -0
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +81 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +42 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +30 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +156 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +147 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +90 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +49 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-004-research-program/README.md +41 -0
- package/pilots/independent-implementation-004-research-program/gates/results.json +21 -0
- package/pilots/independent-implementation-004-research-program/graph/objects.json +102 -0
- package/pilots/independent-implementation-004-research-program/graph/relations.json +84 -0
- package/pilots/independent-implementation-004-research-program/graph-seed.json +76 -0
- package/pilots/independent-implementation-004-research-program/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +50 -0
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-005-organization-governance/README.md +42 -0
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +20 -0
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +137 -0
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +110 -0
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +97 -0
- package/pilots/independent-implementation-005-organization-governance/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +47 -0
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +29 -0
- package/playground/README.md +78 -0
- package/playground/demo-report.md +84 -0
- package/profiles/README.md +19 -0
- package/profiles/ai-employee/README.md +132 -0
- package/profiles/ai-employee/profile.json +58 -0
- package/profiles/character-layer/README.md +143 -0
- package/profiles/character-layer/profile.json +46 -0
- package/profiles/implementation-control/README.md +170 -0
- package/profiles/implementation-control/profile.json +106 -0
- package/profiles/organization-governance/README.md +61 -0
- package/profiles/organization-governance/profile.json +56 -0
- package/profiles/project-management/README.md +115 -0
- package/profiles/project-management/profile.json +31 -0
- package/profiles/skill-runtime/README.md +94 -0
- package/profiles/skill-runtime/profile.json +58 -0
- package/profiles/software-specification/README.md +142 -0
- package/profiles/software-specification/profile.json +31 -0
- package/publications/README.md +24 -0
- package/publications/preprint-note.md +11 -0
- package/publications/preprint-outline.md +45 -0
- package/releases/0.1.0-alpha.0.md +45 -0
- package/releases/0.1.0-alpha.1.md +63 -0
- package/releases/0.1.0-alpha.10.md +93 -0
- package/releases/0.1.0-alpha.11.md +114 -0
- package/releases/0.1.0-alpha.2.md +37 -0
- package/releases/0.1.0-alpha.3.md +61 -0
- package/releases/0.1.0-alpha.4.md +53 -0
- package/releases/0.1.0-alpha.5.md +48 -0
- package/releases/0.1.0-alpha.6.md +96 -0
- package/releases/0.1.0-alpha.7.md +114 -0
- package/releases/0.1.0-alpha.8.md +92 -0
- package/releases/0.1.0-alpha.9.md +80 -0
- package/releases/1.0.0-rc.1.md +112 -0
- package/releases/README.md +114 -0
- package/schemas/baseline-comparison-result.schema.json +87 -0
- package/schemas/character-layer-integration.schema.json +112 -0
- package/schemas/character-layer-readiness.schema.json +73 -0
- package/schemas/context-pack.schema.json +137 -0
- package/schemas/development-cockpit.schema.json +74 -0
- package/schemas/feature-implementation-traceability.schema.json +80 -0
- package/schemas/federation-health-dashboard.schema.json +47 -0
- package/schemas/gate-result.schema.json +44 -0
- package/schemas/graph-dna-alignment.schema.json +49 -0
- package/schemas/graph-embryo.schema.json +51 -0
- package/schemas/graph-seed.schema.json +137 -0
- package/schemas/implementation-control-cycle.schema.json +265 -0
- package/schemas/implementation-control-loop.schema.json +84 -0
- package/schemas/launch-record.schema.json +78 -0
- package/schemas/model-portability-evidence.schema.json +93 -0
- package/schemas/multi-agent-coordination.schema.json +35 -0
- package/schemas/multi-source-quality-feedback.schema.json +54 -0
- package/schemas/object.schema.json +49 -0
- package/schemas/package-manifest.schema.json +53 -0
- package/schemas/process-control-contract.schema.json +100 -0
- package/schemas/process-transition-request.schema.json +41 -0
- package/schemas/profile.schema.json +56 -0
- package/schemas/readiness-score.schema.json +43 -0
- package/schemas/recovery-resume-record.schema.json +25 -0
- package/schemas/relation.schema.json +43 -0
- package/schemas/risk-control-matrix.schema.json +36 -0
- package/schemas/route-explanation.schema.json +51 -0
- package/schemas/route-regression-result.schema.json +33 -0
- package/schemas/routing-fixture-run.schema.json +45 -0
- package/schemas/routing-fixtures.schema.json +59 -0
- package/schemas/source-boundary-contract.schema.json +31 -0
- package/schemas/technology-quality-feedback.schema.json +116 -0
- package/schemas/work-state-machine.schema.json +34 -0
- package/standard/action-runtime-boundary.md +99 -0
- package/standard/adoption-levels.md +69 -0
- package/standard/conformance-levels.md +133 -0
- package/standard/context-pack-generation.md +141 -0
- package/standard/development-cockpit.md +67 -0
- package/standard/evidence-provenance.md +128 -0
- package/standard/feature-implementation-traceability.md +68 -0
- package/standard/federation-health.md +42 -0
- package/standard/feedback-learning-gate.md +101 -0
- package/standard/governance.md +137 -0
- package/standard/graph-as-ai-brain.md +81 -0
- package/standard/graph-dna-alignment.md +50 -0
- package/standard/graph-dna.md +70 -0
- package/standard/graph-embryo.md +69 -0
- package/standard/graph-seed.md +122 -0
- package/standard/hybrid-source-of-truth.md +91 -0
- package/standard/implementation-control-cycles.md +194 -0
- package/standard/implementation-control.md +102 -0
- package/standard/launch-record.md +53 -0
- package/standard/lifecycle-readiness.md +159 -0
- package/standard/multi-agent-coordination.md +50 -0
- package/standard/multi-source-quality-feedback.md +71 -0
- package/standard/object-model.md +152 -0
- package/standard/organization-governance.md +84 -0
- package/standard/process-control-contract.md +53 -0
- package/standard/profiles.md +233 -0
- package/standard/projection-views.md +69 -0
- package/standard/recovery-resume.md +49 -0
- package/standard/relation-model.md +139 -0
- package/standard/risk-control-matrix.md +53 -0
- package/standard/route-explanation.md +35 -0
- package/standard/route-regression.md +33 -0
- package/standard/routing-fixtures.md +54 -0
- package/standard/runtime-enablement.md +85 -0
- package/standard/source-boundary-contract.md +49 -0
- package/standard/standard-v0.1.md +132 -0
- package/standard/technology-quality-feedback.md +97 -0
- package/standard/test-suite.md +105 -0
- package/standard/work-state-machine.md +62 -0
- package/templates/README.md +64 -0
- package/templates/ai-employee-starter/README.md +9 -0
- package/templates/ai-employee-starter/gates/results.json +12 -0
- package/templates/ai-employee-starter/graph/objects.json +90 -0
- package/templates/ai-employee-starter/graph/relations.json +47 -0
- package/templates/ai-employee-starter/mirai-graph-package.json +14 -0
- package/templates/character-layer-starter/README.md +39 -0
- package/templates/character-layer-starter/gates/results.json +20 -0
- package/templates/character-layer-starter/graph/objects.json +308 -0
- package/templates/character-layer-starter/graph/relations.json +344 -0
- package/templates/character-layer-starter/mirai-graph-package.json +14 -0
- package/templates/organization-governance-starter/README.md +9 -0
- package/templates/organization-governance-starter/gates/results.json +12 -0
- package/templates/organization-governance-starter/graph/objects.json +112 -0
- package/templates/organization-governance-starter/graph/relations.json +65 -0
- package/templates/organization-governance-starter/mirai-graph-package.json +14 -0
- package/templates/research-program-starter/README.md +9 -0
- package/templates/research-program-starter/gates/results.json +12 -0
- package/templates/research-program-starter/graph/objects.json +79 -0
- package/templates/research-program-starter/graph/relations.json +47 -0
- package/templates/research-program-starter/mirai-graph-package.json +14 -0
- package/templates/software-project-starter/README.md +9 -0
- package/templates/software-project-starter/gates/results.json +12 -0
- package/templates/software-project-starter/graph/objects.json +79 -0
- package/templates/software-project-starter/graph/relations.json +47 -0
- package/templates/software-project-starter/mirai-graph-package.json +14 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# Getting Started With Mirai Graph
|
|
2
|
+
|
|
3
|
+
Status: initial adoption guide
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
This guide helps a team create a first Mirai Graph package for a project,
|
|
8
|
+
product, organization or human-AI workflow.
|
|
9
|
+
|
|
10
|
+
For a shorter role-oriented entry point, start with the
|
|
11
|
+
[1.0 RC Adopter Kit](adopter-kit.md).
|
|
12
|
+
|
|
13
|
+
## Step 1: Choose The System Boundary
|
|
14
|
+
|
|
15
|
+
Define what the graph will manage.
|
|
16
|
+
|
|
17
|
+
Examples:
|
|
18
|
+
|
|
19
|
+
- one product;
|
|
20
|
+
- one software project;
|
|
21
|
+
- one research program;
|
|
22
|
+
- one organizational process;
|
|
23
|
+
- one AI-assisted workflow.
|
|
24
|
+
|
|
25
|
+
Avoid starting with the whole organization unless the immediate scope is clear.
|
|
26
|
+
|
|
27
|
+
Then choose the closest profile:
|
|
28
|
+
|
|
29
|
+
- software project or package -> `software_specification`;
|
|
30
|
+
- research or cross-functional work -> `project_management`;
|
|
31
|
+
- governed AI worker -> `ai_employee`;
|
|
32
|
+
- organization, department or portfolio governance -> `organization_governance`.
|
|
33
|
+
|
|
34
|
+
Use [Choose A Mirai Graph Profile](choose-profile.md) for the full profile and
|
|
35
|
+
starter-template map.
|
|
36
|
+
|
|
37
|
+
## Step 2: Create A Graph Seed
|
|
38
|
+
|
|
39
|
+
Start with a small seed:
|
|
40
|
+
|
|
41
|
+
- 3-10 objects;
|
|
42
|
+
- the most important relations;
|
|
43
|
+
- evidence boundaries;
|
|
44
|
+
- one target task;
|
|
45
|
+
- one readiness policy.
|
|
46
|
+
|
|
47
|
+
Do not try to model everything at once.
|
|
48
|
+
|
|
49
|
+
## Step 3: Create Package Files
|
|
50
|
+
|
|
51
|
+
Recommended minimal structure:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
mirai-graph-package.json
|
|
55
|
+
graph/
|
|
56
|
+
objects.json
|
|
57
|
+
relations.json
|
|
58
|
+
gates/
|
|
59
|
+
results.json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Use `examples/minimal-graph/` as a minimal reference or start from one of the
|
|
63
|
+
starter templates in `templates/`.
|
|
64
|
+
|
|
65
|
+
## Step 4: Define Objects
|
|
66
|
+
|
|
67
|
+
Create objects for things that need stable identity:
|
|
68
|
+
|
|
69
|
+
- goals;
|
|
70
|
+
- requirements;
|
|
71
|
+
- features;
|
|
72
|
+
- decisions;
|
|
73
|
+
- risks;
|
|
74
|
+
- tasks;
|
|
75
|
+
- components;
|
|
76
|
+
- evidence;
|
|
77
|
+
- governance gates.
|
|
78
|
+
|
|
79
|
+
Each object should have:
|
|
80
|
+
|
|
81
|
+
- `id`;
|
|
82
|
+
- `kind`;
|
|
83
|
+
- `title`;
|
|
84
|
+
- `summary`;
|
|
85
|
+
- `readiness`;
|
|
86
|
+
- `evidence`;
|
|
87
|
+
- `profile`.
|
|
88
|
+
|
|
89
|
+
## Step 5: Define Relations
|
|
90
|
+
|
|
91
|
+
Add relations only when the connection changes understanding, execution or
|
|
92
|
+
governance.
|
|
93
|
+
|
|
94
|
+
Common relation types:
|
|
95
|
+
|
|
96
|
+
- `depends_on`;
|
|
97
|
+
- `supports`;
|
|
98
|
+
- `blocks`;
|
|
99
|
+
- `implements`;
|
|
100
|
+
- `evidences`;
|
|
101
|
+
- `governs`;
|
|
102
|
+
- `generates`;
|
|
103
|
+
- `related_to`.
|
|
104
|
+
|
|
105
|
+
## Step 6: Validate The Package
|
|
106
|
+
|
|
107
|
+
Run:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
node packages/cli/validate-mirai-graph.js <package-dir>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Example:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
node packages/cli/validate-mirai-graph.js examples/minimal-graph
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
For a role-oriented starter workflow, run:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
node packages/cli/mirai-graph.js choose-profile
|
|
123
|
+
node packages/cli/mirai-graph.js adopter plan developer
|
|
124
|
+
node packages/cli/mirai-graph.js adopter report templates/software-project-starter
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Step 7: Generate A Context Pack
|
|
128
|
+
|
|
129
|
+
For the first iteration, write a simple manual context pack:
|
|
130
|
+
|
|
131
|
+
- task;
|
|
132
|
+
- included objects;
|
|
133
|
+
- included relations;
|
|
134
|
+
- evidence;
|
|
135
|
+
- assumptions;
|
|
136
|
+
- omissions;
|
|
137
|
+
- limitations.
|
|
138
|
+
|
|
139
|
+
Later, automate generation from the canonical graph.
|
|
140
|
+
|
|
141
|
+
## Step 8: Review Governance
|
|
142
|
+
|
|
143
|
+
Before using the graph for decisions or action, check:
|
|
144
|
+
|
|
145
|
+
- What is draft?
|
|
146
|
+
- What is accepted?
|
|
147
|
+
- What is blocked?
|
|
148
|
+
- What evidence is missing?
|
|
149
|
+
- What requires human approval?
|
|
150
|
+
- What cannot be published?
|
|
151
|
+
|
|
152
|
+
## Step 9: Grow Iteratively
|
|
153
|
+
|
|
154
|
+
Mirai Graph works best as an iterative model:
|
|
155
|
+
|
|
156
|
+
```text
|
|
157
|
+
seed -> embryo -> reviewed graph -> context packs -> task results -> graph updates
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Keep each growth step reviewable.
|
|
161
|
+
|
|
162
|
+
## Common Mistakes
|
|
163
|
+
|
|
164
|
+
- Modeling too much too early.
|
|
165
|
+
- Treating generated context as canonical state.
|
|
166
|
+
- Adding relations without evidence or direction.
|
|
167
|
+
- Publishing private material in examples.
|
|
168
|
+
- Claiming validation before tests exist.
|
|
169
|
+
- Skipping governance gates for action-capable workflows.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Mirai Graph Naming Transition
|
|
2
|
+
|
|
3
|
+
Status: alpha.9 transition note
|
|
4
|
+
|
|
5
|
+
Mirai Graph has completed its public naming transition. This document records
|
|
6
|
+
the current naming model and the boundaries for adopters.
|
|
7
|
+
|
|
8
|
+
The current naming model is:
|
|
9
|
+
|
|
10
|
+
- `Mirai` is the broader AI direction.
|
|
11
|
+
- `Mirai Graph` is the public standard, model and methodology.
|
|
12
|
+
- `mirai-graph` is the repository, package and primary CLI slug.
|
|
13
|
+
- `EOG` remains a scientific continuity term for earlier research framing.
|
|
14
|
+
|
|
15
|
+
The strategic goal of the rename is not cosmetic. It separates the future-facing
|
|
16
|
+
Mirai direction from earlier working labels and positions Mirai Graph as the
|
|
17
|
+
public graph standard for governed AI work: AI employees, projects,
|
|
18
|
+
organizations and research systems coordinated through state, evidence, gates,
|
|
19
|
+
feedback and controlled evolution.
|
|
20
|
+
|
|
21
|
+
## What Changed
|
|
22
|
+
|
|
23
|
+
- Package name: `mirai-graph`.
|
|
24
|
+
- Primary CLI: `node packages/cli/mirai-graph.js`.
|
|
25
|
+
- Preferred package manifest: `mirai-graph-package.json`.
|
|
26
|
+
- Public docs and examples use Mirai Graph naming.
|
|
27
|
+
|
|
28
|
+
## Current Command Surfaces
|
|
29
|
+
|
|
30
|
+
The supported alpha.9 local command surfaces are:
|
|
31
|
+
|
|
32
|
+
- `node packages/cli/mirai-graph.js`
|
|
33
|
+
- `node packages/cli/mirai_graph.js`
|
|
34
|
+
- `node packages/cli/validate-mirai-graph.js`
|
|
35
|
+
- `mirai-graph-package.json`
|
|
36
|
+
|
|
37
|
+
The underscore CLI is an alias for local environments that prefer identifier
|
|
38
|
+
style command names. It is not a separate standard.
|
|
39
|
+
|
|
40
|
+
## Migration Steps
|
|
41
|
+
|
|
42
|
+
1. Use `mirai-graph-package.json` for package manifests.
|
|
43
|
+
2. Use direct validator calls with
|
|
44
|
+
`node packages/cli/validate-mirai-graph.js`.
|
|
45
|
+
3. Use unified CLI calls with `node packages/cli/mirai-graph.js`.
|
|
46
|
+
4. Keep generated reports as historical evidence; do not rewrite evidence
|
|
47
|
+
payloads unless they are regenerated by the current tooling.
|
|
48
|
+
|
|
49
|
+
## Schema Namespace
|
|
50
|
+
|
|
51
|
+
Existing schema `$id` values may still use the previous namespace during the
|
|
52
|
+
transition. Mirai Graph will move schema namespaces only after the public domain
|
|
53
|
+
decision is confirmed. Schema `$id` changes should be treated as a compatibility
|
|
54
|
+
event, not as a cosmetic text edit.
|
|
55
|
+
|
|
56
|
+
## Boundary
|
|
57
|
+
|
|
58
|
+
The rename does not change the standard semantics:
|
|
59
|
+
|
|
60
|
+
- generated context is not canonical state;
|
|
61
|
+
- evidence and proposals do not authorize canonical updates;
|
|
62
|
+
- feedback does not automatically change behavior;
|
|
63
|
+
- readiness is not execution;
|
|
64
|
+
- command aliases are not new standards.
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Profile Conformance Fixtures
|
|
2
|
+
|
|
3
|
+
Status: initial public guide
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Profile conformance fixtures show how Mirai Graph validates that a package follows
|
|
8
|
+
the object kinds and relation types declared by its profile.
|
|
9
|
+
|
|
10
|
+
They are not scientific proof of real-world usefulness. They are executable
|
|
11
|
+
examples for implementers and regression checks for the public standard.
|
|
12
|
+
|
|
13
|
+
## Positive Fixtures
|
|
14
|
+
|
|
15
|
+
Positive fixtures are packages expected to pass validation.
|
|
16
|
+
|
|
17
|
+
| Fixture | Profile | Purpose |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| `pilots/independent-implementation-001-conference-planning/` | `project_management` | Small workflow package using goals, tasks, decisions, risks and governance gates. |
|
|
20
|
+
| `pilots/independent-implementation-002-software-specification/` | `software_specification` | Small software package using requirements, features, components, tasks, risks, constraints and decisions. |
|
|
21
|
+
| `pilots/independent-implementation-003-ai-employee-workflow/` | `ai_employee` | Small governed AI employee workflow package using roles, tools, policies, actions, feedback and learning gates. |
|
|
22
|
+
| `pilots/independent-implementation-004-research-program/` | `project_management` | Small research-program governance package using evidence, milestones, publication gates, risks and decisions. |
|
|
23
|
+
| `pilots/independent-implementation-005-organization-governance/` | `organization_governance` | Small organization governance package using mission, strategy, decision rights, controls, metrics, feedback and Kaizen. |
|
|
24
|
+
| `benchmarks/synthetic-context-reduction-v0/` | `software_specification` | Synthetic benchmark package for context-pack generation and semantic review. |
|
|
25
|
+
| `examples/ai-employee-minimal/` | `ai_employee` | Synthetic AI employee package using role, skill, knowledge, tool, policy, action boundary, feedback and learning gate. |
|
|
26
|
+
| `examples/skill-runtime-minimal/` | `skill_runtime` | Synthetic governed skill package using Hybrid SOT, runtime policy, fallback, projection view and federation contract boundaries. |
|
|
27
|
+
| `examples/minimal-graph/` | `core` | Minimal core package shape. |
|
|
28
|
+
|
|
29
|
+
Stored positive result artifacts:
|
|
30
|
+
|
|
31
|
+
- `examples/minimal-graph/results/profile-conformance-result.json`;
|
|
32
|
+
- `examples/ai-employee-minimal/results/profile-conformance-result.json`;
|
|
33
|
+
- `examples/skill-runtime-minimal/results/profile-conformance-result.json`;
|
|
34
|
+
- `benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json`;
|
|
35
|
+
- `pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json`;
|
|
36
|
+
- `pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json`;
|
|
37
|
+
- `pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json`;
|
|
38
|
+
- `pilots/independent-implementation-004-research-program/results/profile-conformance-result.json`.
|
|
39
|
+
- `pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json`.
|
|
40
|
+
|
|
41
|
+
## Negative Fixtures
|
|
42
|
+
|
|
43
|
+
Negative fixtures are packages expected to fail validation.
|
|
44
|
+
|
|
45
|
+
| Fixture | Expected failure |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| `examples/invalid-missing-relation-target/` | Relation target references a missing object. |
|
|
48
|
+
| `examples/invalid-relation-id-mismatch/` | Relation id disagrees with source, type and target fields. |
|
|
49
|
+
| `examples/invalid-profile-object-kind/` | Object kind is not allowed by the package profile. |
|
|
50
|
+
| `examples/invalid-profile-relation-type/` | Relation type is not allowed by the package profile. |
|
|
51
|
+
|
|
52
|
+
## Commands
|
|
53
|
+
|
|
54
|
+
Run the full conformance smoke suite:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npm run release:check
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Run only public pilot validation:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm run validate:pilots
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Run positive fixture result checks:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run validate:profile-results
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Run negative fixture checks:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm run test:negative
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Current Validator Scope
|
|
79
|
+
|
|
80
|
+
The validator currently checks:
|
|
81
|
+
|
|
82
|
+
- required package, object, relation and gate-result fields;
|
|
83
|
+
- unique object and relation ids;
|
|
84
|
+
- relation source and target existence;
|
|
85
|
+
- relation id consistency with source, type and target;
|
|
86
|
+
- readiness and gate verdict values;
|
|
87
|
+
- profile object-kind conformance;
|
|
88
|
+
- profile relation-type conformance.
|
|
89
|
+
|
|
90
|
+
## Current Limits
|
|
91
|
+
|
|
92
|
+
The fixtures do not yet prove:
|
|
93
|
+
|
|
94
|
+
- semantic completeness;
|
|
95
|
+
- real-world productivity;
|
|
96
|
+
- downstream AI task performance;
|
|
97
|
+
- runtime safety;
|
|
98
|
+
- external validity.
|
|
99
|
+
|
|
100
|
+
Semantic completeness is reviewed separately through
|
|
101
|
+
`docs/research/semantic-completeness-review-protocol.md`.
|
|
102
|
+
|
|
103
|
+
## Claim Rule
|
|
104
|
+
|
|
105
|
+
Passing profile conformance supports this limited claim:
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
The package follows the declared Mirai Graph profile shape checked by the current validator.
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
It does not support claims about correctness, usefulness or completeness of the
|
|
112
|
+
modeled domain.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# From Graph Seed To Validated Package
|
|
2
|
+
|
|
3
|
+
Status: worked tutorial
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
This tutorial shows the basic Mirai Graph adoption path:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
graph seed -> graph embryo preview -> graph package -> validation -> context pack -> readiness score
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
It uses the synthetic conference planning pilot.
|
|
14
|
+
|
|
15
|
+
## 1. Validate The Seed
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
node packages/cli/validate-mirai-graph.js seed pilots/independent-implementation-001-conference-planning/graph-seed.json
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Expected:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"valid": true,
|
|
26
|
+
"errors": [],
|
|
27
|
+
"warnings": []
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 2. Generate A Graph Embryo Preview
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
node packages/cli/seed-preview.js pilots/independent-implementation-001-conference-planning/graph-seed.json
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The embryo is a reviewable candidate state. It is not canonical graph state.
|
|
38
|
+
|
|
39
|
+
## 3. Create Package Files
|
|
40
|
+
|
|
41
|
+
Minimum package shape:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
mirai-graph-package.json
|
|
45
|
+
graph/
|
|
46
|
+
objects.json
|
|
47
|
+
relations.json
|
|
48
|
+
gates/
|
|
49
|
+
results.json
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Use the pilot package as an example:
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
pilots/independent-implementation-001-conference-planning/
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## 4. Validate The Package
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
node packages/cli/validate-mirai-graph.js pilots/independent-implementation-001-conference-planning
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Expected:
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"valid": true,
|
|
69
|
+
"errors": [],
|
|
70
|
+
"warnings": []
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## 5. Generate A Context Pack
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
node packages/cli/context-pack.js pilots/independent-implementation-001-conference-planning --task-id task.prepare_speaker_schedule
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Current release-candidate behavior:
|
|
81
|
+
|
|
82
|
+
The generator uses token matching and one-hop relation expansion. It remains an
|
|
83
|
+
alpha generator and does not prove semantic completeness.
|
|
84
|
+
|
|
85
|
+
## 6. Score Readiness
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
node packages/cli/readiness-score.js pilots/independent-implementation-001-conference-planning --target-mode pilot
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Interpretation:
|
|
92
|
+
|
|
93
|
+
Readiness score is a navigation signal, not approval. Synthetic-only evidence
|
|
94
|
+
and missing benchmark evidence cap the score.
|
|
95
|
+
|
|
96
|
+
## 7. Record Findings
|
|
97
|
+
|
|
98
|
+
Write a pilot report:
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
pilots/<pilot-id>/reports/pilot-report.md
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
At minimum record:
|
|
105
|
+
|
|
106
|
+
- domain;
|
|
107
|
+
- research question;
|
|
108
|
+
- validation result;
|
|
109
|
+
- readiness score;
|
|
110
|
+
- what worked;
|
|
111
|
+
- gaps found;
|
|
112
|
+
- supported claims;
|
|
113
|
+
- unsupported claims.
|
|
114
|
+
|
|
115
|
+
## Common Mistakes
|
|
116
|
+
|
|
117
|
+
- Treating embryo output as canonical graph state.
|
|
118
|
+
- Skipping public-safety gate results.
|
|
119
|
+
- Creating relations to missing objects.
|
|
120
|
+
- Using readiness score as approval.
|
|
121
|
+
- Claiming practical improvement without a baseline comparison.
|
package/docs/concept.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Mirai Graph Concept
|
|
2
|
+
|
|
3
|
+
Mirai Graph is an evolutionary graph operating model for managing the growth of
|
|
4
|
+
complex systems.
|
|
5
|
+
|
|
6
|
+
It starts from a practical problem: complex work is usually distributed across
|
|
7
|
+
documents, chats, trackers, code repositories, policies, decisions and human
|
|
8
|
+
memory. As the system grows, context becomes fragmented. AI assistants can help,
|
|
9
|
+
but only when they receive the right working context and can distinguish facts,
|
|
10
|
+
decisions, evidence, uncertainty and permitted actions.
|
|
11
|
+
|
|
12
|
+
Mirai Graph addresses this by separating:
|
|
13
|
+
|
|
14
|
+
- canonical graph state;
|
|
15
|
+
- generated context packs;
|
|
16
|
+
- evidence and provenance;
|
|
17
|
+
- readiness and lifecycle state;
|
|
18
|
+
- profiles;
|
|
19
|
+
- governance gates;
|
|
20
|
+
- implementation tooling.
|
|
21
|
+
|
|
22
|
+
Mirai Graph is also the graph foundation for the broader Mirai direction:
|
|
23
|
+
governed AI systems that do useful work without losing traceability, approval
|
|
24
|
+
boundaries or process discipline.
|
|
25
|
+
|
|
26
|
+
## Core Idea
|
|
27
|
+
|
|
28
|
+
A complex system can be represented as an evolving graph where objects,
|
|
29
|
+
relations, evidence, decisions and feedback loops are maintained as structured
|
|
30
|
+
state.
|
|
31
|
+
|
|
32
|
+
This graph is not only a knowledge map. It is an operating model:
|
|
33
|
+
|
|
34
|
+
- it helps people and AI systems understand what exists;
|
|
35
|
+
- it shows how parts depend on each other;
|
|
36
|
+
- it records what is known, assumed, ready, blocked or disputed;
|
|
37
|
+
- it generates context for specific tasks;
|
|
38
|
+
- it defines where human approval or governance is required;
|
|
39
|
+
- it supports controlled growth over time.
|
|
40
|
+
|
|
41
|
+
For AI systems, this means an agent should not be modeled as only a prompt,
|
|
42
|
+
persona or chat history. A governed AI agent should be modeled as graph-backed
|
|
43
|
+
state plus runtime boundaries: roles, skills, knowledge, memory, tools,
|
|
44
|
+
policies, workflows, actions, results, feedback and lessons.
|
|
45
|
+
|
|
46
|
+
## Key Distinction
|
|
47
|
+
|
|
48
|
+
Mirai Graph does not treat generated AI context as the source of truth.
|
|
49
|
+
|
|
50
|
+
The source of truth is the canonical graph state. A generated context pack is a
|
|
51
|
+
task-specific view derived from that state.
|
|
52
|
+
|
|
53
|
+
This distinction matters because generated context can be useful but temporary,
|
|
54
|
+
partial and task-dependent. The canonical graph is maintained with evidence,
|
|
55
|
+
readiness and governance rules.
|
|
56
|
+
|
|
57
|
+
## Minimal Flow
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
source material -> graph seed -> graph embryo -> canonical graph state
|
|
61
|
+
canonical graph state -> generated context pack -> task execution
|
|
62
|
+
task result -> evidence / event / decision -> graph update gate
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
For governed work, the fuller loop is:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
intent -> graph state -> context -> launch -> transition -> evidence
|
|
69
|
+
-> technology quality feedback -> approval -> controlled update -> Kaizen
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## What Mirai Graph Can Model
|
|
73
|
+
|
|
74
|
+
- requirements;
|
|
75
|
+
- features;
|
|
76
|
+
- initiatives;
|
|
77
|
+
- risks;
|
|
78
|
+
- decisions;
|
|
79
|
+
- evidence;
|
|
80
|
+
- tasks;
|
|
81
|
+
- policies;
|
|
82
|
+
- stakeholders;
|
|
83
|
+
- system components;
|
|
84
|
+
- feedback signals;
|
|
85
|
+
- governance gates;
|
|
86
|
+
- maturity and readiness states.
|
|
87
|
+
|
|
88
|
+
## Why Growth
|
|
89
|
+
|
|
90
|
+
The model is called Mirai Graph because the main concern is controlled growth:
|
|
91
|
+
|
|
92
|
+
- growth of a project from idea to system;
|
|
93
|
+
- growth of product knowledge;
|
|
94
|
+
- growth of an organization;
|
|
95
|
+
- growth of human-AI operating capacity;
|
|
96
|
+
- growth from raw information to governed action.
|
|
97
|
+
|
|
98
|
+
The model should help a system evolve without losing traceability, context,
|
|
99
|
+
evidence or control.
|
|
100
|
+
|
|
101
|
+
## Evidence Level
|
|
102
|
+
|
|
103
|
+
The current model is early. It is supported by internal case-study experience,
|
|
104
|
+
conceptual modeling and synthetic public-safe examples. Broader external
|
|
105
|
+
validity requires reproducible benchmarks, independent review and cross-domain
|
|
106
|
+
replication.
|
|
107
|
+
|
|
108
|
+
Do not treat Mirai Graph as universally validated until those validation steps
|
|
109
|
+
exist.
|