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,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/relation.schema.json",
|
|
4
|
+
"title": "Mirai Graph Relation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["id", "type", "source", "target", "readiness", "evidence", "profile"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"pattern": "^relation\\.[a-z0-9_.]+$"
|
|
13
|
+
},
|
|
14
|
+
"type": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1
|
|
17
|
+
},
|
|
18
|
+
"source": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1
|
|
21
|
+
},
|
|
22
|
+
"target": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1
|
|
25
|
+
},
|
|
26
|
+
"readiness": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": ["draft", "review_ready", "accepted", "blocked", "deprecated"]
|
|
29
|
+
},
|
|
30
|
+
"evidence": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1
|
|
35
|
+
},
|
|
36
|
+
"uniqueItems": true
|
|
37
|
+
},
|
|
38
|
+
"profile": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/risk-control-matrix.schema.json",
|
|
4
|
+
"title": "Mirai Graph Risk Control Matrix",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema_version", "id", "profile", "public_safety", "risks", "evidence_refs", "limitations"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "type": "string", "minLength": 1 },
|
|
10
|
+
"id": { "type": "string", "minLength": 1 },
|
|
11
|
+
"profile": { "const": "implementation_control" },
|
|
12
|
+
"public_safety": { "const": "synthetic_public" },
|
|
13
|
+
"risks": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": ["id", "severity", "description", "detection_signal", "prevention", "gate_or_validator", "evidence_requirement", "recovery_action", "escalation_rule", "owner_role"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": { "type": "string", "minLength": 1 },
|
|
21
|
+
"severity": { "enum": ["critical", "high", "medium", "low"] },
|
|
22
|
+
"description": { "type": "string", "minLength": 1 },
|
|
23
|
+
"detection_signal": { "type": "string", "minLength": 1 },
|
|
24
|
+
"prevention": { "type": "string", "minLength": 1 },
|
|
25
|
+
"gate_or_validator": { "type": "string", "minLength": 1 },
|
|
26
|
+
"evidence_requirement": { "type": "string", "minLength": 1 },
|
|
27
|
+
"recovery_action": { "type": "string", "minLength": 1 },
|
|
28
|
+
"escalation_rule": { "type": "string", "minLength": 1 },
|
|
29
|
+
"owner_role": { "type": "string", "minLength": 1 }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"evidence_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
34
|
+
"limitations": { "type": "array", "items": { "type": "string" } }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/route-explanation.schema.json",
|
|
4
|
+
"title": "Mirai Graph Route Explanation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"route_id",
|
|
10
|
+
"request",
|
|
11
|
+
"primary_owner",
|
|
12
|
+
"companion_owners",
|
|
13
|
+
"routing_reasons",
|
|
14
|
+
"required_gates",
|
|
15
|
+
"fallback_required",
|
|
16
|
+
"canonical_write_allowed"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schema_version": { "type": "string" },
|
|
20
|
+
"route_id": { "type": "string", "minLength": 1 },
|
|
21
|
+
"request": { "type": "string", "minLength": 1 },
|
|
22
|
+
"primary_owner": { "type": "string", "minLength": 1 },
|
|
23
|
+
"companion_owners": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": { "type": "string", "minLength": 1 }
|
|
26
|
+
},
|
|
27
|
+
"rejected_candidates": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
30
|
+
},
|
|
31
|
+
"routing_reasons": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": { "type": "string", "minLength": 1 }
|
|
34
|
+
},
|
|
35
|
+
"why_primary": { "type": "string", "minLength": 1 },
|
|
36
|
+
"why_not_other_candidates": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
39
|
+
},
|
|
40
|
+
"required_gates": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": { "type": "string", "minLength": 1 }
|
|
43
|
+
},
|
|
44
|
+
"fallback_required": { "type": "boolean" },
|
|
45
|
+
"risk_class": { "type": "string", "minLength": 1 },
|
|
46
|
+
"runtime_preflight_ref": { "type": ["string", "null"] },
|
|
47
|
+
"route_evidence_ref": { "type": "string", "minLength": 1 },
|
|
48
|
+
"explanation_source": { "type": "string", "minLength": 1 },
|
|
49
|
+
"canonical_write_allowed": { "const": false }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/route-regression-result.schema.json",
|
|
4
|
+
"title": "Mirai Graph Route Regression Result",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"run_id",
|
|
10
|
+
"after_route_result_ref",
|
|
11
|
+
"diff",
|
|
12
|
+
"regression_status",
|
|
13
|
+
"canonical_write_allowed"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schema_version": { "type": "string" },
|
|
17
|
+
"run_id": { "type": "string", "minLength": 1 },
|
|
18
|
+
"before_route_result_ref": { "type": ["string", "null"] },
|
|
19
|
+
"baseline_route_result_ref": { "type": ["string", "null"] },
|
|
20
|
+
"after_route_result_ref": { "type": "string", "minLength": 1 },
|
|
21
|
+
"current_route_result_ref": { "type": "string", "minLength": 1 },
|
|
22
|
+
"diff": { "type": "object", "additionalProperties": true },
|
|
23
|
+
"route_diffs": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
26
|
+
},
|
|
27
|
+
"regression_status": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": ["improved", "unchanged", "regressed", "blocked", "insufficient_evidence"]
|
|
30
|
+
},
|
|
31
|
+
"canonical_write_allowed": { "const": false }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/routing-fixture-run.schema.json",
|
|
4
|
+
"title": "Mirai Graph Routing Fixture Run",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema_version", "run_id", "fixture_set_ref", "summary", "results", "canonical_write_allowed"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "type": "string" },
|
|
10
|
+
"run_id": { "type": "string", "minLength": 1 },
|
|
11
|
+
"fixture_set_ref": { "type": "string", "minLength": 1 },
|
|
12
|
+
"summary": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": true,
|
|
15
|
+
"required": ["fixture_count", "passed", "failed", "blocked"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"fixture_count": { "type": "integer", "minimum": 0 },
|
|
18
|
+
"passed": { "type": "integer", "minimum": 0 },
|
|
19
|
+
"failed": { "type": "integer", "minimum": 0 },
|
|
20
|
+
"blocked": { "type": "integer", "minimum": 0 }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"results": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": true,
|
|
28
|
+
"required": ["fixture_id", "status", "checks"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"fixture_id": { "type": "string", "minLength": 1 },
|
|
31
|
+
"status": { "type": "string", "enum": ["passed", "failed", "blocked"] },
|
|
32
|
+
"route_result_ref": { "type": "string", "minLength": 1 },
|
|
33
|
+
"execution_evidence_ref": { "type": "string", "minLength": 1 },
|
|
34
|
+
"route_explanation_ref": { "type": ["string", "null"] },
|
|
35
|
+
"high_risk_route": { "type": "boolean" },
|
|
36
|
+
"checks": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"canonical_write_allowed": { "const": false }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/routing-fixtures.schema.json",
|
|
4
|
+
"title": "Mirai Graph Routing Fixtures",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema_version", "fixture_set_id", "fixtures", "canonical_write_allowed"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "type": "string" },
|
|
10
|
+
"fixture_set_id": { "type": "string", "minLength": 1 },
|
|
11
|
+
"fixtures": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": true,
|
|
16
|
+
"required": [
|
|
17
|
+
"fixture_id",
|
|
18
|
+
"user_request",
|
|
19
|
+
"expected_primary_owner",
|
|
20
|
+
"expected_companion_owners",
|
|
21
|
+
"forbidden_route_shapes",
|
|
22
|
+
"required_gates",
|
|
23
|
+
"expected_fallback_required"
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"fixture_id": { "type": "string", "minLength": 1 },
|
|
27
|
+
"user_request": { "type": "string", "minLength": 1 },
|
|
28
|
+
"expected_primary_owner": { "type": "string", "minLength": 1 },
|
|
29
|
+
"expected_companion_owners": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": { "type": "string", "minLength": 1 }
|
|
32
|
+
},
|
|
33
|
+
"forbidden_route_shapes": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": true,
|
|
38
|
+
"required": ["primary_owner", "without_companions"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"primary_owner": { "type": "string", "minLength": 1 },
|
|
41
|
+
"without_companions": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": { "type": "string", "minLength": 1 }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required_gates": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": { "type": "string", "minLength": 1 }
|
|
51
|
+
},
|
|
52
|
+
"expected_fallback_required": { "type": "boolean" },
|
|
53
|
+
"high_risk_route": { "type": "boolean" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"canonical_write_allowed": { "const": false }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/source-boundary-contract.schema.json",
|
|
4
|
+
"title": "Mirai Graph Source Boundary Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema_version", "id", "profile", "public_safety", "source_roles", "promotion_rule", "rejected_promotion_targets", "evidence_refs", "limitations"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "type": "string", "minLength": 1 },
|
|
10
|
+
"id": { "type": "string", "minLength": 1 },
|
|
11
|
+
"profile": { "const": "implementation_control" },
|
|
12
|
+
"public_safety": { "const": "synthetic_public" },
|
|
13
|
+
"source_roles": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": ["role", "description", "canonical_write_allowed"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"role": { "type": "string", "minLength": 1 },
|
|
21
|
+
"description": { "type": "string", "minLength": 1 },
|
|
22
|
+
"canonical_write_allowed": { "type": "boolean" }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"promotion_rule": { "type": "string", "minLength": 1 },
|
|
27
|
+
"rejected_promotion_targets": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
28
|
+
"evidence_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
29
|
+
"limitations": { "type": "array", "items": { "type": "string" } }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/technology-quality-feedback.schema.json",
|
|
4
|
+
"title": "Mirai Graph Technology Quality Feedback",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"id",
|
|
10
|
+
"profile",
|
|
11
|
+
"public_safety",
|
|
12
|
+
"technology_ref",
|
|
13
|
+
"process_id",
|
|
14
|
+
"launch_record_ref",
|
|
15
|
+
"work_evidence_refs",
|
|
16
|
+
"required_steps",
|
|
17
|
+
"completed_steps",
|
|
18
|
+
"missing_steps",
|
|
19
|
+
"review_dimensions",
|
|
20
|
+
"findings",
|
|
21
|
+
"feedback_classification",
|
|
22
|
+
"blocking_findings",
|
|
23
|
+
"verdict",
|
|
24
|
+
"next_transition",
|
|
25
|
+
"kaizen_refs",
|
|
26
|
+
"evidence_refs",
|
|
27
|
+
"limitations"
|
|
28
|
+
],
|
|
29
|
+
"properties": {
|
|
30
|
+
"schema_version": { "type": "string", "minLength": 1 },
|
|
31
|
+
"id": { "type": "string", "minLength": 1 },
|
|
32
|
+
"profile": { "const": "implementation_control" },
|
|
33
|
+
"public_safety": { "const": "synthetic_public" },
|
|
34
|
+
"technology_ref": { "type": "string", "minLength": 1 },
|
|
35
|
+
"process_id": { "type": "string", "minLength": 1 },
|
|
36
|
+
"launch_record_ref": { "type": "string", "minLength": 1 },
|
|
37
|
+
"work_evidence_refs": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"minItems": 1,
|
|
40
|
+
"items": { "type": "string", "minLength": 1 }
|
|
41
|
+
},
|
|
42
|
+
"required_steps": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"minItems": 1,
|
|
45
|
+
"items": { "type": "string", "minLength": 1 }
|
|
46
|
+
},
|
|
47
|
+
"completed_steps": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": { "type": "string", "minLength": 1 }
|
|
50
|
+
},
|
|
51
|
+
"missing_steps": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": { "type": "string", "minLength": 1 }
|
|
54
|
+
},
|
|
55
|
+
"review_dimensions": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"minItems": 1,
|
|
58
|
+
"items": { "type": "string", "minLength": 1 }
|
|
59
|
+
},
|
|
60
|
+
"findings": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": [
|
|
65
|
+
"id",
|
|
66
|
+
"dimension",
|
|
67
|
+
"classification",
|
|
68
|
+
"severity",
|
|
69
|
+
"summary",
|
|
70
|
+
"evidence_refs",
|
|
71
|
+
"next_route",
|
|
72
|
+
"blocking"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"id": { "type": "string", "minLength": 1 },
|
|
76
|
+
"dimension": { "type": "string", "minLength": 1 },
|
|
77
|
+
"classification": { "type": "string", "minLength": 1 },
|
|
78
|
+
"severity": { "type": "string", "minLength": 1 },
|
|
79
|
+
"summary": { "type": "string", "minLength": 1 },
|
|
80
|
+
"evidence_refs": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"minItems": 1,
|
|
83
|
+
"items": { "type": "string", "minLength": 1 }
|
|
84
|
+
},
|
|
85
|
+
"next_route": { "type": "string", "minLength": 1 },
|
|
86
|
+
"blocking": { "type": "boolean" }
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"feedback_classification": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"minItems": 1,
|
|
93
|
+
"items": { "type": "string", "minLength": 1 }
|
|
94
|
+
},
|
|
95
|
+
"blocking_findings": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": { "type": "string", "minLength": 1 }
|
|
98
|
+
},
|
|
99
|
+
"verdict": { "type": "string", "minLength": 1 },
|
|
100
|
+
"next_transition": { "type": "string", "minLength": 1 },
|
|
101
|
+
"kaizen_refs": {
|
|
102
|
+
"type": "array",
|
|
103
|
+
"items": { "type": "string", "minLength": 1 }
|
|
104
|
+
},
|
|
105
|
+
"evidence_refs": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"minItems": 1,
|
|
108
|
+
"items": { "type": "string", "minLength": 1 }
|
|
109
|
+
},
|
|
110
|
+
"limitations": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"items": { "type": "string", "minLength": 1 }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mirai-graph.dev/schemas/work-state-machine.schema.json",
|
|
4
|
+
"title": "Mirai Graph Work State Machine",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema_version", "id", "profile", "public_safety", "states", "transitions", "false_transition_guards", "evidence_refs", "limitations"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "type": "string", "minLength": 1 },
|
|
10
|
+
"id": { "type": "string", "minLength": 1 },
|
|
11
|
+
"profile": { "const": "implementation_control" },
|
|
12
|
+
"public_safety": { "const": "synthetic_public" },
|
|
13
|
+
"states": { "type": "array", "minItems": 2, "items": { "type": "string", "minLength": 1 } },
|
|
14
|
+
"terminal_states": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
15
|
+
"transitions": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"minItems": 1,
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"required": ["from", "to", "requires_evidence"],
|
|
21
|
+
"properties": {
|
|
22
|
+
"from": { "type": "string", "minLength": 1 },
|
|
23
|
+
"to": { "type": "string", "minLength": 1 },
|
|
24
|
+
"requires_evidence": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
25
|
+
"requires_launch_record": { "type": "boolean" },
|
|
26
|
+
"terminal_requires_kaizen": { "type": "boolean" }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"false_transition_guards": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
31
|
+
"evidence_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
32
|
+
"limitations": { "type": "array", "items": { "type": "string" } }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Action Runtime Boundary
|
|
2
|
+
|
|
3
|
+
Status: alpha standard draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
This section defines the boundary between Mirai Graph canonical state and
|
|
8
|
+
action-capable runtime behavior.
|
|
9
|
+
|
|
10
|
+
The boundary is required for AI employees, automation systems and any
|
|
11
|
+
Mirai Graph implementation that can affect external systems.
|
|
12
|
+
|
|
13
|
+
## State Sequence
|
|
14
|
+
|
|
15
|
+
Action-capable implementations should preserve this sequence:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
canonical graph state
|
|
19
|
+
-> generated context
|
|
20
|
+
-> runtime decision
|
|
21
|
+
-> proposed action
|
|
22
|
+
-> approval gate
|
|
23
|
+
-> executed action
|
|
24
|
+
-> audited result
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Canonical Graph State
|
|
28
|
+
|
|
29
|
+
Canonical graph state is the source of truth for durable objects, relations,
|
|
30
|
+
policies, evidence, readiness and governance records.
|
|
31
|
+
|
|
32
|
+
It may say that an AI employee has a role, can use a tool or follows a policy.
|
|
33
|
+
It does not prove that a particular runtime action should execute now.
|
|
34
|
+
|
|
35
|
+
## Generated Context
|
|
36
|
+
|
|
37
|
+
Generated context is a task-bounded view derived from canonical state.
|
|
38
|
+
|
|
39
|
+
It helps a human or AI system reason about a task. It is not authorization.
|
|
40
|
+
|
|
41
|
+
## Runtime Decision
|
|
42
|
+
|
|
43
|
+
A runtime decision is a transient conclusion produced by an implementation.
|
|
44
|
+
|
|
45
|
+
It may recommend an action, escalation, delegation or no-op. It should record
|
|
46
|
+
the context, policy and evidence it used.
|
|
47
|
+
|
|
48
|
+
## Proposed Action
|
|
49
|
+
|
|
50
|
+
A proposed action describes what the runtime wants to do before execution.
|
|
51
|
+
|
|
52
|
+
It should include:
|
|
53
|
+
|
|
54
|
+
- action id;
|
|
55
|
+
- actor;
|
|
56
|
+
- target system or object;
|
|
57
|
+
- required capability;
|
|
58
|
+
- applicable policy;
|
|
59
|
+
- approval requirement;
|
|
60
|
+
- expected result;
|
|
61
|
+
- rollback or recovery note when relevant.
|
|
62
|
+
|
|
63
|
+
## Approval Gate
|
|
64
|
+
|
|
65
|
+
An approval gate decides whether a proposed action may execute.
|
|
66
|
+
|
|
67
|
+
Approval may be automatic for low-risk actions when policy allows it. It should
|
|
68
|
+
be explicit for external, irreversible, sensitive, permission-changing or
|
|
69
|
+
public-facing actions.
|
|
70
|
+
|
|
71
|
+
## Executed Action
|
|
72
|
+
|
|
73
|
+
An executed action records that a runtime operation actually happened.
|
|
74
|
+
|
|
75
|
+
It should not be represented only as an intended task. It needs execution
|
|
76
|
+
evidence, timestamp or version reference, status and actor/runtime identity
|
|
77
|
+
where available.
|
|
78
|
+
|
|
79
|
+
## Audited Result
|
|
80
|
+
|
|
81
|
+
An audited result records the observed outcome and whether it matched the
|
|
82
|
+
expected result.
|
|
83
|
+
|
|
84
|
+
Results may produce feedback, lessons, risks or follow-up actions. They should
|
|
85
|
+
not silently update canonical behavior without a learning gate.
|
|
86
|
+
|
|
87
|
+
## Minimum Safety Rule
|
|
88
|
+
|
|
89
|
+
```text
|
|
90
|
+
generated context != authorization
|
|
91
|
+
runtime decision != executed action
|
|
92
|
+
feedback != canonical update
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Implementation Note
|
|
96
|
+
|
|
97
|
+
Mirai Graph can model this boundary. The runtime implementation remains
|
|
98
|
+
responsible for authentication, authorization, tool sandboxing, retries,
|
|
99
|
+
timeouts, logging, rollback and operational security.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Mirai Graph Adoption Levels
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Mirai Graph adoption is not binary. A repository, project, product, AI employee
|
|
8
|
+
or skill can contain valid graph artifacts without being ready for runtime use
|
|
9
|
+
or source-of-truth migration.
|
|
10
|
+
|
|
11
|
+
Adoption levels define a staged path from no graph artifacts to a governed
|
|
12
|
+
graph-first source candidate.
|
|
13
|
+
|
|
14
|
+
## Levels
|
|
15
|
+
|
|
16
|
+
| Level | Name | Meaning |
|
|
17
|
+
| --- | --- | --- |
|
|
18
|
+
| GGA0 | `not_started` | No Mirai Graph artifacts are present. |
|
|
19
|
+
| GGA1 | `inventoried` | Sources, owner boundaries and target scope are identified. |
|
|
20
|
+
| GGA2 | `seeded` | A Graph Seed exists and validates. |
|
|
21
|
+
| GGA3 | `embryo_reviewable` | Graph Embryo and initial projection views exist. |
|
|
22
|
+
| GGA4 | `scored` | Readiness, quality or control dashboard evidence exists. |
|
|
23
|
+
| GGA5 | `proposal_gated` | Candidate graph changes pass through proposal, review and apply gates. |
|
|
24
|
+
| GGA6 | `semantically_preserved` | Meaning-preservation review passed for the declared scope. |
|
|
25
|
+
| GGA7 | `effectiveness_checked` | Representative tasks show non-regressed or improved operation. |
|
|
26
|
+
| GGA8 | `federation_ready` | Bounded federation export or contract is valid. |
|
|
27
|
+
| GGA9 | `federation_integrated` | The graph participates in a larger graph, skill mesh or service federation. |
|
|
28
|
+
| GGA10 | `graph_first_source_candidate` | A separate decision allows graph-first source planning or dry-run work. |
|
|
29
|
+
|
|
30
|
+
## Sequential Gate Rule
|
|
31
|
+
|
|
32
|
+
Later levels should not skip earlier gates. A system should not claim `GGA8`
|
|
33
|
+
if semantic preservation and effectiveness evidence are missing.
|
|
34
|
+
|
|
35
|
+
`GGA10` does not grant canonical write permission. It only means graph-first
|
|
36
|
+
source planning or dry-run work may start under a separate decision artifact.
|
|
37
|
+
|
|
38
|
+
## Required Evidence
|
|
39
|
+
|
|
40
|
+
An adoption report should record:
|
|
41
|
+
|
|
42
|
+
- target scope;
|
|
43
|
+
- source classes;
|
|
44
|
+
- owner boundary;
|
|
45
|
+
- profile;
|
|
46
|
+
- latest level;
|
|
47
|
+
- level evidence;
|
|
48
|
+
- blockers;
|
|
49
|
+
- next action;
|
|
50
|
+
- gate results;
|
|
51
|
+
- limitations.
|
|
52
|
+
|
|
53
|
+
## Anti-Claims
|
|
54
|
+
|
|
55
|
+
Do not claim that a graph is migrated because:
|
|
56
|
+
|
|
57
|
+
- JSON validates;
|
|
58
|
+
- a seed exists;
|
|
59
|
+
- a context pack was generated;
|
|
60
|
+
- a dashboard is green;
|
|
61
|
+
- a profile conformance fixture passed.
|
|
62
|
+
|
|
63
|
+
Those are useful signals, not full adoption.
|
|
64
|
+
|
|
65
|
+
## Limited Claim
|
|
66
|
+
|
|
67
|
+
Passing a level supports only the claim attached to that level. For example,
|
|
68
|
+
`GGA2` supports the claim that a Graph Seed validates. It does not support a
|
|
69
|
+
claim that the graph preserved domain meaning or improved work.
|