fix: resolve integration issues after phase branch merges

- Register errandProcedures in appRouter (was defined but never spread)
- Fix nullable projectId guard in errand delete/abandon procedures
- Add sendUserMessage stub to MockAgentManager in headquarters and
  radar-procedures tests (AgentManager interface gained this method)
- Add missing qualityReview field to Initiative fixture in file-io test
  (schema gained this column from the quality-review phase)
- Cast conflictFiles access in CLI errand resolve command

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas May
2026-03-06 22:16:53 +01:00
parent 0211cdb8a6
commit 753b2e9fb8
6 changed files with 22 additions and 13 deletions

View File

@@ -52,6 +52,7 @@ describe('writeInputFiles', () => {
status: 'active',
branch: 'cw/test-initiative',
executionMode: 'review_per_phase',
qualityReview: false,
createdAt: new Date('2026-01-01'),
updatedAt: new Date('2026-01-02'),
};