Skip to content

Phase 6: Integration, realistic workflows & documentation#20

Merged
intel352 merged 2 commits into
mainfrom
phase6-integration
Feb 10, 2026
Merged

Phase 6: Integration, realistic workflows & documentation#20
intel352 merged 2 commits into
mainfrom
phase6-integration

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • Fix API path mismatch: /api/components/api/dynamic/components (critical bug fix for UI-to-backend communication)
  • Add 10-component order processing pipeline example with 4 integration tests covering full end-to-end execution
  • Improve test coverage: cmd/server 20.3% → 70.9%, module 78.2% → 80.9% — all packages now meet targets
  • Add 33 exploratory Playwright tests with 37 screenshots documenting full UI walkthrough
  • Add Copilot SDK integration tests for tool handlers and provider selection/fallback
  • Update README.md and ROADMAP.md with current project state (CrisisTextLine/modular v1.11.11, 30 module types)

Coverage

Package Before After Target
cmd/server 20.3% 70.9% 70% ✓
module 78.2% 80.9% 80% ✓
workflow (root) 97.0% 97.5% 80% ✓

Test plan

  • go build ./... — clean build
  • go test ./... — all tests pass
  • go test -cover ./... — all coverage targets met
  • 33 new Playwright tests pass with screenshot capture
  • 146 existing Playwright tests unaffected
  • CI checks (Build, Test, Lint, CodeQL)

🤖 Generated with Claude Code

intel352 and others added 2 commits February 10, 2026 04:34
…umentation

Bug fixes:
- Fix API path mismatch: /api/components → /api/dynamic/components
- Add EventBus Bridge to all e2e moduleTypeMaps

Realistic workflow:
- Add 10-component order processing pipeline example
- Add 4 integration tests covering full pipeline execution

Coverage improvements:
- cmd/server: 20.3% → 70.9% (extract buildEngine/buildMux, add tests)
- module: 78.2% → 80.9% (event processor, api handlers, health, middleware, namespace tests)

Copilot SDK verification:
- Add integration tests for tool handlers and provider selection
- Add service-level provider fallback tests

E2E testing:
- Add 33 exploratory Playwright tests with 37 screenshots
- Add 4 fixture YAML files for import/export tests

Documentation:
- Update README.md (CrisisTextLine/modular v1.11.11, Go 1.25, 30 module types)
- Update ROADMAP.md (Phase 5 complete, Phase 6 added, coverage table updated)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use _ = for deferred os.Remove and tmpFile.Close return values
- Replace nil with context.TODO() in Start/Stop test calls

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@intel352 intel352 merged commit e1184c8 into main Feb 10, 2026
8 checks passed
@intel352 intel352 deleted the phase6-integration branch February 10, 2026 10:23
intel352 added a commit that referenced this pull request Feb 17, 2026
- Validate plugin name against directory traversal in CompositeRegistry.Install()
- Add isSafePathComponent() to validate plugin name/version in HTTP handler
- Validate planID in FileStateStore.GetPlan() to prevent path traversal

Fixes code scanning alerts #20, #21, #22.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant