Skip to content

docs(specs): update phase2 design doc post PR #1402 merge#1413

Merged
kaizhou-lab merged 1 commit intomainfrom
zynx/docs/phase2-spec-update
Mar 18, 2026
Merged

docs(specs): update phase2 design doc post PR #1402 merge#1413
kaizhou-lab merged 1 commit intomainfrom
zynx/docs/phase2-spec-update

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 18, 2026

Summary

  • Mark Phase 1 (PR refactor: decouple main process modules via interfaces and constructor injection #1402) as merged in header; update branch name to phase2-specific
  • Add two missing coupling entries to the Remaining Coupling table: applicationBridge.ts and conversationBridge.ts line 125
  • PR-A: extend IConversationRepository with listAllConversations(); document fix for conversationBridge line 125 residual coupling
  • PR-B: add applicationBridge.ts decoupling (same injection pattern as other bridges)
  • PR-F: document that src/channels/actions/SystemActions.ts and src/channels/gateway/ActionExecutor.ts also need migration
  • Testing Strategy: add Test Quality Rules section (behavior-first naming, failure-path coverage, risk-first ordering); annotate all failure paths with [failure path]; reorder CronService test scenarios by risk priority

Test plan

  • Doc-only change — no code modified, no tests required
  • Verify rendered Markdown looks correct on GitHub

- Mark PR #1402 as merged in header metadata
- Update branch name to phase2-specific branch
- Add two missing coupling entries: applicationBridge and conversationBridge line 125
- PR-A: add listAllConversations to IConversationRepository interface; fix conversationBridge line 125
- PR-B: add applicationBridge.ts decoupling with same injection pattern
- PR-F: document channels layer migration targets (SystemActions, ActionExecutor)
- Testing: add Test Quality Rules section with behavior-first, risk-first guidelines
- Testing: annotate all failure paths with [failure path], reorder CronService tests by risk
- Testing: add conversationBridge and applicationBridge to coverage targets
@kaizhou-lab kaizhou-lab merged commit 9ac1532 into main Mar 18, 2026
4 checks passed
@piorpua piorpua deleted the zynx/docs/phase2-spec-update branch March 18, 2026 11:52
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.

2 participants