mirai-graph 1.3.0 → 2.1.0
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/cli.js +6 -0
- package/index.js +1 -0
- package/package.json +9 -121
- package/.github/workflows/ci.yml +0 -48
- package/.github/workflows/mirai-graph-validate.yml +0 -30
- package/CHANGELOG.md +0 -702
- package/CITATION.cff +0 -21
- package/LICENSE +0 -21
- package/LICENSE-DOCS +0 -26
- package/README.md +0 -351
- package/ROADMAP.md +0 -241
- package/benchmarks/protocols/measure-convert-optimize.md +0 -131
- package/benchmarks/synthetic-context-reduction-v0/README.md +0 -70
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +0 -52
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +0 -31
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +0 -12
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +0 -114
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +0 -74
- package/benchmarks/synthetic-context-reduction-v0/graph.json +0 -37
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +0 -22
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +0 -42
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +0 -181
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +0 -8
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +0 -28
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +0 -24
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +0 -78
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +0 -42
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +0 -31
- package/docs/README.md +0 -130
- package/docs/adoption/adopter-kit.md +0 -187
- package/docs/adoption/ai-employee-graph.md +0 -151
- package/docs/adoption/character-layer.md +0 -196
- package/docs/adoption/choose-profile.md +0 -106
- package/docs/adoption/cli.md +0 -134
- package/docs/adoption/connect-project-15-minutes.md +0 -122
- package/docs/adoption/developer-integration-guide.md +0 -122
- package/docs/adoption/end-to-end-control-loop.md +0 -168
- package/docs/adoption/for-developers.md +0 -210
- package/docs/adoption/getting-started.md +0 -192
- package/docs/adoption/mirai-graph-transition.md +0 -67
- package/docs/adoption/profile-conformance-fixtures.md +0 -112
- package/docs/adoption/seed-to-validated-package.md +0 -121
- package/docs/concept.md +0 -109
- package/docs/repository-purpose.md +0 -422
- package/docs/research/ai-work-field-instrumentation-bridge.md +0 -126
- package/docs/research/baseline-comparison-protocol.md +0 -79
- package/docs/research/evidence-package-v0.1.md +0 -99
- package/docs/research/evidence-package-v0.2.md +0 -150
- package/docs/research/evidence-package-v0.3.md +0 -256
- package/docs/research/independent-implementation-pilot-plan.md +0 -74
- package/docs/research/limitations-and-threats.md +0 -40
- package/docs/research/practice-science-program.md +0 -232
- package/docs/research/scientific-evidence-package.md +0 -188
- package/docs/research/semantic-completeness-review-protocol.md +0 -70
- package/docs/terminology.md +0 -119
- package/docs/transfer/ai-employee-profile-proposal.md +0 -119
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +0 -28
- package/docs/transfer/graph-capability-map-2026-05-29.md +0 -126
- package/docs/transfer/graph-skill-to-mirai-graph.md +0 -128
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +0 -322
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +0 -113
- package/docs/transfer/standard-gap-report-2026-05-28.md +0 -208
- package/examples/ai-employee-minimal/README.md +0 -53
- package/examples/ai-employee-minimal/gates/results.json +0 -35
- package/examples/ai-employee-minimal/graph/objects.json +0 -187
- package/examples/ai-employee-minimal/graph/relations.json +0 -167
- package/examples/ai-employee-minimal/graph.json +0 -37
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +0 -28
- package/examples/character-layer-integration-minimal/README.md +0 -25
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +0 -53
- package/examples/character-layer-minimal/README.md +0 -29
- package/examples/character-layer-minimal/gates/results.json +0 -57
- package/examples/character-layer-minimal/graph/objects.json +0 -165
- package/examples/character-layer-minimal/graph/relations.json +0 -178
- package/examples/character-layer-minimal/graph.json +0 -37
- package/examples/character-layer-readiness-1-0/README.md +0 -27
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +0 -90
- package/examples/dynamic-episode-minimal/README.md +0 -34
- package/examples/dynamic-episode-minimal/gates/results.json +0 -12
- package/examples/dynamic-episode-minimal/graph/objects.json +0 -92
- package/examples/dynamic-episode-minimal/graph/relations.json +0 -29
- package/examples/dynamic-episode-minimal/graph.json +0 -47
- package/examples/dynamic-episode-minimal/invalid-canonical-write-allowed.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-evidence-as-authorization.json +0 -46
- package/examples/dynamic-episode-minimal/invalid-missing-event.json +0 -35
- package/examples/dynamic-episode-minimal/invalid-missing-selected-path.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-unclassified-finding.json +0 -50
- package/examples/dynamic-episode-minimal/results/dynamic-episode-trace.json +0 -149
- package/examples/federation-routing-smoke/README.md +0 -19
- package/examples/federation-routing-smoke/federation-health-dashboard.json +0 -42
- package/examples/federation-routing-smoke/route-explanation.json +0 -32
- package/examples/federation-routing-smoke/route-regression-result.json +0 -35
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +0 -8
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routing-fixture-run.json +0 -66
- package/examples/federation-routing-smoke/routing-fixtures.json +0 -44
- package/examples/goal-vector-quality-control-minimal/README.md +0 -22
- package/examples/goal-vector-quality-control-minimal/gates/results.json +0 -22
- package/examples/goal-vector-quality-control-minimal/graph/objects.json +0 -56
- package/examples/goal-vector-quality-control-minimal/graph/relations.json +0 -29
- package/examples/goal-vector-quality-control-minimal/graph.json +0 -41
- package/examples/goal-vector-quality-control-minimal/invalid-complete-without-evidence.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-correction-without-route.json +0 -86
- package/examples/goal-vector-quality-control-minimal/invalid-missing-reverse-audit.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-missing-vector-link.json +0 -62
- package/examples/goal-vector-quality-control-minimal/invalid-tests-as-acceptance.json +0 -72
- package/examples/goal-vector-quality-control-minimal/results/goal-vector-quality-control.json +0 -130
- package/examples/graph-dna-alignment-minimal/README.md +0 -16
- package/examples/graph-dna-alignment-minimal/graph/objects.json +0 -38
- package/examples/graph-dna-alignment-minimal/graph/relations.json +0 -20
- package/examples/graph-dna-alignment-minimal/graph.json +0 -37
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +0 -32
- package/examples/graph-seed-minimal/README.md +0 -9
- package/examples/graph-seed-minimal/graph-embryo.json +0 -63
- package/examples/graph-seed-minimal/graph-seed.json +0 -60
- package/examples/implementation-control-cycles/README.md +0 -47
- package/examples/implementation-control-cycles/gates/results.json +0 -22
- package/examples/implementation-control-cycles/graph/objects.json +0 -119
- package/examples/implementation-control-cycles/graph/relations.json +0 -200
- package/examples/implementation-control-cycles/graph.json +0 -37
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +0 -456
- package/examples/implementation-control-minimal/README.md +0 -39
- package/examples/implementation-control-minimal/gates/results.json +0 -42
- package/examples/implementation-control-minimal/graph/objects.json +0 -128
- package/examples/implementation-control-minimal/graph/relations.json +0 -128
- package/examples/implementation-control-minimal/graph.json +0 -37
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +0 -21
- package/examples/instrumentation-layer-minimal/README.md +0 -32
- package/examples/instrumentation-layer-minimal/gates/results.json +0 -11
- package/examples/instrumentation-layer-minimal/graph/objects.json +0 -74
- package/examples/instrumentation-layer-minimal/graph/relations.json +0 -56
- package/examples/instrumentation-layer-minimal/graph.json +0 -37
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +0 -40
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +0 -43
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +0 -68
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +0 -56
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +0 -72
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +0 -22
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +0 -1
- package/examples/invalid-character-layer-context-authorization/graph.json +0 -35
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +0 -22
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +0 -1
- package/examples/invalid-character-layer-correction-loop-no-review/graph.json +0 -35
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +0 -22
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +0 -1
- package/examples/invalid-character-layer-feedback-auto-update/graph.json +0 -35
- package/examples/invalid-character-layer-object-kind/graph/objects.json +0 -22
- package/examples/invalid-character-layer-object-kind/graph/relations.json +0 -1
- package/examples/invalid-character-layer-object-kind/graph.json +0 -35
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-direction/graph.json +0 -35
- package/examples/invalid-character-layer-relation-type/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-type/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-type/graph.json +0 -35
- package/examples/invalid-character-layer-role-permission/graph/objects.json +0 -22
- package/examples/invalid-character-layer-role-permission/graph/relations.json +0 -1
- package/examples/invalid-character-layer-role-permission/graph.json +0 -35
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +0 -25
- package/examples/invalid-missing-relation-target/graph/objects.json +0 -11
- package/examples/invalid-missing-relation-target/graph/relations.json +0 -11
- package/examples/invalid-missing-relation-target/graph.json +0 -32
- package/examples/invalid-profile-object-kind/graph/objects.json +0 -20
- package/examples/invalid-profile-object-kind/graph/relations.json +0 -1
- package/examples/invalid-profile-object-kind/graph.json +0 -32
- package/examples/invalid-profile-relation-type/graph/objects.json +0 -29
- package/examples/invalid-profile-relation-type/graph/relations.json +0 -11
- package/examples/invalid-profile-relation-type/graph.json +0 -32
- package/examples/invalid-relation-id-mismatch/graph/objects.json +0 -29
- package/examples/invalid-relation-id-mismatch/graph/relations.json +0 -11
- package/examples/invalid-relation-id-mismatch/graph.json +0 -32
- package/examples/invalid-seed-unsafe-write/graph-seed.json +0 -27
- package/examples/invalid-societal-governance-auto-learning-update/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-auto-learning-update/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-auto-learning-update/graph.json +0 -35
- package/examples/invalid-societal-governance-avatar-no-consent/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-avatar-no-consent/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-avatar-no-consent/graph.json +0 -35
- package/examples/invalid-societal-governance-generated-context-authorization/graph/objects.json +0 -38
- package/examples/invalid-societal-governance-generated-context-authorization/graph/relations.json +0 -20
- package/examples/invalid-societal-governance-generated-context-authorization/graph.json +0 -35
- package/examples/invalid-societal-governance-missing-appeal-path/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-missing-appeal-path/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-missing-appeal-path/graph.json +0 -35
- package/examples/invalid-societal-governance-private-trace-exposed/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-private-trace-exposed/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-private-trace-exposed/graph.json +0 -35
- package/examples/invalid-societal-governance-rights-overridden/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-rights-overridden/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-rights-overridden/graph.json +0 -35
- package/examples/launch-record-minimal/README.md +0 -29
- package/examples/launch-record-minimal/gates/results.json +0 -12
- package/examples/launch-record-minimal/graph/objects.json +0 -47
- package/examples/launch-record-minimal/graph/relations.json +0 -38
- package/examples/launch-record-minimal/graph.json +0 -34
- package/examples/launch-record-minimal/results/launch-record.json +0 -51
- package/examples/managed-project-control-loop/README.md +0 -43
- package/examples/managed-project-control-loop/gates/results.json +0 -22
- package/examples/managed-project-control-loop/graph/objects.json +0 -119
- package/examples/managed-project-control-loop/graph/relations.json +0 -110
- package/examples/managed-project-control-loop/graph.json +0 -37
- package/examples/managed-project-control-loop/results/managed-loop-result.json +0 -21
- package/examples/minimal-graph/README.md +0 -15
- package/examples/minimal-graph/gates/results.json +0 -12
- package/examples/minimal-graph/graph/objects.json +0 -24
- package/examples/minimal-graph/graph/relations.json +0 -11
- package/examples/minimal-graph/graph.json +0 -37
- package/examples/minimal-graph/results/profile-conformance-result.json +0 -26
- package/examples/model-portability-minimal/README.md +0 -15
- package/examples/model-portability-minimal/results/model-portability-evidence.json +0 -55
- package/examples/organization-governance-minimal/README.md +0 -29
- package/examples/organization-governance-minimal/gates/results.json +0 -21
- package/examples/organization-governance-minimal/graph/objects.json +0 -147
- package/examples/organization-governance-minimal/graph/relations.json +0 -147
- package/examples/organization-governance-minimal/graph.json +0 -37
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +0 -31
- package/examples/process-control-contract-minimal/README.md +0 -19
- package/examples/process-control-contract-minimal/graph/objects.json +0 -38
- package/examples/process-control-contract-minimal/graph/relations.json +0 -29
- package/examples/process-control-contract-minimal/graph.json +0 -34
- package/examples/process-control-contract-minimal/results/process-control-contract.json +0 -58
- package/examples/process-transition-minimal/README.md +0 -25
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +0 -14
- package/examples/process-transition-minimal/invalid-ready-to-written.json +0 -14
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +0 -14
- package/examples/process-transition-minimal/invalid-sync-to-update.json +0 -14
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +0 -14
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +0 -14
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +0 -35
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +0 -34
- package/examples/process-transition-minimal/state-machine.json +0 -79
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +0 -14
- package/examples/process-transition-minimal/transition-request.json +0 -14
- package/examples/project-technology-context-traversal/README.md +0 -17
- package/examples/project-technology-context-traversal/graph/objects.json +0 -78
- package/examples/project-technology-context-traversal/graph/relations.json +0 -47
- package/examples/project-technology-context-traversal/graph.json +0 -30
- package/examples/project-technology-context-traversal/selection.example.json +0 -29
- package/examples/project-technology-context-traversal/sources/announcement.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-guide.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-smoke.md +0 -3
- package/examples/project-technology-context-traversal/sources/rollback-policy.md +0 -3
- package/examples/risk-and-coordination-minimal/README.md +0 -16
- package/examples/risk-and-coordination-minimal/graph/objects.json +0 -47
- package/examples/risk-and-coordination-minimal/graph/relations.json +0 -29
- package/examples/risk-and-coordination-minimal/graph.json +0 -37
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +0 -25
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +0 -34
- package/examples/self-service-onboarding/bootstrap-proposal/bootstrap-proposal.json +0 -20
- package/examples/self-service-onboarding/existing-graph/README.md +0 -4
- package/examples/self-service-onboarding/existing-graph/gates/results.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/objects.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/relations.json +0 -1
- package/examples/self-service-onboarding/existing-graph/graph.json +0 -36
- package/examples/self-service-onboarding/no-graph/README.md +0 -6
- package/examples/self-service-onboarding/no-graph/package.json +0 -6
- package/examples/self-service-onboarding/no-graph/src/index.js +0 -3
- package/examples/self-service-onboarding/stale-graph/README.md +0 -4
- package/examples/self-service-onboarding/stale-graph/graph.json +0 -36
- package/examples/semantic-intent-resolution-minimal/README.md +0 -13
- package/examples/semantic-intent-resolution-minimal/invalid-low-confidence-executes.json +0 -26
- package/examples/semantic-intent-resolution-minimal/invalid-proposal-canonical-update.json +0 -27
- package/examples/semantic-intent-resolution-minimal/results/semantic-intent-resolution.json +0 -45
- package/examples/skill-runtime-minimal/README.md +0 -29
- package/examples/skill-runtime-minimal/gates/results.json +0 -35
- package/examples/skill-runtime-minimal/graph/objects.json +0 -209
- package/examples/skill-runtime-minimal/graph/relations.json +0 -178
- package/examples/skill-runtime-minimal/graph.json +0 -37
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +0 -27
- package/examples/societal-governance-minimal/README.md +0 -37
- package/examples/societal-governance-minimal/graph/objects.json +0 -218
- package/examples/societal-governance-minimal/graph/relations.json +0 -209
- package/examples/societal-governance-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/README.md +0 -16
- package/examples/source-boundary-minimal/graph/objects.json +0 -38
- package/examples/source-boundary-minimal/graph/relations.json +0 -20
- package/examples/source-boundary-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +0 -37
- package/examples/technology-quality-feedback-minimal/README.md +0 -33
- package/examples/technology-quality-feedback-minimal/graph/objects.json +0 -56
- package/examples/technology-quality-feedback-minimal/graph/relations.json +0 -47
- package/examples/technology-quality-feedback-minimal/graph.json +0 -34
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +0 -33
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +0 -80
- package/examples/work-recovery-minimal/README.md +0 -15
- package/examples/work-recovery-minimal/graph/objects.json +0 -47
- package/examples/work-recovery-minimal/graph/relations.json +0 -20
- package/examples/work-recovery-minimal/graph.json +0 -37
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +0 -17
- package/examples/work-recovery-minimal/results/work-state-machine.json +0 -21
- package/packages/cli/adopter-workflow.js +0 -228
- package/packages/cli/context-pack.js +0 -269
- package/packages/cli/graph-manifest.js +0 -367
- package/packages/cli/instrumentation-report.js +0 -97
- package/packages/cli/migrate-graph-manifest.js +0 -33
- package/packages/cli/mirai-graph.js +0 -154
- package/packages/cli/mirai_graph.js +0 -3
- package/packages/cli/playground-demo.js +0 -114
- package/packages/cli/project-technology.js +0 -129
- package/packages/cli/readiness-score.js +0 -164
- package/packages/cli/release-state.js +0 -329
- package/packages/cli/seed-preview.js +0 -78
- package/packages/cli/self-service-onboarding.js +0 -386
- package/packages/cli/validate-adopter-workflow.js +0 -63
- package/packages/cli/validate-artifact-releases.js +0 -282
- package/packages/cli/validate-baseline-comparison.js +0 -105
- package/packages/cli/validate-context-traversal.js +0 -292
- package/packages/cli/validate-graph-manifest-migration.js +0 -64
- package/packages/cli/validate-mirai-graph.js +0 -3245
- package/packages/cli/validate-process-transition-report.js +0 -105
- package/packages/cli/validate-profile-results.js +0 -64
- package/packages/cli/validate-project-continuity.js +0 -173
- package/packages/cli/validate-project-technology.js +0 -296
- package/packages/cli/validate-release-state.js +0 -100
- package/packages/cli/validate-routing-control-examples.js +0 -79
- package/packages/cli/validate-self-service-onboarding.js +0 -159
- package/packages/project-technology/artifact-release.js +0 -738
- package/packages/project-technology/context-traversal.js +0 -684
- package/packages/project-technology/continuity.js +0 -414
- package/packages/project-technology/index.js +0 -835
- package/pilots/independent-implementation-001-conference-planning/README.md +0 -40
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +0 -12
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +0 -74
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +0 -56
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +0 -65
- package/pilots/independent-implementation-001-conference-planning/graph.json +0 -37
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +0 -120
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +0 -35
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +0 -81
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +0 -7
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/README.md +0 -40
- package/pilots/independent-implementation-002-software-specification/gates/results.json +0 -22
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +0 -101
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +0 -92
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +0 -72
- package/pilots/independent-implementation-002-software-specification/graph.json +0 -37
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +0 -142
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +0 -184
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +0 -90
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +0 -81
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +0 -42
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +0 -30
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +0 -156
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +0 -147
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +0 -90
- package/pilots/independent-implementation-003-ai-employee-workflow/graph.json +0 -37
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +0 -49
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-004-research-program/README.md +0 -41
- package/pilots/independent-implementation-004-research-program/gates/results.json +0 -21
- package/pilots/independent-implementation-004-research-program/graph/objects.json +0 -102
- package/pilots/independent-implementation-004-research-program/graph/relations.json +0 -84
- package/pilots/independent-implementation-004-research-program/graph-seed.json +0 -76
- package/pilots/independent-implementation-004-research-program/graph.json +0 -37
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +0 -50
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-005-organization-governance/README.md +0 -42
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +0 -20
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +0 -137
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +0 -110
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +0 -97
- package/pilots/independent-implementation-005-organization-governance/graph.json +0 -37
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +0 -47
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +0 -29
- package/playground/README.md +0 -78
- package/playground/demo-report.md +0 -84
- package/profiles/README.md +0 -28
- package/profiles/ai-employee/README.md +0 -132
- package/profiles/ai-employee/profile.json +0 -58
- package/profiles/character-layer/README.md +0 -143
- package/profiles/character-layer/profile.json +0 -46
- package/profiles/implementation-control/README.md +0 -174
- package/profiles/implementation-control/profile.json +0 -108
- package/profiles/organization-governance/README.md +0 -60
- package/profiles/organization-governance/profile.json +0 -56
- package/profiles/project-management/README.md +0 -119
- package/profiles/project-management/profile.json +0 -38
- package/profiles/skill-runtime/README.md +0 -99
- package/profiles/skill-runtime/profile.json +0 -58
- package/profiles/societal-governance/README.md +0 -129
- package/profiles/societal-governance/profile.json +0 -121
- package/profiles/software-specification/README.md +0 -142
- package/profiles/software-specification/profile.json +0 -31
- package/publications/README.md +0 -39
- package/publications/observable-self-correcting-ai-workflows/README.md +0 -105
- package/publications/preprint-note.md +0 -11
- package/publications/preprint-outline.md +0 -45
- package/publications/semantic-intent-goal-vector-control/README.md +0 -99
- package/releases/0.1.0-alpha.0.md +0 -45
- package/releases/0.1.0-alpha.1.md +0 -63
- package/releases/0.1.0-alpha.10.md +0 -93
- package/releases/0.1.0-alpha.11.md +0 -114
- package/releases/0.1.0-alpha.2.md +0 -37
- package/releases/0.1.0-alpha.3.md +0 -61
- package/releases/0.1.0-alpha.4.md +0 -53
- package/releases/0.1.0-alpha.5.md +0 -48
- package/releases/0.1.0-alpha.6.md +0 -96
- package/releases/0.1.0-alpha.7.md +0 -114
- package/releases/0.1.0-alpha.8.md +0 -92
- package/releases/0.1.0-alpha.9.md +0 -80
- package/releases/1.0.0-rc.1.md +0 -121
- package/releases/1.0.0-rc.10.md +0 -14
- package/releases/1.0.0-rc.11.md +0 -14
- package/releases/1.0.0-rc.2.md +0 -79
- package/releases/1.0.0-rc.3.md +0 -51
- package/releases/1.0.0-rc.4.md +0 -70
- package/releases/1.0.0-rc.5.md +0 -88
- package/releases/1.0.0-rc.6.md +0 -76
- package/releases/1.0.0-rc.8.md +0 -17
- package/releases/1.0.0-rc.9.md +0 -14
- package/releases/1.0.0.md +0 -23
- package/releases/1.1.0.md +0 -36
- package/releases/1.1.1.md +0 -25
- package/releases/1.2.0.md +0 -19
- package/releases/1.3.0.md +0 -16
- package/releases/README.md +0 -135
- package/releases/societal-governance-profile-proposal.md +0 -45
- package/schemas/baseline-comparison-result.schema.json +0 -87
- package/schemas/character-layer-integration.schema.json +0 -112
- package/schemas/character-layer-readiness.schema.json +0 -73
- package/schemas/context-pack.schema.json +0 -190
- package/schemas/context-traversal-receipt.schema.json +0 -64
- package/schemas/development-cockpit.schema.json +0 -74
- package/schemas/dynamic-episode-trace.schema.json +0 -153
- package/schemas/feature-implementation-traceability.schema.json +0 -80
- package/schemas/federation-health-dashboard.schema.json +0 -47
- package/schemas/gate-result.schema.json +0 -44
- package/schemas/goal-vector-quality-control.schema.json +0 -131
- package/schemas/graph-dna-alignment.schema.json +0 -49
- package/schemas/graph-embryo.schema.json +0 -51
- package/schemas/graph-lock.schema.json +0 -28
- package/schemas/graph-manifest.schema.json +0 -154
- package/schemas/graph-seed.schema.json +0 -137
- package/schemas/implementation-control-cycle.schema.json +0 -265
- package/schemas/implementation-control-loop.schema.json +0 -84
- package/schemas/launch-record.schema.json +0 -78
- package/schemas/model-portability-evidence.schema.json +0 -93
- package/schemas/multi-agent-coordination.schema.json +0 -35
- package/schemas/multi-source-quality-feedback.schema.json +0 -54
- package/schemas/object.schema.json +0 -49
- package/schemas/package-manifest.schema.json +0 -53
- package/schemas/process-control-contract.schema.json +0 -100
- package/schemas/process-transition-request.schema.json +0 -41
- package/schemas/profile.schema.json +0 -56
- package/schemas/project-technology-extension.schema.json +0 -15
- package/schemas/project-technology-target-export.schema.json +0 -35
- package/schemas/readiness-score.schema.json +0 -43
- package/schemas/recovery-resume-record.schema.json +0 -25
- package/schemas/relation.schema.json +0 -43
- package/schemas/risk-control-matrix.schema.json +0 -36
- package/schemas/route-explanation.schema.json +0 -51
- package/schemas/route-regression-result.schema.json +0 -33
- package/schemas/routing-fixture-run.schema.json +0 -45
- package/schemas/routing-fixtures.schema.json +0 -59
- package/schemas/semantic-intent-resolution.schema.json +0 -151
- package/schemas/source-boundary-contract.schema.json +0 -31
- package/schemas/technology-quality-feedback.schema.json +0 -116
- package/schemas/work-state-machine.schema.json +0 -34
- package/standard/action-runtime-boundary.md +0 -99
- package/standard/adoption-levels.md +0 -69
- package/standard/conformance-levels.md +0 -133
- package/standard/context-pack-generation.md +0 -184
- package/standard/development-cockpit.md +0 -67
- package/standard/dynamic-episode-layer.md +0 -113
- package/standard/dynamic-layer-code-generation.md +0 -87
- package/standard/episode-trace.md +0 -97
- package/standard/evidence-provenance.md +0 -128
- package/standard/feature-implementation-traceability.md +0 -68
- package/standard/federation-health.md +0 -42
- package/standard/feedback-learning-gate.md +0 -101
- package/standard/goal-vector-quality-control.md +0 -128
- package/standard/governance.md +0 -137
- package/standard/graph-as-ai-brain.md +0 -81
- package/standard/graph-dna-alignment.md +0 -50
- package/standard/graph-dna.md +0 -70
- package/standard/graph-embryo.md +0 -69
- package/standard/graph-seed.md +0 -122
- package/standard/hybrid-source-of-truth.md +0 -91
- package/standard/implementation-control-cycles.md +0 -194
- package/standard/implementation-control.md +0 -102
- package/standard/launch-record.md +0 -53
- package/standard/lifecycle-readiness.md +0 -159
- package/standard/multi-agent-coordination.md +0 -50
- package/standard/multi-source-quality-feedback.md +0 -71
- package/standard/object-model.md +0 -167
- package/standard/organization-governance.md +0 -83
- package/standard/process-control-contract.md +0 -53
- package/standard/profile-boundaries.md +0 -225
- package/standard/profiles.md +0 -253
- package/standard/project-technology.md +0 -186
- package/standard/projection-views.md +0 -69
- package/standard/recovery-resume.md +0 -49
- package/standard/relation-model.md +0 -149
- package/standard/risk-control-matrix.md +0 -53
- package/standard/route-explanation.md +0 -35
- package/standard/route-regression.md +0 -33
- package/standard/routing-fixtures.md +0 -54
- package/standard/runtime-enablement.md +0 -85
- package/standard/semantic-intent-resolution.md +0 -91
- package/standard/source-boundary-contract.md +0 -49
- package/standard/standard-v0.1.md +0 -132
- package/standard/technology-quality-feedback.md +0 -97
- package/standard/test-suite.md +0 -159
- package/standard/work-state-machine.md +0 -62
- package/templates/README.md +0 -77
- package/templates/ai-employee-starter/README.md +0 -9
- package/templates/ai-employee-starter/gates/results.json +0 -12
- package/templates/ai-employee-starter/graph/objects.json +0 -90
- package/templates/ai-employee-starter/graph/relations.json +0 -47
- package/templates/ai-employee-starter/graph.json +0 -37
- package/templates/character-layer-starter/README.md +0 -39
- package/templates/character-layer-starter/gates/results.json +0 -20
- package/templates/character-layer-starter/graph/objects.json +0 -308
- package/templates/character-layer-starter/graph/relations.json +0 -344
- package/templates/character-layer-starter/graph.json +0 -37
- package/templates/organization-governance-starter/README.md +0 -9
- package/templates/organization-governance-starter/gates/results.json +0 -12
- package/templates/organization-governance-starter/graph/objects.json +0 -112
- package/templates/organization-governance-starter/graph/relations.json +0 -65
- package/templates/organization-governance-starter/graph.json +0 -37
- package/templates/research-program-starter/README.md +0 -9
- package/templates/research-program-starter/gates/results.json +0 -12
- package/templates/research-program-starter/graph/objects.json +0 -79
- package/templates/research-program-starter/graph/relations.json +0 -47
- package/templates/research-program-starter/graph.json +0 -37
- package/templates/software-project-starter/README.md +0 -9
- package/templates/software-project-starter/gates/results.json +0 -12
- package/templates/software-project-starter/graph/objects.json +0 -79
- package/templates/software-project-starter/graph/relations.json +0 -47
- package/templates/software-project-starter/graph.json +0 -37
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Projection Views
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
A full Mirai Graph can become too dense for direct human review. Projection views
|
|
8
|
-
are bounded generated views that expose the part of the graph needed for a
|
|
9
|
-
specific decision, task or review.
|
|
10
|
-
|
|
11
|
-
Projection views are control surfaces. They help people and AI systems inspect
|
|
12
|
-
readiness, risk, evidence and next actions without treating the generated view
|
|
13
|
-
as the source of truth.
|
|
14
|
-
|
|
15
|
-
## Common View Types
|
|
16
|
-
|
|
17
|
-
- `readiness_view`: current readiness and blockers;
|
|
18
|
-
- `risk_view`: risks, unsafe actions and required gates;
|
|
19
|
-
- `owner_routing_view`: owner domains, capabilities and routing paths;
|
|
20
|
-
- `evidence_view`: evidence coverage and unsupported claims;
|
|
21
|
-
- `gate_view`: governance gates, verdicts and missing approvals;
|
|
22
|
-
- `adoption_view`: Mirai Graph adoption level and next action;
|
|
23
|
-
- `runtime_view`: runtime policy status, fallback and context refs;
|
|
24
|
-
- `learning_view`: feedback, proposals, evaluations and approved updates.
|
|
25
|
-
|
|
26
|
-
## Required Fields
|
|
27
|
-
|
|
28
|
-
A projection view should record:
|
|
29
|
-
|
|
30
|
-
- `id`;
|
|
31
|
-
- `view_type`;
|
|
32
|
-
- `source_graph`;
|
|
33
|
-
- `generated_at`;
|
|
34
|
-
- `purpose`;
|
|
35
|
-
- `included_objects`;
|
|
36
|
-
- `included_relations`;
|
|
37
|
-
- `evidence`;
|
|
38
|
-
- `limitations`;
|
|
39
|
-
- `next_actions`.
|
|
40
|
-
|
|
41
|
-
## Authority Boundary
|
|
42
|
-
|
|
43
|
-
A projection view is generated context. It should not become canonical graph
|
|
44
|
-
state unless an implementation explicitly records an approved update.
|
|
45
|
-
|
|
46
|
-
Projection views may reveal gaps. They should not silently fill those gaps.
|
|
47
|
-
|
|
48
|
-
## User Value
|
|
49
|
-
|
|
50
|
-
Projection views are important because they make Mirai Graph usable for repeated
|
|
51
|
-
management work:
|
|
52
|
-
|
|
53
|
-
- what is ready;
|
|
54
|
-
- what is blocked;
|
|
55
|
-
- who owns the next step;
|
|
56
|
-
- which evidence supports a claim;
|
|
57
|
-
- which gate must happen before action;
|
|
58
|
-
- what changed since the previous review.
|
|
59
|
-
|
|
60
|
-
## Limited Claim
|
|
61
|
-
|
|
62
|
-
A projection view supports this limited claim:
|
|
63
|
-
|
|
64
|
-
```text
|
|
65
|
-
The implementation generated a bounded, task-specific view from graph state.
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
It does not prove that the graph is complete or that the recommended action is
|
|
69
|
-
safe to execute.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Recovery And Resume
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Recovery and resume rules make governed work resumable after interruption,
|
|
8
|
-
context loss, failed commands, dirty worktrees, missing access or failed
|
|
9
|
-
validation without relying on chat memory.
|
|
10
|
-
|
|
11
|
-
## Resume Principle
|
|
12
|
-
|
|
13
|
-
Resume from durable artifacts:
|
|
14
|
-
|
|
15
|
-
- workflow or process record;
|
|
16
|
-
- launch or reservation record;
|
|
17
|
-
- branch and commit state;
|
|
18
|
-
- validation result;
|
|
19
|
-
- evidence pack;
|
|
20
|
-
- sync proposal;
|
|
21
|
-
- blockers;
|
|
22
|
-
- next safe command;
|
|
23
|
-
- rollback option.
|
|
24
|
-
|
|
25
|
-
Do not resume by guessing from conversation history.
|
|
26
|
-
|
|
27
|
-
## Required Resume Record
|
|
28
|
-
|
|
29
|
-
A resume record should include:
|
|
30
|
-
|
|
31
|
-
- current state;
|
|
32
|
-
- last good commit or durable checkpoint;
|
|
33
|
-
- current branch or workspace id;
|
|
34
|
-
- target object or work scope;
|
|
35
|
-
- launch/reservation reference;
|
|
36
|
-
- last validation result;
|
|
37
|
-
- evidence status;
|
|
38
|
-
- blockers;
|
|
39
|
-
- next safe command;
|
|
40
|
-
- rollback option;
|
|
41
|
-
- whether human confirmation is required.
|
|
42
|
-
|
|
43
|
-
## Schema
|
|
44
|
-
|
|
45
|
-
Machine-readable resume records can be validated with:
|
|
46
|
-
|
|
47
|
-
```text
|
|
48
|
-
schemas/recovery-resume-record.schema.json
|
|
49
|
-
```
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Relation Model
|
|
2
|
-
|
|
3
|
-
Status: 1.1 stable standard section
|
|
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
|
-
Project Technology context traversal also standardizes:
|
|
96
|
-
|
|
97
|
-
- structure: `contains`, `specializes`;
|
|
98
|
-
- mandatory closure: `requires`, `governed_by`, `validated_by`;
|
|
99
|
-
- sources: `documented_by`, `implemented_by`;
|
|
100
|
-
- interaction: `hands_off_to`, `conflicts_with`.
|
|
101
|
-
|
|
102
|
-
These names are domain-neutral. A consumer may present them with its own user
|
|
103
|
-
vocabulary, but canonical traversal uses the shared relation types.
|
|
104
|
-
|
|
105
|
-
## Relation Boundary Rules
|
|
106
|
-
|
|
107
|
-
A relation should be created when the connection changes how the system is
|
|
108
|
-
understood, governed, implemented or evaluated.
|
|
109
|
-
|
|
110
|
-
A relation should not be created when:
|
|
111
|
-
|
|
112
|
-
- the link is merely decorative;
|
|
113
|
-
- the relation type is unclear;
|
|
114
|
-
- there is no source and target object;
|
|
115
|
-
- it embeds a private source detail that should remain outside public graph
|
|
116
|
-
state;
|
|
117
|
-
- it is generated but not accepted into canonical state.
|
|
118
|
-
|
|
119
|
-
## Directionality
|
|
120
|
-
|
|
121
|
-
Relations should be directional unless the relation type explicitly defines
|
|
122
|
-
symmetry.
|
|
123
|
-
|
|
124
|
-
Example:
|
|
125
|
-
|
|
126
|
-
`feature.notify_after_approval depends_on feature.approval_flow`
|
|
127
|
-
|
|
128
|
-
does not mean:
|
|
129
|
-
|
|
130
|
-
`feature.approval_flow depends_on feature.notify_after_approval`
|
|
131
|
-
|
|
132
|
-
## Evidence And Confidence
|
|
133
|
-
|
|
134
|
-
The initial draft requires evidence links but does not yet define a confidence
|
|
135
|
-
field. Future versions may add:
|
|
136
|
-
|
|
137
|
-
- confidence;
|
|
138
|
-
- review status;
|
|
139
|
-
- reviewer;
|
|
140
|
-
- source type;
|
|
141
|
-
- extraction method.
|
|
142
|
-
|
|
143
|
-
## Open Questions
|
|
144
|
-
|
|
145
|
-
- Should relation confidence be required?
|
|
146
|
-
- Should relation IDs be generated or human-authored?
|
|
147
|
-
- Should `related_to` be allowed in mature canonical graphs, or only during
|
|
148
|
-
early graph-seed work?
|
|
149
|
-
- How should contradictory relations be represented and resolved?
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Risk Control Matrix
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
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
|
-
```
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Route Explanation
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate 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.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Route Regression
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate 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.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# Routing Fixtures
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate 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.
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
# Runtime Enablement
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate 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.
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# Semantic Intent Resolution
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate extension contract
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Semantic Intent Resolution is an input-control contract for turning a free-form
|
|
8
|
-
human request into a governed work decision before execution starts.
|
|
9
|
-
|
|
10
|
-
It answers:
|
|
11
|
-
|
|
12
|
-
- what the user likely wants;
|
|
13
|
-
- what scale the work has;
|
|
14
|
-
- which process and owner should handle it;
|
|
15
|
-
- what context is missing;
|
|
16
|
-
- whether execution can start;
|
|
17
|
-
- which gates and evidence are required.
|
|
18
|
-
|
|
19
|
-
This is not a standalone Mirai Graph profile. It is an extension contract that
|
|
20
|
-
composes existing project, implementation, AI employee, technology feedback and
|
|
21
|
-
dynamic episode layers.
|
|
22
|
-
|
|
23
|
-
## Control Pattern
|
|
24
|
-
|
|
25
|
-
```text
|
|
26
|
-
request
|
|
27
|
-
-> intent hypothesis
|
|
28
|
-
-> work scale
|
|
29
|
-
-> owner/process decision
|
|
30
|
-
-> context-slot check
|
|
31
|
-
-> clarification, brief, workflow restore or safe execution
|
|
32
|
-
-> process control
|
|
33
|
-
-> evidence, episode trace and technology quality feedback
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Boundary
|
|
37
|
-
|
|
38
|
-
Semantic Intent Resolution does not authorize action.
|
|
39
|
-
|
|
40
|
-
```text
|
|
41
|
-
semantic confidence != approval
|
|
42
|
-
generated brief != authorization
|
|
43
|
-
proposal != canonical update
|
|
44
|
-
episode trace != permission to execute
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
High confidence in a route or intent still cannot bypass policy, approval,
|
|
48
|
-
security, live-operation, data-mutation, Git-history or destructive-action
|
|
49
|
-
gates.
|
|
50
|
-
|
|
51
|
-
## Required Fields
|
|
52
|
-
|
|
53
|
-
- `user_request`
|
|
54
|
-
- `intent_hypothesis`
|
|
55
|
-
- `confidence`
|
|
56
|
-
- `work_scale`
|
|
57
|
-
- `selected_chain_id`
|
|
58
|
-
- `process_model_id`
|
|
59
|
-
- `owner_role`
|
|
60
|
-
- `required_context_slots`
|
|
61
|
-
- `missing_context_slots`
|
|
62
|
-
- `safe_default_action`
|
|
63
|
-
- `execution_allowed`
|
|
64
|
-
- `evidence_requirements`
|
|
65
|
-
|
|
66
|
-
## Decision Rules
|
|
67
|
-
|
|
68
|
-
- Low confidence blocks execution and requires review.
|
|
69
|
-
- Missing required context for significant work blocks execution or creates a
|
|
70
|
-
clarification/brief path.
|
|
71
|
-
- Track-level work must not be collapsed into one batch.
|
|
72
|
-
- Goal-level work requires goal evidence such as Done When, stages, batches,
|
|
73
|
-
gates or evidence plan.
|
|
74
|
-
- Risky work requires the relevant gates even when intent confidence is high.
|
|
75
|
-
- Generated outputs do not update canonical graph state.
|
|
76
|
-
|
|
77
|
-
## Integration Points
|
|
78
|
-
|
|
79
|
-
- `project_management`: classifies work scale and track/goal/batch boundary.
|
|
80
|
-
- `implementation_control`: decides readiness before execution.
|
|
81
|
-
- `ai_employee`: selects role, owner and action boundary.
|
|
82
|
-
- `technology_quality_feedback`: checks whether intake followed the approved
|
|
83
|
-
work technology.
|
|
84
|
-
- `dynamic_episode_layer`: records why a path was selected, blocked or
|
|
85
|
-
clarified.
|
|
86
|
-
|
|
87
|
-
## Public Safety
|
|
88
|
-
|
|
89
|
-
Public examples must be synthetic. Do not publish private requests, customer
|
|
90
|
-
messages, runtime traces, internal handoff payloads, access details, tokens,
|
|
91
|
-
private policies or raw logs.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Source Boundary Contract
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
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
|
-
```
|