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,139 @@
|
|
|
1
|
+
# Mirai Graph Relation Model
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The relation model defines typed links between Mirai Graph objects.
|
|
8
|
+
|
|
9
|
+
Relations make system dependencies, evidence links, governance boundaries and
|
|
10
|
+
growth paths explicit.
|
|
11
|
+
|
|
12
|
+
## Relation
|
|
13
|
+
|
|
14
|
+
A relation is a typed directional connection from one object to another.
|
|
15
|
+
|
|
16
|
+
Example:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"id": "relation.feature.notify_after_approval.depends_on.feature.approval_flow",
|
|
21
|
+
"type": "depends_on",
|
|
22
|
+
"source": "feature.notify_after_approval",
|
|
23
|
+
"target": "feature.approval_flow",
|
|
24
|
+
"readiness": "draft",
|
|
25
|
+
"evidence": ["source.notification_delivery"],
|
|
26
|
+
"profile": "software_specification"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Minimum Fields
|
|
31
|
+
|
|
32
|
+
A Mirai Graph relation should include:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"id": "relation.unique_id",
|
|
37
|
+
"type": "depends_on",
|
|
38
|
+
"source": "object.source_id",
|
|
39
|
+
"target": "object.target_id",
|
|
40
|
+
"readiness": "draft",
|
|
41
|
+
"evidence": [],
|
|
42
|
+
"profile": "core"
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Field Semantics
|
|
47
|
+
|
|
48
|
+
### `id`
|
|
49
|
+
|
|
50
|
+
A stable identifier for the relation.
|
|
51
|
+
|
|
52
|
+
### `type`
|
|
53
|
+
|
|
54
|
+
The relation category. Core relation types should be standardized; profiles may
|
|
55
|
+
add domain-specific relation types.
|
|
56
|
+
|
|
57
|
+
### `source`
|
|
58
|
+
|
|
59
|
+
The object where the directed relation starts.
|
|
60
|
+
|
|
61
|
+
### `target`
|
|
62
|
+
|
|
63
|
+
The object where the directed relation ends.
|
|
64
|
+
|
|
65
|
+
### `readiness`
|
|
66
|
+
|
|
67
|
+
The maturity state of the relation.
|
|
68
|
+
|
|
69
|
+
### `evidence`
|
|
70
|
+
|
|
71
|
+
Evidence supporting the relation.
|
|
72
|
+
|
|
73
|
+
### `profile`
|
|
74
|
+
|
|
75
|
+
The profile that defines or specializes the relation.
|
|
76
|
+
|
|
77
|
+
## Core Relation Types
|
|
78
|
+
|
|
79
|
+
Initial core relation types:
|
|
80
|
+
|
|
81
|
+
- `depends_on`;
|
|
82
|
+
- `supports`;
|
|
83
|
+
- `blocks`;
|
|
84
|
+
- `implements`;
|
|
85
|
+
- `evidences`;
|
|
86
|
+
- `contradicts`;
|
|
87
|
+
- `governs`;
|
|
88
|
+
- `requires_approval_from`;
|
|
89
|
+
- `generates`;
|
|
90
|
+
- `derived_from`;
|
|
91
|
+
- `supersedes`;
|
|
92
|
+
- `belongs_to`;
|
|
93
|
+
- `related_to`.
|
|
94
|
+
|
|
95
|
+
## Relation Boundary Rules
|
|
96
|
+
|
|
97
|
+
A relation should be created when the connection changes how the system is
|
|
98
|
+
understood, governed, implemented or evaluated.
|
|
99
|
+
|
|
100
|
+
A relation should not be created when:
|
|
101
|
+
|
|
102
|
+
- the link is merely decorative;
|
|
103
|
+
- the relation type is unclear;
|
|
104
|
+
- there is no source and target object;
|
|
105
|
+
- it embeds a private source detail that should remain outside public graph
|
|
106
|
+
state;
|
|
107
|
+
- it is generated but not accepted into canonical state.
|
|
108
|
+
|
|
109
|
+
## Directionality
|
|
110
|
+
|
|
111
|
+
Relations should be directional unless the relation type explicitly defines
|
|
112
|
+
symmetry.
|
|
113
|
+
|
|
114
|
+
Example:
|
|
115
|
+
|
|
116
|
+
`feature.notify_after_approval depends_on feature.approval_flow`
|
|
117
|
+
|
|
118
|
+
does not mean:
|
|
119
|
+
|
|
120
|
+
`feature.approval_flow depends_on feature.notify_after_approval`
|
|
121
|
+
|
|
122
|
+
## Evidence And Confidence
|
|
123
|
+
|
|
124
|
+
The initial draft requires evidence links but does not yet define a confidence
|
|
125
|
+
field. Future versions may add:
|
|
126
|
+
|
|
127
|
+
- confidence;
|
|
128
|
+
- review status;
|
|
129
|
+
- reviewer;
|
|
130
|
+
- source type;
|
|
131
|
+
- extraction method.
|
|
132
|
+
|
|
133
|
+
## Open Questions
|
|
134
|
+
|
|
135
|
+
- Should relation confidence be required?
|
|
136
|
+
- Should relation IDs be generated or human-authored?
|
|
137
|
+
- Should `related_to` be allowed in mature canonical graphs, or only during
|
|
138
|
+
early graph-seed work?
|
|
139
|
+
- How should contradictory relations be represented and resolved?
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Risk Control Matrix
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
A risk control matrix maps known risks to detection signals, prevention
|
|
8
|
+
mechanisms, gates, evidence requirements, recovery actions, escalation rules
|
|
9
|
+
and owner roles.
|
|
10
|
+
|
|
11
|
+
It is designed for graph-governed projects where AI-assisted or multi-agent work
|
|
12
|
+
can otherwise create false readiness, source-of-truth drift, unsafe runtime
|
|
13
|
+
behavior or conflicting changes.
|
|
14
|
+
|
|
15
|
+
## Required Shape
|
|
16
|
+
|
|
17
|
+
Every risk row should include:
|
|
18
|
+
|
|
19
|
+
- risk id and description;
|
|
20
|
+
- severity;
|
|
21
|
+
- detection signal;
|
|
22
|
+
- prevention mechanism;
|
|
23
|
+
- gate or validator;
|
|
24
|
+
- evidence requirement;
|
|
25
|
+
- recovery action;
|
|
26
|
+
- escalation rule;
|
|
27
|
+
- owner role.
|
|
28
|
+
|
|
29
|
+
## Severity Model
|
|
30
|
+
|
|
31
|
+
- `critical`: can compromise safety, source of truth, ownership or release.
|
|
32
|
+
- `high`: can break architecture, boundaries or implementation claims.
|
|
33
|
+
- `medium`: can cause rework, stale planning or evidence gaps.
|
|
34
|
+
- `low`: can confuse review without blocking work by itself.
|
|
35
|
+
|
|
36
|
+
## Default Recovery Pattern
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
stop writes
|
|
40
|
+
-> capture current state
|
|
41
|
+
-> identify last good checkpoint
|
|
42
|
+
-> classify risk
|
|
43
|
+
-> restore scope or evidence
|
|
44
|
+
-> escalate if ownership is unclear
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Schema
|
|
48
|
+
|
|
49
|
+
Machine-readable risk matrices can be validated with:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
schemas/risk-control-matrix.schema.json
|
|
53
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Route Explanation
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
A route explanation records why a graph-managed federation selected a primary
|
|
8
|
+
owner, companion capabilities, gates and fallbacks for a request.
|
|
9
|
+
|
|
10
|
+
It is meant to make routing auditable before any runtime action starts.
|
|
11
|
+
|
|
12
|
+
## Required Meaning
|
|
13
|
+
|
|
14
|
+
A route explanation should include:
|
|
15
|
+
|
|
16
|
+
- request summary;
|
|
17
|
+
- primary owner;
|
|
18
|
+
- companion capabilities;
|
|
19
|
+
- rejected nearby candidates with reasons;
|
|
20
|
+
- required gates;
|
|
21
|
+
- required raw-source fallbacks;
|
|
22
|
+
- route execution evidence reference;
|
|
23
|
+
- confidence and known gaps;
|
|
24
|
+
- runtime preflight reference when the route is high-risk.
|
|
25
|
+
|
|
26
|
+
## Boundary
|
|
27
|
+
|
|
28
|
+
Route explanation is not authorization.
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
explained route != permission to execute
|
|
32
|
+
explained route != permission to rewrite canonical sources
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
High-risk routes should link to a runtime preflight result before execution.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Route Regression
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Route regression compares router behavior before and after a learning proposal,
|
|
8
|
+
router update or federation graph change.
|
|
9
|
+
|
|
10
|
+
## Result Shape
|
|
11
|
+
|
|
12
|
+
A route regression result should include:
|
|
13
|
+
|
|
14
|
+
- before route result reference;
|
|
15
|
+
- after route result reference;
|
|
16
|
+
- diff summary;
|
|
17
|
+
- per-fixture route diffs;
|
|
18
|
+
- regression status.
|
|
19
|
+
|
|
20
|
+
Recommended statuses:
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
improved
|
|
24
|
+
unchanged
|
|
25
|
+
regressed
|
|
26
|
+
blocked
|
|
27
|
+
insufficient_evidence
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Boundary
|
|
31
|
+
|
|
32
|
+
Route regression is evidence for review. It does not prove semantic completeness
|
|
33
|
+
or authorize graph-only runtime.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Routing Fixtures
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Routing fixtures test whether a graph-managed router selects the expected
|
|
8
|
+
owner, companions, gates and fallback behavior for known scenarios.
|
|
9
|
+
|
|
10
|
+
They are especially useful for negative routing cases where a nearby generic
|
|
11
|
+
owner would be unsafe.
|
|
12
|
+
|
|
13
|
+
## Negative Fixtures
|
|
14
|
+
|
|
15
|
+
Fixtures should cover routes that must not collapse into a simpler route:
|
|
16
|
+
|
|
17
|
+
- production or live infrastructure;
|
|
18
|
+
- customer-visible writes;
|
|
19
|
+
- credentials, secrets or private data;
|
|
20
|
+
- legal, commercial or scientific claims;
|
|
21
|
+
- owner-source rewrites;
|
|
22
|
+
- platform architecture or migration decisions.
|
|
23
|
+
|
|
24
|
+
## Forbidden Route Shapes
|
|
25
|
+
|
|
26
|
+
Use `forbidden_route_shapes` when a skill can be a valid primary owner but
|
|
27
|
+
must not be selected alone.
|
|
28
|
+
|
|
29
|
+
Example:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"primary_skill": "generic_development",
|
|
34
|
+
"without_companions": ["operations", "qa"],
|
|
35
|
+
"reason": "Production deployment requires runtime and acceptance gates."
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Boundary
|
|
40
|
+
|
|
41
|
+
Fixture evidence may support learning proposals. It must not directly rewrite
|
|
42
|
+
source-of-truth files.
|
|
43
|
+
|
|
44
|
+
## Evidence
|
|
45
|
+
|
|
46
|
+
A fixture run should preserve one evidence pack per fixture:
|
|
47
|
+
|
|
48
|
+
- parsed route result;
|
|
49
|
+
- execution evidence with command, working directory, exit code and output
|
|
50
|
+
hashes;
|
|
51
|
+
- stdout/stderr references;
|
|
52
|
+
- route explanation reference for high-risk routes.
|
|
53
|
+
|
|
54
|
+
High-risk fixtures should fail when the route explanation is missing.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Runtime Enablement
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Mirai Graph can generate context for humans, agents and software runtimes. Runtime
|
|
8
|
+
enablement defines when graph-mode may be used as the primary context layer for
|
|
9
|
+
a specific task.
|
|
10
|
+
|
|
11
|
+
This section generalizes the boundary:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
generated context != authorization
|
|
15
|
+
runtime decision != executed action
|
|
16
|
+
feedback != canonical update
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Runtime Question
|
|
20
|
+
|
|
21
|
+
The runtime gate answers one narrow question:
|
|
22
|
+
|
|
23
|
+
```text
|
|
24
|
+
Can this specific task use graph-mode as the primary context layer?
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
It does not answer whether the task should be executed, whether the graph should
|
|
28
|
+
be rewritten, or whether the generated context is complete.
|
|
29
|
+
|
|
30
|
+
## Runtime Modes
|
|
31
|
+
|
|
32
|
+
- `blocked`: graph-mode must not be used for the task.
|
|
33
|
+
- `fallback_required`: graph-mode may help, but raw sources, runbooks or
|
|
34
|
+
approvals are mandatory.
|
|
35
|
+
- `graph_context_allowed`: graph-mode can be the primary context for the
|
|
36
|
+
declared measured scope.
|
|
37
|
+
- `no_match`: no policy covers the requested task.
|
|
38
|
+
|
|
39
|
+
## Safe Defaults
|
|
40
|
+
|
|
41
|
+
Implementations should use these defaults:
|
|
42
|
+
|
|
43
|
+
- compact context first;
|
|
44
|
+
- broader context only when justified by evidence;
|
|
45
|
+
- no canonical writes through runtime policy;
|
|
46
|
+
- raw-source fallback for sensitive work;
|
|
47
|
+
- gap recording when graph coverage is missing.
|
|
48
|
+
|
|
49
|
+
## Mandatory Fallback Triggers
|
|
50
|
+
|
|
51
|
+
Fallback should be required for:
|
|
52
|
+
|
|
53
|
+
- unmeasured scenarios;
|
|
54
|
+
- destructive actions;
|
|
55
|
+
- production or live infrastructure;
|
|
56
|
+
- credentials, secrets or private data;
|
|
57
|
+
- legal, commercial or financial risk;
|
|
58
|
+
- customer-visible writes;
|
|
59
|
+
- irreversible changes;
|
|
60
|
+
- safety-critical operations.
|
|
61
|
+
|
|
62
|
+
## Runtime Preflight
|
|
63
|
+
|
|
64
|
+
A runtime preflight artifact should include:
|
|
65
|
+
|
|
66
|
+
- task;
|
|
67
|
+
- target object or profile;
|
|
68
|
+
- selected context profile;
|
|
69
|
+
- status;
|
|
70
|
+
- required fallbacks;
|
|
71
|
+
- blocking gaps;
|
|
72
|
+
- generated context references;
|
|
73
|
+
- raw source references that must still be read;
|
|
74
|
+
- limitations.
|
|
75
|
+
|
|
76
|
+
## Limited Claim
|
|
77
|
+
|
|
78
|
+
Passing a runtime enablement gate supports this limited claim:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
Graph-mode may be used as the primary context layer for the declared task and
|
|
82
|
+
scope, subject to recorded fallbacks and limitations.
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
It does not authorize execution or canonical graph updates.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Source Boundary Contract
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Source boundary contracts define which repository or graph areas are canonical,
|
|
8
|
+
generated, curated for human review, evidence, workflow records, legacy context,
|
|
9
|
+
tooling or local scratch.
|
|
10
|
+
|
|
11
|
+
They prevent generated artifacts, review notes or implementation repositories
|
|
12
|
+
from silently becoming source of truth.
|
|
13
|
+
|
|
14
|
+
## Source Roles
|
|
15
|
+
|
|
16
|
+
- `canonical`: reviewed source-of-truth data or rules.
|
|
17
|
+
- `generated`: reproducible output from canonical or evidence sources.
|
|
18
|
+
- `curated_human`: reviewed human-readable projection or explanation.
|
|
19
|
+
- `workflow`: process, planning, launch, recovery or coordination record.
|
|
20
|
+
- `evidence`: reviewed support material for a claim.
|
|
21
|
+
- `legacy`: historical material preserved for traceability.
|
|
22
|
+
- `tooling`: validators, generators, schemas or support scripts.
|
|
23
|
+
- `local_scratch`: ignored local intake or temporary workspace.
|
|
24
|
+
|
|
25
|
+
## Synchronization Flow
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
canonical sources
|
|
29
|
+
-> tooling
|
|
30
|
+
-> generated and curated views
|
|
31
|
+
-> human review or implementation planning
|
|
32
|
+
-> accepted proposals
|
|
33
|
+
-> canonical update
|
|
34
|
+
-> regenerated views
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Promotion Rule
|
|
38
|
+
|
|
39
|
+
If generated output, human review, workflow records or evidence contain a new
|
|
40
|
+
important fact, that fact must be promoted through an explicit proposal before
|
|
41
|
+
it becomes canonical state.
|
|
42
|
+
|
|
43
|
+
## Schema
|
|
44
|
+
|
|
45
|
+
Machine-readable source boundary contracts can be validated with:
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
schemas/source-boundary-contract.schema.json
|
|
49
|
+
```
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Mirai Graph Standard v0.1 Draft
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
This document defines the first public draft of the Mirai Graph standard: an
|
|
8
|
+
implementation-independent graph operating model for managing the growth of
|
|
9
|
+
complex systems.
|
|
10
|
+
|
|
11
|
+
The draft is intentionally incomplete. It establishes the core sections,
|
|
12
|
+
normative direction and conformance path for future implementation pilots.
|
|
13
|
+
|
|
14
|
+
## Normative Language
|
|
15
|
+
|
|
16
|
+
This draft uses plain language. Future versions may adopt RFC-style terms such
|
|
17
|
+
as `MUST`, `SHOULD` and `MAY` after the object, relation and conformance models
|
|
18
|
+
are stable.
|
|
19
|
+
|
|
20
|
+
## Standard Scope
|
|
21
|
+
|
|
22
|
+
Mirai Graph standardizes:
|
|
23
|
+
|
|
24
|
+
- canonical graph state;
|
|
25
|
+
- object identity and object kinds;
|
|
26
|
+
- typed relations;
|
|
27
|
+
- evidence and provenance;
|
|
28
|
+
- readiness and lifecycle state;
|
|
29
|
+
- generated context packs;
|
|
30
|
+
- profiles;
|
|
31
|
+
- governance gates;
|
|
32
|
+
- conformance levels;
|
|
33
|
+
- validation fixtures.
|
|
34
|
+
|
|
35
|
+
## Non-Scope
|
|
36
|
+
|
|
37
|
+
Mirai Graph does not standardize:
|
|
38
|
+
|
|
39
|
+
- one database engine;
|
|
40
|
+
- one programming language;
|
|
41
|
+
- one UI;
|
|
42
|
+
- one AI-agent framework;
|
|
43
|
+
- one organizational management methodology;
|
|
44
|
+
- private project data;
|
|
45
|
+
- claims of universal validity.
|
|
46
|
+
|
|
47
|
+
## Core Model
|
|
48
|
+
|
|
49
|
+
A Mirai Graph implementation maintains a canonical graph state and can generate
|
|
50
|
+
task-specific context packs from that state.
|
|
51
|
+
|
|
52
|
+
The canonical graph state contains:
|
|
53
|
+
|
|
54
|
+
- objects;
|
|
55
|
+
- relations;
|
|
56
|
+
- evidence links;
|
|
57
|
+
- readiness/lifecycle fields;
|
|
58
|
+
- profile metadata;
|
|
59
|
+
- governance records where applicable.
|
|
60
|
+
|
|
61
|
+
A generated context pack is a temporary, task-specific view. It helps a human
|
|
62
|
+
or AI system act with relevant context, but it is not the source of truth.
|
|
63
|
+
|
|
64
|
+
## Required Standard Sections
|
|
65
|
+
|
|
66
|
+
The public standard is expected to contain:
|
|
67
|
+
|
|
68
|
+
- [Object Model](object-model.md)
|
|
69
|
+
- [Relation Model](relation-model.md)
|
|
70
|
+
- [Graph DNA](graph-dna.md)
|
|
71
|
+
- [Graph Seed](graph-seed.md)
|
|
72
|
+
- [Graph Embryo](graph-embryo.md)
|
|
73
|
+
- [Lifecycle And Readiness](lifecycle-readiness.md)
|
|
74
|
+
- [Evidence And Provenance](evidence-provenance.md)
|
|
75
|
+
- `context-pack-generation.md`
|
|
76
|
+
- [Governance](governance.md)
|
|
77
|
+
- [Hybrid Source Of Truth](hybrid-source-of-truth.md)
|
|
78
|
+
- [Adoption Levels](adoption-levels.md)
|
|
79
|
+
- [Projection Views](projection-views.md)
|
|
80
|
+
- [Runtime Enablement](runtime-enablement.md)
|
|
81
|
+
- [Graph As AI Brain](graph-as-ai-brain.md)
|
|
82
|
+
- [Action Runtime Boundary](action-runtime-boundary.md)
|
|
83
|
+
- [Feedback Learning Gate](feedback-learning-gate.md)
|
|
84
|
+
- [Profiles](profiles.md)
|
|
85
|
+
- [Conformance Levels](conformance-levels.md)
|
|
86
|
+
- [Test Suite](test-suite.md)
|
|
87
|
+
|
|
88
|
+
Only the first sections are drafted in this initial public batch.
|
|
89
|
+
|
|
90
|
+
## Minimum Implementation Idea
|
|
91
|
+
|
|
92
|
+
A minimal Mirai Graph package should be able to represent:
|
|
93
|
+
|
|
94
|
+
1. A set of stable objects.
|
|
95
|
+
2. Typed relations between those objects.
|
|
96
|
+
3. Evidence references for important claims.
|
|
97
|
+
4. Readiness state for objects or decisions.
|
|
98
|
+
5. A generated context pack for one task.
|
|
99
|
+
6. A boundary between canonical state and generated context.
|
|
100
|
+
|
|
101
|
+
## Conformance Direction
|
|
102
|
+
|
|
103
|
+
Future conformance levels:
|
|
104
|
+
|
|
105
|
+
- Level 0: terminology alignment;
|
|
106
|
+
- Level 1: canonical graph state;
|
|
107
|
+
- Level 2: context-pack generation;
|
|
108
|
+
- Level 3: governance-gated operation;
|
|
109
|
+
- Level 4: profiled multi-domain operation.
|
|
110
|
+
|
|
111
|
+
Conformance must be testable with schemas, fixtures and examples.
|
|
112
|
+
|
|
113
|
+
## Current Readiness
|
|
114
|
+
|
|
115
|
+
Verdict: `not_standard_ready`
|
|
116
|
+
|
|
117
|
+
Reason:
|
|
118
|
+
|
|
119
|
+
The repository now contains the public foundation, terminology, initial object
|
|
120
|
+
model, initial relation model, lifecycle/readiness, evidence/provenance,
|
|
121
|
+
graph DNA, graph seed, graph embryo, context-pack generation, profiles,
|
|
122
|
+
governance, Hybrid Source Of Truth, adoption levels, projection views,
|
|
123
|
+
runtime enablement, conformance levels, test-suite direction, initial schemas,
|
|
124
|
+
a validator, a minimal example and a synthetic benchmark.
|
|
125
|
+
|
|
126
|
+
Next required sections:
|
|
127
|
+
|
|
128
|
+
1. CLI seed preview and embryo generation;
|
|
129
|
+
2. stricter context-pack schema;
|
|
130
|
+
3. profile manifest schema;
|
|
131
|
+
4. richer negative fixtures;
|
|
132
|
+
5. independent implementation pilot.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Technology Quality Feedback
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Technology quality feedback checks whether completed work followed the declared
|
|
8
|
+
technology, process or method before that work can be accepted, released or
|
|
9
|
+
used as evidence for canonical change.
|
|
10
|
+
|
|
11
|
+
It exists because passing tests, producing artifacts or collecting evidence can
|
|
12
|
+
still hide process drift. A team needs a separate review loop that asks:
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
Did the work follow the technology it claimed to follow?
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Core Pattern
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
technology contract
|
|
22
|
+
-> work evidence
|
|
23
|
+
-> technology quality feedback
|
|
24
|
+
-> finding classification
|
|
25
|
+
-> transition decision
|
|
26
|
+
-> Kaizen / proposal / fix route
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The feedback report is a gate artifact. It classifies findings and routes the
|
|
30
|
+
next transition, but it does not execute actions or update canonical state.
|
|
31
|
+
|
|
32
|
+
## Required Rules
|
|
33
|
+
|
|
34
|
+
- Passing tests do not mean accepted work.
|
|
35
|
+
- Evidence does not authorize release or canonical update.
|
|
36
|
+
- Generated context and proposals do not mutate canonical state.
|
|
37
|
+
- Every finding must be classified.
|
|
38
|
+
- `process_improvement` findings route to Kaizen.
|
|
39
|
+
- `spec_gap` findings route back to planning, human review or graph sync
|
|
40
|
+
proposal.
|
|
41
|
+
- Blocking findings stop acceptance and release transitions.
|
|
42
|
+
|
|
43
|
+
## Classifications
|
|
44
|
+
|
|
45
|
+
Public Mirai Graph uses universal classifications:
|
|
46
|
+
|
|
47
|
+
- `accepted`;
|
|
48
|
+
- `work_fix_required`;
|
|
49
|
+
- `test_gap`;
|
|
50
|
+
- `spec_gap`;
|
|
51
|
+
- `graph_update_proposal`;
|
|
52
|
+
- `process_improvement`;
|
|
53
|
+
- `release_blocker`;
|
|
54
|
+
- `security_blocker`;
|
|
55
|
+
- `defer_with_reason`.
|
|
56
|
+
|
|
57
|
+
Domain adapters may map narrower terms to these values. For example, a
|
|
58
|
+
software-code review adapter may map `code_fix_required` to
|
|
59
|
+
`work_fix_required`.
|
|
60
|
+
|
|
61
|
+
## Review Dimensions
|
|
62
|
+
|
|
63
|
+
A feedback report should choose dimensions that match the technology being
|
|
64
|
+
checked. Common dimensions include:
|
|
65
|
+
|
|
66
|
+
- scope;
|
|
67
|
+
- architecture;
|
|
68
|
+
- ownership;
|
|
69
|
+
- security;
|
|
70
|
+
- runtime;
|
|
71
|
+
- tests;
|
|
72
|
+
- evidence;
|
|
73
|
+
- graph_drift;
|
|
74
|
+
- release;
|
|
75
|
+
- process_adherence.
|
|
76
|
+
|
|
77
|
+
## Transition Boundary
|
|
78
|
+
|
|
79
|
+
Technology feedback can support a process transition such as `review_ready`,
|
|
80
|
+
`accepted`, `approved` or `released`. It must not be treated as the transition
|
|
81
|
+
itself.
|
|
82
|
+
|
|
83
|
+
Significant work should enter acceptance or release states only when the
|
|
84
|
+
process-control contract requires and receives a passing technology quality
|
|
85
|
+
feedback report.
|
|
86
|
+
|
|
87
|
+
## Schema
|
|
88
|
+
|
|
89
|
+
Machine-readable feedback reports can be validated with:
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
schemas/technology-quality-feedback.schema.json
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The schema validates public shape, finding classification and boundary rules.
|
|
96
|
+
It does not prove semantic correctness, production safety or scientific
|
|
97
|
+
effectiveness.
|