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,133 @@
|
|
|
1
|
+
# Mirai Graph Conformance Levels
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Conformance levels describe how completely an implementation follows the
|
|
8
|
+
Mirai Graph standard.
|
|
9
|
+
|
|
10
|
+
Conformance must be testable. A project should not claim a level without
|
|
11
|
+
evidence, fixtures or validation output.
|
|
12
|
+
|
|
13
|
+
## Level 0: Terminology Alignment
|
|
14
|
+
|
|
15
|
+
The implementation uses Mirai Graph terminology consistently but does not yet
|
|
16
|
+
provide a complete canonical graph package.
|
|
17
|
+
|
|
18
|
+
Expected evidence:
|
|
19
|
+
|
|
20
|
+
- terminology map;
|
|
21
|
+
- declared deviations;
|
|
22
|
+
- no claim of full implementation.
|
|
23
|
+
|
|
24
|
+
Useful for:
|
|
25
|
+
|
|
26
|
+
- early documentation;
|
|
27
|
+
- research discussion;
|
|
28
|
+
- internal planning.
|
|
29
|
+
|
|
30
|
+
## Level 1: Canonical Graph State
|
|
31
|
+
|
|
32
|
+
The implementation maintains objects and relations in a structured graph
|
|
33
|
+
package.
|
|
34
|
+
|
|
35
|
+
Minimum requirements:
|
|
36
|
+
|
|
37
|
+
- object ids are stable;
|
|
38
|
+
- relation ids are stable;
|
|
39
|
+
- relation source and target resolve to existing objects;
|
|
40
|
+
- readiness values are present;
|
|
41
|
+
- evidence boundaries are explicit;
|
|
42
|
+
- package passes the validator.
|
|
43
|
+
|
|
44
|
+
Current validator:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
node packages/cli/validate-mirai-graph.js <package-dir>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Useful for:
|
|
51
|
+
|
|
52
|
+
- structured specification work;
|
|
53
|
+
- simple examples;
|
|
54
|
+
- early integration pilots.
|
|
55
|
+
|
|
56
|
+
## Level 2: Context-Pack Generation
|
|
57
|
+
|
|
58
|
+
The implementation can generate task-specific context packs from canonical
|
|
59
|
+
graph state.
|
|
60
|
+
|
|
61
|
+
Minimum requirements:
|
|
62
|
+
|
|
63
|
+
- context pack declares task boundary;
|
|
64
|
+
- included objects and relations are traceable;
|
|
65
|
+
- evidence references are preserved;
|
|
66
|
+
- omitted context is explainable;
|
|
67
|
+
- generated context is not treated as canonical state.
|
|
68
|
+
|
|
69
|
+
Useful for:
|
|
70
|
+
|
|
71
|
+
- AI-assisted work;
|
|
72
|
+
- context engineering;
|
|
73
|
+
- task-specific review and implementation.
|
|
74
|
+
|
|
75
|
+
## Level 3: Governance-Gated Operation
|
|
76
|
+
|
|
77
|
+
The implementation uses governance gates for accepted graph updates, public
|
|
78
|
+
claims or action-capable workflows.
|
|
79
|
+
|
|
80
|
+
Minimum requirements:
|
|
81
|
+
|
|
82
|
+
- governance gates are defined;
|
|
83
|
+
- gate results are recorded;
|
|
84
|
+
- blocked items remain traceable;
|
|
85
|
+
- action-capable workflows separate proposed, authorized and executed action;
|
|
86
|
+
- public claims are evidence-gated.
|
|
87
|
+
|
|
88
|
+
Useful for:
|
|
89
|
+
|
|
90
|
+
- organizational workflows;
|
|
91
|
+
- public documentation;
|
|
92
|
+
- safety-sensitive AI-assisted work;
|
|
93
|
+
- product or project governance.
|
|
94
|
+
|
|
95
|
+
## Level 4: Profiled Multi-Domain Operation
|
|
96
|
+
|
|
97
|
+
The implementation supports profiles and profile boundaries.
|
|
98
|
+
|
|
99
|
+
Minimum requirements:
|
|
100
|
+
|
|
101
|
+
- at least two profiles exist;
|
|
102
|
+
- profile-specific object kinds or relation types are documented;
|
|
103
|
+
- cross-profile conflicts are handled;
|
|
104
|
+
- conformance evidence is recorded per profile;
|
|
105
|
+
- core standard remains stable across profiles.
|
|
106
|
+
|
|
107
|
+
Useful for:
|
|
108
|
+
|
|
109
|
+
- multi-project systems;
|
|
110
|
+
- organizational adoption;
|
|
111
|
+
- cross-domain research;
|
|
112
|
+
- public-sector or country-scale conceptual modeling.
|
|
113
|
+
|
|
114
|
+
## Current Repository Conformance
|
|
115
|
+
|
|
116
|
+
Current status:
|
|
117
|
+
|
|
118
|
+
`Level 1 partial`
|
|
119
|
+
|
|
120
|
+
Evidence:
|
|
121
|
+
|
|
122
|
+
- minimal graph package validates;
|
|
123
|
+
- synthetic benchmark package validates;
|
|
124
|
+
- schemas and validator exist;
|
|
125
|
+
- standard sections are still incomplete.
|
|
126
|
+
|
|
127
|
+
Not yet present:
|
|
128
|
+
|
|
129
|
+
- full context-pack generation standard;
|
|
130
|
+
- governance gate result schema;
|
|
131
|
+
- profile conformance tests;
|
|
132
|
+
- package manifest schema;
|
|
133
|
+
- independent implementation pilot.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Mirai Graph Context-Pack Generation
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Context-pack generation defines how a Mirai Graph implementation produces
|
|
8
|
+
task-specific working context from canonical graph state.
|
|
9
|
+
|
|
10
|
+
A generated context pack helps a human or AI assistant perform a task. It does
|
|
11
|
+
not replace canonical graph state.
|
|
12
|
+
|
|
13
|
+
## Context Pack
|
|
14
|
+
|
|
15
|
+
A context pack is a task-bounded view of the graph.
|
|
16
|
+
|
|
17
|
+
It should include:
|
|
18
|
+
|
|
19
|
+
- task id or task description;
|
|
20
|
+
- included objects;
|
|
21
|
+
- included relations;
|
|
22
|
+
- evidence references;
|
|
23
|
+
- assumptions;
|
|
24
|
+
- omissions or excluded context;
|
|
25
|
+
- generation method;
|
|
26
|
+
- relevance scores and selection explanations when generated by tooling;
|
|
27
|
+
- timestamp or version reference;
|
|
28
|
+
- limitations.
|
|
29
|
+
|
|
30
|
+
## Minimum Context-Pack Metadata
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"id": "context_pack.notify_after_approval",
|
|
35
|
+
"task_id": "task.notify_after_approval",
|
|
36
|
+
"source_graph": "package.synthetic_context_reduction_v0",
|
|
37
|
+
"generated_at": "2026-05-28",
|
|
38
|
+
"included_objects": [],
|
|
39
|
+
"included_relations": [],
|
|
40
|
+
"evidence": [],
|
|
41
|
+
"selection": {
|
|
42
|
+
"method": "token_matching_one_hop_relation_expansion_safety_shared_evidence",
|
|
43
|
+
"task_tokens": ["task", "notify", "after", "approval"],
|
|
44
|
+
"object_explanations": [],
|
|
45
|
+
"relation_explanations": []
|
|
46
|
+
},
|
|
47
|
+
"limitations": []
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Generation Flow
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
task -> select relevant objects -> select relevant relations
|
|
55
|
+
-> include evidence references -> record omissions
|
|
56
|
+
-> generate context pack -> review/use for task
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Selection Rules
|
|
60
|
+
|
|
61
|
+
A context pack should include:
|
|
62
|
+
|
|
63
|
+
- objects directly required by the task;
|
|
64
|
+
- relations needed to understand dependencies and blockers;
|
|
65
|
+
- evidence supporting included claims;
|
|
66
|
+
- governance gates relevant to the task;
|
|
67
|
+
- known risks or limitations;
|
|
68
|
+
- safety, security, privacy or public-release constraints that share evidence
|
|
69
|
+
with the selected task context, even when they are not lexical task matches.
|
|
70
|
+
|
|
71
|
+
## Selection Explanations
|
|
72
|
+
|
|
73
|
+
Generated context packs should explain why each included object and relation was
|
|
74
|
+
selected.
|
|
75
|
+
|
|
76
|
+
Object explanations should include:
|
|
77
|
+
|
|
78
|
+
- object id;
|
|
79
|
+
- relevance score or equivalent ranking signal;
|
|
80
|
+
- reasons such as exact token match, one-hop relation expansion, safety-context
|
|
81
|
+
inclusion or evidence preservation.
|
|
82
|
+
|
|
83
|
+
Relation explanations should include:
|
|
84
|
+
|
|
85
|
+
- relation id;
|
|
86
|
+
- reason for inclusion;
|
|
87
|
+
- source and target ids when available.
|
|
88
|
+
|
|
89
|
+
Scores are implementation signals. They help review the generated context, but
|
|
90
|
+
they do not prove semantic completeness.
|
|
91
|
+
|
|
92
|
+
## Validation
|
|
93
|
+
|
|
94
|
+
Context-pack validation should check both shape and graph references:
|
|
95
|
+
|
|
96
|
+
- required metadata fields are present;
|
|
97
|
+
- `source_graph` matches the package manifest id;
|
|
98
|
+
- included object ids exist in the source graph;
|
|
99
|
+
- included relation ids exist and connect included objects;
|
|
100
|
+
- evidence ids exist in the source graph;
|
|
101
|
+
- selection explanations cover every included object and relation;
|
|
102
|
+
- relation explanations identify source and target ids.
|
|
103
|
+
|
|
104
|
+
A context pack should exclude:
|
|
105
|
+
|
|
106
|
+
- unrelated graph areas;
|
|
107
|
+
- private material outside the task boundary;
|
|
108
|
+
- deprecated objects unless needed for historical context;
|
|
109
|
+
- generated claims not accepted into canonical state.
|
|
110
|
+
|
|
111
|
+
## Evidence Preservation
|
|
112
|
+
|
|
113
|
+
Generated context should preserve evidence references. If a context pack
|
|
114
|
+
summarizes an object, it should still identify the source object and evidence
|
|
115
|
+
ids.
|
|
116
|
+
|
|
117
|
+
## Omissions
|
|
118
|
+
|
|
119
|
+
Omissions are part of responsible context generation.
|
|
120
|
+
|
|
121
|
+
Each non-trivial context pack should state:
|
|
122
|
+
|
|
123
|
+
- what was excluded;
|
|
124
|
+
- why it was excluded;
|
|
125
|
+
- whether exclusion creates risk;
|
|
126
|
+
- when a broader context review is needed.
|
|
127
|
+
|
|
128
|
+
## Generated Context Is Not Canonical State
|
|
129
|
+
|
|
130
|
+
Generated context packs may be reviewed and then used as evidence or source
|
|
131
|
+
material for graph updates. They do not automatically mutate canonical graph
|
|
132
|
+
state.
|
|
133
|
+
|
|
134
|
+
## Anti-Patterns
|
|
135
|
+
|
|
136
|
+
- Treating a generated context pack as the graph.
|
|
137
|
+
- Removing evidence references during summarization.
|
|
138
|
+
- Using one task pack for a different task without review.
|
|
139
|
+
- Omitting governance gates to make a task easier.
|
|
140
|
+
- Omitting safety constraints because they do not share task keywords.
|
|
141
|
+
- Generating public context from private material without a release gate.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Development Cockpit
|
|
2
|
+
|
|
3
|
+
Development Cockpit is a Mirai Graph instrumentation layer for steering governed work by observable signals instead of chat memory or informal confidence.
|
|
4
|
+
|
|
5
|
+
It does not replace tests, review, approval, release gates, or canonical graph updates. It aggregates evidence-backed indicators so a coordinator can see whether a work system is on course, drifting, blocked, or ready for the next governed transition.
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Development Cockpit is used when a project needs a compact operating view over:
|
|
10
|
+
|
|
11
|
+
- trajectory toward the current goal;
|
|
12
|
+
- graph coverage and implementation coverage;
|
|
13
|
+
- evidence confidence;
|
|
14
|
+
- documentation and code-location traceability;
|
|
15
|
+
- quality and architecture integrity;
|
|
16
|
+
- security, drift, blockers, dependencies, and next action.
|
|
17
|
+
|
|
18
|
+
The cockpit is intentionally an instrument panel. It can recommend a next action, but it cannot authorize execution, approval, release, or canonical update by itself.
|
|
19
|
+
|
|
20
|
+
## Required Model
|
|
21
|
+
|
|
22
|
+
A cockpit report must declare:
|
|
23
|
+
|
|
24
|
+
- `subject_ref`: the project, package, process, or work batch being observed;
|
|
25
|
+
- `generated_at`: when the report was produced;
|
|
26
|
+
- `instruments`: observable indicators with score, band, status, reason, and evidence references;
|
|
27
|
+
- `readiness`: separated readiness signals for developer testing, product maturity, production, and external user testing;
|
|
28
|
+
- `next_best_action`: a bounded recommended action with target cycle and required gates;
|
|
29
|
+
- `blocking_rules`: conditions that stop transition even when aggregate scores look high;
|
|
30
|
+
- `limitations`: boundary language that prevents confusing metrics with acceptance.
|
|
31
|
+
|
|
32
|
+
## Instrument Rules
|
|
33
|
+
|
|
34
|
+
Each instrument should be evidence-backed. Missing evidence is a signal, not a reason to fabricate confidence.
|
|
35
|
+
|
|
36
|
+
Recommended instrument families:
|
|
37
|
+
|
|
38
|
+
- `trajectory`: alignment with goal, DNA, scope, and current milestone;
|
|
39
|
+
- `graph_coverage`: whether relevant objects, relations, dependencies, and lifecycle states are represented;
|
|
40
|
+
- `implementation_coverage`: whether planned work maps to concrete implementation and evidence;
|
|
41
|
+
- `evidence_confidence`: whether evidence is current, reproducible, and tied to the right claims;
|
|
42
|
+
- `traceability`: whether features connect to specs, code, tests, documentation, and review;
|
|
43
|
+
- `quality`: test health, semantic review, technology adherence, and defect patterns;
|
|
44
|
+
- `architecture`: ownership boundaries, dependency shape, and source-boundary conformance;
|
|
45
|
+
- `risk`: blockers, drift, security findings, release risks, and recovery options.
|
|
46
|
+
|
|
47
|
+
## Transition Boundary
|
|
48
|
+
|
|
49
|
+
Development Cockpit can support a transition decision only when paired with the relevant gate:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
cockpit signal -> transition request -> required evidence -> gate validation -> decision
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
High cockpit readiness is not execution, implementation, acceptance, release, or approval.
|
|
56
|
+
|
|
57
|
+
## Kaizen Use
|
|
58
|
+
|
|
59
|
+
Cockpit signals should feed Kaizen when they reveal repeatable process issues:
|
|
60
|
+
|
|
61
|
+
- repeated missing evidence;
|
|
62
|
+
- recurring dependency drift;
|
|
63
|
+
- frequent reviewer corrections;
|
|
64
|
+
- weak traceability between feature intent and implementation;
|
|
65
|
+
- mismatch between tests and semantic acceptance.
|
|
66
|
+
|
|
67
|
+
The Kaizen output is a classified improvement or proposal, not an automatic canonical update.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Mirai Graph Evidence And Provenance
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Evidence and provenance rules explain how Mirai Graph links graph state to the
|
|
8
|
+
materials, observations, decisions and reviews that justify it.
|
|
9
|
+
|
|
10
|
+
Mirai Graph does not require every early idea to be fully proven. It does require
|
|
11
|
+
important claims, accepted objects, accepted relations and public validation
|
|
12
|
+
statements to make their evidence boundary explicit.
|
|
13
|
+
|
|
14
|
+
## Evidence Object
|
|
15
|
+
|
|
16
|
+
Evidence may be represented as a first-class object:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"id": "source.example_note",
|
|
21
|
+
"kind": "evidence",
|
|
22
|
+
"title": "Example source note",
|
|
23
|
+
"summary": "A public-safe note used as evidence for a synthetic example.",
|
|
24
|
+
"readiness": "accepted",
|
|
25
|
+
"evidence": [],
|
|
26
|
+
"profile": "software_specification",
|
|
27
|
+
"source_path": "source-corpus/example.md"
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Evidence Reference
|
|
32
|
+
|
|
33
|
+
Objects and relations reference evidence by stable id:
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"id": "feature.example",
|
|
38
|
+
"evidence": ["source.example_note"]
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
For mature Mirai Graph packages, evidence references should resolve to evidence
|
|
43
|
+
objects or declared external sources.
|
|
44
|
+
|
|
45
|
+
## Evidence Levels
|
|
46
|
+
|
|
47
|
+
Initial evidence levels:
|
|
48
|
+
|
|
49
|
+
- `synthetic`: artificial example or benchmark material;
|
|
50
|
+
- `internal_case`: internal project or operational evidence;
|
|
51
|
+
- `public_source`: public document, paper, repository or standard;
|
|
52
|
+
- `experiment`: structured experiment result;
|
|
53
|
+
- `review`: expert or peer review record;
|
|
54
|
+
- `decision`: accepted governance or owner decision.
|
|
55
|
+
|
|
56
|
+
Future schemas may add an explicit `evidence_level` field.
|
|
57
|
+
|
|
58
|
+
## Provenance Questions
|
|
59
|
+
|
|
60
|
+
For important graph state, a reviewer should be able to answer:
|
|
61
|
+
|
|
62
|
+
- Where did this object or relation come from?
|
|
63
|
+
- Is the source public, private, synthetic or experimental?
|
|
64
|
+
- Who accepted it into canonical state?
|
|
65
|
+
- What changed since the previous version?
|
|
66
|
+
- Can this evidence be used publicly?
|
|
67
|
+
- Does the evidence support the claim being made?
|
|
68
|
+
|
|
69
|
+
## Public-Safe Evidence Rules
|
|
70
|
+
|
|
71
|
+
Public Mirai Graph repositories should not include:
|
|
72
|
+
|
|
73
|
+
- private source chats;
|
|
74
|
+
- raw internal company materials;
|
|
75
|
+
- customer or employee data;
|
|
76
|
+
- secrets or access details;
|
|
77
|
+
- private repository paths;
|
|
78
|
+
- unpublished client work;
|
|
79
|
+
- private metrics without approval and redaction.
|
|
80
|
+
|
|
81
|
+
Use synthetic data or generalized public-safe summaries when public evidence is
|
|
82
|
+
needed.
|
|
83
|
+
|
|
84
|
+
## Claim Discipline
|
|
85
|
+
|
|
86
|
+
Evidence must match claim strength.
|
|
87
|
+
|
|
88
|
+
Synthetic benchmark evidence can support:
|
|
89
|
+
|
|
90
|
+
- method inspection;
|
|
91
|
+
- reproducibility of an example calculation;
|
|
92
|
+
- schema and tooling demonstration.
|
|
93
|
+
|
|
94
|
+
Synthetic benchmark evidence cannot support:
|
|
95
|
+
|
|
96
|
+
- external validity;
|
|
97
|
+
- real-world productivity improvement;
|
|
98
|
+
- universal superiority claims;
|
|
99
|
+
- agent safety claims.
|
|
100
|
+
|
|
101
|
+
Internal case evidence can support:
|
|
102
|
+
|
|
103
|
+
- case-study claims;
|
|
104
|
+
- design feasibility;
|
|
105
|
+
- observed workflow patterns.
|
|
106
|
+
|
|
107
|
+
Internal case evidence cannot be treated as public reproducibility unless the
|
|
108
|
+
data boundary and redaction plan are public and approved.
|
|
109
|
+
|
|
110
|
+
## Provenance In Generated Context Packs
|
|
111
|
+
|
|
112
|
+
A generated context pack should preserve evidence references for the objects and
|
|
113
|
+
relations it includes.
|
|
114
|
+
|
|
115
|
+
If context is compressed, the pack should still make clear:
|
|
116
|
+
|
|
117
|
+
- what canonical objects it uses;
|
|
118
|
+
- what evidence supports them;
|
|
119
|
+
- what was omitted;
|
|
120
|
+
- what the task boundary is.
|
|
121
|
+
|
|
122
|
+
## Anti-Patterns
|
|
123
|
+
|
|
124
|
+
- Treating a citation as evidence for a claim it does not support.
|
|
125
|
+
- Treating synthetic examples as real-world validation.
|
|
126
|
+
- Copying private source material into public examples.
|
|
127
|
+
- Losing evidence references during context-pack generation.
|
|
128
|
+
- Marking a public claim as validated before review.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Feature Implementation Traceability
|
|
2
|
+
|
|
3
|
+
Feature Implementation Traceability is a Mirai Graph pattern for connecting feature intent to implementation, tests, evidence, documentation, and review.
|
|
4
|
+
|
|
5
|
+
It answers a simple governance question:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
For each feature, what proves where it is implemented, how it was tested, what remains incomplete, and which transition decision it supports?
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
The traceability layer is useful for software products, AI employees, research systems, organizational processes, and other projects where generated or human plans must be tied to delivered work.
|
|
14
|
+
|
|
15
|
+
It should track:
|
|
16
|
+
|
|
17
|
+
- feature or capability reference;
|
|
18
|
+
- owning component or package;
|
|
19
|
+
- implementation mapping;
|
|
20
|
+
- dependency mapping;
|
|
21
|
+
- test and validation evidence;
|
|
22
|
+
- documentation evidence;
|
|
23
|
+
- review status;
|
|
24
|
+
- known gaps and blockers;
|
|
25
|
+
- supported transition or release decision.
|
|
26
|
+
|
|
27
|
+
## Required Separation
|
|
28
|
+
|
|
29
|
+
Mirai Graph keeps these states separate:
|
|
30
|
+
|
|
31
|
+
- `specified`: the feature is described;
|
|
32
|
+
- `mapped`: the feature is connected to expected implementation locations or work items;
|
|
33
|
+
- `implemented`: the work has concrete implementation evidence;
|
|
34
|
+
- `tested`: validation evidence exists;
|
|
35
|
+
- `reviewed`: semantic or human review exists;
|
|
36
|
+
- `accepted`: the relevant gate accepted the work;
|
|
37
|
+
- `released`: release or publication gate passed.
|
|
38
|
+
|
|
39
|
+
`specified`, `mapped`, `ready_to_execute`, and `ready_to_code` are not implementation.
|
|
40
|
+
|
|
41
|
+
## Mapping Rules
|
|
42
|
+
|
|
43
|
+
Every mapping should declare:
|
|
44
|
+
|
|
45
|
+
- `feature_ref`;
|
|
46
|
+
- `implementation_refs`;
|
|
47
|
+
- `test_refs`;
|
|
48
|
+
- `evidence_refs`;
|
|
49
|
+
- `review_refs`;
|
|
50
|
+
- `documentation_refs`;
|
|
51
|
+
- `status`;
|
|
52
|
+
- `confidence`;
|
|
53
|
+
- `known_gaps`.
|
|
54
|
+
|
|
55
|
+
An implementation mapping without evidence should stay below accepted readiness.
|
|
56
|
+
|
|
57
|
+
## Governance Use
|
|
58
|
+
|
|
59
|
+
Traceability supports:
|
|
60
|
+
|
|
61
|
+
- cockpit instrumentation;
|
|
62
|
+
- process-transition validation;
|
|
63
|
+
- release readiness review;
|
|
64
|
+
- technology quality feedback;
|
|
65
|
+
- drift detection;
|
|
66
|
+
- Kaizen classification.
|
|
67
|
+
|
|
68
|
+
It does not create approval. It gives reviewers and validators a reproducible path from intent to work evidence.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Federation Health
|
|
2
|
+
|
|
3
|
+
Status: alpha standard section
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Federation health summarizes whether a graph-managed federation is routable,
|
|
8
|
+
explainable and safe to use as a context/control layer.
|
|
9
|
+
|
|
10
|
+
## Health Signals
|
|
11
|
+
|
|
12
|
+
A health dashboard should include:
|
|
13
|
+
|
|
14
|
+
- skill or capability count;
|
|
15
|
+
- runtime-ready count;
|
|
16
|
+
- stale graph count;
|
|
17
|
+
- watch conflict count;
|
|
18
|
+
- unresolved conflict count;
|
|
19
|
+
- failed fixture count;
|
|
20
|
+
- high-risk routes without explanation;
|
|
21
|
+
- fallback-required route count;
|
|
22
|
+
- blocked route count;
|
|
23
|
+
- route regression status;
|
|
24
|
+
- pending learning proposals;
|
|
25
|
+
- conflict details with severity and next action.
|
|
26
|
+
|
|
27
|
+
## Conflict Details
|
|
28
|
+
|
|
29
|
+
Counts are not enough. A useful dashboard should identify:
|
|
30
|
+
|
|
31
|
+
- conflict family id;
|
|
32
|
+
- affected capabilities;
|
|
33
|
+
- failed fixture ids;
|
|
34
|
+
- latest route explanation references;
|
|
35
|
+
- required owner review;
|
|
36
|
+
- next action;
|
|
37
|
+
- severity.
|
|
38
|
+
|
|
39
|
+
## Boundary
|
|
40
|
+
|
|
41
|
+
Health dashboards are evidence and control surfaces. They do not grant runtime
|
|
42
|
+
authorization or canonical write permission.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Feedback Learning Gate
|
|
2
|
+
|
|
3
|
+
Status: alpha standard draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
This section defines how feedback can improve a Mirai Graph-modeled AI employee
|
|
8
|
+
without allowing uncontrolled self-modification.
|
|
9
|
+
|
|
10
|
+
## Core Flow
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
feedback -> proposal -> replay/evaluation -> approval -> canonical graph update
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Feedback
|
|
17
|
+
|
|
18
|
+
Feedback is an observation, review, correction, rating, error report or outcome
|
|
19
|
+
signal.
|
|
20
|
+
|
|
21
|
+
Feedback may come from:
|
|
22
|
+
|
|
23
|
+
- a human reviewer;
|
|
24
|
+
- an audited result;
|
|
25
|
+
- a failed action;
|
|
26
|
+
- a successful action;
|
|
27
|
+
- a monitoring signal;
|
|
28
|
+
- a peer AI employee;
|
|
29
|
+
- an external evaluation.
|
|
30
|
+
|
|
31
|
+
Feedback is evidence. It is not automatically a behavior change.
|
|
32
|
+
|
|
33
|
+
## Learning Proposal
|
|
34
|
+
|
|
35
|
+
A learning proposal describes what should change in the graph.
|
|
36
|
+
|
|
37
|
+
It may propose:
|
|
38
|
+
|
|
39
|
+
- updating a policy;
|
|
40
|
+
- adding or changing a lesson;
|
|
41
|
+
- changing a workflow;
|
|
42
|
+
- changing a skill description;
|
|
43
|
+
- adding a risk;
|
|
44
|
+
- changing a delegation rule;
|
|
45
|
+
- adding a new approval requirement.
|
|
46
|
+
|
|
47
|
+
## Replay Or Evaluation
|
|
48
|
+
|
|
49
|
+
Before acceptance, the proposal should be evaluated.
|
|
50
|
+
|
|
51
|
+
Evaluation may include:
|
|
52
|
+
|
|
53
|
+
- replaying the failed scenario;
|
|
54
|
+
- comparing expected and actual result;
|
|
55
|
+
- checking policy impact;
|
|
56
|
+
- checking safety or public-release risk;
|
|
57
|
+
- checking whether the lesson is too broad;
|
|
58
|
+
- checking whether the change conflicts with existing graph state.
|
|
59
|
+
|
|
60
|
+
## Approval
|
|
61
|
+
|
|
62
|
+
Learning changes that affect future behavior should pass a governance gate.
|
|
63
|
+
|
|
64
|
+
Examples:
|
|
65
|
+
|
|
66
|
+
- `feedback_learning_before_behavior_update`;
|
|
67
|
+
- `human_review_before_canonical_write`;
|
|
68
|
+
- `public_safety_before_release`;
|
|
69
|
+
- `approval_before_external_action`.
|
|
70
|
+
|
|
71
|
+
## Canonical Update
|
|
72
|
+
|
|
73
|
+
After approval, a canonical graph update may add, deprecate or change objects
|
|
74
|
+
and relations.
|
|
75
|
+
|
|
76
|
+
The update should preserve:
|
|
77
|
+
|
|
78
|
+
- feedback evidence;
|
|
79
|
+
- proposal id or source;
|
|
80
|
+
- approval record;
|
|
81
|
+
- affected object and relation ids;
|
|
82
|
+
- limitation or rollback note when relevant.
|
|
83
|
+
|
|
84
|
+
## Anti-Patterns
|
|
85
|
+
|
|
86
|
+
- Treating every feedback item as a permanent lesson.
|
|
87
|
+
- Letting a failed action automatically rewrite policy.
|
|
88
|
+
- Updating behavior without preserving evidence.
|
|
89
|
+
- Merging runtime logs directly into canonical memory.
|
|
90
|
+
- Accepting broad lessons from one narrow example.
|
|
91
|
+
|
|
92
|
+
## Claim Rule
|
|
93
|
+
|
|
94
|
+
Passing through a feedback learning gate supports this limited claim:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
The behavior update was proposed, evaluated and accepted through a recorded
|
|
98
|
+
governance process.
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
It does not prove the updated behavior is universally correct.
|