mirai-graph 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +376 -0
- package/CITATION.cff +20 -0
- package/LICENSE +21 -0
- package/LICENSE-DOCS +26 -0
- package/README.md +270 -0
- package/ROADMAP.md +225 -0
- package/benchmarks/protocols/measure-convert-optimize.md +131 -0
- package/benchmarks/synthetic-context-reduction-v0/README.md +70 -0
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +52 -0
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +31 -0
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +12 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +114 -0
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +74 -0
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +22 -0
- package/benchmarks/synthetic-context-reduction-v0/mirai-graph-package.json +14 -0
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +42 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +181 -0
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +8 -0
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +28 -0
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +24 -0
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +78 -0
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +42 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +8 -0
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +31 -0
- package/docs/adoption/adopter-kit.md +179 -0
- package/docs/adoption/ai-employee-graph.md +151 -0
- package/docs/adoption/character-layer.md +196 -0
- package/docs/adoption/choose-profile.md +98 -0
- package/docs/adoption/cli.md +78 -0
- package/docs/adoption/developer-integration-guide.md +93 -0
- package/docs/adoption/end-to-end-control-loop.md +168 -0
- package/docs/adoption/getting-started.md +169 -0
- package/docs/adoption/mirai-graph-transition.md +64 -0
- package/docs/adoption/profile-conformance-fixtures.md +112 -0
- package/docs/adoption/seed-to-validated-package.md +121 -0
- package/docs/concept.md +109 -0
- package/docs/repository-purpose.md +421 -0
- package/docs/research/ai-work-field-instrumentation-bridge.md +126 -0
- package/docs/research/baseline-comparison-protocol.md +79 -0
- package/docs/research/evidence-package-v0.1.md +99 -0
- package/docs/research/evidence-package-v0.2.md +150 -0
- package/docs/research/evidence-package-v0.3.md +226 -0
- package/docs/research/independent-implementation-pilot-plan.md +74 -0
- package/docs/research/limitations-and-threats.md +40 -0
- package/docs/research/practice-science-program.md +232 -0
- package/docs/research/scientific-evidence-package.md +154 -0
- package/docs/research/semantic-completeness-review-protocol.md +70 -0
- package/docs/terminology.md +119 -0
- package/docs/transfer/ai-employee-profile-proposal.md +119 -0
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +28 -0
- package/docs/transfer/graph-capability-map-2026-05-29.md +126 -0
- package/docs/transfer/graph-skill-to-mirai-graph.md +128 -0
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +322 -0
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +113 -0
- package/docs/transfer/standard-gap-report-2026-05-28.md +208 -0
- package/examples/ai-employee-minimal/README.md +53 -0
- package/examples/ai-employee-minimal/gates/results.json +35 -0
- package/examples/ai-employee-minimal/graph/objects.json +187 -0
- package/examples/ai-employee-minimal/graph/relations.json +167 -0
- package/examples/ai-employee-minimal/mirai-graph-package.json +14 -0
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +28 -0
- package/examples/character-layer-integration-minimal/README.md +25 -0
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +53 -0
- package/examples/character-layer-minimal/README.md +29 -0
- package/examples/character-layer-minimal/gates/results.json +57 -0
- package/examples/character-layer-minimal/graph/objects.json +165 -0
- package/examples/character-layer-minimal/graph/relations.json +178 -0
- package/examples/character-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/character-layer-readiness-1-0/README.md +27 -0
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +90 -0
- package/examples/federation-routing-smoke/README.md +19 -0
- package/examples/federation-routing-smoke/federation-health-dashboard.json +42 -0
- package/examples/federation-routing-smoke/route-explanation.json +32 -0
- package/examples/federation-routing-smoke/route-regression-result.json +35 -0
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +8 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +17 -0
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +12 -0
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +1 -0
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +1 -0
- package/examples/federation-routing-smoke/routing-fixture-run.json +66 -0
- package/examples/federation-routing-smoke/routing-fixtures.json +44 -0
- package/examples/graph-dna-alignment-minimal/README.md +16 -0
- package/examples/graph-dna-alignment-minimal/graph/objects.json +38 -0
- package/examples/graph-dna-alignment-minimal/graph/relations.json +20 -0
- package/examples/graph-dna-alignment-minimal/mirai-graph-package.json +14 -0
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +32 -0
- package/examples/graph-seed-minimal/README.md +9 -0
- package/examples/graph-seed-minimal/graph-embryo.json +63 -0
- package/examples/graph-seed-minimal/graph-seed.json +60 -0
- package/examples/implementation-control-cycles/README.md +47 -0
- package/examples/implementation-control-cycles/gates/results.json +22 -0
- package/examples/implementation-control-cycles/graph/objects.json +119 -0
- package/examples/implementation-control-cycles/graph/relations.json +200 -0
- package/examples/implementation-control-cycles/mirai-graph-package.json +14 -0
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +456 -0
- package/examples/implementation-control-minimal/README.md +39 -0
- package/examples/implementation-control-minimal/gates/results.json +42 -0
- package/examples/implementation-control-minimal/graph/objects.json +128 -0
- package/examples/implementation-control-minimal/graph/relations.json +128 -0
- package/examples/implementation-control-minimal/mirai-graph-package.json +14 -0
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +21 -0
- package/examples/instrumentation-layer-minimal/README.md +32 -0
- package/examples/instrumentation-layer-minimal/gates/results.json +11 -0
- package/examples/instrumentation-layer-minimal/graph/objects.json +74 -0
- package/examples/instrumentation-layer-minimal/graph/relations.json +56 -0
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +40 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +38 -0
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +43 -0
- package/examples/instrumentation-layer-minimal/mirai-graph-package.json +14 -0
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +68 -0
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +56 -0
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +72 -0
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +22 -0
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +1 -0
- package/examples/invalid-character-layer-context-authorization/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +22 -0
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +1 -0
- package/examples/invalid-character-layer-correction-loop-no-review/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +22 -0
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +1 -0
- package/examples/invalid-character-layer-feedback-auto-update/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-object-kind/graph/objects.json +22 -0
- package/examples/invalid-character-layer-object-kind/graph/relations.json +1 -0
- package/examples/invalid-character-layer-object-kind/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-direction/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-relation-type/graph/objects.json +33 -0
- package/examples/invalid-character-layer-relation-type/graph/relations.json +13 -0
- package/examples/invalid-character-layer-relation-type/mirai-graph-package.json +14 -0
- package/examples/invalid-character-layer-role-permission/graph/objects.json +22 -0
- package/examples/invalid-character-layer-role-permission/graph/relations.json +1 -0
- package/examples/invalid-character-layer-role-permission/mirai-graph-package.json +14 -0
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +25 -0
- package/examples/invalid-missing-relation-target/graph/objects.json +11 -0
- package/examples/invalid-missing-relation-target/graph/relations.json +11 -0
- package/examples/invalid-missing-relation-target/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-object-kind/graph/objects.json +20 -0
- package/examples/invalid-profile-object-kind/graph/relations.json +1 -0
- package/examples/invalid-profile-object-kind/mirai-graph-package.json +11 -0
- package/examples/invalid-profile-relation-type/graph/objects.json +29 -0
- package/examples/invalid-profile-relation-type/graph/relations.json +11 -0
- package/examples/invalid-profile-relation-type/mirai-graph-package.json +11 -0
- package/examples/invalid-relation-id-mismatch/graph/objects.json +29 -0
- package/examples/invalid-relation-id-mismatch/graph/relations.json +11 -0
- package/examples/invalid-relation-id-mismatch/mirai-graph-package.json +11 -0
- package/examples/invalid-seed-unsafe-write/graph-seed.json +27 -0
- package/examples/launch-record-minimal/README.md +29 -0
- package/examples/launch-record-minimal/gates/results.json +12 -0
- package/examples/launch-record-minimal/graph/objects.json +47 -0
- package/examples/launch-record-minimal/graph/relations.json +38 -0
- package/examples/launch-record-minimal/mirai-graph-package.json +11 -0
- package/examples/launch-record-minimal/results/launch-record.json +51 -0
- package/examples/managed-project-control-loop/README.md +43 -0
- package/examples/managed-project-control-loop/gates/results.json +22 -0
- package/examples/managed-project-control-loop/graph/objects.json +119 -0
- package/examples/managed-project-control-loop/graph/relations.json +110 -0
- package/examples/managed-project-control-loop/mirai-graph-package.json +14 -0
- package/examples/managed-project-control-loop/results/managed-loop-result.json +21 -0
- package/examples/minimal-graph/README.md +15 -0
- package/examples/minimal-graph/gates/results.json +12 -0
- package/examples/minimal-graph/graph/objects.json +24 -0
- package/examples/minimal-graph/graph/relations.json +11 -0
- package/examples/minimal-graph/mirai-graph-package.json +14 -0
- package/examples/minimal-graph/results/profile-conformance-result.json +26 -0
- package/examples/model-portability-minimal/README.md +15 -0
- package/examples/model-portability-minimal/results/model-portability-evidence.json +55 -0
- package/examples/organization-governance-minimal/README.md +29 -0
- package/examples/organization-governance-minimal/gates/results.json +21 -0
- package/examples/organization-governance-minimal/graph/objects.json +147 -0
- package/examples/organization-governance-minimal/graph/relations.json +147 -0
- package/examples/organization-governance-minimal/mirai-graph-package.json +15 -0
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +31 -0
- package/examples/process-control-contract-minimal/README.md +19 -0
- package/examples/process-control-contract-minimal/graph/objects.json +38 -0
- package/examples/process-control-contract-minimal/graph/relations.json +29 -0
- package/examples/process-control-contract-minimal/mirai-graph-package.json +11 -0
- package/examples/process-control-contract-minimal/results/process-control-contract.json +58 -0
- package/examples/process-transition-minimal/README.md +25 -0
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +14 -0
- package/examples/process-transition-minimal/invalid-ready-to-written.json +14 -0
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +14 -0
- package/examples/process-transition-minimal/invalid-sync-to-update.json +14 -0
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +14 -0
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +14 -0
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +35 -0
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +34 -0
- package/examples/process-transition-minimal/state-machine.json +79 -0
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +14 -0
- package/examples/process-transition-minimal/transition-request.json +14 -0
- package/examples/risk-and-coordination-minimal/README.md +16 -0
- package/examples/risk-and-coordination-minimal/graph/objects.json +47 -0
- package/examples/risk-and-coordination-minimal/graph/relations.json +29 -0
- package/examples/risk-and-coordination-minimal/mirai-graph-package.json +14 -0
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +25 -0
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +34 -0
- package/examples/skill-runtime-minimal/README.md +29 -0
- package/examples/skill-runtime-minimal/gates/results.json +35 -0
- package/examples/skill-runtime-minimal/graph/objects.json +209 -0
- package/examples/skill-runtime-minimal/graph/relations.json +178 -0
- package/examples/skill-runtime-minimal/mirai-graph-package.json +14 -0
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +27 -0
- package/examples/source-boundary-minimal/README.md +16 -0
- package/examples/source-boundary-minimal/graph/objects.json +38 -0
- package/examples/source-boundary-minimal/graph/relations.json +20 -0
- package/examples/source-boundary-minimal/mirai-graph-package.json +14 -0
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +37 -0
- package/examples/technology-quality-feedback-minimal/README.md +33 -0
- package/examples/technology-quality-feedback-minimal/graph/objects.json +56 -0
- package/examples/technology-quality-feedback-minimal/graph/relations.json +47 -0
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +22 -0
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +33 -0
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +33 -0
- package/examples/technology-quality-feedback-minimal/mirai-graph-package.json +11 -0
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +80 -0
- package/examples/work-recovery-minimal/README.md +15 -0
- package/examples/work-recovery-minimal/graph/objects.json +47 -0
- package/examples/work-recovery-minimal/graph/relations.json +20 -0
- package/examples/work-recovery-minimal/mirai-graph-package.json +14 -0
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +17 -0
- package/examples/work-recovery-minimal/results/work-state-machine.json +21 -0
- package/package.json +104 -0
- package/packages/cli/adopter-workflow.js +227 -0
- package/packages/cli/context-pack.js +267 -0
- package/packages/cli/instrumentation-report.js +97 -0
- package/packages/cli/mirai-graph.js +121 -0
- package/packages/cli/mirai_graph.js +3 -0
- package/packages/cli/playground-demo.js +114 -0
- package/packages/cli/readiness-score.js +162 -0
- package/packages/cli/release-state.js +329 -0
- package/packages/cli/seed-preview.js +78 -0
- package/packages/cli/validate-adopter-workflow.js +63 -0
- package/packages/cli/validate-baseline-comparison.js +105 -0
- package/packages/cli/validate-mirai-graph.js +2434 -0
- package/packages/cli/validate-process-transition-report.js +105 -0
- package/packages/cli/validate-profile-results.js +64 -0
- package/packages/cli/validate-release-state.js +100 -0
- package/packages/cli/validate-routing-control-examples.js +79 -0
- package/pilots/independent-implementation-001-conference-planning/README.md +40 -0
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +12 -0
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +74 -0
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +56 -0
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +65 -0
- package/pilots/independent-implementation-001-conference-planning/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +120 -0
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +35 -0
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +81 -0
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +7 -0
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/README.md +40 -0
- package/pilots/independent-implementation-002-software-specification/gates/results.json +22 -0
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +101 -0
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +92 -0
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +72 -0
- package/pilots/independent-implementation-002-software-specification/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +142 -0
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +184 -0
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +90 -0
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +28 -0
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +26 -0
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +7 -0
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +81 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +42 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +30 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +156 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +147 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +90 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +49 -0
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-004-research-program/README.md +41 -0
- package/pilots/independent-implementation-004-research-program/gates/results.json +21 -0
- package/pilots/independent-implementation-004-research-program/graph/objects.json +102 -0
- package/pilots/independent-implementation-004-research-program/graph/relations.json +84 -0
- package/pilots/independent-implementation-004-research-program/graph-seed.json +76 -0
- package/pilots/independent-implementation-004-research-program/mirai-graph-package.json +15 -0
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +50 -0
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +30 -0
- package/pilots/independent-implementation-005-organization-governance/README.md +42 -0
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +20 -0
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +137 -0
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +110 -0
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +97 -0
- package/pilots/independent-implementation-005-organization-governance/mirai-graph-package.json +14 -0
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +47 -0
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +29 -0
- package/playground/README.md +78 -0
- package/playground/demo-report.md +84 -0
- package/profiles/README.md +19 -0
- package/profiles/ai-employee/README.md +132 -0
- package/profiles/ai-employee/profile.json +58 -0
- package/profiles/character-layer/README.md +143 -0
- package/profiles/character-layer/profile.json +46 -0
- package/profiles/implementation-control/README.md +170 -0
- package/profiles/implementation-control/profile.json +106 -0
- package/profiles/organization-governance/README.md +61 -0
- package/profiles/organization-governance/profile.json +56 -0
- package/profiles/project-management/README.md +115 -0
- package/profiles/project-management/profile.json +31 -0
- package/profiles/skill-runtime/README.md +94 -0
- package/profiles/skill-runtime/profile.json +58 -0
- package/profiles/software-specification/README.md +142 -0
- package/profiles/software-specification/profile.json +31 -0
- package/publications/README.md +24 -0
- package/publications/preprint-note.md +11 -0
- package/publications/preprint-outline.md +45 -0
- package/releases/0.1.0-alpha.0.md +45 -0
- package/releases/0.1.0-alpha.1.md +63 -0
- package/releases/0.1.0-alpha.10.md +93 -0
- package/releases/0.1.0-alpha.11.md +114 -0
- package/releases/0.1.0-alpha.2.md +37 -0
- package/releases/0.1.0-alpha.3.md +61 -0
- package/releases/0.1.0-alpha.4.md +53 -0
- package/releases/0.1.0-alpha.5.md +48 -0
- package/releases/0.1.0-alpha.6.md +96 -0
- package/releases/0.1.0-alpha.7.md +114 -0
- package/releases/0.1.0-alpha.8.md +92 -0
- package/releases/0.1.0-alpha.9.md +80 -0
- package/releases/1.0.0-rc.1.md +112 -0
- package/releases/README.md +114 -0
- package/schemas/baseline-comparison-result.schema.json +87 -0
- package/schemas/character-layer-integration.schema.json +112 -0
- package/schemas/character-layer-readiness.schema.json +73 -0
- package/schemas/context-pack.schema.json +137 -0
- package/schemas/development-cockpit.schema.json +74 -0
- package/schemas/feature-implementation-traceability.schema.json +80 -0
- package/schemas/federation-health-dashboard.schema.json +47 -0
- package/schemas/gate-result.schema.json +44 -0
- package/schemas/graph-dna-alignment.schema.json +49 -0
- package/schemas/graph-embryo.schema.json +51 -0
- package/schemas/graph-seed.schema.json +137 -0
- package/schemas/implementation-control-cycle.schema.json +265 -0
- package/schemas/implementation-control-loop.schema.json +84 -0
- package/schemas/launch-record.schema.json +78 -0
- package/schemas/model-portability-evidence.schema.json +93 -0
- package/schemas/multi-agent-coordination.schema.json +35 -0
- package/schemas/multi-source-quality-feedback.schema.json +54 -0
- package/schemas/object.schema.json +49 -0
- package/schemas/package-manifest.schema.json +53 -0
- package/schemas/process-control-contract.schema.json +100 -0
- package/schemas/process-transition-request.schema.json +41 -0
- package/schemas/profile.schema.json +56 -0
- package/schemas/readiness-score.schema.json +43 -0
- package/schemas/recovery-resume-record.schema.json +25 -0
- package/schemas/relation.schema.json +43 -0
- package/schemas/risk-control-matrix.schema.json +36 -0
- package/schemas/route-explanation.schema.json +51 -0
- package/schemas/route-regression-result.schema.json +33 -0
- package/schemas/routing-fixture-run.schema.json +45 -0
- package/schemas/routing-fixtures.schema.json +59 -0
- package/schemas/source-boundary-contract.schema.json +31 -0
- package/schemas/technology-quality-feedback.schema.json +116 -0
- package/schemas/work-state-machine.schema.json +34 -0
- package/standard/action-runtime-boundary.md +99 -0
- package/standard/adoption-levels.md +69 -0
- package/standard/conformance-levels.md +133 -0
- package/standard/context-pack-generation.md +141 -0
- package/standard/development-cockpit.md +67 -0
- package/standard/evidence-provenance.md +128 -0
- package/standard/feature-implementation-traceability.md +68 -0
- package/standard/federation-health.md +42 -0
- package/standard/feedback-learning-gate.md +101 -0
- package/standard/governance.md +137 -0
- package/standard/graph-as-ai-brain.md +81 -0
- package/standard/graph-dna-alignment.md +50 -0
- package/standard/graph-dna.md +70 -0
- package/standard/graph-embryo.md +69 -0
- package/standard/graph-seed.md +122 -0
- package/standard/hybrid-source-of-truth.md +91 -0
- package/standard/implementation-control-cycles.md +194 -0
- package/standard/implementation-control.md +102 -0
- package/standard/launch-record.md +53 -0
- package/standard/lifecycle-readiness.md +159 -0
- package/standard/multi-agent-coordination.md +50 -0
- package/standard/multi-source-quality-feedback.md +71 -0
- package/standard/object-model.md +152 -0
- package/standard/organization-governance.md +84 -0
- package/standard/process-control-contract.md +53 -0
- package/standard/profiles.md +233 -0
- package/standard/projection-views.md +69 -0
- package/standard/recovery-resume.md +49 -0
- package/standard/relation-model.md +139 -0
- package/standard/risk-control-matrix.md +53 -0
- package/standard/route-explanation.md +35 -0
- package/standard/route-regression.md +33 -0
- package/standard/routing-fixtures.md +54 -0
- package/standard/runtime-enablement.md +85 -0
- package/standard/source-boundary-contract.md +49 -0
- package/standard/standard-v0.1.md +132 -0
- package/standard/technology-quality-feedback.md +97 -0
- package/standard/test-suite.md +105 -0
- package/standard/work-state-machine.md +62 -0
- package/templates/README.md +64 -0
- package/templates/ai-employee-starter/README.md +9 -0
- package/templates/ai-employee-starter/gates/results.json +12 -0
- package/templates/ai-employee-starter/graph/objects.json +90 -0
- package/templates/ai-employee-starter/graph/relations.json +47 -0
- package/templates/ai-employee-starter/mirai-graph-package.json +14 -0
- package/templates/character-layer-starter/README.md +39 -0
- package/templates/character-layer-starter/gates/results.json +20 -0
- package/templates/character-layer-starter/graph/objects.json +308 -0
- package/templates/character-layer-starter/graph/relations.json +344 -0
- package/templates/character-layer-starter/mirai-graph-package.json +14 -0
- package/templates/organization-governance-starter/README.md +9 -0
- package/templates/organization-governance-starter/gates/results.json +12 -0
- package/templates/organization-governance-starter/graph/objects.json +112 -0
- package/templates/organization-governance-starter/graph/relations.json +65 -0
- package/templates/organization-governance-starter/mirai-graph-package.json +14 -0
- package/templates/research-program-starter/README.md +9 -0
- package/templates/research-program-starter/gates/results.json +12 -0
- package/templates/research-program-starter/graph/objects.json +79 -0
- package/templates/research-program-starter/graph/relations.json +47 -0
- package/templates/research-program-starter/mirai-graph-package.json +14 -0
- package/templates/software-project-starter/README.md +9 -0
- package/templates/software-project-starter/gates/results.json +12 -0
- package/templates/software-project-starter/graph/objects.json +79 -0
- package/templates/software-project-starter/graph/relations.json +47 -0
- package/templates/software-project-starter/mirai-graph-package.json +14 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Mirai Graph Test Suite
|
|
2
|
+
|
|
3
|
+
Status: initial public draft
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The Mirai Graph test suite verifies that examples, packages and implementations
|
|
8
|
+
follow the standard.
|
|
9
|
+
|
|
10
|
+
The test suite should cover structure, conformance, context-pack generation,
|
|
11
|
+
governance gates and benchmark reproducibility.
|
|
12
|
+
|
|
13
|
+
## Current Smoke Tests
|
|
14
|
+
|
|
15
|
+
Run:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm test
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Current checks:
|
|
22
|
+
|
|
23
|
+
- validate minimal graph package;
|
|
24
|
+
- validate synthetic benchmark graph package;
|
|
25
|
+
- validate public profile manifests;
|
|
26
|
+
- validate public pilot packages;
|
|
27
|
+
- run deterministic seed preview;
|
|
28
|
+
- generate benchmark context pack;
|
|
29
|
+
- score benchmark readiness;
|
|
30
|
+
- run synthetic context-reduction calculation;
|
|
31
|
+
- reject negative fixtures.
|
|
32
|
+
|
|
33
|
+
## Structural Validation
|
|
34
|
+
|
|
35
|
+
Structural validation checks:
|
|
36
|
+
|
|
37
|
+
- required object fields;
|
|
38
|
+
- required relation fields;
|
|
39
|
+
- unique object ids;
|
|
40
|
+
- unique relation ids;
|
|
41
|
+
- relation source/target references;
|
|
42
|
+
- readiness values;
|
|
43
|
+
- evidence arrays;
|
|
44
|
+
- optional package manifest;
|
|
45
|
+
- optional gate result records.
|
|
46
|
+
|
|
47
|
+
## Profile Conformance
|
|
48
|
+
|
|
49
|
+
Profile conformance checks:
|
|
50
|
+
|
|
51
|
+
- package object kinds are allowed by `manifest.profile`;
|
|
52
|
+
- package relation types are allowed by `manifest.profile`;
|
|
53
|
+
- relation ids agree with source, type and target fields.
|
|
54
|
+
|
|
55
|
+
Fixture guide:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
docs/adoption/profile-conformance-fixtures.md
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Current validator:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
node packages/cli/validate-mirai-graph.js <package-dir>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Benchmark Reproducibility
|
|
68
|
+
|
|
69
|
+
Synthetic benchmark:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
node benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Expected result:
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
56.4516%
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
This test verifies arithmetic reproducibility only. It does not validate
|
|
82
|
+
semantic completeness or real-world performance.
|
|
83
|
+
|
|
84
|
+
## Future Tests
|
|
85
|
+
|
|
86
|
+
Planned:
|
|
87
|
+
|
|
88
|
+
- context-pack metadata validation;
|
|
89
|
+
- context-pack evidence preservation;
|
|
90
|
+
- governance gate result validation;
|
|
91
|
+
- package manifest validation;
|
|
92
|
+
- semantic completeness review fixture validation;
|
|
93
|
+
- cross-package import/export tests.
|
|
94
|
+
|
|
95
|
+
## Test Result Policy
|
|
96
|
+
|
|
97
|
+
Every test result should state:
|
|
98
|
+
|
|
99
|
+
- command;
|
|
100
|
+
- expected output;
|
|
101
|
+
- actual output;
|
|
102
|
+
- verdict;
|
|
103
|
+
- limitations.
|
|
104
|
+
|
|
105
|
+
Do not convert a passing smoke test into a stronger scientific claim.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Work State Machine
|
|
2
|
+
|
|
3
|
+
Status: initial public standard note
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Work state machines define allowed movement through a governed work lifecycle.
|
|
8
|
+
They prevent false promotion from planning readiness to execution, from written
|
|
9
|
+
work to implemented state, or from proposal to canonical update.
|
|
10
|
+
|
|
11
|
+
## Core States
|
|
12
|
+
|
|
13
|
+
Typical state sequence:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
planned
|
|
17
|
+
-> launch_ready
|
|
18
|
+
-> prepared
|
|
19
|
+
-> ready_to_execute
|
|
20
|
+
-> started
|
|
21
|
+
-> written
|
|
22
|
+
-> tests_recorded
|
|
23
|
+
-> evidence_recorded
|
|
24
|
+
-> sync_proposed
|
|
25
|
+
-> review_ready
|
|
26
|
+
-> changes_requested
|
|
27
|
+
-> approved
|
|
28
|
+
-> release_ready
|
|
29
|
+
-> released
|
|
30
|
+
-> feedback_recorded
|
|
31
|
+
-> evolution_proposed
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Exceptional states:
|
|
35
|
+
|
|
36
|
+
- `blocked`
|
|
37
|
+
- `paused`
|
|
38
|
+
- `abandoned`
|
|
39
|
+
- `superseded`
|
|
40
|
+
- `reverted`
|
|
41
|
+
- `recovered`
|
|
42
|
+
|
|
43
|
+
## Critical Rules
|
|
44
|
+
|
|
45
|
+
- `ready_to_execute` is not `started`.
|
|
46
|
+
- `ready_to_code` is not `implemented`.
|
|
47
|
+
- `written` is not accepted implementation state.
|
|
48
|
+
- `tests_recorded` without semantic evidence is not review acceptance.
|
|
49
|
+
- `sync_proposed` does not update canonical graph state.
|
|
50
|
+
- invalid transitions fail closed.
|
|
51
|
+
- transitions may require a launch record when they cross from planning into
|
|
52
|
+
executable work.
|
|
53
|
+
- terminal states require a Kaizen review or an explicit no-reusable-lessons
|
|
54
|
+
reason when the process is significant.
|
|
55
|
+
|
|
56
|
+
## Schema
|
|
57
|
+
|
|
58
|
+
Machine-readable state machines can be validated with:
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
schemas/work-state-machine.schema.json
|
|
62
|
+
```
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Mirai Graph Templates
|
|
2
|
+
|
|
3
|
+
Status: 1.0 release-candidate starter kit
|
|
4
|
+
|
|
5
|
+
These templates are small public-safe starter packages. They are intentionally
|
|
6
|
+
complete enough to validate, but small enough to copy into a new project and
|
|
7
|
+
replace with real public or private sources.
|
|
8
|
+
|
|
9
|
+
For the full role-oriented starter path, use the
|
|
10
|
+
[1.0 RC Adopter Kit](../docs/adoption/adopter-kit.md).
|
|
11
|
+
|
|
12
|
+
## Starters
|
|
13
|
+
|
|
14
|
+
| Template | Profile | Use when |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| `software-project-starter/` | `software_specification` | Starting from features, requirements, components, tasks and risks. |
|
|
17
|
+
| `research-program-starter/` | `project_management` | Starting from hypotheses, evidence, milestones, review gates and publication risks. |
|
|
18
|
+
| `ai-employee-starter/` | `ai_employee` | Modeling an AI worker with role, skill, tool, policy, action and feedback gates. |
|
|
19
|
+
| `character-layer-starter/` | `character_layer` | Reusing behavior constitution, role character profiles, reflection and correction boundaries. |
|
|
20
|
+
| `organization-governance-starter/` | `organization_governance` | Modeling mission, strategy, departments, programs, policies, controls and metrics. |
|
|
21
|
+
|
|
22
|
+
## One-Day Adoption Path
|
|
23
|
+
|
|
24
|
+
1. Choose the closest starter profile.
|
|
25
|
+
2. Copy the template into your project.
|
|
26
|
+
3. Replace synthetic object titles and summaries with your domain objects.
|
|
27
|
+
4. Keep private notes, secrets, raw logs and internal handoffs outside the
|
|
28
|
+
public graph package.
|
|
29
|
+
5. Run:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm run validate:templates
|
|
33
|
+
node packages/cli/validate-mirai-graph.js templates/<template-name>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
6. Add launch records, process transitions and evidence packs only after the
|
|
37
|
+
graph package shape validates.
|
|
38
|
+
|
|
39
|
+
## Adopter Workflow Commands
|
|
40
|
+
|
|
41
|
+
List the role/profile/starter map:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
node packages/cli/mirai-graph.js choose-profile
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Print a plan for a role or profile:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
node packages/cli/mirai-graph.js adopter plan organization
|
|
51
|
+
node packages/cli/mirai-graph.js adopter plan ai_employee
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Generate a readable report for a starter:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
node packages/cli/mirai-graph.js adopter report templates/organization-governance-starter
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Boundary
|
|
61
|
+
|
|
62
|
+
Templates are starter packages, not adoption proof. Passing validation means
|
|
63
|
+
only that the package follows the current release-candidate schema/profile
|
|
64
|
+
shape.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "gate_result.template_ai_employee.public_safety",
|
|
4
|
+
"gate_id": "gate.public_safety",
|
|
5
|
+
"target_id": "package.template_ai_employee",
|
|
6
|
+
"verdict": "pass",
|
|
7
|
+
"summary": "Template uses only synthetic AI employee content and no private runtime traces.",
|
|
8
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
9
|
+
"reviewed_at": "2026-06-03",
|
|
10
|
+
"reviewer": "Mirai Graph template validator"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "ai_employee.research_assistant",
|
|
4
|
+
"kind": "ai_employee",
|
|
5
|
+
"title": "Research Assistant",
|
|
6
|
+
"summary": "Synthetic AI employee used to demonstrate governed capability and feedback boundaries.",
|
|
7
|
+
"readiness": "draft",
|
|
8
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
9
|
+
"profile": "ai_employee",
|
|
10
|
+
"created_at": "2026-06-03",
|
|
11
|
+
"updated_at": "2026-06-03"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "role.research_support",
|
|
15
|
+
"kind": "role",
|
|
16
|
+
"title": "Research Support",
|
|
17
|
+
"summary": "Role responsible for summarizing evidence and preparing review queues.",
|
|
18
|
+
"readiness": "draft",
|
|
19
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
20
|
+
"profile": "ai_employee",
|
|
21
|
+
"created_at": "2026-06-03",
|
|
22
|
+
"updated_at": "2026-06-03"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "skill.evidence_summary",
|
|
26
|
+
"kind": "skill",
|
|
27
|
+
"title": "Evidence Summary",
|
|
28
|
+
"summary": "Summarize source evidence without turning suggestions into canonical updates.",
|
|
29
|
+
"readiness": "draft",
|
|
30
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
31
|
+
"profile": "ai_employee",
|
|
32
|
+
"created_at": "2026-06-03",
|
|
33
|
+
"updated_at": "2026-06-03"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "tool.search_index",
|
|
37
|
+
"kind": "tool",
|
|
38
|
+
"title": "Search Index",
|
|
39
|
+
"summary": "Synthetic tool placeholder for finding reviewed public sources.",
|
|
40
|
+
"readiness": "draft",
|
|
41
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
42
|
+
"profile": "ai_employee",
|
|
43
|
+
"created_at": "2026-06-03",
|
|
44
|
+
"updated_at": "2026-06-03"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "policy.human_approval",
|
|
48
|
+
"kind": "policy",
|
|
49
|
+
"title": "Human Approval",
|
|
50
|
+
"summary": "External action and behavior updates require human approval.",
|
|
51
|
+
"readiness": "draft",
|
|
52
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
53
|
+
"profile": "ai_employee",
|
|
54
|
+
"created_at": "2026-06-03",
|
|
55
|
+
"updated_at": "2026-06-03"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "action.prepare_summary",
|
|
59
|
+
"kind": "action",
|
|
60
|
+
"title": "Prepare Summary",
|
|
61
|
+
"summary": "Prepare a reviewable summary, not a canonical update.",
|
|
62
|
+
"readiness": "draft",
|
|
63
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
64
|
+
"profile": "ai_employee",
|
|
65
|
+
"created_at": "2026-06-03",
|
|
66
|
+
"updated_at": "2026-06-03"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "feedback.review_note",
|
|
70
|
+
"kind": "feedback",
|
|
71
|
+
"title": "Review Note",
|
|
72
|
+
"summary": "Feedback may create a proposal but cannot directly update behavior.",
|
|
73
|
+
"readiness": "draft",
|
|
74
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
75
|
+
"profile": "ai_employee",
|
|
76
|
+
"created_at": "2026-06-03",
|
|
77
|
+
"updated_at": "2026-06-03"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "evidence.synthetic_role_brief",
|
|
81
|
+
"kind": "evidence",
|
|
82
|
+
"title": "Synthetic Role Brief",
|
|
83
|
+
"summary": "Public-safe placeholder evidence for the starter template.",
|
|
84
|
+
"readiness": "accepted",
|
|
85
|
+
"evidence": [],
|
|
86
|
+
"profile": "ai_employee",
|
|
87
|
+
"created_at": "2026-06-03",
|
|
88
|
+
"updated_at": "2026-06-03"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "relation.ai_employee.research_assistant.has_role.role.research_support",
|
|
4
|
+
"type": "has_role",
|
|
5
|
+
"source": "ai_employee.research_assistant",
|
|
6
|
+
"target": "role.research_support",
|
|
7
|
+
"readiness": "draft",
|
|
8
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
9
|
+
"profile": "ai_employee"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "relation.ai_employee.research_assistant.has_skill.skill.evidence_summary",
|
|
13
|
+
"type": "has_skill",
|
|
14
|
+
"source": "ai_employee.research_assistant",
|
|
15
|
+
"target": "skill.evidence_summary",
|
|
16
|
+
"readiness": "draft",
|
|
17
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
18
|
+
"profile": "ai_employee"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "relation.skill.evidence_summary.requires_capability.tool.search_index",
|
|
22
|
+
"type": "requires_capability",
|
|
23
|
+
"source": "skill.evidence_summary",
|
|
24
|
+
"target": "tool.search_index",
|
|
25
|
+
"readiness": "draft",
|
|
26
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
27
|
+
"profile": "ai_employee"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "relation.action.prepare_summary.requires_approval.policy.human_approval",
|
|
31
|
+
"type": "requires_approval",
|
|
32
|
+
"source": "action.prepare_summary",
|
|
33
|
+
"target": "policy.human_approval",
|
|
34
|
+
"readiness": "draft",
|
|
35
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
36
|
+
"profile": "ai_employee"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "relation.feedback.review_note.updates_behavior.policy.human_approval",
|
|
40
|
+
"type": "updates_behavior",
|
|
41
|
+
"source": "feedback.review_note",
|
|
42
|
+
"target": "policy.human_approval",
|
|
43
|
+
"readiness": "draft",
|
|
44
|
+
"evidence": ["evidence.synthetic_role_brief"],
|
|
45
|
+
"profile": "ai_employee"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "package.template_ai_employee",
|
|
3
|
+
"name": "AI Employee Starter",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"profile": "ai_employee",
|
|
6
|
+
"conformance_level": "level_1",
|
|
7
|
+
"description": "Synthetic starter package for a governed AI employee Mirai Graph.",
|
|
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,39 @@
|
|
|
1
|
+
# Character Layer Starter
|
|
2
|
+
|
|
3
|
+
Use this template when a project, AI employee, research workflow or governed
|
|
4
|
+
runtime needs a reusable Character Layer package.
|
|
5
|
+
|
|
6
|
+
The starter provides:
|
|
7
|
+
|
|
8
|
+
- base character constitution;
|
|
9
|
+
- reusable behavior principles;
|
|
10
|
+
- character virtues;
|
|
11
|
+
- hard character boundaries;
|
|
12
|
+
- reflection protocol;
|
|
13
|
+
- role character profiles;
|
|
14
|
+
- violation patterns;
|
|
15
|
+
- owner-reviewed correction loop;
|
|
16
|
+
- public-safety and review-boundary gates.
|
|
17
|
+
|
|
18
|
+
Validate:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
node packages/cli/validate-mirai-graph.js templates/character-layer-starter
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Adaptation Path
|
|
25
|
+
|
|
26
|
+
1. Keep the base constitution unless a project has a stronger reviewed
|
|
27
|
+
constitution.
|
|
28
|
+
2. Select the closest `role_character_profile`.
|
|
29
|
+
3. Add project-specific boundaries only when they are evidence-backed.
|
|
30
|
+
4. Keep tool permission, runtime authorization and external action policy in
|
|
31
|
+
runtime/process layers, not in this profile.
|
|
32
|
+
5. Add fixtures for every behavior that must remain stable across model
|
|
33
|
+
backends.
|
|
34
|
+
|
|
35
|
+
## Boundary
|
|
36
|
+
|
|
37
|
+
This starter is a behavior-governance template. It does not train a model,
|
|
38
|
+
grant runtime permissions, authorize external actions or prove scientific
|
|
39
|
+
effectiveness.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "gate_result.template_character_layer.public_safety",
|
|
4
|
+
"gate_id": "public_safety_before_release",
|
|
5
|
+
"target_id": "package.template_character_layer",
|
|
6
|
+
"verdict": "pass_with_notes",
|
|
7
|
+
"summary": "Template uses only synthetic public-safe character content and no private runtime traces.",
|
|
8
|
+
"reviewed_at": "2026-06-12",
|
|
9
|
+
"evidence": ["evidence.character_starter_brief"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "gate_result.template_character_layer.owner_review_boundary",
|
|
13
|
+
"gate_id": "human_review_before_canonical_write",
|
|
14
|
+
"target_id": "correction_loop.owner_reviewed_character_update",
|
|
15
|
+
"verdict": "pass_with_notes",
|
|
16
|
+
"summary": "The correction loop keeps behavior changes as proposals until owner review.",
|
|
17
|
+
"reviewed_at": "2026-06-12",
|
|
18
|
+
"evidence": ["evidence.character_starter_brief"]
|
|
19
|
+
}
|
|
20
|
+
]
|