mirai-graph 1.3.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +6 -0
- package/index.js +1 -0
- package/package.json +9 -121
- package/.github/workflows/ci.yml +0 -48
- package/.github/workflows/mirai-graph-validate.yml +0 -30
- package/CHANGELOG.md +0 -702
- package/CITATION.cff +0 -21
- package/LICENSE +0 -21
- package/LICENSE-DOCS +0 -26
- package/README.md +0 -351
- package/ROADMAP.md +0 -241
- package/benchmarks/protocols/measure-convert-optimize.md +0 -131
- package/benchmarks/synthetic-context-reduction-v0/README.md +0 -70
- package/benchmarks/synthetic-context-reduction-v0/RESULT.md +0 -52
- package/benchmarks/synthetic-context-reduction-v0/expected/context-pack-compact.md +0 -31
- package/benchmarks/synthetic-context-reduction-v0/gates/results.json +0 -12
- package/benchmarks/synthetic-context-reduction-v0/graph/objects.json +0 -114
- package/benchmarks/synthetic-context-reduction-v0/graph/relations.json +0 -74
- package/benchmarks/synthetic-context-reduction-v0/graph.json +0 -37
- package/benchmarks/synthetic-context-reduction-v0/metrics/example-metrics.json +0 -22
- package/benchmarks/synthetic-context-reduction-v0/results/baseline-comparison-result.json +0 -42
- package/benchmarks/synthetic-context-reduction-v0/results/context-pack.json +0 -181
- package/benchmarks/synthetic-context-reduction-v0/results/context-reduction-result.json +0 -8
- package/benchmarks/synthetic-context-reduction-v0/results/profile-conformance-result.json +0 -28
- package/benchmarks/synthetic-context-reduction-v0/results/readiness-score.json +0 -24
- package/benchmarks/synthetic-context-reduction-v0/reviews/semantic-completeness-review.json +0 -78
- package/benchmarks/synthetic-context-reduction-v0/scripts/calculate-context-reduction.js +0 -42
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/audit-events.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/content-workflow.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/identity-access.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/source-corpus/notification-delivery.md +0 -8
- package/benchmarks/synthetic-context-reduction-v0/tasks/tasks.json +0 -31
- package/docs/README.md +0 -130
- package/docs/adoption/adopter-kit.md +0 -187
- package/docs/adoption/ai-employee-graph.md +0 -151
- package/docs/adoption/character-layer.md +0 -196
- package/docs/adoption/choose-profile.md +0 -106
- package/docs/adoption/cli.md +0 -134
- package/docs/adoption/connect-project-15-minutes.md +0 -122
- package/docs/adoption/developer-integration-guide.md +0 -122
- package/docs/adoption/end-to-end-control-loop.md +0 -168
- package/docs/adoption/for-developers.md +0 -210
- package/docs/adoption/getting-started.md +0 -192
- package/docs/adoption/mirai-graph-transition.md +0 -67
- package/docs/adoption/profile-conformance-fixtures.md +0 -112
- package/docs/adoption/seed-to-validated-package.md +0 -121
- package/docs/concept.md +0 -109
- package/docs/repository-purpose.md +0 -422
- package/docs/research/ai-work-field-instrumentation-bridge.md +0 -126
- package/docs/research/baseline-comparison-protocol.md +0 -79
- package/docs/research/evidence-package-v0.1.md +0 -99
- package/docs/research/evidence-package-v0.2.md +0 -150
- package/docs/research/evidence-package-v0.3.md +0 -256
- package/docs/research/independent-implementation-pilot-plan.md +0 -74
- package/docs/research/limitations-and-threats.md +0 -40
- package/docs/research/practice-science-program.md +0 -232
- package/docs/research/scientific-evidence-package.md +0 -188
- package/docs/research/semantic-completeness-review-protocol.md +0 -70
- package/docs/terminology.md +0 -119
- package/docs/transfer/ai-employee-profile-proposal.md +0 -119
- package/docs/transfer/federation-routing-control-loop-2026-05-31.md +0 -28
- package/docs/transfer/graph-capability-map-2026-05-29.md +0 -126
- package/docs/transfer/graph-skill-to-mirai-graph.md +0 -128
- package/docs/transfer/project-management-standard-harvest-2026-06-02.md +0 -322
- package/docs/transfer/skill-graph-standard-harvest-2026-05-31.md +0 -113
- package/docs/transfer/standard-gap-report-2026-05-28.md +0 -208
- package/examples/ai-employee-minimal/README.md +0 -53
- package/examples/ai-employee-minimal/gates/results.json +0 -35
- package/examples/ai-employee-minimal/graph/objects.json +0 -187
- package/examples/ai-employee-minimal/graph/relations.json +0 -167
- package/examples/ai-employee-minimal/graph.json +0 -37
- package/examples/ai-employee-minimal/results/profile-conformance-result.json +0 -28
- package/examples/character-layer-integration-minimal/README.md +0 -25
- package/examples/character-layer-integration-minimal/results/character-layer-integration.json +0 -53
- package/examples/character-layer-minimal/README.md +0 -29
- package/examples/character-layer-minimal/gates/results.json +0 -57
- package/examples/character-layer-minimal/graph/objects.json +0 -165
- package/examples/character-layer-minimal/graph/relations.json +0 -178
- package/examples/character-layer-minimal/graph.json +0 -37
- package/examples/character-layer-readiness-1-0/README.md +0 -27
- package/examples/character-layer-readiness-1-0/results/character-layer-readiness.json +0 -90
- package/examples/dynamic-episode-minimal/README.md +0 -34
- package/examples/dynamic-episode-minimal/gates/results.json +0 -12
- package/examples/dynamic-episode-minimal/graph/objects.json +0 -92
- package/examples/dynamic-episode-minimal/graph/relations.json +0 -29
- package/examples/dynamic-episode-minimal/graph.json +0 -47
- package/examples/dynamic-episode-minimal/invalid-canonical-write-allowed.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-evidence-as-authorization.json +0 -46
- package/examples/dynamic-episode-minimal/invalid-missing-event.json +0 -35
- package/examples/dynamic-episode-minimal/invalid-missing-selected-path.json +0 -40
- package/examples/dynamic-episode-minimal/invalid-unclassified-finding.json +0 -50
- package/examples/dynamic-episode-minimal/results/dynamic-episode-trace.json +0 -149
- package/examples/federation-routing-smoke/README.md +0 -19
- package/examples/federation-routing-smoke/federation-health-dashboard.json +0 -42
- package/examples/federation-routing-smoke/route-explanation.json +0 -32
- package/examples/federation-routing-smoke/route-regression-result.json +0 -35
- package/examples/federation-routing-smoke/routes/production-deploy-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/production-deploy-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/production-deploy-runtime-preflight.json +0 -8
- package/examples/federation-routing-smoke/routes/production-deploy-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/production-deploy-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-execution-evidence.json +0 -17
- package/examples/federation-routing-smoke/routes/search-page-route-result.json +0 -12
- package/examples/federation-routing-smoke/routes/search-page-stderr.txt +0 -1
- package/examples/federation-routing-smoke/routes/search-page-stdout.txt +0 -1
- package/examples/federation-routing-smoke/routing-fixture-run.json +0 -66
- package/examples/federation-routing-smoke/routing-fixtures.json +0 -44
- package/examples/goal-vector-quality-control-minimal/README.md +0 -22
- package/examples/goal-vector-quality-control-minimal/gates/results.json +0 -22
- package/examples/goal-vector-quality-control-minimal/graph/objects.json +0 -56
- package/examples/goal-vector-quality-control-minimal/graph/relations.json +0 -29
- package/examples/goal-vector-quality-control-minimal/graph.json +0 -41
- package/examples/goal-vector-quality-control-minimal/invalid-complete-without-evidence.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-correction-without-route.json +0 -86
- package/examples/goal-vector-quality-control-minimal/invalid-missing-reverse-audit.json +0 -77
- package/examples/goal-vector-quality-control-minimal/invalid-missing-vector-link.json +0 -62
- package/examples/goal-vector-quality-control-minimal/invalid-tests-as-acceptance.json +0 -72
- package/examples/goal-vector-quality-control-minimal/results/goal-vector-quality-control.json +0 -130
- package/examples/graph-dna-alignment-minimal/README.md +0 -16
- package/examples/graph-dna-alignment-minimal/graph/objects.json +0 -38
- package/examples/graph-dna-alignment-minimal/graph/relations.json +0 -20
- package/examples/graph-dna-alignment-minimal/graph.json +0 -37
- package/examples/graph-dna-alignment-minimal/results/graph-dna-alignment.json +0 -32
- package/examples/graph-seed-minimal/README.md +0 -9
- package/examples/graph-seed-minimal/graph-embryo.json +0 -63
- package/examples/graph-seed-minimal/graph-seed.json +0 -60
- package/examples/implementation-control-cycles/README.md +0 -47
- package/examples/implementation-control-cycles/gates/results.json +0 -22
- package/examples/implementation-control-cycles/graph/objects.json +0 -119
- package/examples/implementation-control-cycles/graph/relations.json +0 -200
- package/examples/implementation-control-cycles/graph.json +0 -37
- package/examples/implementation-control-cycles/results/implementation-control-cycles.json +0 -456
- package/examples/implementation-control-minimal/README.md +0 -39
- package/examples/implementation-control-minimal/gates/results.json +0 -42
- package/examples/implementation-control-minimal/graph/objects.json +0 -128
- package/examples/implementation-control-minimal/graph/relations.json +0 -128
- package/examples/implementation-control-minimal/graph.json +0 -37
- package/examples/implementation-control-minimal/results/implementation-control-loop.json +0 -21
- package/examples/instrumentation-layer-minimal/README.md +0 -32
- package/examples/instrumentation-layer-minimal/gates/results.json +0 -11
- package/examples/instrumentation-layer-minimal/graph/objects.json +0 -74
- package/examples/instrumentation-layer-minimal/graph/relations.json +0 -56
- package/examples/instrumentation-layer-minimal/graph.json +0 -37
- package/examples/instrumentation-layer-minimal/invalid-cockpit-missing-gates.json +0 -40
- package/examples/instrumentation-layer-minimal/invalid-feedback-accepted-with-blocking.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-feedback-process-improvement-without-kaizen.json +0 -38
- package/examples/instrumentation-layer-minimal/invalid-traceability-missing-evidence.json +0 -43
- package/examples/instrumentation-layer-minimal/results/development-cockpit.json +0 -68
- package/examples/instrumentation-layer-minimal/results/feature-implementation-traceability.json +0 -56
- package/examples/instrumentation-layer-minimal/results/multi-source-quality-feedback.json +0 -72
- package/examples/invalid-character-layer-context-authorization/graph/objects.json +0 -22
- package/examples/invalid-character-layer-context-authorization/graph/relations.json +0 -1
- package/examples/invalid-character-layer-context-authorization/graph.json +0 -35
- package/examples/invalid-character-layer-correction-loop-no-review/graph/objects.json +0 -22
- package/examples/invalid-character-layer-correction-loop-no-review/graph/relations.json +0 -1
- package/examples/invalid-character-layer-correction-loop-no-review/graph.json +0 -35
- package/examples/invalid-character-layer-feedback-auto-update/graph/objects.json +0 -22
- package/examples/invalid-character-layer-feedback-auto-update/graph/relations.json +0 -1
- package/examples/invalid-character-layer-feedback-auto-update/graph.json +0 -35
- package/examples/invalid-character-layer-object-kind/graph/objects.json +0 -22
- package/examples/invalid-character-layer-object-kind/graph/relations.json +0 -1
- package/examples/invalid-character-layer-object-kind/graph.json +0 -35
- package/examples/invalid-character-layer-relation-direction/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-direction/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-direction/graph.json +0 -35
- package/examples/invalid-character-layer-relation-type/graph/objects.json +0 -33
- package/examples/invalid-character-layer-relation-type/graph/relations.json +0 -13
- package/examples/invalid-character-layer-relation-type/graph.json +0 -35
- package/examples/invalid-character-layer-role-permission/graph/objects.json +0 -22
- package/examples/invalid-character-layer-role-permission/graph/relations.json +0 -1
- package/examples/invalid-character-layer-role-permission/graph.json +0 -35
- package/examples/invalid-context-pack-missing-explanation/context-pack.json +0 -25
- package/examples/invalid-missing-relation-target/graph/objects.json +0 -11
- package/examples/invalid-missing-relation-target/graph/relations.json +0 -11
- package/examples/invalid-missing-relation-target/graph.json +0 -32
- package/examples/invalid-profile-object-kind/graph/objects.json +0 -20
- package/examples/invalid-profile-object-kind/graph/relations.json +0 -1
- package/examples/invalid-profile-object-kind/graph.json +0 -32
- package/examples/invalid-profile-relation-type/graph/objects.json +0 -29
- package/examples/invalid-profile-relation-type/graph/relations.json +0 -11
- package/examples/invalid-profile-relation-type/graph.json +0 -32
- package/examples/invalid-relation-id-mismatch/graph/objects.json +0 -29
- package/examples/invalid-relation-id-mismatch/graph/relations.json +0 -11
- package/examples/invalid-relation-id-mismatch/graph.json +0 -32
- package/examples/invalid-seed-unsafe-write/graph-seed.json +0 -27
- package/examples/invalid-societal-governance-auto-learning-update/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-auto-learning-update/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-auto-learning-update/graph.json +0 -35
- package/examples/invalid-societal-governance-avatar-no-consent/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-avatar-no-consent/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-avatar-no-consent/graph.json +0 -35
- package/examples/invalid-societal-governance-generated-context-authorization/graph/objects.json +0 -38
- package/examples/invalid-societal-governance-generated-context-authorization/graph/relations.json +0 -20
- package/examples/invalid-societal-governance-generated-context-authorization/graph.json +0 -35
- package/examples/invalid-societal-governance-missing-appeal-path/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-missing-appeal-path/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-missing-appeal-path/graph.json +0 -35
- package/examples/invalid-societal-governance-private-trace-exposed/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-private-trace-exposed/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-private-trace-exposed/graph.json +0 -35
- package/examples/invalid-societal-governance-rights-overridden/graph/objects.json +0 -29
- package/examples/invalid-societal-governance-rights-overridden/graph/relations.json +0 -11
- package/examples/invalid-societal-governance-rights-overridden/graph.json +0 -35
- package/examples/launch-record-minimal/README.md +0 -29
- package/examples/launch-record-minimal/gates/results.json +0 -12
- package/examples/launch-record-minimal/graph/objects.json +0 -47
- package/examples/launch-record-minimal/graph/relations.json +0 -38
- package/examples/launch-record-minimal/graph.json +0 -34
- package/examples/launch-record-minimal/results/launch-record.json +0 -51
- package/examples/managed-project-control-loop/README.md +0 -43
- package/examples/managed-project-control-loop/gates/results.json +0 -22
- package/examples/managed-project-control-loop/graph/objects.json +0 -119
- package/examples/managed-project-control-loop/graph/relations.json +0 -110
- package/examples/managed-project-control-loop/graph.json +0 -37
- package/examples/managed-project-control-loop/results/managed-loop-result.json +0 -21
- package/examples/minimal-graph/README.md +0 -15
- package/examples/minimal-graph/gates/results.json +0 -12
- package/examples/minimal-graph/graph/objects.json +0 -24
- package/examples/minimal-graph/graph/relations.json +0 -11
- package/examples/minimal-graph/graph.json +0 -37
- package/examples/minimal-graph/results/profile-conformance-result.json +0 -26
- package/examples/model-portability-minimal/README.md +0 -15
- package/examples/model-portability-minimal/results/model-portability-evidence.json +0 -55
- package/examples/organization-governance-minimal/README.md +0 -29
- package/examples/organization-governance-minimal/gates/results.json +0 -21
- package/examples/organization-governance-minimal/graph/objects.json +0 -147
- package/examples/organization-governance-minimal/graph/relations.json +0 -147
- package/examples/organization-governance-minimal/graph.json +0 -37
- package/examples/organization-governance-minimal/results/profile-conformance-result.json +0 -31
- package/examples/process-control-contract-minimal/README.md +0 -19
- package/examples/process-control-contract-minimal/graph/objects.json +0 -38
- package/examples/process-control-contract-minimal/graph/relations.json +0 -29
- package/examples/process-control-contract-minimal/graph.json +0 -34
- package/examples/process-control-contract-minimal/results/process-control-contract.json +0 -58
- package/examples/process-transition-minimal/README.md +0 -25
- package/examples/process-transition-minimal/invalid-missing-launch-record.json +0 -14
- package/examples/process-transition-minimal/invalid-ready-to-written.json +0 -14
- package/examples/process-transition-minimal/invalid-release-missing-evidence.json +0 -14
- package/examples/process-transition-minimal/invalid-sync-to-update.json +0 -14
- package/examples/process-transition-minimal/invalid-terminal-missing-kaizen.json +0 -14
- package/examples/process-transition-minimal/invalid-tests-to-approved.json +0 -14
- package/examples/process-transition-minimal/results/transition-explanation-invalid-ready-to-written.json +0 -35
- package/examples/process-transition-minimal/results/transition-explanation-valid.json +0 -34
- package/examples/process-transition-minimal/state-machine.json +0 -79
- package/examples/process-transition-minimal/transition-request-skip-kaizen.json +0 -14
- package/examples/process-transition-minimal/transition-request.json +0 -14
- package/examples/project-technology-context-traversal/README.md +0 -17
- package/examples/project-technology-context-traversal/graph/objects.json +0 -78
- package/examples/project-technology-context-traversal/graph/relations.json +0 -47
- package/examples/project-technology-context-traversal/graph.json +0 -30
- package/examples/project-technology-context-traversal/selection.example.json +0 -29
- package/examples/project-technology-context-traversal/sources/announcement.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-guide.md +0 -3
- package/examples/project-technology-context-traversal/sources/release-smoke.md +0 -3
- package/examples/project-technology-context-traversal/sources/rollback-policy.md +0 -3
- package/examples/risk-and-coordination-minimal/README.md +0 -16
- package/examples/risk-and-coordination-minimal/graph/objects.json +0 -47
- package/examples/risk-and-coordination-minimal/graph/relations.json +0 -29
- package/examples/risk-and-coordination-minimal/graph.json +0 -37
- package/examples/risk-and-coordination-minimal/results/multi-agent-coordination.json +0 -25
- package/examples/risk-and-coordination-minimal/results/risk-control-matrix.json +0 -34
- package/examples/self-service-onboarding/bootstrap-proposal/bootstrap-proposal.json +0 -20
- package/examples/self-service-onboarding/existing-graph/README.md +0 -4
- package/examples/self-service-onboarding/existing-graph/gates/results.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/objects.json +0 -11
- package/examples/self-service-onboarding/existing-graph/graph/relations.json +0 -1
- package/examples/self-service-onboarding/existing-graph/graph.json +0 -36
- package/examples/self-service-onboarding/no-graph/README.md +0 -6
- package/examples/self-service-onboarding/no-graph/package.json +0 -6
- package/examples/self-service-onboarding/no-graph/src/index.js +0 -3
- package/examples/self-service-onboarding/stale-graph/README.md +0 -4
- package/examples/self-service-onboarding/stale-graph/graph.json +0 -36
- package/examples/semantic-intent-resolution-minimal/README.md +0 -13
- package/examples/semantic-intent-resolution-minimal/invalid-low-confidence-executes.json +0 -26
- package/examples/semantic-intent-resolution-minimal/invalid-proposal-canonical-update.json +0 -27
- package/examples/semantic-intent-resolution-minimal/results/semantic-intent-resolution.json +0 -45
- package/examples/skill-runtime-minimal/README.md +0 -29
- package/examples/skill-runtime-minimal/gates/results.json +0 -35
- package/examples/skill-runtime-minimal/graph/objects.json +0 -209
- package/examples/skill-runtime-minimal/graph/relations.json +0 -178
- package/examples/skill-runtime-minimal/graph.json +0 -37
- package/examples/skill-runtime-minimal/results/profile-conformance-result.json +0 -27
- package/examples/societal-governance-minimal/README.md +0 -37
- package/examples/societal-governance-minimal/graph/objects.json +0 -218
- package/examples/societal-governance-minimal/graph/relations.json +0 -209
- package/examples/societal-governance-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/README.md +0 -16
- package/examples/source-boundary-minimal/graph/objects.json +0 -38
- package/examples/source-boundary-minimal/graph/relations.json +0 -20
- package/examples/source-boundary-minimal/graph.json +0 -37
- package/examples/source-boundary-minimal/results/source-boundary-contract.json +0 -37
- package/examples/technology-quality-feedback-minimal/README.md +0 -33
- package/examples/technology-quality-feedback-minimal/graph/objects.json +0 -56
- package/examples/technology-quality-feedback-minimal/graph/relations.json +0 -47
- package/examples/technology-quality-feedback-minimal/graph.json +0 -34
- package/examples/technology-quality-feedback-minimal/invalid-accepted-with-blocking.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-evidence-as-authorization.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-missing-required-step.json +0 -22
- package/examples/technology-quality-feedback-minimal/invalid-process-improvement-without-kaizen.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-spec-gap-without-route.json +0 -33
- package/examples/technology-quality-feedback-minimal/invalid-unclassified-finding.json +0 -33
- package/examples/technology-quality-feedback-minimal/results/technology-quality-feedback.json +0 -80
- package/examples/work-recovery-minimal/README.md +0 -15
- package/examples/work-recovery-minimal/graph/objects.json +0 -47
- package/examples/work-recovery-minimal/graph/relations.json +0 -20
- package/examples/work-recovery-minimal/graph.json +0 -37
- package/examples/work-recovery-minimal/results/recovery-resume-record.json +0 -17
- package/examples/work-recovery-minimal/results/work-state-machine.json +0 -21
- package/packages/cli/adopter-workflow.js +0 -228
- package/packages/cli/context-pack.js +0 -269
- package/packages/cli/graph-manifest.js +0 -367
- package/packages/cli/instrumentation-report.js +0 -97
- package/packages/cli/migrate-graph-manifest.js +0 -33
- package/packages/cli/mirai-graph.js +0 -154
- package/packages/cli/mirai_graph.js +0 -3
- package/packages/cli/playground-demo.js +0 -114
- package/packages/cli/project-technology.js +0 -129
- package/packages/cli/readiness-score.js +0 -164
- package/packages/cli/release-state.js +0 -329
- package/packages/cli/seed-preview.js +0 -78
- package/packages/cli/self-service-onboarding.js +0 -386
- package/packages/cli/validate-adopter-workflow.js +0 -63
- package/packages/cli/validate-artifact-releases.js +0 -282
- package/packages/cli/validate-baseline-comparison.js +0 -105
- package/packages/cli/validate-context-traversal.js +0 -292
- package/packages/cli/validate-graph-manifest-migration.js +0 -64
- package/packages/cli/validate-mirai-graph.js +0 -3245
- package/packages/cli/validate-process-transition-report.js +0 -105
- package/packages/cli/validate-profile-results.js +0 -64
- package/packages/cli/validate-project-continuity.js +0 -173
- package/packages/cli/validate-project-technology.js +0 -296
- package/packages/cli/validate-release-state.js +0 -100
- package/packages/cli/validate-routing-control-examples.js +0 -79
- package/packages/cli/validate-self-service-onboarding.js +0 -159
- package/packages/project-technology/artifact-release.js +0 -738
- package/packages/project-technology/context-traversal.js +0 -684
- package/packages/project-technology/continuity.js +0 -414
- package/packages/project-technology/index.js +0 -835
- package/pilots/independent-implementation-001-conference-planning/README.md +0 -40
- package/pilots/independent-implementation-001-conference-planning/gates/results.json +0 -12
- package/pilots/independent-implementation-001-conference-planning/graph/objects.json +0 -74
- package/pilots/independent-implementation-001-conference-planning/graph/relations.json +0 -56
- package/pilots/independent-implementation-001-conference-planning/graph-seed.json +0 -65
- package/pilots/independent-implementation-001-conference-planning/graph.json +0 -37
- package/pilots/independent-implementation-001-conference-planning/reports/pilot-report.md +0 -120
- package/pilots/independent-implementation-001-conference-planning/results/context-pack.json +0 -35
- package/pilots/independent-implementation-001-conference-planning/results/graph-embryo.json +0 -81
- package/pilots/independent-implementation-001-conference-planning/results/package-validation.json +0 -7
- package/pilots/independent-implementation-001-conference-planning/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-001-conference-planning/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-001-conference-planning/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/README.md +0 -40
- package/pilots/independent-implementation-002-software-specification/gates/results.json +0 -22
- package/pilots/independent-implementation-002-software-specification/graph/objects.json +0 -101
- package/pilots/independent-implementation-002-software-specification/graph/relations.json +0 -92
- package/pilots/independent-implementation-002-software-specification/graph-seed.json +0 -72
- package/pilots/independent-implementation-002-software-specification/graph.json +0 -37
- package/pilots/independent-implementation-002-software-specification/reports/pilot-report.md +0 -142
- package/pilots/independent-implementation-002-software-specification/results/context-pack.json +0 -184
- package/pilots/independent-implementation-002-software-specification/results/graph-embryo.json +0 -90
- package/pilots/independent-implementation-002-software-specification/results/package-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/results/profile-conformance-result.json +0 -28
- package/pilots/independent-implementation-002-software-specification/results/readiness-score.json +0 -26
- package/pilots/independent-implementation-002-software-specification/results/seed-validation.json +0 -7
- package/pilots/independent-implementation-002-software-specification/reviews/semantic-completeness-review.json +0 -81
- package/pilots/independent-implementation-003-ai-employee-workflow/README.md +0 -42
- package/pilots/independent-implementation-003-ai-employee-workflow/gates/results.json +0 -30
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/objects.json +0 -156
- package/pilots/independent-implementation-003-ai-employee-workflow/graph/relations.json +0 -147
- package/pilots/independent-implementation-003-ai-employee-workflow/graph-seed.json +0 -90
- package/pilots/independent-implementation-003-ai-employee-workflow/graph.json +0 -37
- package/pilots/independent-implementation-003-ai-employee-workflow/reports/pilot-report.md +0 -49
- package/pilots/independent-implementation-003-ai-employee-workflow/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-004-research-program/README.md +0 -41
- package/pilots/independent-implementation-004-research-program/gates/results.json +0 -21
- package/pilots/independent-implementation-004-research-program/graph/objects.json +0 -102
- package/pilots/independent-implementation-004-research-program/graph/relations.json +0 -84
- package/pilots/independent-implementation-004-research-program/graph-seed.json +0 -76
- package/pilots/independent-implementation-004-research-program/graph.json +0 -37
- package/pilots/independent-implementation-004-research-program/reports/pilot-report.md +0 -50
- package/pilots/independent-implementation-004-research-program/results/profile-conformance-result.json +0 -30
- package/pilots/independent-implementation-005-organization-governance/README.md +0 -42
- package/pilots/independent-implementation-005-organization-governance/gates/results.json +0 -20
- package/pilots/independent-implementation-005-organization-governance/graph/objects.json +0 -137
- package/pilots/independent-implementation-005-organization-governance/graph/relations.json +0 -110
- package/pilots/independent-implementation-005-organization-governance/graph-seed.json +0 -97
- package/pilots/independent-implementation-005-organization-governance/graph.json +0 -37
- package/pilots/independent-implementation-005-organization-governance/reports/pilot-report.md +0 -47
- package/pilots/independent-implementation-005-organization-governance/results/profile-conformance-result.json +0 -29
- package/playground/README.md +0 -78
- package/playground/demo-report.md +0 -84
- package/profiles/README.md +0 -28
- package/profiles/ai-employee/README.md +0 -132
- package/profiles/ai-employee/profile.json +0 -58
- package/profiles/character-layer/README.md +0 -143
- package/profiles/character-layer/profile.json +0 -46
- package/profiles/implementation-control/README.md +0 -174
- package/profiles/implementation-control/profile.json +0 -108
- package/profiles/organization-governance/README.md +0 -60
- package/profiles/organization-governance/profile.json +0 -56
- package/profiles/project-management/README.md +0 -119
- package/profiles/project-management/profile.json +0 -38
- package/profiles/skill-runtime/README.md +0 -99
- package/profiles/skill-runtime/profile.json +0 -58
- package/profiles/societal-governance/README.md +0 -129
- package/profiles/societal-governance/profile.json +0 -121
- package/profiles/software-specification/README.md +0 -142
- package/profiles/software-specification/profile.json +0 -31
- package/publications/README.md +0 -39
- package/publications/observable-self-correcting-ai-workflows/README.md +0 -105
- package/publications/preprint-note.md +0 -11
- package/publications/preprint-outline.md +0 -45
- package/publications/semantic-intent-goal-vector-control/README.md +0 -99
- package/releases/0.1.0-alpha.0.md +0 -45
- package/releases/0.1.0-alpha.1.md +0 -63
- package/releases/0.1.0-alpha.10.md +0 -93
- package/releases/0.1.0-alpha.11.md +0 -114
- package/releases/0.1.0-alpha.2.md +0 -37
- package/releases/0.1.0-alpha.3.md +0 -61
- package/releases/0.1.0-alpha.4.md +0 -53
- package/releases/0.1.0-alpha.5.md +0 -48
- package/releases/0.1.0-alpha.6.md +0 -96
- package/releases/0.1.0-alpha.7.md +0 -114
- package/releases/0.1.0-alpha.8.md +0 -92
- package/releases/0.1.0-alpha.9.md +0 -80
- package/releases/1.0.0-rc.1.md +0 -121
- package/releases/1.0.0-rc.10.md +0 -14
- package/releases/1.0.0-rc.11.md +0 -14
- package/releases/1.0.0-rc.2.md +0 -79
- package/releases/1.0.0-rc.3.md +0 -51
- package/releases/1.0.0-rc.4.md +0 -70
- package/releases/1.0.0-rc.5.md +0 -88
- package/releases/1.0.0-rc.6.md +0 -76
- package/releases/1.0.0-rc.8.md +0 -17
- package/releases/1.0.0-rc.9.md +0 -14
- package/releases/1.0.0.md +0 -23
- package/releases/1.1.0.md +0 -36
- package/releases/1.1.1.md +0 -25
- package/releases/1.2.0.md +0 -19
- package/releases/1.3.0.md +0 -16
- package/releases/README.md +0 -135
- package/releases/societal-governance-profile-proposal.md +0 -45
- package/schemas/baseline-comparison-result.schema.json +0 -87
- package/schemas/character-layer-integration.schema.json +0 -112
- package/schemas/character-layer-readiness.schema.json +0 -73
- package/schemas/context-pack.schema.json +0 -190
- package/schemas/context-traversal-receipt.schema.json +0 -64
- package/schemas/development-cockpit.schema.json +0 -74
- package/schemas/dynamic-episode-trace.schema.json +0 -153
- package/schemas/feature-implementation-traceability.schema.json +0 -80
- package/schemas/federation-health-dashboard.schema.json +0 -47
- package/schemas/gate-result.schema.json +0 -44
- package/schemas/goal-vector-quality-control.schema.json +0 -131
- package/schemas/graph-dna-alignment.schema.json +0 -49
- package/schemas/graph-embryo.schema.json +0 -51
- package/schemas/graph-lock.schema.json +0 -28
- package/schemas/graph-manifest.schema.json +0 -154
- package/schemas/graph-seed.schema.json +0 -137
- package/schemas/implementation-control-cycle.schema.json +0 -265
- package/schemas/implementation-control-loop.schema.json +0 -84
- package/schemas/launch-record.schema.json +0 -78
- package/schemas/model-portability-evidence.schema.json +0 -93
- package/schemas/multi-agent-coordination.schema.json +0 -35
- package/schemas/multi-source-quality-feedback.schema.json +0 -54
- package/schemas/object.schema.json +0 -49
- package/schemas/package-manifest.schema.json +0 -53
- package/schemas/process-control-contract.schema.json +0 -100
- package/schemas/process-transition-request.schema.json +0 -41
- package/schemas/profile.schema.json +0 -56
- package/schemas/project-technology-extension.schema.json +0 -15
- package/schemas/project-technology-target-export.schema.json +0 -35
- package/schemas/readiness-score.schema.json +0 -43
- package/schemas/recovery-resume-record.schema.json +0 -25
- package/schemas/relation.schema.json +0 -43
- package/schemas/risk-control-matrix.schema.json +0 -36
- package/schemas/route-explanation.schema.json +0 -51
- package/schemas/route-regression-result.schema.json +0 -33
- package/schemas/routing-fixture-run.schema.json +0 -45
- package/schemas/routing-fixtures.schema.json +0 -59
- package/schemas/semantic-intent-resolution.schema.json +0 -151
- package/schemas/source-boundary-contract.schema.json +0 -31
- package/schemas/technology-quality-feedback.schema.json +0 -116
- package/schemas/work-state-machine.schema.json +0 -34
- package/standard/action-runtime-boundary.md +0 -99
- package/standard/adoption-levels.md +0 -69
- package/standard/conformance-levels.md +0 -133
- package/standard/context-pack-generation.md +0 -184
- package/standard/development-cockpit.md +0 -67
- package/standard/dynamic-episode-layer.md +0 -113
- package/standard/dynamic-layer-code-generation.md +0 -87
- package/standard/episode-trace.md +0 -97
- package/standard/evidence-provenance.md +0 -128
- package/standard/feature-implementation-traceability.md +0 -68
- package/standard/federation-health.md +0 -42
- package/standard/feedback-learning-gate.md +0 -101
- package/standard/goal-vector-quality-control.md +0 -128
- package/standard/governance.md +0 -137
- package/standard/graph-as-ai-brain.md +0 -81
- package/standard/graph-dna-alignment.md +0 -50
- package/standard/graph-dna.md +0 -70
- package/standard/graph-embryo.md +0 -69
- package/standard/graph-seed.md +0 -122
- package/standard/hybrid-source-of-truth.md +0 -91
- package/standard/implementation-control-cycles.md +0 -194
- package/standard/implementation-control.md +0 -102
- package/standard/launch-record.md +0 -53
- package/standard/lifecycle-readiness.md +0 -159
- package/standard/multi-agent-coordination.md +0 -50
- package/standard/multi-source-quality-feedback.md +0 -71
- package/standard/object-model.md +0 -167
- package/standard/organization-governance.md +0 -83
- package/standard/process-control-contract.md +0 -53
- package/standard/profile-boundaries.md +0 -225
- package/standard/profiles.md +0 -253
- package/standard/project-technology.md +0 -186
- package/standard/projection-views.md +0 -69
- package/standard/recovery-resume.md +0 -49
- package/standard/relation-model.md +0 -149
- package/standard/risk-control-matrix.md +0 -53
- package/standard/route-explanation.md +0 -35
- package/standard/route-regression.md +0 -33
- package/standard/routing-fixtures.md +0 -54
- package/standard/runtime-enablement.md +0 -85
- package/standard/semantic-intent-resolution.md +0 -91
- package/standard/source-boundary-contract.md +0 -49
- package/standard/standard-v0.1.md +0 -132
- package/standard/technology-quality-feedback.md +0 -97
- package/standard/test-suite.md +0 -159
- package/standard/work-state-machine.md +0 -62
- package/templates/README.md +0 -77
- package/templates/ai-employee-starter/README.md +0 -9
- package/templates/ai-employee-starter/gates/results.json +0 -12
- package/templates/ai-employee-starter/graph/objects.json +0 -90
- package/templates/ai-employee-starter/graph/relations.json +0 -47
- package/templates/ai-employee-starter/graph.json +0 -37
- package/templates/character-layer-starter/README.md +0 -39
- package/templates/character-layer-starter/gates/results.json +0 -20
- package/templates/character-layer-starter/graph/objects.json +0 -308
- package/templates/character-layer-starter/graph/relations.json +0 -344
- package/templates/character-layer-starter/graph.json +0 -37
- package/templates/organization-governance-starter/README.md +0 -9
- package/templates/organization-governance-starter/gates/results.json +0 -12
- package/templates/organization-governance-starter/graph/objects.json +0 -112
- package/templates/organization-governance-starter/graph/relations.json +0 -65
- package/templates/organization-governance-starter/graph.json +0 -37
- package/templates/research-program-starter/README.md +0 -9
- package/templates/research-program-starter/gates/results.json +0 -12
- package/templates/research-program-starter/graph/objects.json +0 -79
- package/templates/research-program-starter/graph/relations.json +0 -47
- package/templates/research-program-starter/graph.json +0 -37
- package/templates/software-project-starter/README.md +0 -9
- package/templates/software-project-starter/gates/results.json +0 -12
- package/templates/software-project-starter/graph/objects.json +0 -79
- package/templates/software-project-starter/graph/relations.json +0 -47
- package/templates/software-project-starter/graph.json +0 -37
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Context-Pack Generation
|
|
2
|
-
|
|
3
|
-
Status: 1.2 stable standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Context-pack generation defines how a Mirai Graph implementation produces
|
|
8
|
-
task-specific working context from canonical graph state.
|
|
9
|
-
|
|
10
|
-
A generated context pack helps a human or AI assistant perform a task. It does
|
|
11
|
-
not replace canonical graph state.
|
|
12
|
-
|
|
13
|
-
## Context Pack
|
|
14
|
-
|
|
15
|
-
A context pack is a task-bounded view of the graph.
|
|
16
|
-
|
|
17
|
-
It should include:
|
|
18
|
-
|
|
19
|
-
- task id or task description;
|
|
20
|
-
- included objects;
|
|
21
|
-
- included relations;
|
|
22
|
-
- evidence references;
|
|
23
|
-
- assumptions;
|
|
24
|
-
- omissions or excluded context;
|
|
25
|
-
- generation method;
|
|
26
|
-
- relevance scores and selection explanations when generated by tooling;
|
|
27
|
-
- timestamp or version reference;
|
|
28
|
-
- limitations.
|
|
29
|
-
|
|
30
|
-
## Minimum Context-Pack Metadata
|
|
31
|
-
|
|
32
|
-
```json
|
|
33
|
-
{
|
|
34
|
-
"id": "context_pack.notify_after_approval",
|
|
35
|
-
"task_id": "task.notify_after_approval",
|
|
36
|
-
"source_graph": "package.synthetic_context_reduction_v0",
|
|
37
|
-
"generated_at": "2026-05-28",
|
|
38
|
-
"included_objects": [],
|
|
39
|
-
"included_relations": [],
|
|
40
|
-
"evidence": [],
|
|
41
|
-
"selection": {
|
|
42
|
-
"method": "token_matching_one_hop_relation_expansion_safety_shared_evidence",
|
|
43
|
-
"task_tokens": ["task", "notify", "after", "approval"],
|
|
44
|
-
"object_explanations": [],
|
|
45
|
-
"relation_explanations": []
|
|
46
|
-
},
|
|
47
|
-
"limitations": []
|
|
48
|
-
}
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Generation Flow
|
|
52
|
-
|
|
53
|
-
```text
|
|
54
|
-
task -> select relevant objects -> select relevant relations
|
|
55
|
-
-> include evidence references -> record omissions
|
|
56
|
-
-> generate context pack -> review/use for task
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Project Technology implements this as a deterministic four-phase protocol:
|
|
60
|
-
|
|
61
|
-
```text
|
|
62
|
-
discover -> expand -> compile -> verify
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
The traversal receipt binds the task digest, graph digest and revision to the
|
|
66
|
-
visited nodes. The client records selected and rejected nodes, reasons,
|
|
67
|
-
confidence and selector type. Compilation then adds the mandatory dependency
|
|
68
|
-
closure and returns one of `needs_more_discovery`, `needs_decision`, `blocked`
|
|
69
|
-
or `ready`.
|
|
70
|
-
|
|
71
|
-
`ready` requires a result owner, terminal sources with exact revision and
|
|
72
|
-
SHA-256, all mandatory processes and validators, explicit reasons for omitted
|
|
73
|
-
branches, no required dependency cycle and no access or readiness conflict.
|
|
74
|
-
The context budget may remove optional material only; it must never remove the
|
|
75
|
-
mandatory closure.
|
|
76
|
-
|
|
77
|
-
The compiled pack adds selected and rejected paths, visited nodes, stop
|
|
78
|
-
reasons, mandatory closure, terminal sources, processes, constraints,
|
|
79
|
-
validators, completeness and `context_pack_digest`. These fields extend this
|
|
80
|
-
single context-pack contract; there is no parallel pack format.
|
|
81
|
-
|
|
82
|
-
## Selection Rules
|
|
83
|
-
|
|
84
|
-
A context pack should include:
|
|
85
|
-
|
|
86
|
-
- objects directly required by the task;
|
|
87
|
-
- relations needed to understand dependencies and blockers;
|
|
88
|
-
- evidence supporting included claims;
|
|
89
|
-
- governance gates relevant to the task;
|
|
90
|
-
- known risks or limitations;
|
|
91
|
-
- safety, security, privacy or public-release constraints that share evidence
|
|
92
|
-
with the selected task context, even when they are not lexical task matches.
|
|
93
|
-
|
|
94
|
-
## Selection Explanations
|
|
95
|
-
|
|
96
|
-
Generated context packs should explain why each included object and relation was
|
|
97
|
-
selected.
|
|
98
|
-
|
|
99
|
-
Object explanations should include:
|
|
100
|
-
|
|
101
|
-
- object id;
|
|
102
|
-
- relevance score or equivalent ranking signal;
|
|
103
|
-
- reasons such as exact token match, one-hop relation expansion, safety-context
|
|
104
|
-
inclusion or evidence preservation.
|
|
105
|
-
|
|
106
|
-
Relation explanations should include:
|
|
107
|
-
|
|
108
|
-
- relation id;
|
|
109
|
-
- reason for inclusion;
|
|
110
|
-
- source and target ids when available.
|
|
111
|
-
|
|
112
|
-
Scores are implementation signals. They help review the generated context, but
|
|
113
|
-
they do not prove semantic completeness.
|
|
114
|
-
|
|
115
|
-
## Usage Evidence
|
|
116
|
-
|
|
117
|
-
Loading a source is not proof that it was used. For each significant rule,
|
|
118
|
-
usage evidence connects:
|
|
119
|
-
|
|
120
|
-
```text
|
|
121
|
-
source -> applied rule -> decision -> changed or checked surface
|
|
122
|
-
-> validator -> outcome
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
Verification fails when the evidence belongs to another context pack, skips a
|
|
126
|
-
mandatory source, process or validator, uses stale or tampered content, exposes
|
|
127
|
-
private material or treats generated context as write authorization.
|
|
128
|
-
|
|
129
|
-
## Validation
|
|
130
|
-
|
|
131
|
-
Context-pack validation should check both shape and graph references:
|
|
132
|
-
|
|
133
|
-
- required metadata fields are present;
|
|
134
|
-
- `source_graph` matches the package manifest id;
|
|
135
|
-
- included object ids exist in the source graph;
|
|
136
|
-
- included relation ids exist and connect included objects;
|
|
137
|
-
- evidence ids exist in the source graph;
|
|
138
|
-
- selection explanations cover every included object and relation;
|
|
139
|
-
- relation explanations identify source and target ids.
|
|
140
|
-
|
|
141
|
-
A context pack should exclude:
|
|
142
|
-
|
|
143
|
-
- unrelated graph areas;
|
|
144
|
-
- private material outside the task boundary;
|
|
145
|
-
- deprecated objects unless needed for historical context;
|
|
146
|
-
- generated claims not accepted into canonical state.
|
|
147
|
-
|
|
148
|
-
## Evidence Preservation
|
|
149
|
-
|
|
150
|
-
Generated context should preserve evidence references. If a context pack
|
|
151
|
-
summarizes an object, it should still identify the source object and evidence
|
|
152
|
-
ids.
|
|
153
|
-
|
|
154
|
-
## Omissions
|
|
155
|
-
|
|
156
|
-
Omissions are part of responsible context generation.
|
|
157
|
-
|
|
158
|
-
Each non-trivial context pack should state:
|
|
159
|
-
|
|
160
|
-
- what was excluded;
|
|
161
|
-
- why it was excluded;
|
|
162
|
-
- whether exclusion creates risk;
|
|
163
|
-
- when a broader context review is needed.
|
|
164
|
-
|
|
165
|
-
## Generated Context Is Not Canonical State
|
|
166
|
-
|
|
167
|
-
Generated context packs may be reviewed and then used as evidence or source
|
|
168
|
-
material for graph updates. They do not automatically mutate canonical graph
|
|
169
|
-
state.
|
|
170
|
-
|
|
171
|
-
With `continuity_policy: task_boundary`, accepted continuity objects in
|
|
172
|
-
`graph/specs` participate in the same traversal as every other graph object.
|
|
173
|
-
Relevant previous cases can therefore be found without reading chat history or
|
|
174
|
-
requiring a user to say "continue". Host-local receipts never enter a context
|
|
175
|
-
pack and never become portable authority.
|
|
176
|
-
|
|
177
|
-
## Anti-Patterns
|
|
178
|
-
|
|
179
|
-
- Treating a generated context pack as the graph.
|
|
180
|
-
- Removing evidence references during summarization.
|
|
181
|
-
- Using one task pack for a different task without review.
|
|
182
|
-
- Omitting governance gates to make a task easier.
|
|
183
|
-
- Omitting safety constraints because they do not share task keywords.
|
|
184
|
-
- Generating public context from private material without a release gate.
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# Development Cockpit
|
|
2
|
-
|
|
3
|
-
Development Cockpit is a Mirai Graph instrumentation layer for steering governed work by observable signals instead of chat memory or informal confidence.
|
|
4
|
-
|
|
5
|
-
It does not replace tests, review, approval, release gates, or canonical graph updates. It aggregates evidence-backed indicators so a coordinator can see whether a work system is on course, drifting, blocked, or ready for the next governed transition.
|
|
6
|
-
|
|
7
|
-
## Purpose
|
|
8
|
-
|
|
9
|
-
Development Cockpit is used when a project needs a compact operating view over:
|
|
10
|
-
|
|
11
|
-
- trajectory toward the current goal;
|
|
12
|
-
- graph coverage and implementation coverage;
|
|
13
|
-
- evidence confidence;
|
|
14
|
-
- documentation and code-location traceability;
|
|
15
|
-
- quality and architecture integrity;
|
|
16
|
-
- security, drift, blockers, dependencies, and next action.
|
|
17
|
-
|
|
18
|
-
The cockpit is intentionally an instrument panel. It can recommend a next action, but it cannot authorize execution, approval, release, or canonical update by itself.
|
|
19
|
-
|
|
20
|
-
## Required Model
|
|
21
|
-
|
|
22
|
-
A cockpit report must declare:
|
|
23
|
-
|
|
24
|
-
- `subject_ref`: the project, package, process, or work batch being observed;
|
|
25
|
-
- `generated_at`: when the report was produced;
|
|
26
|
-
- `instruments`: observable indicators with score, band, status, reason, and evidence references;
|
|
27
|
-
- `readiness`: separated readiness signals for developer testing, product maturity, production, and external user testing;
|
|
28
|
-
- `next_best_action`: a bounded recommended action with target cycle and required gates;
|
|
29
|
-
- `blocking_rules`: conditions that stop transition even when aggregate scores look high;
|
|
30
|
-
- `limitations`: boundary language that prevents confusing metrics with acceptance.
|
|
31
|
-
|
|
32
|
-
## Instrument Rules
|
|
33
|
-
|
|
34
|
-
Each instrument should be evidence-backed. Missing evidence is a signal, not a reason to fabricate confidence.
|
|
35
|
-
|
|
36
|
-
Recommended instrument families:
|
|
37
|
-
|
|
38
|
-
- `trajectory`: alignment with goal, DNA, scope, and current milestone;
|
|
39
|
-
- `graph_coverage`: whether relevant objects, relations, dependencies, and lifecycle states are represented;
|
|
40
|
-
- `implementation_coverage`: whether planned work maps to concrete implementation and evidence;
|
|
41
|
-
- `evidence_confidence`: whether evidence is current, reproducible, and tied to the right claims;
|
|
42
|
-
- `traceability`: whether features connect to specs, code, tests, documentation, and review;
|
|
43
|
-
- `quality`: test health, semantic review, technology adherence, and defect patterns;
|
|
44
|
-
- `architecture`: ownership boundaries, dependency shape, and source-boundary conformance;
|
|
45
|
-
- `risk`: blockers, drift, security findings, release risks, and recovery options.
|
|
46
|
-
|
|
47
|
-
## Transition Boundary
|
|
48
|
-
|
|
49
|
-
Development Cockpit can support a transition decision only when paired with the relevant gate:
|
|
50
|
-
|
|
51
|
-
```text
|
|
52
|
-
cockpit signal -> transition request -> required evidence -> gate validation -> decision
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
High cockpit readiness is not execution, implementation, acceptance, release, or approval.
|
|
56
|
-
|
|
57
|
-
## Kaizen Use
|
|
58
|
-
|
|
59
|
-
Cockpit signals should feed Kaizen when they reveal repeatable process issues:
|
|
60
|
-
|
|
61
|
-
- repeated missing evidence;
|
|
62
|
-
- recurring dependency drift;
|
|
63
|
-
- frequent reviewer corrections;
|
|
64
|
-
- weak traceability between feature intent and implementation;
|
|
65
|
-
- mismatch between tests and semantic acceptance.
|
|
66
|
-
|
|
67
|
-
The Kaizen output is a classified improvement or proposal, not an automatic canonical update.
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# Dynamic Episode Layer
|
|
2
|
-
|
|
3
|
-
Status: proposal/experimental standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
The Dynamic Episode Layer records how a concrete event moves through a Mirai
|
|
8
|
-
Graph system and why the system reacted the way it did.
|
|
9
|
-
|
|
10
|
-
Existing technology chains define how work should be performed. Dynamic
|
|
11
|
-
episodes record what actually happened for one event:
|
|
12
|
-
|
|
13
|
-
```text
|
|
14
|
-
event
|
|
15
|
-
-> activated graph objects and relations
|
|
16
|
-
-> selected workflow and technology chain
|
|
17
|
-
-> selected path
|
|
18
|
-
-> blocked alternatives
|
|
19
|
-
-> gates
|
|
20
|
-
-> result
|
|
21
|
-
-> findings
|
|
22
|
-
-> feedback route
|
|
23
|
-
-> Kaizen or graph proposal
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
This layer is designed for AI employees, AI-assisted code generation,
|
|
27
|
-
governance simulations, project control and other systems where a result is not
|
|
28
|
-
enough. A reviewer must be able to inspect why a path was selected, why other
|
|
29
|
-
paths were blocked and which evidence supports the decision.
|
|
30
|
-
|
|
31
|
-
## Core Rule
|
|
32
|
-
|
|
33
|
-
```text
|
|
34
|
-
canonical graph state != runtime trace != generated explanation != approval
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
A dynamic episode may create evidence, explanations, audit records, feedback
|
|
38
|
-
and proposals. It must not mutate canonical graph state or authorize execution
|
|
39
|
-
by itself.
|
|
40
|
-
|
|
41
|
-
## Required Boundaries
|
|
42
|
-
|
|
43
|
-
- An episode trace is evidence, not authorization.
|
|
44
|
-
- Generated context is not canonical state.
|
|
45
|
-
- Feedback is not an automatic graph update.
|
|
46
|
-
- Passing tests do not mean acceptance.
|
|
47
|
-
- Blocked paths must remain blocked until an owner-approved process changes the
|
|
48
|
-
gate, policy or graph relation.
|
|
49
|
-
- Private event contents must not be copied into public examples or research
|
|
50
|
-
packages.
|
|
51
|
-
|
|
52
|
-
## Record Levels
|
|
53
|
-
|
|
54
|
-
The layer distinguishes four record levels:
|
|
55
|
-
|
|
56
|
-
- `debug_log`: temporary implementation troubleshooting, short retention.
|
|
57
|
-
- `episode_trace`: structured record explaining one event reaction.
|
|
58
|
-
- `audit_record`: compact accountability record for later review.
|
|
59
|
-
- `research_dataset`: sanitized, public-safe evidence derived from traces.
|
|
60
|
-
|
|
61
|
-
## Dynamic Episode Lifecycle
|
|
62
|
-
|
|
63
|
-
```text
|
|
64
|
-
event_received
|
|
65
|
-
-> source_refs_loaded
|
|
66
|
-
-> graph_activation_recorded
|
|
67
|
-
-> workflow_selected
|
|
68
|
-
-> selected_path_recorded
|
|
69
|
-
-> blocked_paths_recorded
|
|
70
|
-
-> gates_evaluated
|
|
71
|
-
-> result_recorded
|
|
72
|
-
-> findings_classified
|
|
73
|
-
-> feedback_routed
|
|
74
|
-
-> kaizen_or_replay_candidate_recorded
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Required Fields
|
|
78
|
-
|
|
79
|
-
A valid dynamic episode trace must identify:
|
|
80
|
-
|
|
81
|
-
- event;
|
|
82
|
-
- source references;
|
|
83
|
-
- activated objects, relations, policies, gates and technology steps;
|
|
84
|
-
- selected path;
|
|
85
|
-
- blocked paths;
|
|
86
|
-
- findings and classifications;
|
|
87
|
-
- result;
|
|
88
|
-
- evidence references;
|
|
89
|
-
- limitations;
|
|
90
|
-
- explicit `canonical_write_allowed=false`.
|
|
91
|
-
|
|
92
|
-
## Relationship To Other Standard Sections
|
|
93
|
-
|
|
94
|
-
- `implementation-control` defines process state and false-transition guards.
|
|
95
|
-
- `technology-quality-feedback` checks whether the approved work technology was
|
|
96
|
-
followed.
|
|
97
|
-
- `context-pack-generation` turns traces into bounded explanations.
|
|
98
|
-
- `feedback-learning-gate` governs proposal and learning updates.
|
|
99
|
-
- `action-runtime-boundary` prevents traces, evidence and proposals from
|
|
100
|
-
becoming unauthorized actions.
|
|
101
|
-
|
|
102
|
-
## Conformance
|
|
103
|
-
|
|
104
|
-
This proposal starts at synthetic conformance:
|
|
105
|
-
|
|
106
|
-
- `D0_concept`: standard text only.
|
|
107
|
-
- `D1_synthetic_episode`: synthetic example and validator.
|
|
108
|
-
- `D2_internal_pilot`: internal project episode traces.
|
|
109
|
-
- `D3_replay_regression`: replay and regression evidence.
|
|
110
|
-
- `D4_audited_runtime`: operational audit records and retention policy.
|
|
111
|
-
|
|
112
|
-
The current public layer should claim no more than `D1_synthetic_episode` until
|
|
113
|
-
real pilots are validated.
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# Dynamic Layer For AI-Assisted Code Generation
|
|
2
|
-
|
|
3
|
-
Status: proposal/experimental standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
The Dynamic Episode Layer can be applied to AI-assisted code generation to keep
|
|
8
|
-
implementation work inside the intended specification, package boundary and
|
|
9
|
-
technology chain.
|
|
10
|
-
|
|
11
|
-
The target pattern is:
|
|
12
|
-
|
|
13
|
-
```text
|
|
14
|
-
feature/package request
|
|
15
|
-
-> package DNA and feature graph
|
|
16
|
-
-> dependency activation
|
|
17
|
-
-> implementation technology chain
|
|
18
|
-
-> bounded code generation
|
|
19
|
-
-> test/evidence collection
|
|
20
|
-
-> dynamic episode trace
|
|
21
|
-
-> technology quality feedback
|
|
22
|
-
-> developer feedback classification
|
|
23
|
-
-> Kaizen / graph update proposal
|
|
24
|
-
-> replay or regression check
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Code Drift Classes
|
|
28
|
-
|
|
29
|
-
The layer should make these drift types visible:
|
|
30
|
-
|
|
31
|
-
- `scope_drift`: files or components outside the allowed scope were changed.
|
|
32
|
-
- `package_boundary_violation`: a package owned another package's concern.
|
|
33
|
-
- `wrong_dependency_activation`: required dependencies were not activated.
|
|
34
|
-
- `unsupported_assumption`: the agent invented missing behavior or API shape.
|
|
35
|
-
- `wrong_workflow_selected`: the wrong implementation technology was followed.
|
|
36
|
-
- `technology_step_skipped`: a required work step was omitted.
|
|
37
|
-
- `approval_gate_bypass`: readiness, tests or evidence were treated as
|
|
38
|
-
authorization.
|
|
39
|
-
- `evidence_gap`: result claims are not backed by required evidence.
|
|
40
|
-
- `feedback_loss`: developer feedback was not routed to reusable improvement.
|
|
41
|
-
|
|
42
|
-
## Required Episode Outputs
|
|
43
|
-
|
|
44
|
-
For significant code-generation episodes, store:
|
|
45
|
-
|
|
46
|
-
```text
|
|
47
|
-
episode-trace.json
|
|
48
|
-
episode-trace.md
|
|
49
|
-
technology-quality-feedback.json
|
|
50
|
-
developer-feedback-classification.md
|
|
51
|
-
kaizen-proposal.md
|
|
52
|
-
metrics.json
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
The exact storage path is project-specific. For internal projects, use
|
|
56
|
-
`source/output/dynamic-episodes/<episode-id>/` or another project-local
|
|
57
|
-
generated/evidence path.
|
|
58
|
-
|
|
59
|
-
## Acceptance Boundary
|
|
60
|
-
|
|
61
|
-
Code can be generated, tests can pass and evidence can be collected, but the
|
|
62
|
-
episode is not accepted until the relevant process-control and technology
|
|
63
|
-
quality gates pass.
|
|
64
|
-
|
|
65
|
-
The trace may propose:
|
|
66
|
-
|
|
67
|
-
- work fix;
|
|
68
|
-
- test gap;
|
|
69
|
-
- spec gap;
|
|
70
|
-
- graph update proposal;
|
|
71
|
-
- process improvement;
|
|
72
|
-
- blocker;
|
|
73
|
-
- replay/regression scenario.
|
|
74
|
-
|
|
75
|
-
It must not update the canonical specification, graph or source code by itself.
|
|
76
|
-
|
|
77
|
-
## Research Use
|
|
78
|
-
|
|
79
|
-
For research, episode traces can support comparison between:
|
|
80
|
-
|
|
81
|
-
- prompt/spec-only baseline;
|
|
82
|
-
- graph/context package without dynamic trace;
|
|
83
|
-
- graph + technology chain + dynamic episode trace.
|
|
84
|
-
|
|
85
|
-
Claims must remain bounded. Synthetic or internal pilot evidence is not broad
|
|
86
|
-
scientific proof until it is reproduced, reviewed and published with clear
|
|
87
|
-
limitations.
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# Episode Trace
|
|
2
|
-
|
|
3
|
-
Status: proposal/experimental standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
An episode trace is the primary artifact of the Dynamic Episode Layer. It is a
|
|
8
|
-
structured explanation of why a graph-governed system reacted to an event in a
|
|
9
|
-
specific way.
|
|
10
|
-
|
|
11
|
-
It answers:
|
|
12
|
-
|
|
13
|
-
```text
|
|
14
|
-
what arrived
|
|
15
|
-
what activated
|
|
16
|
-
which workflow was selected
|
|
17
|
-
which path was followed
|
|
18
|
-
which alternatives were blocked
|
|
19
|
-
which gates passed or failed
|
|
20
|
-
which assumptions were made
|
|
21
|
-
what result happened
|
|
22
|
-
what findings were classified
|
|
23
|
-
what feedback or Kaizen route should follow
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Not A Thought Log
|
|
27
|
-
|
|
28
|
-
An episode trace does not expose or claim to know the hidden internal reasoning
|
|
29
|
-
of an LLM. It records the operational reason visible to the graph-controlled
|
|
30
|
-
system: selected workflow, activated graph elements, gates, policies, evidence,
|
|
31
|
-
results and findings.
|
|
32
|
-
|
|
33
|
-
## Minimum Trace Shape
|
|
34
|
-
|
|
35
|
-
```text
|
|
36
|
-
event
|
|
37
|
-
source_refs
|
|
38
|
-
activated
|
|
39
|
-
selected_path
|
|
40
|
-
blocked_paths
|
|
41
|
-
gates
|
|
42
|
-
actions
|
|
43
|
-
results
|
|
44
|
-
findings
|
|
45
|
-
feedback_classification
|
|
46
|
-
kaizen_candidates
|
|
47
|
-
replay_regression
|
|
48
|
-
evidence_refs
|
|
49
|
-
limitations
|
|
50
|
-
canonical_write_allowed=false
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Failure Analysis Loop
|
|
54
|
-
|
|
55
|
-
```text
|
|
56
|
-
episode trace
|
|
57
|
-
-> finding classification
|
|
58
|
-
-> root-cause candidate
|
|
59
|
-
-> feedback route
|
|
60
|
-
-> work fix / test gap / spec gap / graph proposal / process improvement
|
|
61
|
-
-> Kaizen proposal
|
|
62
|
-
-> replay or regression check
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Common root-cause candidates include:
|
|
66
|
-
|
|
67
|
-
- `wrong_workflow_selected`;
|
|
68
|
-
- `missing_dependency_activation`;
|
|
69
|
-
- `scope_gate_not_activated`;
|
|
70
|
-
- `scope_gate_ignored`;
|
|
71
|
-
- `approval_gate_bypass`;
|
|
72
|
-
- `unsupported_assumption`;
|
|
73
|
-
- `technology_step_skipped`;
|
|
74
|
-
- `evidence_treated_as_authorization`;
|
|
75
|
-
- `character_boundary_not_activated`;
|
|
76
|
-
- `context_pack_missing_required_object`.
|
|
77
|
-
|
|
78
|
-
## Replay And Regression
|
|
79
|
-
|
|
80
|
-
Replay uses the same or equivalent event against a graph/process version and
|
|
81
|
-
compares:
|
|
82
|
-
|
|
83
|
-
- selected path;
|
|
84
|
-
- blocked paths;
|
|
85
|
-
- required gates;
|
|
86
|
-
- findings;
|
|
87
|
-
- result;
|
|
88
|
-
- explanation grounding.
|
|
89
|
-
|
|
90
|
-
Replay is required before claiming that a graph or technology-chain change
|
|
91
|
-
improved behavior.
|
|
92
|
-
|
|
93
|
-
## Public Safety
|
|
94
|
-
|
|
95
|
-
Public traces must be sanitized. Do not publish private event payloads,
|
|
96
|
-
credentials, customer data, raw private logs or internal evidence unless they
|
|
97
|
-
have been explicitly approved for publication.
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Mirai Graph Evidence And Provenance
|
|
2
|
-
|
|
3
|
-
Status: 1.0 release-candidate standard section
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Evidence and provenance rules explain how Mirai Graph links graph state to the
|
|
8
|
-
materials, observations, decisions and reviews that justify it.
|
|
9
|
-
|
|
10
|
-
Mirai Graph does not require every early idea to be fully proven. It does require
|
|
11
|
-
important claims, accepted objects, accepted relations and public validation
|
|
12
|
-
statements to make their evidence boundary explicit.
|
|
13
|
-
|
|
14
|
-
## Evidence Object
|
|
15
|
-
|
|
16
|
-
Evidence may be represented as a first-class object:
|
|
17
|
-
|
|
18
|
-
```json
|
|
19
|
-
{
|
|
20
|
-
"id": "source.example_note",
|
|
21
|
-
"kind": "evidence",
|
|
22
|
-
"title": "Example source note",
|
|
23
|
-
"summary": "A public-safe note used as evidence for a synthetic example.",
|
|
24
|
-
"readiness": "accepted",
|
|
25
|
-
"evidence": [],
|
|
26
|
-
"profile": "software_specification",
|
|
27
|
-
"source_path": "source-corpus/example.md"
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Evidence Reference
|
|
32
|
-
|
|
33
|
-
Objects and relations reference evidence by stable id:
|
|
34
|
-
|
|
35
|
-
```json
|
|
36
|
-
{
|
|
37
|
-
"id": "feature.example",
|
|
38
|
-
"evidence": ["source.example_note"]
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
For mature Mirai Graph packages, evidence references should resolve to evidence
|
|
43
|
-
objects or declared external sources.
|
|
44
|
-
|
|
45
|
-
## Evidence Levels
|
|
46
|
-
|
|
47
|
-
Initial evidence levels:
|
|
48
|
-
|
|
49
|
-
- `synthetic`: artificial example or benchmark material;
|
|
50
|
-
- `internal_case`: internal project or operational evidence;
|
|
51
|
-
- `public_source`: public document, paper, repository or standard;
|
|
52
|
-
- `experiment`: structured experiment result;
|
|
53
|
-
- `review`: expert or peer review record;
|
|
54
|
-
- `decision`: accepted governance or owner decision.
|
|
55
|
-
|
|
56
|
-
Future schemas may add an explicit `evidence_level` field.
|
|
57
|
-
|
|
58
|
-
## Provenance Questions
|
|
59
|
-
|
|
60
|
-
For important graph state, a reviewer should be able to answer:
|
|
61
|
-
|
|
62
|
-
- Where did this object or relation come from?
|
|
63
|
-
- Is the source public, private, synthetic or experimental?
|
|
64
|
-
- Who accepted it into canonical state?
|
|
65
|
-
- What changed since the previous version?
|
|
66
|
-
- Can this evidence be used publicly?
|
|
67
|
-
- Does the evidence support the claim being made?
|
|
68
|
-
|
|
69
|
-
## Public-Safe Evidence Rules
|
|
70
|
-
|
|
71
|
-
Public Mirai Graph repositories should not include:
|
|
72
|
-
|
|
73
|
-
- private source chats;
|
|
74
|
-
- raw internal company materials;
|
|
75
|
-
- customer or employee data;
|
|
76
|
-
- secrets or access details;
|
|
77
|
-
- private repository paths;
|
|
78
|
-
- unpublished client work;
|
|
79
|
-
- private metrics without approval and redaction.
|
|
80
|
-
|
|
81
|
-
Use synthetic data or generalized public-safe summaries when public evidence is
|
|
82
|
-
needed.
|
|
83
|
-
|
|
84
|
-
## Claim Discipline
|
|
85
|
-
|
|
86
|
-
Evidence must match claim strength.
|
|
87
|
-
|
|
88
|
-
Synthetic benchmark evidence can support:
|
|
89
|
-
|
|
90
|
-
- method inspection;
|
|
91
|
-
- reproducibility of an example calculation;
|
|
92
|
-
- schema and tooling demonstration.
|
|
93
|
-
|
|
94
|
-
Synthetic benchmark evidence cannot support:
|
|
95
|
-
|
|
96
|
-
- external validity;
|
|
97
|
-
- real-world productivity improvement;
|
|
98
|
-
- universal superiority claims;
|
|
99
|
-
- agent safety claims.
|
|
100
|
-
|
|
101
|
-
Internal case evidence can support:
|
|
102
|
-
|
|
103
|
-
- case-study claims;
|
|
104
|
-
- design feasibility;
|
|
105
|
-
- observed workflow patterns.
|
|
106
|
-
|
|
107
|
-
Internal case evidence cannot be treated as public reproducibility unless the
|
|
108
|
-
data boundary and redaction plan are public and approved.
|
|
109
|
-
|
|
110
|
-
## Provenance In Generated Context Packs
|
|
111
|
-
|
|
112
|
-
A generated context pack should preserve evidence references for the objects and
|
|
113
|
-
relations it includes.
|
|
114
|
-
|
|
115
|
-
If context is compressed, the pack should still make clear:
|
|
116
|
-
|
|
117
|
-
- what canonical objects it uses;
|
|
118
|
-
- what evidence supports them;
|
|
119
|
-
- what was omitted;
|
|
120
|
-
- what the task boundary is.
|
|
121
|
-
|
|
122
|
-
## Anti-Patterns
|
|
123
|
-
|
|
124
|
-
- Treating a citation as evidence for a claim it does not support.
|
|
125
|
-
- Treating synthetic examples as real-world validation.
|
|
126
|
-
- Copying private source material into public examples.
|
|
127
|
-
- Losing evidence references during context-pack generation.
|
|
128
|
-
- Marking a public claim as validated before review.
|