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,131 +0,0 @@
|
|
|
1
|
-
# Measure-Convert-Optimize Protocol
|
|
2
|
-
|
|
3
|
-
Status: initial public protocol
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Mirai Graph adoption must be measured, not assumed to be better.
|
|
8
|
-
|
|
9
|
-
This protocol defines how to compare a current workflow with a Mirai Graph-assisted
|
|
10
|
-
workflow.
|
|
11
|
-
|
|
12
|
-
## Cycle
|
|
13
|
-
|
|
14
|
-
```text
|
|
15
|
-
freeze benchmark
|
|
16
|
-
-> measure current mode
|
|
17
|
-
-> convert selected scope to Mirai Graph
|
|
18
|
-
-> measure graph mode
|
|
19
|
-
-> compare
|
|
20
|
-
-> optimize
|
|
21
|
-
-> validate
|
|
22
|
-
-> scale
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## 1. Freeze Benchmark
|
|
26
|
-
|
|
27
|
-
Before converting a target scope, freeze:
|
|
28
|
-
|
|
29
|
-
- benchmark suite;
|
|
30
|
-
- dataset;
|
|
31
|
-
- task ids;
|
|
32
|
-
- expected outputs;
|
|
33
|
-
- acceptance criteria;
|
|
34
|
-
- review policy;
|
|
35
|
-
- metrics.
|
|
36
|
-
|
|
37
|
-
Do not change the suite after current-mode baseline if direct comparison is
|
|
38
|
-
required.
|
|
39
|
-
|
|
40
|
-
## 2. Measure Current Mode
|
|
41
|
-
|
|
42
|
-
Record:
|
|
43
|
-
|
|
44
|
-
- materials read;
|
|
45
|
-
- context size;
|
|
46
|
-
- time to relevant context;
|
|
47
|
-
- time to done;
|
|
48
|
-
- wrong assumptions;
|
|
49
|
-
- missed dependencies;
|
|
50
|
-
- user corrections;
|
|
51
|
-
- rework cycles;
|
|
52
|
-
- evidence references used;
|
|
53
|
-
- final result;
|
|
54
|
-
- reviewer notes.
|
|
55
|
-
|
|
56
|
-
## 3. Convert Selected Scope
|
|
57
|
-
|
|
58
|
-
Convert only a small scope first:
|
|
59
|
-
|
|
60
|
-
- goals;
|
|
61
|
-
- objects;
|
|
62
|
-
- relations;
|
|
63
|
-
- evidence;
|
|
64
|
-
- readiness;
|
|
65
|
-
- governance gates;
|
|
66
|
-
- context-pack boundary.
|
|
67
|
-
|
|
68
|
-
Do not convert a whole organization before validating a local graph.
|
|
69
|
-
|
|
70
|
-
## 4. Measure Graph Mode
|
|
71
|
-
|
|
72
|
-
Record:
|
|
73
|
-
|
|
74
|
-
- profile;
|
|
75
|
-
- graph depth;
|
|
76
|
-
- objects considered;
|
|
77
|
-
- relations traversed;
|
|
78
|
-
- generated context size;
|
|
79
|
-
- context pack contents;
|
|
80
|
-
- stale findings;
|
|
81
|
-
- warnings;
|
|
82
|
-
- final result;
|
|
83
|
-
- reviewer notes.
|
|
84
|
-
|
|
85
|
-
## 5. Compare
|
|
86
|
-
|
|
87
|
-
Compare only when:
|
|
88
|
-
|
|
89
|
-
- suite version matches;
|
|
90
|
-
- dataset version matches;
|
|
91
|
-
- task list matches;
|
|
92
|
-
- acceptance criteria match;
|
|
93
|
-
- review policy matches.
|
|
94
|
-
|
|
95
|
-
If these changed, start a new experiment series.
|
|
96
|
-
|
|
97
|
-
## 6. Optimize
|
|
98
|
-
|
|
99
|
-
Use comparison results:
|
|
100
|
-
|
|
101
|
-
- low precision -> improve object selection;
|
|
102
|
-
- low recall -> improve relations or extraction;
|
|
103
|
-
- negative context reduction -> narrow context profile;
|
|
104
|
-
- missed dependencies -> improve impact traversal;
|
|
105
|
-
- high review overhead -> simplify graph granularity;
|
|
106
|
-
- weak evidence coverage -> improve evidence modeling.
|
|
107
|
-
|
|
108
|
-
## 7. Validate
|
|
109
|
-
|
|
110
|
-
Use a separate evaluation set where possible.
|
|
111
|
-
|
|
112
|
-
Do not tune only on the same tasks used for final claims.
|
|
113
|
-
|
|
114
|
-
## Minimum Metrics
|
|
115
|
-
|
|
116
|
-
- `time_to_context`;
|
|
117
|
-
- `context_units`;
|
|
118
|
-
- `context_precision`;
|
|
119
|
-
- `missed_dependencies`;
|
|
120
|
-
- `wrong_assumptions`;
|
|
121
|
-
- `rework_cycles`;
|
|
122
|
-
- `evidence_coverage`;
|
|
123
|
-
- `time_to_done`;
|
|
124
|
-
- `manual_review_overhead`.
|
|
125
|
-
|
|
126
|
-
## Claim Rule
|
|
127
|
-
|
|
128
|
-
Use results only for claims supported by the protocol.
|
|
129
|
-
|
|
130
|
-
A local pilot can support local usefulness. It does not prove universal
|
|
131
|
-
validity.
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Synthetic Mirai Graph Benchmark v0
|
|
2
|
-
|
|
3
|
-
Status: draft synthetic package for public-method inspection
|
|
4
|
-
|
|
5
|
-
This package is artificial. It does not contain private project, customer, employee, source-chat or private skill material.
|
|
6
|
-
|
|
7
|
-
## Purpose
|
|
8
|
-
|
|
9
|
-
The package demonstrates the structure of the Mirai Graph context-selection
|
|
10
|
-
method on a small synthetic software-specification scenario.
|
|
11
|
-
It is intended for public inspection of the method, not for empirical claims
|
|
12
|
-
about external performance.
|
|
13
|
-
|
|
14
|
-
## Scenario
|
|
15
|
-
|
|
16
|
-
A fictional modular publishing platform is planning four related packages:
|
|
17
|
-
|
|
18
|
-
- identity and access;
|
|
19
|
-
- content workflow;
|
|
20
|
-
- audit events;
|
|
21
|
-
- notification delivery.
|
|
22
|
-
|
|
23
|
-
Feature notes, graph objects, relations and context-selection tasks are
|
|
24
|
-
provided as small files that mimic the shape of an evolving specification
|
|
25
|
-
workspace.
|
|
26
|
-
|
|
27
|
-
## Files
|
|
28
|
-
|
|
29
|
-
- `source-corpus/`: synthetic source notes.
|
|
30
|
-
- `graph/objects.json`: graph objects extracted from the source corpus.
|
|
31
|
-
- `graph/relations.json`: typed relations between graph objects.
|
|
32
|
-
- `tasks/tasks.json`: sample context-selection tasks.
|
|
33
|
-
- `expected/context-pack-compact.md`: expected compact context package for one
|
|
34
|
-
task.
|
|
35
|
-
- `metrics/example-metrics.json`: illustrative metric calculation.
|
|
36
|
-
- `scripts/calculate-context-reduction.js`: repeatable calculation for the
|
|
37
|
-
illustrative synthetic metric.
|
|
38
|
-
|
|
39
|
-
The graph files are normalized to the initial Mirai Graph v0.1 draft object and
|
|
40
|
-
relation shape.
|
|
41
|
-
|
|
42
|
-
## Limits
|
|
43
|
-
|
|
44
|
-
This package supports reproducibility of the method structure only. It does not
|
|
45
|
-
validate external generalization, agent safety or task success.
|
|
46
|
-
|
|
47
|
-
An initial semantic-completeness review is available at:
|
|
48
|
-
|
|
49
|
-
`reviews/semantic-completeness-review.json`
|
|
50
|
-
|
|
51
|
-
## Example Calculation
|
|
52
|
-
|
|
53
|
-
Run from this package directory:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
node scripts/calculate-context-reduction.js
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Expected result:
|
|
60
|
-
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"schema_version": "0.1.0",
|
|
64
|
-
"task_id": "task.notify_after_approval",
|
|
65
|
-
"baseline_context_units": 620,
|
|
66
|
-
"graph_context_units": 270,
|
|
67
|
-
"total_reduction_percent": 56.4516,
|
|
68
|
-
"note": "Synthetic demonstration only; do not merge with internal empirical metrics."
|
|
69
|
-
}
|
|
70
|
-
```
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Synthetic Context-Reduction Benchmark Result
|
|
2
|
-
|
|
3
|
-
Status: reproducibility smoke test
|
|
4
|
-
|
|
5
|
-
## Command
|
|
6
|
-
|
|
7
|
-
Run from this directory:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
node scripts/calculate-context-reduction.js
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Output
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"schema_version": "0.1.0",
|
|
18
|
-
"task_id": "task.notify_after_approval",
|
|
19
|
-
"baseline_context_units": 620,
|
|
20
|
-
"graph_context_units": 270,
|
|
21
|
-
"total_reduction_percent": 56.4516,
|
|
22
|
-
"note": "Synthetic demonstration only; do not merge with internal empirical metrics."
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Verdict
|
|
27
|
-
|
|
28
|
-
`pass_with_limitations`
|
|
29
|
-
|
|
30
|
-
The benchmark reproduces the expected arithmetic calculation for the synthetic
|
|
31
|
-
context-reduction example.
|
|
32
|
-
|
|
33
|
-
## Interpretation
|
|
34
|
-
|
|
35
|
-
This result shows that the public synthetic package is executable and that its
|
|
36
|
-
stored metric inputs reproduce the documented reduction value.
|
|
37
|
-
|
|
38
|
-
It does not show:
|
|
39
|
-
|
|
40
|
-
- semantic completeness;
|
|
41
|
-
- external validity;
|
|
42
|
-
- real-world task performance;
|
|
43
|
-
- agent safety;
|
|
44
|
-
- superiority over other methods.
|
|
45
|
-
|
|
46
|
-
## Next Improvements
|
|
47
|
-
|
|
48
|
-
- Add more synthetic tasks.
|
|
49
|
-
- Add deterministic context-unit counting.
|
|
50
|
-
- Add semantic-completeness review rubrics.
|
|
51
|
-
- Add negative examples.
|
|
52
|
-
- Add a benchmark runner that writes machine-readable result files.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Compact Context Pack: Notifications After Approval
|
|
2
|
-
|
|
3
|
-
Task: prepare implementation context for sending notifications after content
|
|
4
|
-
approval.
|
|
5
|
-
|
|
6
|
-
## Required Objects
|
|
7
|
-
|
|
8
|
-
- `pkg.content_workflow`: owns draft/review/approved/published states and
|
|
9
|
-
records transition metadata.
|
|
10
|
-
- `feature.workflow_transition`: stores actor, timestamp, previous state, next
|
|
11
|
-
state and reason.
|
|
12
|
-
- `pkg.audit_events`: stores append-only event records for workflow
|
|
13
|
-
transitions.
|
|
14
|
-
- `constraint.audit_before_notify`: notification must wait until the triggering
|
|
15
|
-
workflow event has been audited.
|
|
16
|
-
- `pkg.notification_delivery`: sends email/webhook messages for important
|
|
17
|
-
workflow events.
|
|
18
|
-
- `feature.scoped_api_token`: delivery workers must use scoped tokens.
|
|
19
|
-
- `risk.duplicate_notifications`: retries must not duplicate notifications for
|
|
20
|
-
the same transition.
|
|
21
|
-
|
|
22
|
-
## Implementation Boundary
|
|
23
|
-
|
|
24
|
-
Do not implement notification delivery as an isolated package decision. The
|
|
25
|
-
feature crosses content workflow, audit events and identity/access.
|
|
26
|
-
|
|
27
|
-
## Review Gates
|
|
28
|
-
|
|
29
|
-
- Audit persistence before notification enqueue.
|
|
30
|
-
- Scoped token usage for workers.
|
|
31
|
-
- Idempotency key or correlation identifier for retry handling.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "gate_result.synthetic_context_reduction_v0.public_safety",
|
|
4
|
-
"gate_id": "gate.public_safety",
|
|
5
|
-
"target_id": "package.synthetic_context_reduction_v0",
|
|
6
|
-
"verdict": "pass_with_notes",
|
|
7
|
-
"summary": "The benchmark is synthetic and public-safe, but it supports method inspection only.",
|
|
8
|
-
"evidence": ["source.identity_access", "source.content_workflow", "source.audit_events", "source.notification_delivery"],
|
|
9
|
-
"reviewed_at": "2026-05-28",
|
|
10
|
-
"reviewer": "Mirai Graph maintainers"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "source.identity_access",
|
|
4
|
-
"kind": "evidence",
|
|
5
|
-
"title": "Identity access source note",
|
|
6
|
-
"summary": "Synthetic source note describing account registration, role assignment and scoped API tokens.",
|
|
7
|
-
"readiness": "accepted",
|
|
8
|
-
"evidence": [],
|
|
9
|
-
"profile": "software_specification",
|
|
10
|
-
"source_path": "source-corpus/identity-access.md"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"id": "source.content_workflow",
|
|
14
|
-
"kind": "evidence",
|
|
15
|
-
"title": "Content workflow source note",
|
|
16
|
-
"summary": "Synthetic source note describing content review and approval workflow behavior.",
|
|
17
|
-
"readiness": "accepted",
|
|
18
|
-
"evidence": [],
|
|
19
|
-
"profile": "software_specification",
|
|
20
|
-
"source_path": "source-corpus/content-workflow.md"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "source.audit_events",
|
|
24
|
-
"kind": "evidence",
|
|
25
|
-
"title": "Audit events source note",
|
|
26
|
-
"summary": "Synthetic source note describing audit recording expectations.",
|
|
27
|
-
"readiness": "accepted",
|
|
28
|
-
"evidence": [],
|
|
29
|
-
"profile": "software_specification",
|
|
30
|
-
"source_path": "source-corpus/audit-events.md"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"id": "source.notification_delivery",
|
|
34
|
-
"kind": "evidence",
|
|
35
|
-
"title": "Notification delivery source note",
|
|
36
|
-
"summary": "Synthetic source note describing notification workers, scoped tokens and delivery risks.",
|
|
37
|
-
"readiness": "accepted",
|
|
38
|
-
"evidence": [],
|
|
39
|
-
"profile": "software_specification",
|
|
40
|
-
"source_path": "source-corpus/notification-delivery.md"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"id": "pkg.identity_access",
|
|
44
|
-
"kind": "package",
|
|
45
|
-
"title": "Identity And Access",
|
|
46
|
-
"summary": "Synthetic package responsible for identities, roles and scoped API tokens.",
|
|
47
|
-
"readiness": "draft",
|
|
48
|
-
"evidence": ["source.identity_access"],
|
|
49
|
-
"profile": "software_specification"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"id": "pkg.content_workflow",
|
|
53
|
-
"kind": "package",
|
|
54
|
-
"title": "Content Workflow",
|
|
55
|
-
"summary": "Synthetic package responsible for review and approval workflow transitions.",
|
|
56
|
-
"readiness": "draft",
|
|
57
|
-
"evidence": ["source.content_workflow"],
|
|
58
|
-
"profile": "software_specification"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"id": "pkg.audit_events",
|
|
62
|
-
"kind": "package",
|
|
63
|
-
"title": "Audit Events",
|
|
64
|
-
"summary": "Synthetic package responsible for recording audit events.",
|
|
65
|
-
"readiness": "draft",
|
|
66
|
-
"evidence": ["source.audit_events"],
|
|
67
|
-
"profile": "software_specification"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "pkg.notification_delivery",
|
|
71
|
-
"kind": "package",
|
|
72
|
-
"title": "Notification Delivery",
|
|
73
|
-
"summary": "Synthetic package responsible for sending notifications after workflow events.",
|
|
74
|
-
"readiness": "draft",
|
|
75
|
-
"evidence": ["source.notification_delivery"],
|
|
76
|
-
"profile": "software_specification"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"id": "feature.workflow_transition",
|
|
80
|
-
"kind": "feature",
|
|
81
|
-
"title": "Workflow Transition",
|
|
82
|
-
"summary": "A content workflow transition that can trigger downstream behavior.",
|
|
83
|
-
"readiness": "review_ready",
|
|
84
|
-
"evidence": ["source.content_workflow"],
|
|
85
|
-
"profile": "software_specification"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"id": "feature.scoped_api_token",
|
|
89
|
-
"kind": "feature",
|
|
90
|
-
"title": "Scoped API Token",
|
|
91
|
-
"summary": "A scoped token used by delivery workers when acting on workflow events.",
|
|
92
|
-
"readiness": "review_ready",
|
|
93
|
-
"evidence": ["source.identity_access", "source.notification_delivery"],
|
|
94
|
-
"profile": "software_specification"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"id": "constraint.audit_before_notify",
|
|
98
|
-
"kind": "constraint",
|
|
99
|
-
"title": "Audit Before Notify",
|
|
100
|
-
"summary": "A notification should not be sent before the approval transition is recorded in the audit log.",
|
|
101
|
-
"readiness": "blocked",
|
|
102
|
-
"evidence": ["source.content_workflow", "source.notification_delivery"],
|
|
103
|
-
"profile": "software_specification"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"id": "risk.duplicate_notifications",
|
|
107
|
-
"kind": "risk",
|
|
108
|
-
"title": "Duplicate Notifications",
|
|
109
|
-
"summary": "Retry behavior may create duplicate notifications if idempotency is not defined.",
|
|
110
|
-
"readiness": "draft",
|
|
111
|
-
"evidence": ["source.notification_delivery"],
|
|
112
|
-
"profile": "software_specification"
|
|
113
|
-
}
|
|
114
|
-
]
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "relation.pkg.content_workflow.implements.feature.workflow_transition",
|
|
4
|
-
"source": "pkg.content_workflow",
|
|
5
|
-
"type": "implements",
|
|
6
|
-
"target": "feature.workflow_transition",
|
|
7
|
-
"readiness": "draft",
|
|
8
|
-
"evidence": ["source.content_workflow"],
|
|
9
|
-
"profile": "software_specification"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"id": "relation.pkg.identity_access.implements.feature.scoped_api_token",
|
|
13
|
-
"source": "pkg.identity_access",
|
|
14
|
-
"type": "implements",
|
|
15
|
-
"target": "feature.scoped_api_token",
|
|
16
|
-
"readiness": "draft",
|
|
17
|
-
"evidence": ["source.identity_access"],
|
|
18
|
-
"profile": "software_specification"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"id": "relation.pkg.notification_delivery.depends_on.feature.scoped_api_token",
|
|
22
|
-
"source": "pkg.notification_delivery",
|
|
23
|
-
"type": "depends_on",
|
|
24
|
-
"target": "feature.scoped_api_token",
|
|
25
|
-
"readiness": "draft",
|
|
26
|
-
"evidence": ["source.notification_delivery"],
|
|
27
|
-
"profile": "software_specification"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"id": "relation.pkg.audit_events.evidences.feature.workflow_transition",
|
|
31
|
-
"source": "pkg.audit_events",
|
|
32
|
-
"type": "evidences",
|
|
33
|
-
"target": "feature.workflow_transition",
|
|
34
|
-
"readiness": "draft",
|
|
35
|
-
"evidence": ["source.audit_events", "source.content_workflow"],
|
|
36
|
-
"profile": "software_specification"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"id": "relation.pkg.notification_delivery.blocks.constraint.audit_before_notify",
|
|
40
|
-
"source": "pkg.notification_delivery",
|
|
41
|
-
"type": "blocks",
|
|
42
|
-
"target": "constraint.audit_before_notify",
|
|
43
|
-
"readiness": "draft",
|
|
44
|
-
"evidence": ["source.notification_delivery"],
|
|
45
|
-
"profile": "software_specification"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "relation.constraint.audit_before_notify.depends_on.pkg.audit_events",
|
|
49
|
-
"source": "constraint.audit_before_notify",
|
|
50
|
-
"type": "depends_on",
|
|
51
|
-
"target": "pkg.audit_events",
|
|
52
|
-
"readiness": "draft",
|
|
53
|
-
"evidence": ["source.content_workflow", "source.notification_delivery"],
|
|
54
|
-
"profile": "software_specification"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"id": "relation.feature.workflow_transition.generates.pkg.notification_delivery",
|
|
58
|
-
"source": "feature.workflow_transition",
|
|
59
|
-
"type": "generates",
|
|
60
|
-
"target": "pkg.notification_delivery",
|
|
61
|
-
"readiness": "draft",
|
|
62
|
-
"evidence": ["source.content_workflow"],
|
|
63
|
-
"profile": "software_specification"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"id": "relation.pkg.notification_delivery.related_to.risk.duplicate_notifications",
|
|
67
|
-
"source": "pkg.notification_delivery",
|
|
68
|
-
"type": "related_to",
|
|
69
|
-
"target": "risk.duplicate_notifications",
|
|
70
|
-
"readiness": "draft",
|
|
71
|
-
"evidence": ["source.notification_delivery"],
|
|
72
|
-
"profile": "software_specification"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://mirai-graph.dev/schemas/graph-manifest.schema.json",
|
|
3
|
-
"format": "mirai-graph",
|
|
4
|
-
"schema_version": "2.0.0",
|
|
5
|
-
"id": "package.synthetic_context_reduction_v0",
|
|
6
|
-
"aliases": [],
|
|
7
|
-
"title": "Synthetic Context-Reduction Benchmark v0",
|
|
8
|
-
"scope": "package",
|
|
9
|
-
"kind": "graph_package",
|
|
10
|
-
"owner": "mirai-graph",
|
|
11
|
-
"profiles": [
|
|
12
|
-
"software_specification"
|
|
13
|
-
],
|
|
14
|
-
"graph": {
|
|
15
|
-
"root": "graph",
|
|
16
|
-
"source_of_truth": [
|
|
17
|
-
"graph"
|
|
18
|
-
],
|
|
19
|
-
"objects": [
|
|
20
|
-
"graph/objects.json"
|
|
21
|
-
],
|
|
22
|
-
"relations": [
|
|
23
|
-
"graph/relations.json"
|
|
24
|
-
],
|
|
25
|
-
"schemas": [],
|
|
26
|
-
"generated": [],
|
|
27
|
-
"raw_sources": [
|
|
28
|
-
"README.md"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"imports": [],
|
|
32
|
-
"version": "0.1.0",
|
|
33
|
-
"conformance_level": "level_1",
|
|
34
|
-
"description": "A public-safe synthetic benchmark for inspecting Mirai Graph context-selection structure.",
|
|
35
|
-
"license": "CC-BY-4.0",
|
|
36
|
-
"public_safety": "synthetic_public"
|
|
37
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"task_id": "task.notify_after_approval",
|
|
3
|
-
"metric_status": "illustrative_synthetic_example",
|
|
4
|
-
"baseline": {
|
|
5
|
-
"source_files": 4,
|
|
6
|
-
"estimated_context_units": 620
|
|
7
|
-
},
|
|
8
|
-
"graph_context": {
|
|
9
|
-
"objects": 7,
|
|
10
|
-
"relations": 8,
|
|
11
|
-
"estimated_context_units": 270
|
|
12
|
-
},
|
|
13
|
-
"calculation": {
|
|
14
|
-
"formula": "(baseline - graph_context) / baseline * 100",
|
|
15
|
-
"total_reduction_percent": 56.4516
|
|
16
|
-
},
|
|
17
|
-
"limitations": [
|
|
18
|
-
"Synthetic unit counts are illustrative.",
|
|
19
|
-
"This file demonstrates calculation format only.",
|
|
20
|
-
"Do not merge this synthetic metric with internal empirical metrics."
|
|
21
|
-
]
|
|
22
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": "0.1.0",
|
|
3
|
-
"id": "baseline_comparison.synthetic_notify_after_approval",
|
|
4
|
-
"public_safety": "synthetic_public",
|
|
5
|
-
"comparison_type": "baseline_vs_mirai_graph",
|
|
6
|
-
"task_id": "task.notify_after_approval",
|
|
7
|
-
"baseline": {
|
|
8
|
-
"mode": "baseline_documents_and_notes",
|
|
9
|
-
"context_units": 620,
|
|
10
|
-
"missed_dependencies": 2,
|
|
11
|
-
"unsupported_assumptions": 2,
|
|
12
|
-
"evidence_coverage_percent": 58,
|
|
13
|
-
"false_progress_claims": 1
|
|
14
|
-
},
|
|
15
|
-
"mirai_graph": {
|
|
16
|
-
"mode": "mirai_graph_context_pack_and_process_control",
|
|
17
|
-
"context_units": 270,
|
|
18
|
-
"missed_dependencies": 0,
|
|
19
|
-
"unsupported_assumptions": 0,
|
|
20
|
-
"evidence_coverage_percent": 92,
|
|
21
|
-
"false_progress_claims": 0
|
|
22
|
-
},
|
|
23
|
-
"outcome": {
|
|
24
|
-
"context_reduction_percent": 56.4516,
|
|
25
|
-
"improved_metrics": [
|
|
26
|
-
"context_units",
|
|
27
|
-
"missed_dependencies",
|
|
28
|
-
"unsupported_assumptions",
|
|
29
|
-
"evidence_coverage_percent",
|
|
30
|
-
"false_progress_claims"
|
|
31
|
-
],
|
|
32
|
-
"regressed_metrics": [],
|
|
33
|
-
"verdict": "synthetic_mirai_graph_result_stronger_with_limits"
|
|
34
|
-
},
|
|
35
|
-
"limitations": [
|
|
36
|
-
"Synthetic comparison demonstrates measurement shape, not broad scientific proof.",
|
|
37
|
-
"Metrics are fixed fixture values and require independent replication.",
|
|
38
|
-
"Passing validators do not prove semantic completeness."
|
|
39
|
-
],
|
|
40
|
-
"claim_boundary": "This result supports only a public-safe synthetic comparison claim for the alpha fixture."
|
|
41
|
-
}
|
|
42
|
-
|