Skip to content

feat: add role-aware collaboration and thinking patterns (v1.3)#5

Merged
raysonmeng merged 1 commit intomasterfrom
feat/role-patterns
Mar 24, 2026
Merged

feat: add role-aware collaboration and thinking patterns (v1.3)#5
raysonmeng merged 1 commit intomasterfrom
feat/role-patterns

Conversation

@raysonmeng
Copy link
Owner

Summary

  • Add default role contract: Claude (Reviewer/Planner) + Codex (Implementer/Executor)
  • Add task-driven thinking patterns in Claude instructions
  • Expand bridge contract reminder with Codex role guidance
  • Encourage independent analysis and explicit collaboration language

Files changed

  • src/claude-adapter.ts — role and thinking pattern instructions
  • src/message-filter.ts — expanded contract reminder with Codex role guidance
  • src/role-patterns.test.ts — 2 tests verifying role keywords in instructions and contract

Author

Codex (OpenAI) — reviewed by Claude

Test plan

  • All existing tests pass
  • 2 new role-patterns tests pass
  • TypeScript type check passes

🤖 Generated with Claude Code + Codex

- Claude instructions: default roles, thinking patterns, collaboration language
- Contract reminder: Codex role guidance, challenge with evidence, explicit phrases
- Tests: verify instructions and contract contain role keywords

Co-Authored-By: Codex (OpenAI) <noreply@openai.com>
@raysonmeng raysonmeng merged commit bd57179 into master Mar 24, 2026
@raysonmeng raysonmeng deleted the feat/role-patterns branch March 24, 2026 20:40
raysonmeng pushed a commit that referenced this pull request Mar 26, 2026
- Replace node with bun in package.json scripts and shebang (#1)
- Fix init.md: init is best-effort plugin install, dev handles marketplace (#2)
- Set executable permission on health-check.sh (#4)
- Add squash merge rule to init.md collaboration template (#5)
- Update plugin README to describe dual-mode transport (#6)

Cross-reviewed: Claude ↔ Codex

Co-Authored-By: Claude Opus 4.6 (1M context) <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