Skip to content

Conversation

@manuelkiessling
Copy link
Member

@manuelkiessling manuelkiessling commented Feb 9, 2026

Summary

  • Introduces a new AgenticContentEditing vertical that provides a clean hexagonal port/adapter abstraction over the content editing agent subsystem, allowing the Cursor CLI agent and the existing NeuronAI-based agent to be used interchangeably.
  • Replaces the leaky integration approach from the feat/cursor-agent-integration PoC with proper vertical boundaries: shared DTOs in neutral ground, adapter SPI for backend implementations, and zero backend-specific branching in consumers.
  • Key patterns: opaque session state pass-through, normalized tool_calling/tool_called/tool_error event kinds, and per-project backend configurability with deliberate transparency.

The architectural plan document (docs/agentic-content-editing-abstraction-plan.md) captures the design rationale and migration phases.

Test plan

  • Architecture tests pass with the new vertical boundary
  • Existing LLM agent flow works unchanged through the new facade
  • Cursor CLI agent flow works through the new adapter SPI
  • RunEditSessionHandler has no backend-specific branching
  • Frontend handles tool_error event kind
  • Backend session state round-trips correctly across conversation turns

manuelkiessling and others added 2 commits February 9, 2026 21:28
Introduces a hexagonal port/adapter design to cleanly integrate the
Cursor CLI agent alongside the existing NeuronAI-based agent, replacing
the leaky PoC on feat/cursor-agent-integration with a proper vertical
boundary.

Co-authored-by: Cursor <cursoragent@cursor.com>
Captures the original design intent and constraints that drove the plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
@manuelkiessling manuelkiessling changed the title Plan: AgenticContentEditing abstraction layer for Cursor CLI integration AgenticContentEditing abstraction layer for Cursor CLI integration Feb 9, 2026
@manuelkiessling manuelkiessling added the enhancement New feature or request label Feb 9, 2026
@manuelkiessling manuelkiessling marked this pull request as draft February 9, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants