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,187 +0,0 @@
|
|
|
1
|
-
# Mirai Graph 1.0 RC Adopter Kit
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate adoption kit
|
|
4
|
-
|
|
5
|
-
This kit is the shortest public path from "I want to try Mirai Graph" to a
|
|
6
|
-
validated local graph package. It is intentionally CLI-first and works through
|
|
7
|
-
the published `mirai-graph` package or a repository checkout.
|
|
8
|
-
|
|
9
|
-
## What This Kit Gives You
|
|
10
|
-
|
|
11
|
-
- A role-to-profile map.
|
|
12
|
-
- Starter templates for common adoption paths.
|
|
13
|
-
- A validation sequence that catches schema, profile and process mistakes.
|
|
14
|
-
- A minimal operating loop from graph seed to evidence and feedback.
|
|
15
|
-
- Safety boundaries for private data, generated context and canonical updates.
|
|
16
|
-
|
|
17
|
-
It does not prove that a project is correct, complete or scientifically
|
|
18
|
-
validated. It proves that the adopter has a structured, reviewable starting
|
|
19
|
-
package that follows the current 1.0 release-candidate shape.
|
|
20
|
-
|
|
21
|
-
## Start By Role
|
|
22
|
-
|
|
23
|
-
| Role | Start with | Template | Main checks |
|
|
24
|
-
| --- | --- | --- | --- |
|
|
25
|
-
| Developer | `software_specification` | `templates/software-project-starter/` | package validation, process transition, technology feedback |
|
|
26
|
-
| Researcher | `project_management` | `templates/research-program-starter/` | seed validation, evidence boundaries, reproducibility notes |
|
|
27
|
-
| AI product team | `ai_employee` | `templates/ai-employee-starter/` | role/skill/tool/policy graph, approval gates, feedback |
|
|
28
|
-
| Behavior governance | `character_layer` | `templates/character-layer-starter/` | constitution, role character profiles, reflection, correction loops |
|
|
29
|
-
| Organization | `organization_governance` | `templates/organization-governance-starter/` | goals, departments, policies, controls, metrics |
|
|
30
|
-
|
|
31
|
-
## Local Setup
|
|
32
|
-
|
|
33
|
-
Install in the project you want to connect:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
npm install -D mirai-graph
|
|
37
|
-
npx mirai-graph detect . --markdown
|
|
38
|
-
npx mirai-graph bootstrap . --mode suggest --markdown
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
For repository checkout development:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
cd /path/to/mirai-graph
|
|
45
|
-
npm install
|
|
46
|
-
npm test
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
`detect` is read-only. `bootstrap --mode suggest` writes proposal/evidence only
|
|
50
|
-
and does not create canonical graph files.
|
|
51
|
-
|
|
52
|
-
## One-Hour Adoption Path
|
|
53
|
-
|
|
54
|
-
1. Choose a role:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npx mirai-graph choose-profile
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
2. Print the role plan:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
npx mirai-graph adopter plan developer
|
|
64
|
-
npx mirai-graph adopter plan researcher
|
|
65
|
-
npx mirai-graph adopter plan ai_employee
|
|
66
|
-
npx mirai-graph adopter plan organization
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
3. Initialize the closest starter in your project:
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
npx mirai-graph init . --profile software_specification
|
|
73
|
-
npx mirai-graph validate .
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
4. Generate a readable adopter report:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
npx mirai-graph report validation .
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
5. Replace synthetic objects with your real public-safe or private source
|
|
83
|
-
material.
|
|
84
|
-
|
|
85
|
-
6. Run validation again in the copied package before adding runtime evidence.
|
|
86
|
-
|
|
87
|
-
## One-Day Adoption Path
|
|
88
|
-
|
|
89
|
-
Use the one-hour path, then add the executable-process layer:
|
|
90
|
-
|
|
91
|
-
```text
|
|
92
|
-
graph seed
|
|
93
|
-
-> package validation
|
|
94
|
-
-> context pack
|
|
95
|
-
-> launch record
|
|
96
|
-
-> process transition explanation
|
|
97
|
-
-> technology quality feedback
|
|
98
|
-
-> evidence update
|
|
99
|
-
-> Kaizen item
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Recommended checks:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
npm run validate:templates
|
|
106
|
-
npm run validate:launch-record
|
|
107
|
-
npm run validate:process-transition
|
|
108
|
-
npm run validate:technology-quality-feedback
|
|
109
|
-
npm run validate:instrumentation-layer
|
|
110
|
-
npm run validate:adopter-workflow
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Acceptance Checklist
|
|
114
|
-
|
|
115
|
-
A 1.0 release-candidate adopter package is ready for first internal use when:
|
|
116
|
-
|
|
117
|
-
- root `graph.json` v2 exists and points to graph sources and profiles.
|
|
118
|
-
- `graph/objects.json` has stable object ids, kinds, summaries and readiness.
|
|
119
|
-
- `graph/relations.json` has directed relations with valid source/target ids.
|
|
120
|
-
- `gates/results.json` records at least the initial validation gate.
|
|
121
|
-
- Private logs, credentials, customer data and internal handoffs are outside
|
|
122
|
-
the public graph package.
|
|
123
|
-
- Generated context is treated as derived output, not canonical state.
|
|
124
|
-
- Evidence and feedback do not authorize canonical updates by themselves.
|
|
125
|
-
- Significant action paths have launch records, approval gates and technology
|
|
126
|
-
quality feedback.
|
|
127
|
-
- Blocking findings stop release or acceptance transitions.
|
|
128
|
-
- Kaizen items are routed as proposals, not silent process rewrites.
|
|
129
|
-
|
|
130
|
-
## Recommended First Packages
|
|
131
|
-
|
|
132
|
-
Use these examples as references before creating your own package:
|
|
133
|
-
|
|
134
|
-
- `examples/minimal-graph/`
|
|
135
|
-
- `examples/implementation-control-minimal/`
|
|
136
|
-
- `examples/process-transition-minimal/`
|
|
137
|
-
- `examples/technology-quality-feedback-minimal/`
|
|
138
|
-
- `examples/instrumentation-layer-minimal/`
|
|
139
|
-
- `examples/organization-governance-minimal/`
|
|
140
|
-
|
|
141
|
-
Use these starters for new work:
|
|
142
|
-
|
|
143
|
-
- `templates/software-project-starter/`
|
|
144
|
-
- `templates/research-program-starter/`
|
|
145
|
-
- `templates/ai-employee-starter/`
|
|
146
|
-
- `templates/character-layer-starter/`
|
|
147
|
-
- `templates/organization-governance-starter/`
|
|
148
|
-
|
|
149
|
-
Use [Connect A Project In 15 Minutes](connect-project-15-minutes.md) for a
|
|
150
|
-
complete self-service walkthrough.
|
|
151
|
-
|
|
152
|
-
## Public Safety Boundary
|
|
153
|
-
|
|
154
|
-
Do not publish:
|
|
155
|
-
|
|
156
|
-
- credentials, tokens, cookies or `.env` values;
|
|
157
|
-
- customer-private logs or payloads;
|
|
158
|
-
- private handoff texts;
|
|
159
|
-
- internal runtime traces;
|
|
160
|
-
- unpublished research claims as proof;
|
|
161
|
-
- organization-specific policies that are not meant to be public.
|
|
162
|
-
|
|
163
|
-
Use Mirai Graph to structure the boundary:
|
|
164
|
-
|
|
165
|
-
```text
|
|
166
|
-
canonical graph state
|
|
167
|
-
-> generated context
|
|
168
|
-
-> runtime decision
|
|
169
|
-
-> evidence
|
|
170
|
-
-> feedback
|
|
171
|
-
-> proposal
|
|
172
|
-
-> approval
|
|
173
|
-
-> controlled update
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Only the controlled update changes canonical state.
|
|
177
|
-
|
|
178
|
-
## What To Do After The First Package Validates
|
|
179
|
-
|
|
180
|
-
1. Add a launch record for the first real work cycle.
|
|
181
|
-
2. Run a process-transition explanation before implementation.
|
|
182
|
-
3. Capture evidence and technology quality feedback after the work.
|
|
183
|
-
4. Add Kaizen findings for reusable process improvements.
|
|
184
|
-
5. Keep a short pilot report that separates observed evidence from claims.
|
|
185
|
-
|
|
186
|
-
The next maturity step is not more theory; it is a small, repeatable pilot with
|
|
187
|
-
clear evidence, limits and replayable validation commands.
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
# AI Employee Graph Adoption
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate adoption guide
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
This guide explains how to start modeling an AI employee with Mirai Graph.
|
|
8
|
-
|
|
9
|
-
It is intended for teams that want an AI employee to have explicit roles,
|
|
10
|
-
skills, knowledge, tools, policies, workflows, feedback and learning gates.
|
|
11
|
-
|
|
12
|
-
## Step 1: Define The Employee Boundary
|
|
13
|
-
|
|
14
|
-
Start with one AI employee.
|
|
15
|
-
|
|
16
|
-
Define:
|
|
17
|
-
|
|
18
|
-
- employee id;
|
|
19
|
-
- department;
|
|
20
|
-
- role;
|
|
21
|
-
- allowed task area;
|
|
22
|
-
- forbidden task area;
|
|
23
|
-
- owner or reviewer;
|
|
24
|
-
- public/private data boundary.
|
|
25
|
-
|
|
26
|
-
Do not start with a broad autonomous agent. Start with a bounded employee.
|
|
27
|
-
|
|
28
|
-
## Step 2: Model Roles And Skills
|
|
29
|
-
|
|
30
|
-
Add:
|
|
31
|
-
|
|
32
|
-
- `role` objects for responsibilities;
|
|
33
|
-
- `skill` objects for capabilities that require knowledge or tools;
|
|
34
|
-
- `specialization` objects only when a role needs a narrower durable area.
|
|
35
|
-
|
|
36
|
-
Useful relations:
|
|
37
|
-
|
|
38
|
-
```text
|
|
39
|
-
ai_employee -> has_role -> role
|
|
40
|
-
role -> has_skill -> skill
|
|
41
|
-
role -> has_specialization -> specialization
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Step 3: Add Knowledge And Memory
|
|
45
|
-
|
|
46
|
-
Use:
|
|
47
|
-
|
|
48
|
-
- `knowledge` for reviewed reference material;
|
|
49
|
-
- `memory` for durable but reviewable learned context;
|
|
50
|
-
- `evidence` for source support.
|
|
51
|
-
|
|
52
|
-
Memory should not be an uncontrolled transcript dump. It should preserve source
|
|
53
|
-
and readiness.
|
|
54
|
-
|
|
55
|
-
Useful relations:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
skill -> uses_knowledge -> knowledge
|
|
59
|
-
skill -> uses_knowledge -> memory
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Step 4: Add Tools And Capabilities
|
|
63
|
-
|
|
64
|
-
Use:
|
|
65
|
-
|
|
66
|
-
- `tool` for the runtime adapter;
|
|
67
|
-
- `capability` for what the tool can safely do;
|
|
68
|
-
- `policy` for the rule that constrains use.
|
|
69
|
-
|
|
70
|
-
Useful relations:
|
|
71
|
-
|
|
72
|
-
```text
|
|
73
|
-
action -> requires_capability -> capability
|
|
74
|
-
tool -> can_execute -> action
|
|
75
|
-
policy -> governs -> governance_gate
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Step 5: Add Policy And Approval Gates
|
|
79
|
-
|
|
80
|
-
Every external, user-visible, irreversible, permission-changing or sensitive
|
|
81
|
-
action should have a governance gate.
|
|
82
|
-
|
|
83
|
-
Useful relation:
|
|
84
|
-
|
|
85
|
-
```text
|
|
86
|
-
action -> requires_approval -> governance_gate
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Approval can be automatic only when a policy explicitly allows it.
|
|
90
|
-
|
|
91
|
-
## Step 6: Model Runtime Boundary
|
|
92
|
-
|
|
93
|
-
Keep runtime states separate:
|
|
94
|
-
|
|
95
|
-
```text
|
|
96
|
-
canonical graph state
|
|
97
|
-
-> generated context
|
|
98
|
-
-> runtime decision
|
|
99
|
-
-> proposed action
|
|
100
|
-
-> approval gate
|
|
101
|
-
-> executed action
|
|
102
|
-
-> audited result
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
The graph can describe the states. The runtime implementation executes and
|
|
106
|
-
audits them.
|
|
107
|
-
|
|
108
|
-
## Step 7: Add Feedback And Lessons
|
|
109
|
-
|
|
110
|
-
Feedback should produce a proposed lesson, not an automatic behavior change.
|
|
111
|
-
|
|
112
|
-
Useful relations:
|
|
113
|
-
|
|
114
|
-
```text
|
|
115
|
-
feedback -> responds_to -> result
|
|
116
|
-
lesson -> learns_from -> feedback
|
|
117
|
-
lesson -> updates_behavior -> workflow
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Then apply the feedback learning gate:
|
|
121
|
-
|
|
122
|
-
```text
|
|
123
|
-
feedback -> proposal -> replay/evaluation -> approval -> canonical graph update
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
## Step 8: Validate
|
|
127
|
-
|
|
128
|
-
Use the minimal example:
|
|
129
|
-
|
|
130
|
-
```bash
|
|
131
|
-
node packages/cli/validate-mirai-graph.js examples/ai-employee-minimal
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Use the full release gate:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
npm run release:check
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
## What This Does Not Prove
|
|
141
|
-
|
|
142
|
-
A valid AI employee graph does not prove:
|
|
143
|
-
|
|
144
|
-
- the runtime is safe;
|
|
145
|
-
- the AI employee is effective;
|
|
146
|
-
- the tool adapter is secure;
|
|
147
|
-
- the policy is sufficient;
|
|
148
|
-
- the employee can act without oversight.
|
|
149
|
-
|
|
150
|
-
It proves only that the package follows the declared profile shape checked by
|
|
151
|
-
the current validator.
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
# Character Layer Adoption
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate profile guide
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
The Character Layer profile defines a public Mirai Graph vocabulary for
|
|
8
|
-
model-independent AI character governance.
|
|
9
|
-
|
|
10
|
-
It is intended for systems that need to represent:
|
|
11
|
-
|
|
12
|
-
- character constitutions;
|
|
13
|
-
- principles and character virtues;
|
|
14
|
-
- character boundaries;
|
|
15
|
-
- role-specific character profiles;
|
|
16
|
-
- reflection protocols;
|
|
17
|
-
- evaluation fixtures;
|
|
18
|
-
- violation patterns;
|
|
19
|
-
- correction loops;
|
|
20
|
-
- evidence and governance gates.
|
|
21
|
-
|
|
22
|
-
## Profile Boundary
|
|
23
|
-
|
|
24
|
-
Character Layer stores canonical character state and review structure in a
|
|
25
|
-
graph package. Runtime systems can project that graph into task context, but
|
|
26
|
-
generated context remains separate from authorization, external action and
|
|
27
|
-
canonical updates.
|
|
28
|
-
|
|
29
|
-
Recommended boundary:
|
|
30
|
-
|
|
31
|
-
```text
|
|
32
|
-
canonical character graph
|
|
33
|
-
-> generated character context
|
|
34
|
-
-> runtime reflection
|
|
35
|
-
-> proposed answer or action
|
|
36
|
-
-> policy or action gate
|
|
37
|
-
-> output or execution
|
|
38
|
-
-> reviewed result
|
|
39
|
-
-> feedback
|
|
40
|
-
-> correction proposal
|
|
41
|
-
-> owner-approved canonical update
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Relationship To AI Employee
|
|
45
|
-
|
|
46
|
-
Use `character_layer` when the main object is behavior governance: principles,
|
|
47
|
-
boundaries, reflection, fixtures, violations and correction loops.
|
|
48
|
-
|
|
49
|
-
Use `ai_employee` when the main object is an executable AI worker model: roles,
|
|
50
|
-
skills, tools, capabilities, workflows, actions, feedback and lessons.
|
|
51
|
-
|
|
52
|
-
The profiles can be composed by a system design, but the first Character Layer
|
|
53
|
-
profile is separate and does not modify `profiles/ai-employee/`.
|
|
54
|
-
|
|
55
|
-
Typical composition:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
ai_employee -> has_role -> role
|
|
59
|
-
role_character_profile -> governs_role -> role
|
|
60
|
-
role_character_profile -> governs_employee -> ai_employee
|
|
61
|
-
role_character_profile -> specializes_character -> character_constitution
|
|
62
|
-
role_character_profile -> uses_reflection_protocol -> reflection_protocol
|
|
63
|
-
character_boundary -> requires_escalation_to -> governance_gate
|
|
64
|
-
correction_loop -> updates_character -> role_character_profile|character_principle|character_boundary
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Minimal Package
|
|
68
|
-
|
|
69
|
-
The minimal package is:
|
|
70
|
-
|
|
71
|
-
```text
|
|
72
|
-
examples/character-layer-minimal/
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
It includes:
|
|
76
|
-
|
|
77
|
-
- one public-safe character constitution;
|
|
78
|
-
- principles for uncertainty, authority boundaries and evidence reporting;
|
|
79
|
-
- character virtues for evidence honesty and boundary discipline;
|
|
80
|
-
- character boundaries for generated authorization and secret exposure;
|
|
81
|
-
- a reflection protocol;
|
|
82
|
-
- a role character profile;
|
|
83
|
-
- a fixture, violation pattern and correction loop;
|
|
84
|
-
- gate results for public safety, canonical writes, external actions, feedback
|
|
85
|
-
learning and scientific claims.
|
|
86
|
-
|
|
87
|
-
## Starter Pack
|
|
88
|
-
|
|
89
|
-
For new projects, start from the reusable starter:
|
|
90
|
-
|
|
91
|
-
```text
|
|
92
|
-
templates/character-layer-starter/
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
It expands the minimal fixture into a base character constitution, reusable
|
|
96
|
-
principles, character virtues, hard boundaries, reflection protocol, several
|
|
97
|
-
role character profiles, violation patterns and an owner-reviewed correction
|
|
98
|
-
loop.
|
|
99
|
-
|
|
100
|
-
Use it when the same behavior governance layer should be reused across AI
|
|
101
|
-
employees, project roles or model backends.
|
|
102
|
-
|
|
103
|
-
## Cross-Layer Integration
|
|
104
|
-
|
|
105
|
-
Character Layer should compose with other layers through an integration artifact
|
|
106
|
-
rather than by mixing all profile vocabularies into one package.
|
|
107
|
-
|
|
108
|
-
Minimal synthetic integration example:
|
|
109
|
-
|
|
110
|
-
```text
|
|
111
|
-
examples/character-layer-integration-minimal/
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
It links:
|
|
115
|
-
|
|
116
|
-
- `role_character_profile` to AI employee and role references;
|
|
117
|
-
- launch record and process-control contract references;
|
|
118
|
-
- technology quality feedback;
|
|
119
|
-
- runtime generated context boundary;
|
|
120
|
-
- reflection protocol;
|
|
121
|
-
- required gates for approval, review and technology feedback.
|
|
122
|
-
|
|
123
|
-
## Model Portability Evidence
|
|
124
|
-
|
|
125
|
-
To test whether a new neural model backend preserves behavior, compare model
|
|
126
|
-
runs against the same task set, graph context and character profile.
|
|
127
|
-
|
|
128
|
-
Minimal synthetic evidence shape:
|
|
129
|
-
|
|
130
|
-
```text
|
|
131
|
-
examples/model-portability-minimal/
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
This records fixture results, boundary violations, comparison metrics and a
|
|
135
|
-
bounded verdict such as `portable_within_fixture_limits`. It does not prove
|
|
136
|
-
broad model equivalence or production replacement readiness.
|
|
137
|
-
|
|
138
|
-
## 1.0 Readiness Consolidation
|
|
139
|
-
|
|
140
|
-
The Character Layer 1.0 readiness artifact is:
|
|
141
|
-
|
|
142
|
-
```text
|
|
143
|
-
examples/character-layer-readiness-1-0/
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
It consolidates profile vocabulary, minimal fixture, starter pack, semantic
|
|
147
|
-
anti-fixtures, cross-layer integration, model portability evidence shape,
|
|
148
|
-
validation commands, claim boundaries and remaining limits.
|
|
149
|
-
|
|
150
|
-
## Validation
|
|
151
|
-
|
|
152
|
-
From the repository root:
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
node packages/cli/validate-mirai-graph.js profile profiles/character-layer/profile.json
|
|
156
|
-
node packages/cli/validate-mirai-graph.js examples/character-layer-minimal
|
|
157
|
-
node packages/cli/validate-mirai-graph.js templates/character-layer-starter
|
|
158
|
-
node packages/cli/validate-mirai-graph.js character-layer-integration examples/character-layer-integration-minimal/results/character-layer-integration.json
|
|
159
|
-
node packages/cli/validate-mirai-graph.js model-portability-evidence examples/model-portability-minimal/results/model-portability-evidence.json
|
|
160
|
-
node packages/cli/validate-mirai-graph.js character-layer-readiness examples/character-layer-readiness-1-0/results/character-layer-readiness.json
|
|
161
|
-
npm run validate:character-layer
|
|
162
|
-
npm run validate:character-layer-starter
|
|
163
|
-
npm run validate:character-layer-integration
|
|
164
|
-
npm run validate:model-portability-evidence
|
|
165
|
-
npm run validate:character-layer-readiness
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
## Evidence Limits
|
|
169
|
-
|
|
170
|
-
The current profile and example provide structural conformance evidence for the
|
|
171
|
-
Mirai Graph package shape. Scientific effectiveness claims require separate
|
|
172
|
-
research design, measurements and review.
|
|
173
|
-
|
|
174
|
-
The current release-candidate profile does not claim improvements in trust, safety,
|
|
175
|
-
auditability, consistency or employee performance.
|
|
176
|
-
|
|
177
|
-
## Public Safety
|
|
178
|
-
|
|
179
|
-
Public examples should use synthetic or public-safe content only.
|
|
180
|
-
|
|
181
|
-
Do not include:
|
|
182
|
-
|
|
183
|
-
- private operational constitutions;
|
|
184
|
-
- customer data;
|
|
185
|
-
- credentials, tokens or private keys;
|
|
186
|
-
- private runtime logs;
|
|
187
|
-
- organization-specific instructions that should stay internal.
|
|
188
|
-
|
|
189
|
-
## Adoption Checklist
|
|
190
|
-
|
|
191
|
-
- Choose `character_layer` only when behavior-governance objects are central.
|
|
192
|
-
- Keep canonical graph state separate from generated runtime context.
|
|
193
|
-
- Keep generated context separate from authorization.
|
|
194
|
-
- Add gate results for public safety and canonical-write boundaries.
|
|
195
|
-
- Mark scientific or product-effectiveness claims as out of scope until
|
|
196
|
-
supported by research evidence.
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
# Choose A Mirai Graph Profile
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate adopter workflow
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Use this guide when you want to start a Mirai Graph package and need to choose
|
|
8
|
-
the first profile, starter template and validation path.
|
|
9
|
-
|
|
10
|
-
Start narrow. A useful first package should model one bounded system, not the
|
|
11
|
-
entire organization.
|
|
12
|
-
|
|
13
|
-
If a new idea appears to need a new profile, first read
|
|
14
|
-
[Profile Boundaries](../../standard/profile-boundaries.md). Mirai Graph uses
|
|
15
|
-
`extension before profile`: prefer an existing profile object, relation, gate,
|
|
16
|
-
validator or proposal before adding a new profile name.
|
|
17
|
-
|
|
18
|
-
## Quick Choice
|
|
19
|
-
|
|
20
|
-
| You are modeling | Start with profile | Starter template | Validate with |
|
|
21
|
-
| --- | --- | --- | --- |
|
|
22
|
-
| Software product, feature or package | `software_specification` | `templates/software-project-starter` | `npm run validate:templates` |
|
|
23
|
-
| Research program or evidence workflow | `project_management` | `templates/research-program-starter` | `npm run validate:templates` |
|
|
24
|
-
| AI employee, agent workflow or governed AI role | `ai_employee` | `templates/ai-employee-starter` | `npm run validate:templates` |
|
|
25
|
-
| AI behavior constitution, role character or reflection boundary | `character_layer` | `templates/character-layer-starter` | `npm run validate:templates` |
|
|
26
|
-
| Organization, department, portfolio or governance system | `organization_governance` | `templates/organization-governance-starter` | `npm run validate:templates` |
|
|
27
|
-
|
|
28
|
-
## Decision Rules
|
|
29
|
-
|
|
30
|
-
Choose `software_specification` when the graph needs to manage requirements,
|
|
31
|
-
features, components, dependencies, implementation tasks and technical risks.
|
|
32
|
-
|
|
33
|
-
Choose `project_management` when the graph needs to coordinate goals,
|
|
34
|
-
milestones, tasks, decisions, risks, evidence and review gates across a bounded
|
|
35
|
-
initiative.
|
|
36
|
-
|
|
37
|
-
Choose `ai_employee` when the graph needs to describe an AI worker as a governed
|
|
38
|
-
system with role, skill, tool, policy, action, result, feedback and learning
|
|
39
|
-
boundaries.
|
|
40
|
-
|
|
41
|
-
Choose `character_layer` when the graph needs to describe model-independent AI
|
|
42
|
-
behavior governance: constitution, principles, character virtues, boundaries,
|
|
43
|
-
reflection protocols, violation patterns and correction loops.
|
|
44
|
-
|
|
45
|
-
Choose `organization_governance` when the graph needs to model mission,
|
|
46
|
-
strategy, departments, programs, policies, controls, metrics, delegated
|
|
47
|
-
responsibility and governance risks.
|
|
48
|
-
|
|
49
|
-
If two profiles seem valid, choose the profile that matches the first decision
|
|
50
|
-
you need to make:
|
|
51
|
-
|
|
52
|
-
- build or change software -> `software_specification`;
|
|
53
|
-
- coordinate work -> `project_management`;
|
|
54
|
-
- govern an AI worker -> `ai_employee`;
|
|
55
|
-
- govern behavior across AI roles or model backends -> `character_layer`;
|
|
56
|
-
- govern an organization or portfolio -> `organization_governance`.
|
|
57
|
-
|
|
58
|
-
## First-Day Workflow
|
|
59
|
-
|
|
60
|
-
```text
|
|
61
|
-
choose profile -> copy starter -> replace synthetic objects -> validate -> generate report -> add launch/evidence/kaizen controls
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
1. Copy the closest starter template into your project.
|
|
65
|
-
2. Keep the same file layout for the first iteration.
|
|
66
|
-
3. Replace synthetic object titles and summaries with your real public-safe or
|
|
67
|
-
private project objects.
|
|
68
|
-
4. Keep private notes, credentials, customer data and raw logs outside public
|
|
69
|
-
graph packages.
|
|
70
|
-
5. Run package validation.
|
|
71
|
-
6. Generate a Markdown report for human review.
|
|
72
|
-
7. Add launch records, process transitions, evidence packs and Kaizen only
|
|
73
|
-
after the package shape validates.
|
|
74
|
-
|
|
75
|
-
## Commands
|
|
76
|
-
|
|
77
|
-
Profile map:
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
node packages/cli/mirai-graph.js choose-profile
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Adopter plan for a role or profile:
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
node packages/cli/mirai-graph.js adopter plan developer
|
|
87
|
-
node packages/cli/mirai-graph.js adopter plan ai_employee
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Readable report for a starter:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
node packages/cli/mirai-graph.js adopter report templates/software-project-starter
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## Boundaries
|
|
97
|
-
|
|
98
|
-
- A selected profile is a starting point, not a claim of complete governance.
|
|
99
|
-
- Passing validation means the package follows current release-candidate shape
|
|
100
|
-
rules.
|
|
101
|
-
- Generated context, evidence, feedback and proposals do not authorize
|
|
102
|
-
canonical updates.
|
|
103
|
-
- Production execution stays outside the public alpha adopter workflow.
|
|
104
|
-
- Full documents, articles, code and raw logs should stay in source systems.
|
|
105
|
-
Mirai Graph stores references, governable meaning, gates and evidence links,
|
|
106
|
-
not bulk content.
|