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,225 +0,0 @@
|
|
|
1
|
-
# Profile Boundaries
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Mirai Graph uses profiles and layers to keep graph-governed work understandable.
|
|
8
|
-
This document defines how those profiles fit together and how to decide whether
|
|
9
|
-
a new idea should become a new profile, an extension of an existing profile, a
|
|
10
|
-
validator rule, a proposal or no change.
|
|
11
|
-
|
|
12
|
-
The goal is to protect Mirai Graph from abstraction creep. A useful standard
|
|
13
|
-
does not add a new layer for every useful concept. It adds structure only when
|
|
14
|
-
the structure changes behavior in a way that can be validated.
|
|
15
|
-
|
|
16
|
-
## Layer Map
|
|
17
|
-
|
|
18
|
-
Mirai Graph layers should be read from source to action:
|
|
19
|
-
|
|
20
|
-
```text
|
|
21
|
-
source systems
|
|
22
|
-
-> core graph model
|
|
23
|
-
-> domain profiles
|
|
24
|
-
-> project and governance control
|
|
25
|
-
-> implementation/process control
|
|
26
|
-
-> technology quality feedback
|
|
27
|
-
-> dynamic episode evidence
|
|
28
|
-
-> Kaizen and proposal loops
|
|
29
|
-
-> AI employee / skill runtime use
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Each layer answers a different question.
|
|
33
|
-
|
|
34
|
-
| Layer | Question it answers | What it should contain | What it should not contain |
|
|
35
|
-
| --- | --- | --- | --- |
|
|
36
|
-
| Source systems | Where does the full truth live? | Files, docs, code, CMS, DB, tickets, workflow, raw evidence | Duplicate bulk content in graph state |
|
|
37
|
-
| Core graph model | What exists and how is it connected? | Objects, relations, evidence refs, readiness, governance boundaries | Domain-specific workflow semantics |
|
|
38
|
-
| Domain profiles | What type of system is this? | Profile-specific object kinds, relation types, examples, conformance rules | Everything from every other profile |
|
|
39
|
-
| Project/governance control | What are we trying to move and who owns it? | Goals, decisions, risks, roles, policies, metrics, responsibilities | Runtime event traces |
|
|
40
|
-
| Implementation/process control | How is work allowed to move? | Launch records, states, transitions, gates, evidence requirements | Business meaning that belongs in a domain profile |
|
|
41
|
-
| Technology quality feedback | Did work follow the approved technology? | Classified findings, blocking/non-blocking verdicts, routes to fix or Kaizen | General testing claims without process conformance |
|
|
42
|
-
| Dynamic episode evidence | What happened in this specific event and why? | Trigger, activated objects, selected path, blocked alternatives, evidence, feedback route | Authorization or canonical graph mutation |
|
|
43
|
-
| Kaizen/proposal loops | What should improve? | Lessons, process improvements, graph proposals, follow-up routes | Automatic canonical updates |
|
|
44
|
-
| AI employee / skill runtime | Who or what uses the graph at runtime? | Roles, skills, tools, policies, context, fallback, runtime contracts | Source-of-truth replacement for owner methods |
|
|
45
|
-
|
|
46
|
-
## Current Status Classes
|
|
47
|
-
|
|
48
|
-
Mirai Graph documents and profiles should make their status visible:
|
|
49
|
-
|
|
50
|
-
- `core`: part of the release-candidate standard and expected to remain stable.
|
|
51
|
-
- `release-candidate profile`: validated public profile for adopter use.
|
|
52
|
-
- `proposal`: public-safe design direction that is not yet core.
|
|
53
|
-
- `experimental`: validated or documented exploration that still requires
|
|
54
|
-
stronger evidence, replay/regression or adopter feedback.
|
|
55
|
-
- `private pilot evidence`: internal or private evidence that must not be
|
|
56
|
-
copied into public examples without approval and sanitization.
|
|
57
|
-
|
|
58
|
-
## Current Profile Boundaries
|
|
59
|
-
|
|
60
|
-
| Profile or layer | Owns | Does not own |
|
|
61
|
-
| --- | --- | --- |
|
|
62
|
-
| `software_specification` | Requirements, features, components, dependencies, implementation traceability | Project governance, AI worker behavior, process authorization |
|
|
63
|
-
| `project_management` | Goals, stages, tasks, decisions, risks, metrics, evidence and delivery movement | Detailed software object semantics or runtime event traces |
|
|
64
|
-
| `implementation_control` | Launch records, work states, transitions, evidence, approval, drift, recovery and controlled update | Domain facts that belong to software, AI employee or organization profiles |
|
|
65
|
-
| `technology_quality_feedback` | Whether the declared work technology was followed and how findings are routed | Unit-test success by itself, general acceptance, or release authorization |
|
|
66
|
-
| `dynamic_episode_layer` | What happened in a concrete event, why a path was selected and which alternatives were blocked | Canonical updates, permissions or durable source-of-truth content |
|
|
67
|
-
| `goal_vector_quality_control` | Extension contract for checking whether work advances a visible final-outcome vector and passes reverse audit | Authorization, release approval, production permission or a new core profile |
|
|
68
|
-
| `ai_employee` | AI worker model: role, skill, tools, policy, actions, results, feedback and lessons | Model-independent character principles or organization-wide governance |
|
|
69
|
-
| `character_layer` | Stable behavior governance independent of model backend | Tool permissions, runtime authorization or employee memory store |
|
|
70
|
-
| `skill_runtime` | Hybrid SOT runtime context for skills, fallback and federation contracts | Rewriting owner skill methodology as graph-only runtime |
|
|
71
|
-
| `organization_governance` | Departments, responsibility, policies, controls, strategy, programs, metrics and organization-scale feedback | Country-scale civic governance as a core 1.0 claim |
|
|
72
|
-
| `societal_governance` | Proposal/experimental public governance modeling | Core 1.0 release-candidate conformance |
|
|
73
|
-
|
|
74
|
-
`mirai.project_technology` is an extension shared by `project_management`,
|
|
75
|
-
`implementation_control` and `skill_runtime`. It executes inventory, context,
|
|
76
|
-
target binding and verification. It does not add another profile or take
|
|
77
|
-
ownership of any profile's domain objects.
|
|
78
|
-
|
|
79
|
-
## Extension Before Profile
|
|
80
|
-
|
|
81
|
-
Use this sequence before creating a new profile:
|
|
82
|
-
|
|
83
|
-
```text
|
|
84
|
-
existing field
|
|
85
|
-
-> existing object or relation
|
|
86
|
-
-> validator or gate rule
|
|
87
|
-
-> synthetic example
|
|
88
|
-
-> proposal document
|
|
89
|
-
-> new profile only if existing profiles cannot express the behavior
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
A new profile is justified only when all are true:
|
|
93
|
-
|
|
94
|
-
- it adds new verifiable behavior, not just a new name;
|
|
95
|
-
- it does not duplicate an existing profile;
|
|
96
|
-
- it strengthens Hybrid SOT;
|
|
97
|
-
- it helps make a decision, gate, transition, feedback route, audit,
|
|
98
|
-
replay/regression result or Kaizen improvement;
|
|
99
|
-
- it can be checked by a validator, fixture, report, pilot or experiment;
|
|
100
|
-
- it is needed now, not merely interesting.
|
|
101
|
-
|
|
102
|
-
If those conditions are not met, keep the idea as `proposal`, `experimental`,
|
|
103
|
-
`extension_only` or `reject`.
|
|
104
|
-
|
|
105
|
-
## Anti-RAG And Anti-Bulk-Content Boundary
|
|
106
|
-
|
|
107
|
-
Mirai Graph is not a RAG index, CMS, search engine or bulk document store.
|
|
108
|
-
|
|
109
|
-
Source systems keep full content:
|
|
110
|
-
|
|
111
|
-
- files and documentation;
|
|
112
|
-
- source code;
|
|
113
|
-
- CMS records;
|
|
114
|
-
- database records;
|
|
115
|
-
- tickets, issues and workflow files;
|
|
116
|
-
- search and vector indexes when a product needs them.
|
|
117
|
-
|
|
118
|
-
Canonical graph state should keep only governable meaning:
|
|
119
|
-
|
|
120
|
-
- stable object ids;
|
|
121
|
-
- typed relations;
|
|
122
|
-
- short summaries;
|
|
123
|
-
- source and evidence references;
|
|
124
|
-
- readiness and lifecycle state;
|
|
125
|
-
- owner and responsibility links;
|
|
126
|
-
- rules, constraints and gates;
|
|
127
|
-
- transition, feedback, episode, replay and Kaizen metadata.
|
|
128
|
-
|
|
129
|
-
This keeps graph packages small, reviewable and source-owned. If an application
|
|
130
|
-
needs full-text search or semantic retrieval, use a search/index layer and let
|
|
131
|
-
Mirai Graph enrich it with status, evidence, validity, ownership, gates and
|
|
132
|
-
relations.
|
|
133
|
-
|
|
134
|
-
## Practical Scenarios
|
|
135
|
-
|
|
136
|
-
### Projects
|
|
137
|
-
|
|
138
|
-
Use:
|
|
139
|
-
|
|
140
|
-
```text
|
|
141
|
-
project_management
|
|
142
|
-
+ implementation_control
|
|
143
|
-
+ technology_quality_feedback
|
|
144
|
-
+ dynamic_episode_layer when action traceability matters
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
The graph should show where goals, decisions, risks, evidence and process
|
|
148
|
-
states live. It should not store every project document body.
|
|
149
|
-
|
|
150
|
-
### AI Employees
|
|
151
|
-
|
|
152
|
-
Use:
|
|
153
|
-
|
|
154
|
-
```text
|
|
155
|
-
ai_employee
|
|
156
|
-
+ character_layer
|
|
157
|
-
+ implementation_control
|
|
158
|
-
+ technology_quality_feedback
|
|
159
|
-
+ dynamic_episode_layer
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
The graph should govern role, tools, policies, behavior, actions and feedback.
|
|
163
|
-
It should not make generated context or character profiles into authorization.
|
|
164
|
-
|
|
165
|
-
### Skills
|
|
166
|
-
|
|
167
|
-
Use:
|
|
168
|
-
|
|
169
|
-
```text
|
|
170
|
-
skill_runtime
|
|
171
|
-
+ source-boundary contract
|
|
172
|
-
+ process-control gates
|
|
173
|
-
+ federation evidence/proposals
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
The graph should route skills, expose runtime context and preserve Hybrid SOT.
|
|
177
|
-
Raw skill sources remain authoritative for methodology and judgment.
|
|
178
|
-
|
|
179
|
-
### Organizations
|
|
180
|
-
|
|
181
|
-
Use:
|
|
182
|
-
|
|
183
|
-
```text
|
|
184
|
-
organization_governance
|
|
185
|
-
+ project_management
|
|
186
|
-
+ implementation_control
|
|
187
|
-
+ technology_quality_feedback
|
|
188
|
-
+ dynamic_episode_layer for important events
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
The graph should model responsibility, policy, controls, metrics, decisions and
|
|
192
|
-
feedback. It should not jump directly to state/country-scale claims without
|
|
193
|
-
organization-level evidence.
|
|
194
|
-
|
|
195
|
-
## Refactoring Policy
|
|
196
|
-
|
|
197
|
-
When profiles overlap, prefer boundary clarification over schema churn.
|
|
198
|
-
|
|
199
|
-
Safe refactoring:
|
|
200
|
-
|
|
201
|
-
- improve profile documentation;
|
|
202
|
-
- add examples and anti-examples;
|
|
203
|
-
- add validator warnings;
|
|
204
|
-
- add adoption guidance;
|
|
205
|
-
- mark proposal/experimental status explicitly.
|
|
206
|
-
|
|
207
|
-
Risky refactoring:
|
|
208
|
-
|
|
209
|
-
- rename object kinds without migration;
|
|
210
|
-
- merge profiles with different owners;
|
|
211
|
-
- move source content into graph state;
|
|
212
|
-
- treat episode/evidence/proposals as authorization;
|
|
213
|
-
- claim scientific or production proof from synthetic fixtures.
|
|
214
|
-
|
|
215
|
-
## Minimum Review For New Ideas
|
|
216
|
-
|
|
217
|
-
Every new profile/layer proposal should include:
|
|
218
|
-
|
|
219
|
-
- problem statement;
|
|
220
|
-
- existing profiles considered;
|
|
221
|
-
- new behavior that existing profiles cannot express;
|
|
222
|
-
- Hybrid SOT impact;
|
|
223
|
-
- validation or pilot plan;
|
|
224
|
-
- public/private boundary;
|
|
225
|
-
- decision: `accept`, `revise`, `extension_only`, `proposal_only` or `reject`.
|
package/standard/profiles.md
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Profiles
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Profiles adapt Mirai Graph to domains without changing the core standard.
|
|
8
|
-
|
|
9
|
-
A profile may define additional object kinds, relation types, readiness rules,
|
|
10
|
-
governance gates, examples and adoption guidance.
|
|
11
|
-
|
|
12
|
-
Before adding a profile, use [Profile Boundaries](profile-boundaries.md).
|
|
13
|
-
Mirai Graph prefers extension of existing profiles before introducing new
|
|
14
|
-
profile names.
|
|
15
|
-
|
|
16
|
-
## Profile
|
|
17
|
-
|
|
18
|
-
A profile is a named specialization of Mirai Graph.
|
|
19
|
-
|
|
20
|
-
Release-candidate profiles:
|
|
21
|
-
|
|
22
|
-
- `software_specification`;
|
|
23
|
-
- `project_management`;
|
|
24
|
-
- `implementation_control`;
|
|
25
|
-
- `ai_employee`;
|
|
26
|
-
- `character_layer`;
|
|
27
|
-
- `skill_runtime`;
|
|
28
|
-
- `organization_governance`.
|
|
29
|
-
|
|
30
|
-
Proposal/experimental profiles:
|
|
31
|
-
|
|
32
|
-
- `societal_governance`.
|
|
33
|
-
|
|
34
|
-
## Profile Rules
|
|
35
|
-
|
|
36
|
-
A profile may extend:
|
|
37
|
-
|
|
38
|
-
- object kinds;
|
|
39
|
-
- relation types;
|
|
40
|
-
- evidence levels;
|
|
41
|
-
- readiness policies;
|
|
42
|
-
- governance gates;
|
|
43
|
-
- examples;
|
|
44
|
-
- validation fixtures.
|
|
45
|
-
|
|
46
|
-
A profile should not:
|
|
47
|
-
|
|
48
|
-
- override core semantics silently;
|
|
49
|
-
- weaken public-safety rules;
|
|
50
|
-
- claim conformance without tests;
|
|
51
|
-
- mix private domain material into public examples.
|
|
52
|
-
- duplicate an existing profile with a more attractive name;
|
|
53
|
-
- store bulk source content that belongs in source systems;
|
|
54
|
-
- turn generated context, evidence, feedback or episode traces into
|
|
55
|
-
authorization.
|
|
56
|
-
|
|
57
|
-
## Core Profile
|
|
58
|
-
|
|
59
|
-
The `core` profile contains model elements expected across implementations:
|
|
60
|
-
|
|
61
|
-
- stable objects;
|
|
62
|
-
- typed relations;
|
|
63
|
-
- evidence;
|
|
64
|
-
- readiness;
|
|
65
|
-
- generated context packs;
|
|
66
|
-
- governance gates;
|
|
67
|
-
- conformance levels.
|
|
68
|
-
|
|
69
|
-
## Software Specification Profile
|
|
70
|
-
|
|
71
|
-
Initial example profile used by the synthetic benchmark.
|
|
72
|
-
|
|
73
|
-
Possible object kinds:
|
|
74
|
-
|
|
75
|
-
- package;
|
|
76
|
-
- feature;
|
|
77
|
-
- requirement;
|
|
78
|
-
- constraint;
|
|
79
|
-
- risk;
|
|
80
|
-
- component;
|
|
81
|
-
- task;
|
|
82
|
-
- evidence.
|
|
83
|
-
|
|
84
|
-
Possible relation types:
|
|
85
|
-
|
|
86
|
-
- implements;
|
|
87
|
-
- depends_on;
|
|
88
|
-
- blocks;
|
|
89
|
-
- evidences;
|
|
90
|
-
- generates;
|
|
91
|
-
- related_to.
|
|
92
|
-
|
|
93
|
-
## AI Employee Profile
|
|
94
|
-
|
|
95
|
-
Initial alpha profile for modeling AI employees as governed runtimes over an
|
|
96
|
-
evolutionary graph.
|
|
97
|
-
|
|
98
|
-
Possible object kinds:
|
|
99
|
-
|
|
100
|
-
- ai_employee;
|
|
101
|
-
- ai_department;
|
|
102
|
-
- role;
|
|
103
|
-
- skill;
|
|
104
|
-
- knowledge;
|
|
105
|
-
- memory;
|
|
106
|
-
- tool;
|
|
107
|
-
- capability;
|
|
108
|
-
- policy;
|
|
109
|
-
- workflow;
|
|
110
|
-
- action;
|
|
111
|
-
- result;
|
|
112
|
-
- feedback;
|
|
113
|
-
- lesson;
|
|
114
|
-
- governance_gate;
|
|
115
|
-
- federation_endpoint.
|
|
116
|
-
|
|
117
|
-
Possible relation types:
|
|
118
|
-
|
|
119
|
-
- has_role;
|
|
120
|
-
- has_skill;
|
|
121
|
-
- uses_knowledge;
|
|
122
|
-
- requires_capability;
|
|
123
|
-
- can_execute;
|
|
124
|
-
- requires_approval;
|
|
125
|
-
- triggered_by;
|
|
126
|
-
- responds_to;
|
|
127
|
-
- learns_from;
|
|
128
|
-
- updates_behavior;
|
|
129
|
-
- belongs_to_department;
|
|
130
|
-
- federates_with.
|
|
131
|
-
|
|
132
|
-
## Skill Runtime Profile
|
|
133
|
-
|
|
134
|
-
Initial alpha profile for modeling a governed skill, capability module or
|
|
135
|
-
service as a Hybrid Source Of Truth runtime context.
|
|
136
|
-
|
|
137
|
-
Possible object kinds:
|
|
138
|
-
|
|
139
|
-
- skill;
|
|
140
|
-
- capability;
|
|
141
|
-
- activity;
|
|
142
|
-
- rule;
|
|
143
|
-
- owner_domain;
|
|
144
|
-
- source_boundary;
|
|
145
|
-
- raw_source;
|
|
146
|
-
- runtime_context;
|
|
147
|
-
- projection_view;
|
|
148
|
-
- quality_gate;
|
|
149
|
-
- adoption_report;
|
|
150
|
-
- effectiveness_report;
|
|
151
|
-
- semantic_review;
|
|
152
|
-
- runtime_policy;
|
|
153
|
-
- fallback;
|
|
154
|
-
- handoff;
|
|
155
|
-
- learning_proposal;
|
|
156
|
-
- federation_contract.
|
|
157
|
-
|
|
158
|
-
Possible relation types:
|
|
159
|
-
|
|
160
|
-
- owns_domain;
|
|
161
|
-
- has_capability;
|
|
162
|
-
- supports_activity;
|
|
163
|
-
- uses_rule;
|
|
164
|
-
- requires_gate;
|
|
165
|
-
- requires_fallback;
|
|
166
|
-
- reads_source;
|
|
167
|
-
- generates_context;
|
|
168
|
-
- projects_view;
|
|
169
|
-
- preserves_semantics;
|
|
170
|
-
- measures_effectiveness;
|
|
171
|
-
- routes_to;
|
|
172
|
-
- hands_off_to;
|
|
173
|
-
- exports_contract;
|
|
174
|
-
- proposes_learning.
|
|
175
|
-
|
|
176
|
-
## Implementation Control Profile
|
|
177
|
-
|
|
178
|
-
Initial public profile for governing movement from graph baselines, generated
|
|
179
|
-
human projections and implementation plans into bounded work, evidence, sync
|
|
180
|
-
proposals, approval gates, controlled updates and process learning.
|
|
181
|
-
|
|
182
|
-
Possible object kinds:
|
|
183
|
-
|
|
184
|
-
- implementation_baseline;
|
|
185
|
-
- projection_view;
|
|
186
|
-
- semantic_review;
|
|
187
|
-
- implementation_cycle;
|
|
188
|
-
- graph_dna;
|
|
189
|
-
- component_dna;
|
|
190
|
-
- dna_alignment;
|
|
191
|
-
- source_boundary_contract;
|
|
192
|
-
- work_state_machine;
|
|
193
|
-
- recovery_record;
|
|
194
|
-
- risk_control;
|
|
195
|
-
- coordination_contract;
|
|
196
|
-
- workflow_batch;
|
|
197
|
-
- launch_gate;
|
|
198
|
-
- evidence_pack;
|
|
199
|
-
- sync_proposal;
|
|
200
|
-
- approval_gate;
|
|
201
|
-
- controlled_update;
|
|
202
|
-
- implementation_state;
|
|
203
|
-
- drift_check;
|
|
204
|
-
- kaizen_item.
|
|
205
|
-
|
|
206
|
-
Possible relation types:
|
|
207
|
-
|
|
208
|
-
- derives_projection;
|
|
209
|
-
- reviews_projection;
|
|
210
|
-
- aligns_with;
|
|
211
|
-
- defines_boundary;
|
|
212
|
-
- transitions_to;
|
|
213
|
-
- resumes_from;
|
|
214
|
-
- controls_risk;
|
|
215
|
-
- reserves_scope;
|
|
216
|
-
- requires_gate;
|
|
217
|
-
- launches_batch;
|
|
218
|
-
- produces_evidence;
|
|
219
|
-
- proposes_update;
|
|
220
|
-
- approves_update;
|
|
221
|
-
- updates_baseline;
|
|
222
|
-
- checks_drift;
|
|
223
|
-
- progresses_to;
|
|
224
|
-
- improves_process.
|
|
225
|
-
|
|
226
|
-
## Profile Conformance
|
|
227
|
-
|
|
228
|
-
Profile conformance should be declared separately from core conformance.
|
|
229
|
-
|
|
230
|
-
## New Profile Decision
|
|
231
|
-
|
|
232
|
-
New profile ideas are `proposal_only` until they answer:
|
|
233
|
-
|
|
234
|
-
1. What new behavior does this add?
|
|
235
|
-
2. Which existing profiles were considered?
|
|
236
|
-
3. Why is an extension not enough?
|
|
237
|
-
4. How does it preserve Hybrid Source Of Truth?
|
|
238
|
-
5. What validator, fixture, report, pilot or experiment can check it?
|
|
239
|
-
6. Why is it needed now?
|
|
240
|
-
|
|
241
|
-
Example:
|
|
242
|
-
|
|
243
|
-
```text
|
|
244
|
-
Core conformance: Level 1
|
|
245
|
-
Profile conformance: software_specification Level 1
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
## Open Questions
|
|
249
|
-
|
|
250
|
-
- Should profiles have machine-readable manifests?
|
|
251
|
-
- Should profiles declare allowed object kinds and relation types?
|
|
252
|
-
- Should profile validation be strict by default or advisory?
|
|
253
|
-
- How should cross-profile conflicts be resolved?
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
# Project Technology
|
|
2
|
-
|
|
3
|
-
Status: 1.3 stable standard; activation contract remains 1.0.0
|
|
4
|
-
|
|
5
|
-
Project Technology is the shared executable mechanism of Mirai Graph. It is
|
|
6
|
-
not a profile, a second graph or a source of domain methodology.
|
|
7
|
-
|
|
8
|
-
## One Mechanism, Different Graphs
|
|
9
|
-
|
|
10
|
-
The root `graph.json` declares the repository scope and profiles. The same
|
|
11
|
-
Project Technology operations therefore work for:
|
|
12
|
-
|
|
13
|
-
- an ordinary project;
|
|
14
|
-
- a skill using `skill_runtime`;
|
|
15
|
-
- a technology platform;
|
|
16
|
-
- a federation or another multi-repository system.
|
|
17
|
-
|
|
18
|
-
Each graph keeps its own objects and relations. Project Technology only
|
|
19
|
-
standardizes safe inventory, task context, accepted-target binding, freshness
|
|
20
|
-
and verification.
|
|
21
|
-
|
|
22
|
-
## Immutable Artifact Releases
|
|
23
|
-
|
|
24
|
-
Project Technology can preserve versioned file bundles without turning their
|
|
25
|
-
contents into graph data:
|
|
26
|
-
|
|
27
|
-
```text
|
|
28
|
-
inspect -> release preview -> transactional release -> compare -> verify
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
The generic CLI is:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
mirai-graph technology artifact inspect . --input incoming.zip
|
|
35
|
-
mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound
|
|
36
|
-
mirai-graph technology artifact release . --input incoming.zip --matter-id agreement-main --direction inbound --apply
|
|
37
|
-
mirai-graph technology artifact compare . --matter-id agreement-main --base-release 20260828-01 --target-release 20260828-02
|
|
38
|
-
mirai-graph technology artifact verify . --matter-id agreement-main --release-id 20260828-02
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
The programmatic API exposes `inspectArtifactBundle`,
|
|
42
|
-
`createArtifactRelease`, `compareArtifactReleases` and
|
|
43
|
-
`verifyArtifactRelease`.
|
|
44
|
-
|
|
45
|
-
Each immutable release keeps the original input, a normalized package, a
|
|
46
|
-
hash-bound manifest and a technical comparison. The portable registry at
|
|
47
|
-
`graph/specs/artifact-releases.json` stores only opaque matter/release ids,
|
|
48
|
-
relative or provider refs, lineage, state and digests. Raw files, document
|
|
49
|
-
contents, party names and private discussion remain in the protected artifact
|
|
50
|
-
store.
|
|
51
|
-
|
|
52
|
-
Direct files, directories, ZIP, TAR and TAR.GZ are supported. Unsafe paths,
|
|
53
|
-
links, encrypted archives, executable or macro-enabled files, nested archives,
|
|
54
|
-
normalized path collisions and configured archive limits fail closed. RAR and
|
|
55
|
-
7z need an explicitly supplied safe provider.
|
|
56
|
-
|
|
57
|
-
Creation uses a lease, compare-and-swap registry digest, temporary assembly,
|
|
58
|
-
atomic activation and readback. Repeating the same release returns
|
|
59
|
-
`changed=false`. Domain consumers own the meaning of release states; Mirai
|
|
60
|
-
Graph owns only generic identity, lineage, integrity and technical comparison.
|
|
61
|
-
|
|
62
|
-
## Portable Project Continuity
|
|
63
|
-
|
|
64
|
-
Project Technology preserves verified project experience at task boundaries:
|
|
65
|
-
|
|
66
|
-
```text
|
|
67
|
-
task context -> verified outcome -> semantic candidate -> graph/specs
|
|
68
|
-
-> next task context -> usage verification
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
`graph/specs` is the portable authority. Chat history and local workflow files
|
|
72
|
-
are not required by another person or installation. Mutable receipts and
|
|
73
|
-
rollback data are stored outside the project in a host-local directory keyed by
|
|
74
|
-
`graph.id`.
|
|
75
|
-
|
|
76
|
-
The existing `sync` operation accepts `task_start`, `stage_complete` and
|
|
77
|
-
`task_complete`. Task start is read-only. A completed stage or task requires a
|
|
78
|
-
verified, requirement-bound input and records accepted evidence plus one
|
|
79
|
-
reusable regression case. New goals, architectural decisions and ownership
|
|
80
|
-
changes remain proposals.
|
|
81
|
-
|
|
82
|
-
Two independent verified cases with the same signature may promote a method
|
|
83
|
-
lesson when they do not change architecture. Repeated input is byte-identical
|
|
84
|
-
and returns `changed=false`. Shared folders without Git additionally use a
|
|
85
|
-
lease, compare-and-swap graph digest, backup, atomic write and readback.
|
|
86
|
-
|
|
87
|
-
## Sequential Context Traversal
|
|
88
|
-
|
|
89
|
-
Project Technology exposes one model-independent navigation protocol:
|
|
90
|
-
|
|
91
|
-
```text
|
|
92
|
-
discover -> expand -> compile -> verify
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
- `discover` ranks a bounded set of top-level candidates for a task.
|
|
96
|
-
- `expand` reveals the accepted children of one or more selected nodes.
|
|
97
|
-
- `compile` validates the client's structured selection and adds the mandatory
|
|
98
|
-
closure over `requires`, `governed_by` and `validated_by`.
|
|
99
|
-
- `verify` checks that the resulting sources and rules were connected to a
|
|
100
|
-
decision, a surface, a validator and an outcome.
|
|
101
|
-
|
|
102
|
-
The caller may be a human, an AI model or a deterministic rule. Mirai Graph
|
|
103
|
-
does not select or invoke a model. Sequential and batched expansion of the same
|
|
104
|
-
nodes produces the same receipt digest.
|
|
105
|
-
|
|
106
|
-
The universal relation vocabulary for traversal is:
|
|
107
|
-
|
|
108
|
-
- structure: `contains`, `specializes`;
|
|
109
|
-
- mandatory closure: `requires`, `governed_by`, `validated_by`;
|
|
110
|
-
- sources: `documented_by`, `implemented_by`;
|
|
111
|
-
- interaction: `hands_off_to`, `conflicts_with`.
|
|
112
|
-
|
|
113
|
-
Consumer-specific names such as skills, companions or product commands are not
|
|
114
|
-
part of this protocol. Consumers map their own domain vocabulary to ordinary
|
|
115
|
-
owners, roles, capabilities, processes, resources, checks and access
|
|
116
|
-
requirements.
|
|
117
|
-
|
|
118
|
-
## Public Contract
|
|
119
|
-
|
|
120
|
-
The only manifest extension key is `mirai.project_technology`:
|
|
121
|
-
|
|
122
|
-
```json
|
|
123
|
-
{
|
|
124
|
-
"contract_version": "1.0.0",
|
|
125
|
-
"enabled": true,
|
|
126
|
-
"context_policy": "task_scoped",
|
|
127
|
-
"source_boundary": "hybrid_sot",
|
|
128
|
-
"continuity_policy": "task_boundary"
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
Canonical graph objects remain in `graph/specs`. Exact external revisions
|
|
133
|
-
remain in `graph.lock.json`. Mutable continuity state is host-local and keyed
|
|
134
|
-
by graph identity; project-local runtime directories are not continuity
|
|
135
|
-
authority.
|
|
136
|
-
|
|
137
|
-
The only generated provider artifact is:
|
|
138
|
-
|
|
139
|
-
```text
|
|
140
|
-
graph/generated/project-technology/target-provider-export.json
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
It contains target identity, exact provider revision, decision and goal
|
|
144
|
-
references, Done When, requirements and acceptance references, constraints,
|
|
145
|
-
non-goals, deferred boundaries, approved repository/owner/package/file/action
|
|
146
|
-
scope, the accepted architecture boundary and a contract digest.
|
|
147
|
-
|
|
148
|
-
The architecture boundary carries exact component, package and capability
|
|
149
|
-
identities, ownership for data/access/lifecycle/interface/runtime, required and
|
|
150
|
-
forbidden relations, and dependency constraints. This keeps an imported target
|
|
151
|
-
executable without copying the provider's private source or full graph.
|
|
152
|
-
|
|
153
|
-
## Hybrid Source Of Truth
|
|
154
|
-
|
|
155
|
-
Project Technology may select graph objects and point to raw sources. It must
|
|
156
|
-
not copy private source, complete documents, code or long owner methodology
|
|
157
|
-
into the graph or provider export.
|
|
158
|
-
|
|
159
|
-
The graph answers "what applies and where is the authority?". The raw owner
|
|
160
|
-
source still answers "how should the domain work be done?".
|
|
161
|
-
|
|
162
|
-
## Safety Rules
|
|
163
|
-
|
|
164
|
-
- Read-only commands never write.
|
|
165
|
-
- Changing commands return preview unless `--apply` is explicit.
|
|
166
|
-
- Significant work fails closed when the target binding is missing, stale,
|
|
167
|
-
disabled, conflicting, incomplete or tampered.
|
|
168
|
-
- Refresh-binding accepts only a forward provider revision with the same target,
|
|
169
|
-
semantic digest and complete execution-contract digest.
|
|
170
|
-
- Repeated sync, connect or refresh produces `changed=false` when nothing
|
|
171
|
-
changed.
|
|
172
|
-
- A blocked repository still supports narrow `explain`, `status`, `plan` and
|
|
173
|
-
diagnostic `verify` calls.
|
|
174
|
-
- Context traversal is read-only in every phase and never grants write
|
|
175
|
-
authority.
|
|
176
|
-
- Chat text, secrets, private source, user paths and unverified assumptions are
|
|
177
|
-
rejected from portable continuity.
|
|
178
|
-
- Significant work with an enabled continuity policy fails closed when its
|
|
179
|
-
terminal receipt is missing or stale.
|
|
180
|
-
- Artifact inspection, comparison and verification are read-only. Release
|
|
181
|
-
creation is preview-only without `--apply`.
|
|
182
|
-
- An artifact manifest or generated export never proves legal, business or
|
|
183
|
-
domain acceptance.
|
|
184
|
-
- A context pack is not ready while a required branch, source, access boundary
|
|
185
|
-
or validator is missing, stale, blocked, deprecated, conflicting or
|
|
186
|
-
digest-mismatched.
|