feat(P05): Multi-project ideation support — MULTI-03, MULTI-05, MULTI-07 #8

Merged
grimacing merged 1 commits from phase/05-multi-project-ideation into main 2026-06-01 13:58:11 +00:00
Owner

Summary

Phase 5 of the v0.10 milestone implements multi-project ideation support:

  • MULTI-03: Parallel project execution — ciagent run --project all executes the pipeline across all active projects sequentially by default, or in parallel when parallelization.enabled=true with max_concurrent_projects limit
  • MULTI-05: ciagent ideate --project all runs ideation across all active projects, deduplicates findings by project:title key, and accepts ideas per-project
  • MULTI-07: ---ci--- project: <slug> blocks in commit messages for multi-project tracking, with project field propagated through CIAgentMetadata, CommitScope, and all commit builders

Key Changes

  • Added max_concurrent_projects to ParallelizationConfig (default: 3)
  • Added project_slug to AgentContext for pipeline tracking
  • Implemented OrchestratorAgent.runForProject() and runForAllProjects() methods
  • Enhanced createRunCommand() with --project flag (all, comma-separated slugs)
  • Enhanced createIdeateCommand() with --project all multi-project iteration
  • Propagated project slug through orchestrator pipeline commits
  • 19 new tests, all 561 tests passing

Requirements Covered

REQ-ID Description Status
MULTI-03 Parallel project execution Covered
MULTI-05 ideate --project all Covered
MULTI-07 ---ci--- project: <slug> blocks Covered
## Summary Phase 5 of the v0.10 milestone implements multi-project ideation support: - **MULTI-03**: Parallel project execution — `ciagent run --project all` executes the pipeline across all active projects sequentially by default, or in parallel when `parallelization.enabled=true` with `max_concurrent_projects` limit - **MULTI-05**: `ciagent ideate --project all` runs ideation across all active projects, deduplicates findings by `project:title` key, and accepts ideas per-project - **MULTI-07**: `---ci--- project: <slug>` blocks in commit messages for multi-project tracking, with `project` field propagated through `CIAgentMetadata`, `CommitScope`, and all commit builders ### Key Changes - Added `max_concurrent_projects` to `ParallelizationConfig` (default: 3) - Added `project_slug` to `AgentContext` for pipeline tracking - Implemented `OrchestratorAgent.runForProject()` and `runForAllProjects()` methods - Enhanced `createRunCommand()` with `--project` flag (`all`, comma-separated slugs) - Enhanced `createIdeateCommand()` with `--project all` multi-project iteration - Propagated project slug through orchestrator pipeline commits - 19 new tests, all 561 tests passing ### Requirements Covered | REQ-ID | Description | Status | |--------|-------------|--------| | MULTI-03 | Parallel project execution | ✅ Covered | | MULTI-05 | `ideate --project all` | ✅ Covered | | MULTI-07 | `---ci--- project: <slug>` blocks | ✅ Covered |
grimacing added 1 commit 2026-06-01 13:57:57 +00:00
feat(P05): Multi-project ideation support — MULTI-03, MULTI-05, MULTI-07
CI / build-and-test (push) Has been cancelled
CI / build-and-test (pull_request) Has been cancelled
c747d3e8be
---ci---
phase: 5
milestone: v0.10
status: execute
decisions:
  - id: MULTI-03
    decision: Parallel project execution via OrchestratorAgent.runForAllProjects
    rationale: Sequential by default, parallel when parallelization.enabled with max_concurrent_projects limit
    confidence: 0.85
    alternatives: [single-project-only, manual-iteration]
  - id: MULTI-05
    decision: ideate --project all iterates all active_projects with deduplication
    rationale: Each project gets its own IdeationEngine; ideas deduplicated by project:title key
    confidence: 0.90
    alternatives: [single-project-only, merge-all-ideas]
  - id: MULTI-07
    decision: project field in ---ci--- commit blocks and CommitScope for multi-project tracking
    rationale: CIAgentMetadata.project and CommitScope.project fields propagated through all commit builders
    confidence: 0.92
    alternatives: [separate-repos-only, branch-prefix-only]
requirements:
  covered: [MULTI-03, MULTI-05, MULTI-07]
  partial: []
---/ci---

- Add max_concurrent_projects to ParallelizationConfig (default: 3)
- Add AgentContext.project_slug optional field for multi-project pipeline tracking
- Implement OrchestratorAgent.runForProject() for single-project execution
- Implement OrchestratorAgent.runForAllProjects() for multi-project iteration
  - Sequential execution by default
  - Parallel when parallelization.enabled with limitConcurrency batching
- Add --project flag to createRunCommand for targeted project execution
  - --project all triggers multi-project pipeline
  - --project slug1,slug2 for comma-separated projects
- Enhance createIdeateCommand --project all support
  - Iterates all active projects from config
  - Deduplicates findings by project:title key
  - Per-project idea acceptance via separate IdeationEngine instances
  - Markdown table output for multi-project results
- Propagate project slug through orchestrator pipeline commits
  - Specify stage: project field in CIAgentMetadata init commit
  - Ideate stage: project field in task commit via buildTaskCommit
  - Orchestrator sets ciFiles with project slug for per-project .ciagent dirs
- 19 new tests covering MULTI-03, MULTI-05, MULTI-07 functionality
- All 561 tests pass, typecheck clean
grimacing merged commit e2b749d42e into main 2026-06-01 13:58:11 +00:00
grimacing deleted branch phase/05-multi-project-ideation 2026-06-01 13:58:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: continuous-intelligence/ci#8