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,152 @@
|
|
|
1
|
+
# Mirai Graph Object Model
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The object model defines the stable entities that a Mirai Graph implementation
|
|
8
|
+
tracks inside canonical graph state.
|
|
9
|
+
|
|
10
|
+
Objects are not free-form notes. They are addressable units of system state
|
|
11
|
+
that can be linked, evidenced, reviewed, matured and governed.
|
|
12
|
+
|
|
13
|
+
## Object
|
|
14
|
+
|
|
15
|
+
An object is a stable graph entity.
|
|
16
|
+
|
|
17
|
+
Examples:
|
|
18
|
+
|
|
19
|
+
- project;
|
|
20
|
+
- product;
|
|
21
|
+
- requirement;
|
|
22
|
+
- feature;
|
|
23
|
+
- decision;
|
|
24
|
+
- risk;
|
|
25
|
+
- task;
|
|
26
|
+
- component;
|
|
27
|
+
- policy;
|
|
28
|
+
- stakeholder;
|
|
29
|
+
- evidence item;
|
|
30
|
+
- governance gate.
|
|
31
|
+
|
|
32
|
+
## Minimum Fields
|
|
33
|
+
|
|
34
|
+
A Mirai Graph object should include:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"id": "object.unique_id",
|
|
39
|
+
"kind": "feature",
|
|
40
|
+
"title": "Short human-readable title",
|
|
41
|
+
"summary": "Brief description of the object",
|
|
42
|
+
"readiness": "draft",
|
|
43
|
+
"evidence": [],
|
|
44
|
+
"profile": "core",
|
|
45
|
+
"created_at": "2026-05-28",
|
|
46
|
+
"updated_at": "2026-05-28"
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Field Semantics
|
|
51
|
+
|
|
52
|
+
### `id`
|
|
53
|
+
|
|
54
|
+
A stable unique identifier. The identifier should remain stable across file
|
|
55
|
+
moves, generated context packs and implementation exports.
|
|
56
|
+
|
|
57
|
+
### `kind`
|
|
58
|
+
|
|
59
|
+
The object category. Core kinds should be standardized; profiles may add
|
|
60
|
+
domain-specific kinds.
|
|
61
|
+
|
|
62
|
+
### `title`
|
|
63
|
+
|
|
64
|
+
A short label for humans.
|
|
65
|
+
|
|
66
|
+
### `summary`
|
|
67
|
+
|
|
68
|
+
A concise explanation of what the object represents.
|
|
69
|
+
|
|
70
|
+
### `readiness`
|
|
71
|
+
|
|
72
|
+
The maturity state of the object. Early values may include:
|
|
73
|
+
|
|
74
|
+
- `draft`;
|
|
75
|
+
- `review_ready`;
|
|
76
|
+
- `accepted`;
|
|
77
|
+
- `blocked`;
|
|
78
|
+
- `deprecated`.
|
|
79
|
+
|
|
80
|
+
### `evidence`
|
|
81
|
+
|
|
82
|
+
References to evidence records or source materials. Evidence links should not
|
|
83
|
+
embed private data directly in public examples.
|
|
84
|
+
|
|
85
|
+
### `profile`
|
|
86
|
+
|
|
87
|
+
The profile that defines or specializes the object. The default profile is
|
|
88
|
+
`core`.
|
|
89
|
+
|
|
90
|
+
### `created_at` And `updated_at`
|
|
91
|
+
|
|
92
|
+
Dates or timestamps used for lifecycle tracking.
|
|
93
|
+
|
|
94
|
+
## Core Object Kinds
|
|
95
|
+
|
|
96
|
+
Initial core kinds:
|
|
97
|
+
|
|
98
|
+
- `system`;
|
|
99
|
+
- `goal`;
|
|
100
|
+
- `requirement`;
|
|
101
|
+
- `feature`;
|
|
102
|
+
- `decision`;
|
|
103
|
+
- `risk`;
|
|
104
|
+
- `task`;
|
|
105
|
+
- `component`;
|
|
106
|
+
- `evidence`;
|
|
107
|
+
- `context_pack`;
|
|
108
|
+
- `governance_gate`;
|
|
109
|
+
- `profile`.
|
|
110
|
+
|
|
111
|
+
## Object Boundary Rules
|
|
112
|
+
|
|
113
|
+
An object should be created when the item needs at least one of:
|
|
114
|
+
|
|
115
|
+
- stable identity;
|
|
116
|
+
- relations to other objects;
|
|
117
|
+
- evidence;
|
|
118
|
+
- readiness tracking;
|
|
119
|
+
- governance control;
|
|
120
|
+
- generated context inclusion;
|
|
121
|
+
- reuse across tasks.
|
|
122
|
+
|
|
123
|
+
An object should not be created for:
|
|
124
|
+
|
|
125
|
+
- a one-off sentence with no reuse value;
|
|
126
|
+
- raw private data copied without review;
|
|
127
|
+
- generated AI text that has not been accepted into canonical state;
|
|
128
|
+
- a vague idea with no boundary or owner.
|
|
129
|
+
|
|
130
|
+
## Public Example
|
|
131
|
+
|
|
132
|
+
```json
|
|
133
|
+
{
|
|
134
|
+
"id": "feature.notify_after_approval",
|
|
135
|
+
"kind": "feature",
|
|
136
|
+
"title": "Notify after approval",
|
|
137
|
+
"summary": "Send a notification when a content item is approved.",
|
|
138
|
+
"readiness": "draft",
|
|
139
|
+
"evidence": ["source.content_workflow"],
|
|
140
|
+
"profile": "software_specification",
|
|
141
|
+
"created_at": "2026-05-28",
|
|
142
|
+
"updated_at": "2026-05-28"
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Open Questions
|
|
147
|
+
|
|
148
|
+
- Should `owner`, `status` and `readiness` be separate fields?
|
|
149
|
+
- Should evidence be modeled as first-class objects only, or also as inline
|
|
150
|
+
references?
|
|
151
|
+
- Which object kinds belong to `core` and which belong to profiles?
|
|
152
|
+
- Should timestamps be ISO dates or full date-time strings?
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Organization Governance
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Organization governance extends Mirai Graph from project-level coordination to
|
|
8
|
+
organization-level control. It describes how mission, strategy, portfolios,
|
|
9
|
+
departments, policies, decision rights, risks, metrics, feedback and Kaizen can
|
|
10
|
+
be connected without turning the graph into an unapproved command system.
|
|
11
|
+
|
|
12
|
+
## Model
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
mission
|
|
16
|
+
-> strategy
|
|
17
|
+
-> portfolio
|
|
18
|
+
-> department/program/project
|
|
19
|
+
-> policy and decision rights
|
|
20
|
+
-> risk controls
|
|
21
|
+
-> evidence and metrics
|
|
22
|
+
-> feedback
|
|
23
|
+
-> kaizen proposal
|
|
24
|
+
-> governed update
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The graph is the coordination surface. It records dependencies, boundaries and
|
|
28
|
+
evidence. It does not itself authorize organizational action.
|
|
29
|
+
|
|
30
|
+
## Core Concepts
|
|
31
|
+
|
|
32
|
+
- `mission`: durable reason for the organization to exist.
|
|
33
|
+
- `strategy`: selected direction for allocating attention and resources.
|
|
34
|
+
- `portfolio`: grouped initiatives, products, programs or projects.
|
|
35
|
+
- `department`: accountable organizational unit.
|
|
36
|
+
- `decision_right`: explicit owner of a decision class.
|
|
37
|
+
- `policy`: rule or constraint that governs decisions and actions.
|
|
38
|
+
- `risk`: possible organizational failure mode.
|
|
39
|
+
- `control`: preventive, detective or corrective measure.
|
|
40
|
+
- `metric`: signal used to review progress or risk.
|
|
41
|
+
- `feedback`: observed response from operations, users, teams or environment.
|
|
42
|
+
- `kaizen_item`: proposed process or governance improvement.
|
|
43
|
+
|
|
44
|
+
## Required Boundaries
|
|
45
|
+
|
|
46
|
+
Organization-governance graphs must preserve these boundaries:
|
|
47
|
+
|
|
48
|
+
- generated context is not canonical organizational state;
|
|
49
|
+
- evidence is not authorization;
|
|
50
|
+
- feedback is not an automatic policy update;
|
|
51
|
+
- readiness is not execution;
|
|
52
|
+
- decision rights must be explicit before policy or portfolio changes;
|
|
53
|
+
- high-impact changes require evidence and owner approval.
|
|
54
|
+
|
|
55
|
+
## Minimum Gates
|
|
56
|
+
|
|
57
|
+
- strategy alignment before portfolio change;
|
|
58
|
+
- decision-right review before policy change;
|
|
59
|
+
- risk-control review before cross-department action;
|
|
60
|
+
- evidence review before governance decision;
|
|
61
|
+
- Kaizen review before process promotion.
|
|
62
|
+
|
|
63
|
+
## Use Cases
|
|
64
|
+
|
|
65
|
+
- align projects with organization strategy;
|
|
66
|
+
- show which department owns which capability or policy;
|
|
67
|
+
- make decision rights and escalation paths explicit;
|
|
68
|
+
- connect risks to controls and evidence;
|
|
69
|
+
- route feedback into reviewed Kaizen items;
|
|
70
|
+
- prepare organization-level status or governance context packs.
|
|
71
|
+
|
|
72
|
+
## Non-Goals
|
|
73
|
+
|
|
74
|
+
This alpha section is not:
|
|
75
|
+
|
|
76
|
+
- a legal governance framework;
|
|
77
|
+
- a replacement for corporate bylaws, public law or audit requirements;
|
|
78
|
+
- proof that Mirai Graph can govern a country-scale system;
|
|
79
|
+
- an autonomous management system.
|
|
80
|
+
|
|
81
|
+
## Example
|
|
82
|
+
|
|
83
|
+
See [Organization Governance Minimal](../examples/organization-governance-minimal/README.md).
|
|
84
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Process Control Contract
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
A process-control contract binds implementation-control cycles to executable
|
|
8
|
+
state machines, launch-record policy, evidence requirements, recovery behavior,
|
|
9
|
+
risk controls, validators and Kaizen policy.
|
|
10
|
+
|
|
11
|
+
It is the public Mirai Graph bridge between standards and fail-closed process
|
|
12
|
+
validation.
|
|
13
|
+
|
|
14
|
+
## Required Contract
|
|
15
|
+
|
|
16
|
+
A process-control contract must define:
|
|
17
|
+
|
|
18
|
+
- process id;
|
|
19
|
+
- cycle id;
|
|
20
|
+
- state machine id;
|
|
21
|
+
- launch-record policy;
|
|
22
|
+
- evidence requirements;
|
|
23
|
+
- recovery behavior;
|
|
24
|
+
- risk controls;
|
|
25
|
+
- validators;
|
|
26
|
+
- Kaizen policy;
|
|
27
|
+
- technology quality feedback policy when significant work may move into
|
|
28
|
+
acceptance, approval or release states;
|
|
29
|
+
- evidence references;
|
|
30
|
+
- limitations.
|
|
31
|
+
|
|
32
|
+
## Boundary
|
|
33
|
+
|
|
34
|
+
The contract validates process movement. It must not execute destructive
|
|
35
|
+
actions, grant release approval, perform canonical updates or treat generated
|
|
36
|
+
context as authorization.
|
|
37
|
+
|
|
38
|
+
Tests and evidence do not prove that the declared technology was followed. For
|
|
39
|
+
significant work, the contract should require a technology quality feedback
|
|
40
|
+
gate before transitions such as `review_ready`, `accepted`, `approved` or
|
|
41
|
+
`released`.
|
|
42
|
+
|
|
43
|
+
Technology quality feedback classifies process and work findings. It supports
|
|
44
|
+
transition decisions, but it does not replace owner approval or canonical
|
|
45
|
+
promotion.
|
|
46
|
+
|
|
47
|
+
## Schema
|
|
48
|
+
|
|
49
|
+
Machine-readable contracts can be validated with:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
schemas/process-control-contract.schema.json
|
|
53
|
+
```
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
# Mirai Graph Profiles
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Profiles adapt Mirai Graph to domains without changing the core standard.
|
|
8
|
+
|
|
9
|
+
A profile may define additional object kinds, relation types, readiness rules,
|
|
10
|
+
governance gates, examples and adoption guidance.
|
|
11
|
+
|
|
12
|
+
## Profile
|
|
13
|
+
|
|
14
|
+
A profile is a named specialization of Mirai Graph.
|
|
15
|
+
|
|
16
|
+
Example profiles:
|
|
17
|
+
|
|
18
|
+
- `core`;
|
|
19
|
+
- `software_specification`;
|
|
20
|
+
- `project_management`;
|
|
21
|
+
- `implementation_control`;
|
|
22
|
+
- `product_development`;
|
|
23
|
+
- `organization_governance`;
|
|
24
|
+
- `research_program`;
|
|
25
|
+
- `human_ai_system`;
|
|
26
|
+
- `ai_employee`;
|
|
27
|
+
- `public_sector_governance`.
|
|
28
|
+
|
|
29
|
+
## Profile Rules
|
|
30
|
+
|
|
31
|
+
A profile may extend:
|
|
32
|
+
|
|
33
|
+
- object kinds;
|
|
34
|
+
- relation types;
|
|
35
|
+
- evidence levels;
|
|
36
|
+
- readiness policies;
|
|
37
|
+
- governance gates;
|
|
38
|
+
- examples;
|
|
39
|
+
- validation fixtures.
|
|
40
|
+
|
|
41
|
+
A profile should not:
|
|
42
|
+
|
|
43
|
+
- override core semantics silently;
|
|
44
|
+
- weaken public-safety rules;
|
|
45
|
+
- claim conformance without tests;
|
|
46
|
+
- mix private domain material into public examples.
|
|
47
|
+
|
|
48
|
+
## Core Profile
|
|
49
|
+
|
|
50
|
+
The `core` profile contains model elements expected across implementations:
|
|
51
|
+
|
|
52
|
+
- stable objects;
|
|
53
|
+
- typed relations;
|
|
54
|
+
- evidence;
|
|
55
|
+
- readiness;
|
|
56
|
+
- generated context packs;
|
|
57
|
+
- governance gates;
|
|
58
|
+
- conformance levels.
|
|
59
|
+
|
|
60
|
+
## Software Specification Profile
|
|
61
|
+
|
|
62
|
+
Initial example profile used by the synthetic benchmark.
|
|
63
|
+
|
|
64
|
+
Possible object kinds:
|
|
65
|
+
|
|
66
|
+
- package;
|
|
67
|
+
- feature;
|
|
68
|
+
- requirement;
|
|
69
|
+
- constraint;
|
|
70
|
+
- risk;
|
|
71
|
+
- component;
|
|
72
|
+
- task;
|
|
73
|
+
- evidence.
|
|
74
|
+
|
|
75
|
+
Possible relation types:
|
|
76
|
+
|
|
77
|
+
- implements;
|
|
78
|
+
- depends_on;
|
|
79
|
+
- blocks;
|
|
80
|
+
- evidences;
|
|
81
|
+
- generates;
|
|
82
|
+
- related_to.
|
|
83
|
+
|
|
84
|
+
## AI Employee Profile
|
|
85
|
+
|
|
86
|
+
Initial alpha profile for modeling AI employees as governed runtimes over an
|
|
87
|
+
evolutionary graph.
|
|
88
|
+
|
|
89
|
+
Possible object kinds:
|
|
90
|
+
|
|
91
|
+
- ai_employee;
|
|
92
|
+
- ai_department;
|
|
93
|
+
- role;
|
|
94
|
+
- skill;
|
|
95
|
+
- knowledge;
|
|
96
|
+
- memory;
|
|
97
|
+
- tool;
|
|
98
|
+
- capability;
|
|
99
|
+
- policy;
|
|
100
|
+
- workflow;
|
|
101
|
+
- action;
|
|
102
|
+
- result;
|
|
103
|
+
- feedback;
|
|
104
|
+
- lesson;
|
|
105
|
+
- governance_gate;
|
|
106
|
+
- federation_endpoint.
|
|
107
|
+
|
|
108
|
+
Possible relation types:
|
|
109
|
+
|
|
110
|
+
- has_role;
|
|
111
|
+
- has_skill;
|
|
112
|
+
- uses_knowledge;
|
|
113
|
+
- requires_capability;
|
|
114
|
+
- can_execute;
|
|
115
|
+
- requires_approval;
|
|
116
|
+
- triggered_by;
|
|
117
|
+
- responds_to;
|
|
118
|
+
- learns_from;
|
|
119
|
+
- updates_behavior;
|
|
120
|
+
- belongs_to_department;
|
|
121
|
+
- federates_with.
|
|
122
|
+
|
|
123
|
+
## Skill Runtime Profile
|
|
124
|
+
|
|
125
|
+
Initial alpha profile for modeling a governed skill, capability module or
|
|
126
|
+
service as a Hybrid Source Of Truth runtime context.
|
|
127
|
+
|
|
128
|
+
Possible object kinds:
|
|
129
|
+
|
|
130
|
+
- skill;
|
|
131
|
+
- capability;
|
|
132
|
+
- activity;
|
|
133
|
+
- rule;
|
|
134
|
+
- owner_domain;
|
|
135
|
+
- source_boundary;
|
|
136
|
+
- raw_source;
|
|
137
|
+
- runtime_context;
|
|
138
|
+
- projection_view;
|
|
139
|
+
- quality_gate;
|
|
140
|
+
- adoption_report;
|
|
141
|
+
- effectiveness_report;
|
|
142
|
+
- semantic_review;
|
|
143
|
+
- runtime_policy;
|
|
144
|
+
- fallback;
|
|
145
|
+
- handoff;
|
|
146
|
+
- learning_proposal;
|
|
147
|
+
- federation_contract.
|
|
148
|
+
|
|
149
|
+
Possible relation types:
|
|
150
|
+
|
|
151
|
+
- owns_domain;
|
|
152
|
+
- has_capability;
|
|
153
|
+
- supports_activity;
|
|
154
|
+
- uses_rule;
|
|
155
|
+
- requires_gate;
|
|
156
|
+
- requires_fallback;
|
|
157
|
+
- reads_source;
|
|
158
|
+
- generates_context;
|
|
159
|
+
- projects_view;
|
|
160
|
+
- preserves_semantics;
|
|
161
|
+
- measures_effectiveness;
|
|
162
|
+
- routes_to;
|
|
163
|
+
- hands_off_to;
|
|
164
|
+
- exports_contract;
|
|
165
|
+
- proposes_learning.
|
|
166
|
+
|
|
167
|
+
## Implementation Control Profile
|
|
168
|
+
|
|
169
|
+
Initial public profile for governing movement from graph baselines, generated
|
|
170
|
+
human projections and implementation plans into bounded work, evidence, sync
|
|
171
|
+
proposals, approval gates, controlled updates and process learning.
|
|
172
|
+
|
|
173
|
+
Possible object kinds:
|
|
174
|
+
|
|
175
|
+
- implementation_baseline;
|
|
176
|
+
- projection_view;
|
|
177
|
+
- semantic_review;
|
|
178
|
+
- implementation_cycle;
|
|
179
|
+
- graph_dna;
|
|
180
|
+
- component_dna;
|
|
181
|
+
- dna_alignment;
|
|
182
|
+
- source_boundary_contract;
|
|
183
|
+
- work_state_machine;
|
|
184
|
+
- recovery_record;
|
|
185
|
+
- risk_control;
|
|
186
|
+
- coordination_contract;
|
|
187
|
+
- workflow_batch;
|
|
188
|
+
- launch_gate;
|
|
189
|
+
- evidence_pack;
|
|
190
|
+
- sync_proposal;
|
|
191
|
+
- approval_gate;
|
|
192
|
+
- controlled_update;
|
|
193
|
+
- implementation_state;
|
|
194
|
+
- drift_check;
|
|
195
|
+
- kaizen_item.
|
|
196
|
+
|
|
197
|
+
Possible relation types:
|
|
198
|
+
|
|
199
|
+
- derives_projection;
|
|
200
|
+
- reviews_projection;
|
|
201
|
+
- aligns_with;
|
|
202
|
+
- defines_boundary;
|
|
203
|
+
- transitions_to;
|
|
204
|
+
- resumes_from;
|
|
205
|
+
- controls_risk;
|
|
206
|
+
- reserves_scope;
|
|
207
|
+
- requires_gate;
|
|
208
|
+
- launches_batch;
|
|
209
|
+
- produces_evidence;
|
|
210
|
+
- proposes_update;
|
|
211
|
+
- approves_update;
|
|
212
|
+
- updates_baseline;
|
|
213
|
+
- checks_drift;
|
|
214
|
+
- progresses_to;
|
|
215
|
+
- improves_process.
|
|
216
|
+
|
|
217
|
+
## Profile Conformance
|
|
218
|
+
|
|
219
|
+
Profile conformance should be declared separately from core conformance.
|
|
220
|
+
|
|
221
|
+
Example:
|
|
222
|
+
|
|
223
|
+
```text
|
|
224
|
+
Core conformance: Level 1
|
|
225
|
+
Profile conformance: software_specification Level 1
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Open Questions
|
|
229
|
+
|
|
230
|
+
- Should profiles have machine-readable manifests?
|
|
231
|
+
- Should profiles declare allowed object kinds and relation types?
|
|
232
|
+
- Should profile validation be strict by default or advisory?
|
|
233
|
+
- How should cross-profile conflicts be resolved?
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Projection Views
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
A full Mirai Graph can become too dense for direct human review. Projection views
|
|
8
|
+
are bounded generated views that expose the part of the graph needed for a
|
|
9
|
+
specific decision, task or review.
|
|
10
|
+
|
|
11
|
+
Projection views are control surfaces. They help people and AI systems inspect
|
|
12
|
+
readiness, risk, evidence and next actions without treating the generated view
|
|
13
|
+
as the source of truth.
|
|
14
|
+
|
|
15
|
+
## Common View Types
|
|
16
|
+
|
|
17
|
+
- `readiness_view`: current readiness and blockers;
|
|
18
|
+
- `risk_view`: risks, unsafe actions and required gates;
|
|
19
|
+
- `owner_routing_view`: owner domains, capabilities and routing paths;
|
|
20
|
+
- `evidence_view`: evidence coverage and unsupported claims;
|
|
21
|
+
- `gate_view`: governance gates, verdicts and missing approvals;
|
|
22
|
+
- `adoption_view`: Mirai Graph adoption level and next action;
|
|
23
|
+
- `runtime_view`: runtime policy status, fallback and context refs;
|
|
24
|
+
- `learning_view`: feedback, proposals, evaluations and approved updates.
|
|
25
|
+
|
|
26
|
+
## Required Fields
|
|
27
|
+
|
|
28
|
+
A projection view should record:
|
|
29
|
+
|
|
30
|
+
- `id`;
|
|
31
|
+
- `view_type`;
|
|
32
|
+
- `source_graph`;
|
|
33
|
+
- `generated_at`;
|
|
34
|
+
- `purpose`;
|
|
35
|
+
- `included_objects`;
|
|
36
|
+
- `included_relations`;
|
|
37
|
+
- `evidence`;
|
|
38
|
+
- `limitations`;
|
|
39
|
+
- `next_actions`.
|
|
40
|
+
|
|
41
|
+
## Authority Boundary
|
|
42
|
+
|
|
43
|
+
A projection view is generated context. It should not become canonical graph
|
|
44
|
+
state unless an implementation explicitly records an approved update.
|
|
45
|
+
|
|
46
|
+
Projection views may reveal gaps. They should not silently fill those gaps.
|
|
47
|
+
|
|
48
|
+
## User Value
|
|
49
|
+
|
|
50
|
+
Projection views are important because they make Mirai Graph usable for repeated
|
|
51
|
+
management work:
|
|
52
|
+
|
|
53
|
+
- what is ready;
|
|
54
|
+
- what is blocked;
|
|
55
|
+
- who owns the next step;
|
|
56
|
+
- which evidence supports a claim;
|
|
57
|
+
- which gate must happen before action;
|
|
58
|
+
- what changed since the previous review.
|
|
59
|
+
|
|
60
|
+
## Limited Claim
|
|
61
|
+
|
|
62
|
+
A projection view supports this limited claim:
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
The implementation generated a bounded, task-specific view from graph state.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
It does not prove that the graph is complete or that the recommended action is
|
|
69
|
+
safe to execute.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Recovery And Resume
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Recovery and resume rules make governed work resumable after interruption,
|
|
8
|
+
context loss, failed commands, dirty worktrees, missing access or failed
|
|
9
|
+
validation without relying on chat memory.
|
|
10
|
+
|
|
11
|
+
## Resume Principle
|
|
12
|
+
|
|
13
|
+
Resume from durable artifacts:
|
|
14
|
+
|
|
15
|
+
- workflow or process record;
|
|
16
|
+
- launch or reservation record;
|
|
17
|
+
- branch and commit state;
|
|
18
|
+
- validation result;
|
|
19
|
+
- evidence pack;
|
|
20
|
+
- sync proposal;
|
|
21
|
+
- blockers;
|
|
22
|
+
- next safe command;
|
|
23
|
+
- rollback option.
|
|
24
|
+
|
|
25
|
+
Do not resume by guessing from conversation history.
|
|
26
|
+
|
|
27
|
+
## Required Resume Record
|
|
28
|
+
|
|
29
|
+
A resume record should include:
|
|
30
|
+
|
|
31
|
+
- current state;
|
|
32
|
+
- last good commit or durable checkpoint;
|
|
33
|
+
- current branch or workspace id;
|
|
34
|
+
- target object or work scope;
|
|
35
|
+
- launch/reservation reference;
|
|
36
|
+
- last validation result;
|
|
37
|
+
- evidence status;
|
|
38
|
+
- blockers;
|
|
39
|
+
- next safe command;
|
|
40
|
+
- rollback option;
|
|
41
|
+
- whether human confirmation is required.
|
|
42
|
+
|
|
43
|
+
## Schema
|
|
44
|
+
|
|
45
|
+
Machine-readable resume records can be validated with:
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
schemas/recovery-resume-record.schema.json
|
|
49
|
+
```
|