migrate brownfield annotations to v2 shape#38
Conversation
Align brownfield route/client/producer annotations with the direction-honest v2 design, move Feign handling to outbound client extraction, and update docs/tests/fixtures to remove v1 Route annotation assumptions. Co-authored-by: Cursor <cursoragent@cursor.com>
Review: PR #38 — migrate brownfield annotations to v2 shapeVerdict: Approved ✅ Faithful, conservative implementation of the v2 propose. All 8 acceptance criteria met. The Feign-as-outbound migration — the riskiest part — is implemented with minimal blast radius (transient Scope discipline (out-of-scope checks)
Scope is clean — this is a pure annotation-shape migration without schema or new-tool work, exactly as the propose specified. Plan compliance — propose acceptance criteria
TestsIdentical to the master baseline. Manual evidence reproduced
Notes that earned my trust
Observations (non-blocking)
Plan deltas neededNone. The propose is implemented as written. The Out-of-Scope items (no Ready to merge. Next: PR #37 ( |
Add the directionality table to README, clarify pass6 Feign synthesis wording, and enforce enum-only parsing for client/producer kind annotations with regression tests for string-literal misuse. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
CodebaseHttpRoute/CodebaseAsyncRoute) and add enum-typed outbound stubs for client/producer kindsCodebaseRoute*assumptions and validate the new direction-honest behaviorTest plan
pytest tests/test_brownfield_routes.py tests/test_brownfield_clients.py tests/test_cross_service_resolution_flag.py -q --tb=lineruff check .pytest tests -q --tb=lineMade with Cursor