mirai-graph 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +376 -0
- package/CITATION.cff +20 -0
- package/LICENSE +21 -0
- package/LICENSE-DOCS +26 -0
- package/README.md +270 -0
- package/ROADMAP.md +225 -0
- package/benchmarks/protocols/measure-convert-optimize.md +131 -0
- package/benchmarks/synthetic-context-reduction-v0/README.md +70 -0
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +52 -0
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +31 -0
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +12 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +114 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +74 -0
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +22 -0
- package/benchmarks/synthetic-context-reduction-v0/mirai-graph-package.json +14 -0
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +42 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +181 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +8 -0
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +28 -0
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +24 -0
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +78 -0
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +42 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +31 -0
- package/docs/adoption/adopter-kit.md +179 -0
- package/docs/adoption/ai-employee-graph.md +151 -0
- package/docs/adoption/character-layer.md +196 -0
- package/docs/adoption/choose-profile.md +98 -0
- package/docs/adoption/cli.md +78 -0
- package/docs/adoption/developer-integration-guide.md +93 -0
- package/docs/adoption/end-to-end-control-loop.md +168 -0
- package/docs/adoption/getting-started.md +169 -0
- package/docs/adoption/mirai-graph-transition.md +64 -0
- package/docs/adoption/profile-conformance-fixtures.md +112 -0
- package/docs/adoption/seed-to-validated-package.md +121 -0
- package/docs/concept.md +109 -0
- package/docs/repository-purpose.md +421 -0
- package/docs/research/ai-work-field-instrumentation-bridge.md +126 -0
- package/docs/research/baseline-comparison-protocol.md +79 -0
- package/docs/research/evidence-package-v0.1.md +99 -0
- package/docs/research/evidence-package-v0.2.md +150 -0
- package/docs/research/evidence-package-v0.3.md +226 -0
- package/docs/research/independent-implementation-pilot-plan.md +74 -0
- package/docs/research/limitations-and-threats.md +40 -0
- package/docs/research/practice-science-program.md +232 -0
- package/docs/research/scientific-evidence-package.md +154 -0
- package/docs/research/semantic-completeness-review-protocol.md +70 -0
- package/docs/terminology.md +119 -0
- package/docs/transfer/ai-employee-profile-proposal.md +119 -0
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +28 -0
- package/docs/transfer/graph-capability-map-2026-05-29.md +126 -0
- package/docs/transfer/graph-skill-to-mirai-graph.md +128 -0
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +322 -0
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +113 -0
- package/docs/transfer/standard-gap-report-2026-05-28.md +208 -0
- package/examples/ai-employee-minimal/README.md +53 -0
- package/examples/ai-employee-minimal/gates/results.json +35 -0
- package/examples/ai-employee-minimal/graph/objects.json +187 -0
- package/examples/ai-employee-minimal/graph/relations.json +167 -0
- package/examples/ai-employee-minimal/mirai-graph-package.json +14 -0
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +28 -0
- package/examples/character-layer-integration-minimal/README.md +25 -0
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +53 -0
- package/examples/character-layer-minimal/README.md +29 -0
- package/examples/character-layer-minimal/gates/results.json +57 -0
- package/examples/character-layer-minimal/graph/objects.json +165 -0
- package/examples/character-layer-minimal/graph/relations.json +178 -0
- package/examples/character-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/character-layer-readiness-1-0/README.md +27 -0
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +90 -0
- package/examples/federation-routing-smoke/README.md +19 -0
- package/examples/federation-routing-smoke/federation-health-dashboard.json +42 -0
- package/examples/federation-routing-smoke/route-explanation.json +32 -0
- package/examples/federation-routing-smoke/route-regression-result.json +35 -0
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +8 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routing-fixture-run.json +66 -0
- package/examples/federation-routing-smoke/routing-fixtures.json +44 -0
- package/examples/graph-dna-alignment-minimal/README.md +16 -0
- package/examples/graph-dna-alignment-minimal/graph/objects.json +38 -0
- package/examples/graph-dna-alignment-minimal/graph/relations.json +20 -0
- package/examples/graph-dna-alignment-minimal/mirai-graph-package.json +14 -0
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +32 -0
- package/examples/graph-seed-minimal/README.md +9 -0
- package/examples/graph-seed-minimal/graph-embryo.json +63 -0
- package/examples/graph-seed-minimal/graph-seed.json +60 -0
- package/examples/implementation-control-cycles/README.md +47 -0
- package/examples/implementation-control-cycles/gates/results.json +22 -0
- package/examples/implementation-control-cycles/graph/objects.json +119 -0
- package/examples/implementation-control-cycles/graph/relations.json +200 -0
- package/examples/implementation-control-cycles/mirai-graph-package.json +14 -0
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +456 -0
- package/examples/implementation-control-minimal/README.md +39 -0
- package/examples/implementation-control-minimal/gates/results.json +42 -0
- package/examples/implementation-control-minimal/graph/objects.json +128 -0
- package/examples/implementation-control-minimal/graph/relations.json +128 -0
- package/examples/implementation-control-minimal/mirai-graph-package.json +14 -0
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +21 -0
- package/examples/instrumentation-layer-minimal/README.md +32 -0
- package/examples/instrumentation-layer-minimal/gates/results.json +11 -0
- package/examples/instrumentation-layer-minimal/graph/objects.json +74 -0
- package/examples/instrumentation-layer-minimal/graph/relations.json +56 -0
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +40 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +43 -0
- package/examples/instrumentation-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +68 -0
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +56 -0
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +72 -0
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +22 -0
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +1 -0
- package/examples/invalid-character-layer-context-authorization/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +22 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +1 -0
- package/examples/invalid-character-layer-correction-loop-no-review/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +22 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +1 -0
- package/examples/invalid-character-layer-feedback-auto-update/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-object-kind/graph/objects.json +22 -0
- package/examples/invalid-character-layer-object-kind/graph/relations.json +1 -0
- package/examples/invalid-character-layer-object-kind/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-direction/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-type/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-type/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-type/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-role-permission/graph/objects.json +22 -0
- package/examples/invalid-character-layer-role-permission/graph/relations.json +1 -0
- package/examples/invalid-character-layer-role-permission/mirai-graph-package.json +14 -0
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +25 -0
- package/examples/invalid-missing-relation-target/graph/objects.json +11 -0
- package/examples/invalid-missing-relation-target/graph/relations.json +11 -0
- package/examples/invalid-missing-relation-target/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-object-kind/graph/objects.json +20 -0
- package/examples/invalid-profile-object-kind/graph/relations.json +1 -0
- package/examples/invalid-profile-object-kind/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-relation-type/graph/objects.json +29 -0
- package/examples/invalid-profile-relation-type/graph/relations.json +11 -0
- package/examples/invalid-profile-relation-type/mirai-graph-package.json +11 -0
- package/examples/invalid-relation-id-mismatch/graph/objects.json +29 -0
- package/examples/invalid-relation-id-mismatch/graph/relations.json +11 -0
- package/examples/invalid-relation-id-mismatch/mirai-graph-package.json +11 -0
- package/examples/invalid-seed-unsafe-write/graph-seed.json +27 -0
- package/examples/launch-record-minimal/README.md +29 -0
- package/examples/launch-record-minimal/gates/results.json +12 -0
- package/examples/launch-record-minimal/graph/objects.json +47 -0
- package/examples/launch-record-minimal/graph/relations.json +38 -0
- package/examples/launch-record-minimal/mirai-graph-package.json +11 -0
- package/examples/launch-record-minimal/results/launch-record.json +51 -0
- package/examples/managed-project-control-loop/README.md +43 -0
- package/examples/managed-project-control-loop/gates/results.json +22 -0
- package/examples/managed-project-control-loop/graph/objects.json +119 -0
- package/examples/managed-project-control-loop/graph/relations.json +110 -0
- package/examples/managed-project-control-loop/mirai-graph-package.json +14 -0
- package/examples/managed-project-control-loop/results/managed-loop-result.json +21 -0
- package/examples/minimal-graph/README.md +15 -0
- package/examples/minimal-graph/gates/results.json +12 -0
- package/examples/minimal-graph/graph/objects.json +24 -0
- package/examples/minimal-graph/graph/relations.json +11 -0
- package/examples/minimal-graph/mirai-graph-package.json +14 -0
- package/examples/minimal-graph/results/profile-conformance-result.json +26 -0
- package/examples/model-portability-minimal/README.md +15 -0
- package/examples/model-portability-minimal/results/model-portability-evidence.json +55 -0
- package/examples/organization-governance-minimal/README.md +29 -0
- package/examples/organization-governance-minimal/gates/results.json +21 -0
- package/examples/organization-governance-minimal/graph/objects.json +147 -0
- package/examples/organization-governance-minimal/graph/relations.json +147 -0
- package/examples/organization-governance-minimal/mirai-graph-package.json +15 -0
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +31 -0
- package/examples/process-control-contract-minimal/README.md +19 -0
- package/examples/process-control-contract-minimal/graph/objects.json +38 -0
- package/examples/process-control-contract-minimal/graph/relations.json +29 -0
- package/examples/process-control-contract-minimal/mirai-graph-package.json +11 -0
- package/examples/process-control-contract-minimal/results/process-control-contract.json +58 -0
- package/examples/process-transition-minimal/README.md +25 -0
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +14 -0
- package/examples/process-transition-minimal/invalid-ready-to-written.json +14 -0
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +14 -0
- package/examples/process-transition-minimal/invalid-sync-to-update.json +14 -0
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +14 -0
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +14 -0
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +35 -0
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +34 -0
- package/examples/process-transition-minimal/state-machine.json +79 -0
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +14 -0
- package/examples/process-transition-minimal/transition-request.json +14 -0
- package/examples/risk-and-coordination-minimal/README.md +16 -0
- package/examples/risk-and-coordination-minimal/graph/objects.json +47 -0
- package/examples/risk-and-coordination-minimal/graph/relations.json +29 -0
- package/examples/risk-and-coordination-minimal/mirai-graph-package.json +14 -0
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +25 -0
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +34 -0
- package/examples/skill-runtime-minimal/README.md +29 -0
- package/examples/skill-runtime-minimal/gates/results.json +35 -0
- package/examples/skill-runtime-minimal/graph/objects.json +209 -0
- package/examples/skill-runtime-minimal/graph/relations.json +178 -0
- package/examples/skill-runtime-minimal/mirai-graph-package.json +14 -0
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +27 -0
- package/examples/source-boundary-minimal/README.md +16 -0
- package/examples/source-boundary-minimal/graph/objects.json +38 -0
- package/examples/source-boundary-minimal/graph/relations.json +20 -0
- package/examples/source-boundary-minimal/mirai-graph-package.json +14 -0
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +37 -0
- package/examples/technology-quality-feedback-minimal/README.md +33 -0
- package/examples/technology-quality-feedback-minimal/graph/objects.json +56 -0
- package/examples/technology-quality-feedback-minimal/graph/relations.json +47 -0
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +33 -0
- package/examples/technology-quality-feedback-minimal/mirai-graph-package.json +11 -0
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +80 -0
- package/examples/work-recovery-minimal/README.md +15 -0
- package/examples/work-recovery-minimal/graph/objects.json +47 -0
- package/examples/work-recovery-minimal/graph/relations.json +20 -0
- package/examples/work-recovery-minimal/mirai-graph-package.json +14 -0
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +17 -0
- package/examples/work-recovery-minimal/results/work-state-machine.json +21 -0
- package/package.json +104 -0
- package/packages/cli/adopter-workflow.js +227 -0
- package/packages/cli/context-pack.js +267 -0
- package/packages/cli/instrumentation-report.js +97 -0
- package/packages/cli/mirai-graph.js +121 -0
- package/packages/cli/mirai_graph.js +3 -0
- package/packages/cli/playground-demo.js +114 -0
- package/packages/cli/readiness-score.js +162 -0
- package/packages/cli/release-state.js +329 -0
- package/packages/cli/seed-preview.js +78 -0
- package/packages/cli/validate-adopter-workflow.js +63 -0
- package/packages/cli/validate-baseline-comparison.js +105 -0
- package/packages/cli/validate-mirai-graph.js +2434 -0
- package/packages/cli/validate-process-transition-report.js +105 -0
- package/packages/cli/validate-profile-results.js +64 -0
- package/packages/cli/validate-release-state.js +100 -0
- package/packages/cli/validate-routing-control-examples.js +79 -0
- package/pilots/independent-implementation-001-conference-planning/README.md +40 -0
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +12 -0
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +74 -0
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +56 -0
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +65 -0
- package/pilots/independent-implementation-001-conference-planning/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +120 -0
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +35 -0
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +81 -0
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +7 -0
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/README.md +40 -0
- package/pilots/independent-implementation-002-software-specification/gates/results.json +22 -0
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +101 -0
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +92 -0
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +72 -0
- package/pilots/independent-implementation-002-software-specification/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +142 -0
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +184 -0
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +90 -0
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +81 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +42 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +30 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +156 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +147 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +90 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +49 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-004-research-program/README.md +41 -0
- package/pilots/independent-implementation-004-research-program/gates/results.json +21 -0
- package/pilots/independent-implementation-004-research-program/graph/objects.json +102 -0
- package/pilots/independent-implementation-004-research-program/graph/relations.json +84 -0
- package/pilots/independent-implementation-004-research-program/graph-seed.json +76 -0
- package/pilots/independent-implementation-004-research-program/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +50 -0
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-005-organization-governance/README.md +42 -0
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +20 -0
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +137 -0
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +110 -0
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +97 -0
- package/pilots/independent-implementation-005-organization-governance/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +47 -0
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +29 -0
- package/playground/README.md +78 -0
- package/playground/demo-report.md +84 -0
- package/profiles/README.md +19 -0
- package/profiles/ai-employee/README.md +132 -0
- package/profiles/ai-employee/profile.json +58 -0
- package/profiles/character-layer/README.md +143 -0
- package/profiles/character-layer/profile.json +46 -0
- package/profiles/implementation-control/README.md +170 -0
- package/profiles/implementation-control/profile.json +106 -0
- package/profiles/organization-governance/README.md +61 -0
- package/profiles/organization-governance/profile.json +56 -0
- package/profiles/project-management/README.md +115 -0
- package/profiles/project-management/profile.json +31 -0
- package/profiles/skill-runtime/README.md +94 -0
- package/profiles/skill-runtime/profile.json +58 -0
- package/profiles/software-specification/README.md +142 -0
- package/profiles/software-specification/profile.json +31 -0
- package/publications/README.md +24 -0
- package/publications/preprint-note.md +11 -0
- package/publications/preprint-outline.md +45 -0
- package/releases/0.1.0-alpha.0.md +45 -0
- package/releases/0.1.0-alpha.1.md +63 -0
- package/releases/0.1.0-alpha.10.md +93 -0
- package/releases/0.1.0-alpha.11.md +114 -0
- package/releases/0.1.0-alpha.2.md +37 -0
- package/releases/0.1.0-alpha.3.md +61 -0
- package/releases/0.1.0-alpha.4.md +53 -0
- package/releases/0.1.0-alpha.5.md +48 -0
- package/releases/0.1.0-alpha.6.md +96 -0
- package/releases/0.1.0-alpha.7.md +114 -0
- package/releases/0.1.0-alpha.8.md +92 -0
- package/releases/0.1.0-alpha.9.md +80 -0
- package/releases/1.0.0-rc.1.md +112 -0
- package/releases/README.md +114 -0
- package/schemas/baseline-comparison-result.schema.json +87 -0
- package/schemas/character-layer-integration.schema.json +112 -0
- package/schemas/character-layer-readiness.schema.json +73 -0
- package/schemas/context-pack.schema.json +137 -0
- package/schemas/development-cockpit.schema.json +74 -0
- package/schemas/feature-implementation-traceability.schema.json +80 -0
- package/schemas/federation-health-dashboard.schema.json +47 -0
- package/schemas/gate-result.schema.json +44 -0
- package/schemas/graph-dna-alignment.schema.json +49 -0
- package/schemas/graph-embryo.schema.json +51 -0
- package/schemas/graph-seed.schema.json +137 -0
- package/schemas/implementation-control-cycle.schema.json +265 -0
- package/schemas/implementation-control-loop.schema.json +84 -0
- package/schemas/launch-record.schema.json +78 -0
- package/schemas/model-portability-evidence.schema.json +93 -0
- package/schemas/multi-agent-coordination.schema.json +35 -0
- package/schemas/multi-source-quality-feedback.schema.json +54 -0
- package/schemas/object.schema.json +49 -0
- package/schemas/package-manifest.schema.json +53 -0
- package/schemas/process-control-contract.schema.json +100 -0
- package/schemas/process-transition-request.schema.json +41 -0
- package/schemas/profile.schema.json +56 -0
- package/schemas/readiness-score.schema.json +43 -0
- package/schemas/recovery-resume-record.schema.json +25 -0
- package/schemas/relation.schema.json +43 -0
- package/schemas/risk-control-matrix.schema.json +36 -0
- package/schemas/route-explanation.schema.json +51 -0
- package/schemas/route-regression-result.schema.json +33 -0
- package/schemas/routing-fixture-run.schema.json +45 -0
- package/schemas/routing-fixtures.schema.json +59 -0
- package/schemas/source-boundary-contract.schema.json +31 -0
- package/schemas/technology-quality-feedback.schema.json +116 -0
- package/schemas/work-state-machine.schema.json +34 -0
- package/standard/action-runtime-boundary.md +99 -0
- package/standard/adoption-levels.md +69 -0
- package/standard/conformance-levels.md +133 -0
- package/standard/context-pack-generation.md +141 -0
- package/standard/development-cockpit.md +67 -0
- package/standard/evidence-provenance.md +128 -0
- package/standard/feature-implementation-traceability.md +68 -0
- package/standard/federation-health.md +42 -0
- package/standard/feedback-learning-gate.md +101 -0
- package/standard/governance.md +137 -0
- package/standard/graph-as-ai-brain.md +81 -0
- package/standard/graph-dna-alignment.md +50 -0
- package/standard/graph-dna.md +70 -0
- package/standard/graph-embryo.md +69 -0
- package/standard/graph-seed.md +122 -0
- package/standard/hybrid-source-of-truth.md +91 -0
- package/standard/implementation-control-cycles.md +194 -0
- package/standard/implementation-control.md +102 -0
- package/standard/launch-record.md +53 -0
- package/standard/lifecycle-readiness.md +159 -0
- package/standard/multi-agent-coordination.md +50 -0
- package/standard/multi-source-quality-feedback.md +71 -0
- package/standard/object-model.md +152 -0
- package/standard/organization-governance.md +84 -0
- package/standard/process-control-contract.md +53 -0
- package/standard/profiles.md +233 -0
- package/standard/projection-views.md +69 -0
- package/standard/recovery-resume.md +49 -0
- package/standard/relation-model.md +139 -0
- package/standard/risk-control-matrix.md +53 -0
- package/standard/route-explanation.md +35 -0
- package/standard/route-regression.md +33 -0
- package/standard/routing-fixtures.md +54 -0
- package/standard/runtime-enablement.md +85 -0
- package/standard/source-boundary-contract.md +49 -0
- package/standard/standard-v0.1.md +132 -0
- package/standard/technology-quality-feedback.md +97 -0
- package/standard/test-suite.md +105 -0
- package/standard/work-state-machine.md +62 -0
- package/templates/README.md +64 -0
- package/templates/ai-employee-starter/README.md +9 -0
- package/templates/ai-employee-starter/gates/results.json +12 -0
- package/templates/ai-employee-starter/graph/objects.json +90 -0
- package/templates/ai-employee-starter/graph/relations.json +47 -0
- package/templates/ai-employee-starter/mirai-graph-package.json +14 -0
- package/templates/character-layer-starter/README.md +39 -0
- package/templates/character-layer-starter/gates/results.json +20 -0
- package/templates/character-layer-starter/graph/objects.json +308 -0
- package/templates/character-layer-starter/graph/relations.json +344 -0
- package/templates/character-layer-starter/mirai-graph-package.json +14 -0
- package/templates/organization-governance-starter/README.md +9 -0
- package/templates/organization-governance-starter/gates/results.json +12 -0
- package/templates/organization-governance-starter/graph/objects.json +112 -0
- package/templates/organization-governance-starter/graph/relations.json +65 -0
- package/templates/organization-governance-starter/mirai-graph-package.json +14 -0
- package/templates/research-program-starter/README.md +9 -0
- package/templates/research-program-starter/gates/results.json +12 -0
- package/templates/research-program-starter/graph/objects.json +79 -0
- package/templates/research-program-starter/graph/relations.json +47 -0
- package/templates/research-program-starter/mirai-graph-package.json +14 -0
- package/templates/software-project-starter/README.md +9 -0
- package/templates/software-project-starter/gates/results.json +12 -0
- package/templates/software-project-starter/graph/objects.json +79 -0
- package/templates/software-project-starter/graph/relations.json +47 -0
- package/templates/software-project-starter/mirai-graph-package.json +14 -0
package/pilots/independent-implementation-005-organization-governance/mirai-graph-package.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "package.organization_governance_pilot_005",
|
|
3
|
+
"name": "Organization Governance Pilot 005",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"profile": "organization_governance",
|
|
6
|
+
"conformance_level": "level_1",
|
|
7
|
+
"description": "A synthetic independent implementation pilot for organization-level governance.",
|
|
8
|
+
"license": "CC-BY-4.0",
|
|
9
|
+
"public_safety": "synthetic_public",
|
|
10
|
+
"graph": {
|
|
11
|
+
"objects": "graph/objects.json",
|
|
12
|
+
"relations": "graph/relations.json"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Pilot Report: Organization Governance
|
|
2
|
+
|
|
3
|
+
Status: public-safe alpha pilot
|
|
4
|
+
|
|
5
|
+
## Question
|
|
6
|
+
|
|
7
|
+
Can Mirai Graph model organization-level governance with explicit strategy
|
|
8
|
+
alignment, decision rights, controls, metrics, feedback and Kaizen?
|
|
9
|
+
|
|
10
|
+
## Setup
|
|
11
|
+
|
|
12
|
+
The pilot uses a synthetic organization governance program. The graph connects:
|
|
13
|
+
|
|
14
|
+
- organization and mission;
|
|
15
|
+
- strategy and objective;
|
|
16
|
+
- department and program;
|
|
17
|
+
- policy and decision right;
|
|
18
|
+
- risk and control;
|
|
19
|
+
- metric and governance review;
|
|
20
|
+
- feedback and Kaizen improvement queue.
|
|
21
|
+
|
|
22
|
+
## Result
|
|
23
|
+
|
|
24
|
+
The package validates against the public `organization_governance` profile. The
|
|
25
|
+
graph shows how organization governance can make promotion gates, decision
|
|
26
|
+
rights and feedback boundaries explicit.
|
|
27
|
+
|
|
28
|
+
## Evidence Boundary
|
|
29
|
+
|
|
30
|
+
This pilot demonstrates public profile applicability and validation shape. It
|
|
31
|
+
does not claim organization performance improvement, legal compliance,
|
|
32
|
+
production governance safety or external validity.
|
|
33
|
+
|
|
34
|
+
## Reproducibility
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
node packages/cli/validate-mirai-graph.js seed pilots/independent-implementation-005-organization-governance/graph-seed.json
|
|
38
|
+
node packages/cli/validate-mirai-graph.js pilots/independent-implementation-005-organization-governance
|
|
39
|
+
node packages/cli/validate-mirai-graph.js --markdown pilots/independent-implementation-005-organization-governance
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Limitations
|
|
43
|
+
|
|
44
|
+
- The scenario is synthetic.
|
|
45
|
+
- No private organization materials are included.
|
|
46
|
+
- The graph models governance structure, not jurisdiction-specific compliance.
|
|
47
|
+
- Feedback and evidence remain bounded and do not authorize canonical updates.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "0.1.0",
|
|
3
|
+
"result_id": "profile_conformance.package.organization_governance_pilot_005",
|
|
4
|
+
"checked_at": "2026-06-03",
|
|
5
|
+
"fixture": "pilots/independent-implementation-005-organization-governance/",
|
|
6
|
+
"package_id": "package.organization_governance_pilot_005",
|
|
7
|
+
"profile": "organization_governance",
|
|
8
|
+
"conformance_level": "level_1",
|
|
9
|
+
"validator": "packages/cli/validate-mirai-graph.js",
|
|
10
|
+
"command": "node packages/cli/validate-mirai-graph.js pilots/independent-implementation-005-organization-governance",
|
|
11
|
+
"valid": true,
|
|
12
|
+
"errors": [],
|
|
13
|
+
"warnings": [],
|
|
14
|
+
"checks": [
|
|
15
|
+
"required package, object, relation and gate-result fields",
|
|
16
|
+
"unique object and relation ids",
|
|
17
|
+
"relation source and target existence",
|
|
18
|
+
"relation id consistency",
|
|
19
|
+
"readiness and gate verdict values",
|
|
20
|
+
"organization_governance object-kind conformance",
|
|
21
|
+
"organization_governance relation-type conformance",
|
|
22
|
+
"decision-right and feedback boundary represented"
|
|
23
|
+
],
|
|
24
|
+
"claim_supported": "The package follows the declared Mirai Graph profile shape checked by the current validator.",
|
|
25
|
+
"limitations": [
|
|
26
|
+
"The pilot is synthetic and does not prove organization performance.",
|
|
27
|
+
"The profile models governance structure, not local legal, HR or operational policy."
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Mirai Graph Playground
|
|
2
|
+
|
|
3
|
+
Status: 1.0 release-candidate deterministic runnable demo
|
|
4
|
+
|
|
5
|
+
This directory is a playground package for public-safe Mirai Graph demos. The
|
|
6
|
+
current 1.0 release-candidate playground is CLI-based and deterministic:
|
|
7
|
+
runnable examples live in `examples/`, `benchmarks/` and `pilots/`, and the
|
|
8
|
+
generated report is stored as `playground/demo-report.md`.
|
|
9
|
+
|
|
10
|
+
## Quick Runs
|
|
11
|
+
|
|
12
|
+
Validate a minimal graph package:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm run validate:minimal
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Preview a graph seed:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm run seed:preview
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Generate a synthetic context pack:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm run context:generate
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Generate the end-to-end playground report:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm run playground:demo
|
|
34
|
+
npm run playground:report
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Validate implementation-control and process-control examples:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm run validate:implementation-control
|
|
41
|
+
npm run validate:implementation-control-cycles
|
|
42
|
+
npm run validate:launch-record
|
|
43
|
+
npm run validate:process-transition
|
|
44
|
+
npm run validate:process-control
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Run negative fixtures:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npm run test:negative
|
|
51
|
+
npm run test:process-transition-negative
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Run the full release-candidate suite:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npm test
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Demo Paths
|
|
61
|
+
|
|
62
|
+
- `examples/minimal-graph/`
|
|
63
|
+
- `examples/graph-seed-minimal/`
|
|
64
|
+
- `examples/implementation-control-minimal/`
|
|
65
|
+
- `examples/implementation-control-cycles/`
|
|
66
|
+
- `examples/launch-record-minimal/`
|
|
67
|
+
- `examples/process-transition-minimal/`
|
|
68
|
+
- `examples/process-control-contract-minimal/`
|
|
69
|
+
- `benchmarks/synthetic-context-reduction-v0/`
|
|
70
|
+
- `benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json`
|
|
71
|
+
- `playground/demo-report.md`
|
|
72
|
+
|
|
73
|
+
## Future Work
|
|
74
|
+
|
|
75
|
+
A hosted or interactive playground can be added later. Until then, this index
|
|
76
|
+
keeps the public README honest: Mirai Graph has a deterministic local report with
|
|
77
|
+
transition explanation and baseline comparison, but not yet a separate
|
|
78
|
+
interactive application.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Mirai Graph Playground Demo Report
|
|
2
|
+
|
|
3
|
+
Status: deterministic 1.0.0-rc.1 demo
|
|
4
|
+
|
|
5
|
+
## Control Loop
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
seed -> graph -> context -> launch -> transition explanation -> cockpit -> traceability -> multi-source feedback -> evidence -> kaizen -> baseline comparison
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Demo Inputs
|
|
12
|
+
|
|
13
|
+
- Synthetic package: `benchmarks/synthetic-context-reduction-v0`
|
|
14
|
+
- Objects: `12`
|
|
15
|
+
- Relations: `8`
|
|
16
|
+
- Context pack: `context_pack.task_notify_after_approval`
|
|
17
|
+
- Launch record: `launch_record.synthetic_batch`
|
|
18
|
+
- Transition request: `transition_request.release_ready_to_released`
|
|
19
|
+
- Transition explanation: `transition_explanation.release_ready_to_released`
|
|
20
|
+
- Process-control contract: `process_control_contract.synthetic_executable_process`
|
|
21
|
+
- Development cockpit: `cockpit_report.synthetic_delivery`
|
|
22
|
+
- Feature traceability: `trace_report.synthetic_feature_delivery`
|
|
23
|
+
- Multi-source feedback: `feedback_report.synthetic_multi_source`
|
|
24
|
+
- Baseline comparison: `baseline_comparison.synthetic_notify_after_approval`
|
|
25
|
+
|
|
26
|
+
## Commands
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm run validate:minimal
|
|
30
|
+
npm run seed:preview
|
|
31
|
+
npm run context:generate
|
|
32
|
+
npm run validate:launch-record
|
|
33
|
+
npm run validate:process-transition
|
|
34
|
+
npm run validate:process-transition-report
|
|
35
|
+
npm run validate:process-control
|
|
36
|
+
npm run validate:instrumentation-layer
|
|
37
|
+
npm run validate:instrumentation-report
|
|
38
|
+
npm run validate:implementation-control-cycles
|
|
39
|
+
npm run validate:baseline-comparison
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Transition Explanation
|
|
43
|
+
|
|
44
|
+
- Requested transition: `release_ready -> released`
|
|
45
|
+
- Matched transition: `true`
|
|
46
|
+
- Required evidence: `release_evidence`
|
|
47
|
+
- Missing evidence: `0`
|
|
48
|
+
- Kaizen decision: `satisfied`
|
|
49
|
+
|
|
50
|
+
## Instrumentation
|
|
51
|
+
|
|
52
|
+
- Cockpit production readiness: `not_ready`
|
|
53
|
+
- Cockpit next action: `promote_to_review_ready_after_transition_validation`
|
|
54
|
+
- Feature mappings: `1`
|
|
55
|
+
- Evidence-backed mappings: `1`
|
|
56
|
+
- Multi-source feedback verdict: `accepted_for_transition`
|
|
57
|
+
- Blocking findings: `0`
|
|
58
|
+
- Kaizen refs: `kaizen.synthetic_traceability_checklist`
|
|
59
|
+
|
|
60
|
+
## Baseline Comparison
|
|
61
|
+
|
|
62
|
+
- Baseline context units: `620`
|
|
63
|
+
- Mirai Graph context units: `270`
|
|
64
|
+
- Context reduction: `56.4516%`
|
|
65
|
+
- Baseline missed dependencies: `2`
|
|
66
|
+
- Mirai Graph missed dependencies: `0`
|
|
67
|
+
- Verdict: `synthetic_mirai_graph_result_stronger_with_limits`
|
|
68
|
+
|
|
69
|
+
## What This Demonstrates
|
|
70
|
+
|
|
71
|
+
- Mirai Graph can validate a graph package.
|
|
72
|
+
- Mirai Graph can generate task-specific context from graph state.
|
|
73
|
+
- Launch records describe bounded work permission.
|
|
74
|
+
- Process transitions are checked and explained against an executable state machine.
|
|
75
|
+
- Process-control contracts bind launch, evidence, recovery and Kaizen policy.
|
|
76
|
+
- Instrumentation connects cockpit signals, feature traceability and multi-source feedback.
|
|
77
|
+
- Baseline comparison records synthetic measurement boundaries.
|
|
78
|
+
|
|
79
|
+
## Boundaries
|
|
80
|
+
|
|
81
|
+
- This is a public-safe synthetic demo.
|
|
82
|
+
- Generated context is not canonical state.
|
|
83
|
+
- Evidence and proposals do not authorize canonical updates.
|
|
84
|
+
- Synthetic evidence is not broad scientific proof.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Mirai Graph Profiles
|
|
2
|
+
|
|
3
|
+
Profiles adapt Mirai Graph to a domain without changing the core standard.
|
|
4
|
+
|
|
5
|
+
Current public profiles:
|
|
6
|
+
|
|
7
|
+
- [software-specification](software-specification/README.md)
|
|
8
|
+
- [project-management](project-management/README.md)
|
|
9
|
+
- [ai-employee](ai-employee/README.md)
|
|
10
|
+
- [character-layer](character-layer/README.md)
|
|
11
|
+
- [skill-runtime](skill-runtime/README.md)
|
|
12
|
+
- [implementation-control](implementation-control/README.md)
|
|
13
|
+
- [organization-governance](organization-governance/README.md)
|
|
14
|
+
|
|
15
|
+
Each profile declares allowed object kinds, relation types, default readiness
|
|
16
|
+
and governance gates.
|
|
17
|
+
|
|
18
|
+
Executable profile examples and anti-examples are documented in
|
|
19
|
+
[Profile Conformance Fixtures](../docs/adoption/profile-conformance-fixtures.md).
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# AI Employee Profile
|
|
2
|
+
|
|
3
|
+
Status: alpha profile
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The `ai_employee` profile adapts Mirai Graph to AI employees, AI departments and
|
|
8
|
+
federated AI-service systems.
|
|
9
|
+
|
|
10
|
+
It treats an AI employee as a governed runtime over an evolutionary graph:
|
|
11
|
+
|
|
12
|
+
- the graph stores canonical state, roles, skills, knowledge, memory, tools,
|
|
13
|
+
policies, workflows and lessons;
|
|
14
|
+
- generated context helps a task;
|
|
15
|
+
- runtime execution happens through tools, approvals and audit;
|
|
16
|
+
- feedback proposes learning but does not mutate the graph automatically.
|
|
17
|
+
|
|
18
|
+
## Object Kinds
|
|
19
|
+
|
|
20
|
+
Initial allowed object kinds:
|
|
21
|
+
|
|
22
|
+
- `ai_employee`;
|
|
23
|
+
- `ai_department`;
|
|
24
|
+
- `role`;
|
|
25
|
+
- `specialization`;
|
|
26
|
+
- `skill`;
|
|
27
|
+
- `knowledge`;
|
|
28
|
+
- `memory`;
|
|
29
|
+
- `event`;
|
|
30
|
+
- `signal`;
|
|
31
|
+
- `action`;
|
|
32
|
+
- `tool`;
|
|
33
|
+
- `capability`;
|
|
34
|
+
- `policy`;
|
|
35
|
+
- `workflow`;
|
|
36
|
+
- `automation_rule`;
|
|
37
|
+
- `result`;
|
|
38
|
+
- `feedback`;
|
|
39
|
+
- `lesson`;
|
|
40
|
+
- `delegation`;
|
|
41
|
+
- `federation_endpoint`;
|
|
42
|
+
- `governance_gate`.
|
|
43
|
+
|
|
44
|
+
## Relation Types
|
|
45
|
+
|
|
46
|
+
Initial allowed relation types:
|
|
47
|
+
|
|
48
|
+
- `has_role`;
|
|
49
|
+
- `has_specialization`;
|
|
50
|
+
- `has_skill`;
|
|
51
|
+
- `uses_knowledge`;
|
|
52
|
+
- `requires_capability`;
|
|
53
|
+
- `can_execute`;
|
|
54
|
+
- `requires_approval`;
|
|
55
|
+
- `triggered_by`;
|
|
56
|
+
- `responds_to`;
|
|
57
|
+
- `delegates_to`;
|
|
58
|
+
- `escalates_to`;
|
|
59
|
+
- `supervises`;
|
|
60
|
+
- `learns_from`;
|
|
61
|
+
- `updates_behavior`;
|
|
62
|
+
- `belongs_to_department`;
|
|
63
|
+
- `federates_with`;
|
|
64
|
+
- `produces`;
|
|
65
|
+
- `governs`;
|
|
66
|
+
- `related_to`.
|
|
67
|
+
|
|
68
|
+
## Governance Gates
|
|
69
|
+
|
|
70
|
+
Initial gates:
|
|
71
|
+
|
|
72
|
+
- `human_review_before_canonical_write`;
|
|
73
|
+
- `approval_before_external_action`;
|
|
74
|
+
- `feedback_learning_before_behavior_update`;
|
|
75
|
+
- `public_safety_before_release`.
|
|
76
|
+
|
|
77
|
+
## Runtime Boundary
|
|
78
|
+
|
|
79
|
+
The profile does not make the graph a runtime by itself.
|
|
80
|
+
|
|
81
|
+
Use this separation:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
canonical graph state
|
|
85
|
+
-> generated context
|
|
86
|
+
-> runtime decision
|
|
87
|
+
-> proposed action
|
|
88
|
+
-> approval gate
|
|
89
|
+
-> executed action
|
|
90
|
+
-> audited result
|
|
91
|
+
-> feedback
|
|
92
|
+
-> learning proposal
|
|
93
|
+
-> canonical graph update
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Minimal Useful Package
|
|
97
|
+
|
|
98
|
+
A Level 1 AI-employee package should include:
|
|
99
|
+
|
|
100
|
+
- one `ai_employee`;
|
|
101
|
+
- one `role`;
|
|
102
|
+
- one `skill`;
|
|
103
|
+
- one `tool`;
|
|
104
|
+
- one `capability`;
|
|
105
|
+
- one `policy`;
|
|
106
|
+
- one `workflow`;
|
|
107
|
+
- one `action`;
|
|
108
|
+
- one `result`;
|
|
109
|
+
- one `feedback`;
|
|
110
|
+
- one `lesson`;
|
|
111
|
+
- one `governance_gate`;
|
|
112
|
+
- evidence objects or source records where claims need support.
|
|
113
|
+
|
|
114
|
+
## Current Limitations
|
|
115
|
+
|
|
116
|
+
The profile does not yet standardize:
|
|
117
|
+
|
|
118
|
+
- provider-specific LLM capabilities;
|
|
119
|
+
- queue or worker implementation;
|
|
120
|
+
- authentication and authorization runtime;
|
|
121
|
+
- tool sandboxing;
|
|
122
|
+
- long-term memory storage engines;
|
|
123
|
+
- user interface requirements;
|
|
124
|
+
- federation trust protocols.
|
|
125
|
+
|
|
126
|
+
These belong to implementation profiles or future standard sections.
|
|
127
|
+
|
|
128
|
+
## Example
|
|
129
|
+
|
|
130
|
+
Minimal synthetic fixture:
|
|
131
|
+
|
|
132
|
+
`examples/ai-employee-minimal/`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "profile.ai_employee",
|
|
3
|
+
"name": "AI Employee",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Profile for modeling AI employees, roles, skills, tools, policies, workflows, actions, feedback and learning gates.",
|
|
6
|
+
"allowed_object_kinds": [
|
|
7
|
+
"ai_employee",
|
|
8
|
+
"ai_department",
|
|
9
|
+
"role",
|
|
10
|
+
"specialization",
|
|
11
|
+
"skill",
|
|
12
|
+
"knowledge",
|
|
13
|
+
"memory",
|
|
14
|
+
"event",
|
|
15
|
+
"signal",
|
|
16
|
+
"action",
|
|
17
|
+
"tool",
|
|
18
|
+
"capability",
|
|
19
|
+
"policy",
|
|
20
|
+
"workflow",
|
|
21
|
+
"automation_rule",
|
|
22
|
+
"result",
|
|
23
|
+
"feedback",
|
|
24
|
+
"lesson",
|
|
25
|
+
"delegation",
|
|
26
|
+
"federation_endpoint",
|
|
27
|
+
"governance_gate",
|
|
28
|
+
"evidence"
|
|
29
|
+
],
|
|
30
|
+
"allowed_relation_types": [
|
|
31
|
+
"has_role",
|
|
32
|
+
"has_specialization",
|
|
33
|
+
"has_skill",
|
|
34
|
+
"uses_knowledge",
|
|
35
|
+
"requires_capability",
|
|
36
|
+
"can_execute",
|
|
37
|
+
"requires_approval",
|
|
38
|
+
"triggered_by",
|
|
39
|
+
"responds_to",
|
|
40
|
+
"delegates_to",
|
|
41
|
+
"escalates_to",
|
|
42
|
+
"supervises",
|
|
43
|
+
"learns_from",
|
|
44
|
+
"updates_behavior",
|
|
45
|
+
"belongs_to_department",
|
|
46
|
+
"federates_with",
|
|
47
|
+
"produces",
|
|
48
|
+
"governs",
|
|
49
|
+
"related_to"
|
|
50
|
+
],
|
|
51
|
+
"default_readiness": "draft",
|
|
52
|
+
"governance_gates": [
|
|
53
|
+
"human_review_before_canonical_write",
|
|
54
|
+
"approval_before_external_action",
|
|
55
|
+
"feedback_learning_before_behavior_update",
|
|
56
|
+
"public_safety_before_release"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Character Layer Profile
|
|
2
|
+
|
|
3
|
+
Status: alpha profile
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The `character_layer` profile adapts Mirai Graph to model-independent AI
|
|
8
|
+
character governance.
|
|
9
|
+
|
|
10
|
+
It treats character as graph state:
|
|
11
|
+
|
|
12
|
+
- constitution;
|
|
13
|
+
- principles;
|
|
14
|
+
- character virtues;
|
|
15
|
+
- character boundaries;
|
|
16
|
+
- role character profiles;
|
|
17
|
+
- reflection protocols;
|
|
18
|
+
- fixtures;
|
|
19
|
+
- violation patterns;
|
|
20
|
+
- correction loops;
|
|
21
|
+
- evidence and governance gates.
|
|
22
|
+
|
|
23
|
+
## Non-Goals
|
|
24
|
+
|
|
25
|
+
The profile does not:
|
|
26
|
+
|
|
27
|
+
- train or fine-tune a base model;
|
|
28
|
+
- prove alignment or behavior quality;
|
|
29
|
+
- authorize tool use, external actions or canonical writes;
|
|
30
|
+
- replace action gates, runtime policy or human approval;
|
|
31
|
+
- replace the `ai_employee`, `skill_runtime` or `organization_governance`
|
|
32
|
+
profiles;
|
|
33
|
+
- publish private operational constitution content.
|
|
34
|
+
|
|
35
|
+
## Object Kinds
|
|
36
|
+
|
|
37
|
+
Initial allowed object kinds:
|
|
38
|
+
|
|
39
|
+
- `character_constitution`;
|
|
40
|
+
- `character_principle`;
|
|
41
|
+
- `character_virtue`;
|
|
42
|
+
- `character_boundary`;
|
|
43
|
+
- `role_character_profile`;
|
|
44
|
+
- `character_decision_rule`;
|
|
45
|
+
- `reflection_protocol`;
|
|
46
|
+
- `character_fixture`;
|
|
47
|
+
- `violation_pattern`;
|
|
48
|
+
- `correction_loop`;
|
|
49
|
+
- `governance_gate`;
|
|
50
|
+
- `evidence`.
|
|
51
|
+
|
|
52
|
+
## Relation Types
|
|
53
|
+
|
|
54
|
+
Initial allowed relation types:
|
|
55
|
+
|
|
56
|
+
- `defines_principle`;
|
|
57
|
+
- `promotes_virtue`;
|
|
58
|
+
- `sets_character_boundary`;
|
|
59
|
+
- `specializes_character`;
|
|
60
|
+
- `resolves_character_conflict`;
|
|
61
|
+
- `uses_reflection_protocol`;
|
|
62
|
+
- `tests_character`;
|
|
63
|
+
- `describes_violation_of`;
|
|
64
|
+
- `corrects_violation`;
|
|
65
|
+
- `updates_character`;
|
|
66
|
+
- `evidences_character`;
|
|
67
|
+
- `governs_role`;
|
|
68
|
+
- `governs_employee`;
|
|
69
|
+
- `requires_escalation_to`;
|
|
70
|
+
- `governs`;
|
|
71
|
+
- `related_to`.
|
|
72
|
+
|
|
73
|
+
## Governance Gates
|
|
74
|
+
|
|
75
|
+
Initial gates:
|
|
76
|
+
|
|
77
|
+
- `human_review_before_canonical_write`;
|
|
78
|
+
- `approval_before_external_action`;
|
|
79
|
+
- `feedback_learning_before_behavior_update`;
|
|
80
|
+
- `public_safety_before_release`;
|
|
81
|
+
- `scientific_claim_before_publication`.
|
|
82
|
+
|
|
83
|
+
## Runtime Boundary
|
|
84
|
+
|
|
85
|
+
The profile models character state and review boundaries. It does not make
|
|
86
|
+
generated context an authorization source.
|
|
87
|
+
|
|
88
|
+
Use this separation:
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
canonical character graph
|
|
92
|
+
-> generated character context
|
|
93
|
+
-> runtime reflection
|
|
94
|
+
-> proposed answer or action
|
|
95
|
+
-> policy or action gate
|
|
96
|
+
-> output or execution
|
|
97
|
+
-> reviewed result
|
|
98
|
+
-> feedback
|
|
99
|
+
-> correction proposal
|
|
100
|
+
-> owner-approved canonical update
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Semantic Validation
|
|
104
|
+
|
|
105
|
+
The reference validator applies additional fail-closed checks for this profile:
|
|
106
|
+
relation directions must match the Character Layer contract, generated context
|
|
107
|
+
or evidence cannot authorize action, feedback cannot automatically update
|
|
108
|
+
canonical character state, `role_character_profile` cannot grant runtime/tool
|
|
109
|
+
permission, and `correction_loop` must preserve owner or human review before
|
|
110
|
+
canonical character updates.
|
|
111
|
+
|
|
112
|
+
## Minimal Useful Package
|
|
113
|
+
|
|
114
|
+
A Level 1 character-layer package should include:
|
|
115
|
+
|
|
116
|
+
- one `character_constitution`;
|
|
117
|
+
- several `character_principle` objects;
|
|
118
|
+
- at least one `character_virtue`;
|
|
119
|
+
- at least one `character_boundary`;
|
|
120
|
+
- one `reflection_protocol`;
|
|
121
|
+
- one `role_character_profile`;
|
|
122
|
+
- one `character_fixture`;
|
|
123
|
+
- one `violation_pattern`;
|
|
124
|
+
- one `correction_loop`;
|
|
125
|
+
- one `governance_gate`;
|
|
126
|
+
- evidence objects or source records for the public boundary.
|
|
127
|
+
|
|
128
|
+
## Current Limitations
|
|
129
|
+
|
|
130
|
+
The profile does not yet standardize:
|
|
131
|
+
|
|
132
|
+
- provider-specific behavior controls;
|
|
133
|
+
- runtime policy enforcement engines;
|
|
134
|
+
- human trust or calibration measurement;
|
|
135
|
+
- cross-model evaluation;
|
|
136
|
+
- product UI requirements;
|
|
137
|
+
- private operational constitutions.
|
|
138
|
+
|
|
139
|
+
## Example
|
|
140
|
+
|
|
141
|
+
Minimal synthetic fixture:
|
|
142
|
+
|
|
143
|
+
`examples/character-layer-minimal/`
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "profile.character_layer",
|
|
3
|
+
"name": "Character Layer",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Profile for modeling model-independent AI character, principles, character virtues, character boundaries, reflection protocols, fixtures, violations and correction loops.",
|
|
6
|
+
"allowed_object_kinds": [
|
|
7
|
+
"character_constitution",
|
|
8
|
+
"character_principle",
|
|
9
|
+
"character_virtue",
|
|
10
|
+
"character_boundary",
|
|
11
|
+
"role_character_profile",
|
|
12
|
+
"character_decision_rule",
|
|
13
|
+
"reflection_protocol",
|
|
14
|
+
"character_fixture",
|
|
15
|
+
"violation_pattern",
|
|
16
|
+
"correction_loop",
|
|
17
|
+
"governance_gate",
|
|
18
|
+
"evidence"
|
|
19
|
+
],
|
|
20
|
+
"allowed_relation_types": [
|
|
21
|
+
"defines_principle",
|
|
22
|
+
"promotes_virtue",
|
|
23
|
+
"sets_character_boundary",
|
|
24
|
+
"specializes_character",
|
|
25
|
+
"resolves_character_conflict",
|
|
26
|
+
"uses_reflection_protocol",
|
|
27
|
+
"tests_character",
|
|
28
|
+
"describes_violation_of",
|
|
29
|
+
"corrects_violation",
|
|
30
|
+
"updates_character",
|
|
31
|
+
"evidences_character",
|
|
32
|
+
"governs_role",
|
|
33
|
+
"governs_employee",
|
|
34
|
+
"requires_escalation_to",
|
|
35
|
+
"governs",
|
|
36
|
+
"related_to"
|
|
37
|
+
],
|
|
38
|
+
"default_readiness": "draft",
|
|
39
|
+
"governance_gates": [
|
|
40
|
+
"human_review_before_canonical_write",
|
|
41
|
+
"approval_before_external_action",
|
|
42
|
+
"feedback_learning_before_behavior_update",
|
|
43
|
+
"public_safety_before_release",
|
|
44
|
+
"scientific_claim_before_publication"
|
|
45
|
+
]
|
|
46
|
+
}
|