2 Commits

Author SHA1 Message Date
wangdl
a14f490526 fix(M-AI-05): correct createJob return type — result.id not result.job.id
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 35s
Deploy API Server / current-integration (push) Successful in 3m2s
Deploy API Server / backward-compat (push) Successful in 17s
Deploy API Server / deploy (push) Successful in 1m2s
AiJobCreationService.createJob() returns AiJob entity directly,
not wrapped in { job: {...} }.

Build error: TS2339 Property 'job' does not exist on type AiJob.
Fixed: result.job.id → result.id (lines 135, 141).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-21 17:51:37 +08:00
wangdl
8987598eb8 feat(M-AI-05): track Feynman unified engine migration implementation
23 files (+4676/-10):
- Contract: m-ai-05-feynman-migration-contract.md (737 lines)
- Gate audit: m-ai-05-gate-audit.md (318 lines)
- Job Definition + Snapshot Builder + Registration
- Executor + BusinessValidator + ReferenceValidator
- Projector (atomic transaction + 3-layer idempotency)
- ExecutionRouter (FeatureFlag + idempotencyKey)
- ObservabilityService (structured logging + counters)
- Engine: feynman_evaluation execution branch
- AiJobCreationService: feynman_evaluation safety branch
- Controller/Module: Router injection
- CI: path detection for m-ai-05
- E2E: 8 HTTP-layer scenarios (14 total)
- Unit tests: 104 new tests (5 spec files)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-21 17:44:58 +08:00