Skip to content

feat(demos/migration): reorganize into use-cases/ + add general talk track with variants#126

Open
devin-ai-integration[bot] wants to merge 2 commits into
devin/1780958566-demos-reorganizationfrom
devin/1780963537-migration-demos-reorg
Open

feat(demos/migration): reorganize into use-cases/ + add general talk track with variants#126
devin-ai-integration[bot] wants to merge 2 commits into
devin/1780958566-demos-reorganizationfrom
devin/1780963537-migration-demos-reorg

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Restructures demos/migration/ to separate the specific MuleSoft worked example from a new general-purpose migration talk track:

  1. use-cases/ subdirectory — existing mulesoft-to-spring-boot-demo.md moved here via git mv
  2. general.md (Cloud variant) — coarse-grained framework/API migration demo covering the universal orient → convert → verify → fan-out pattern, contract verification loop, sample prompts, and scaling via playbooks + child sessions
  3. general.platform.md (Desktop + Cloud variant) — same content reframed for Desktop as orchestration layer: Cascade for local exploration, delegate to Cloud, Agent Command Center Kanban for parallel monitoring, one-click PR checkout for review, Spaces for workstream organization

Both general docs reference the MuleSoft use-case as a worked example and cross-link to each other as variant alternates.

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/8f7ada01b7364c6092787929e328203a
Requested by: @bsmitches


Open in Devin Review

…track with variants

- Move mulesoft-to-spring-boot-demo.md into use-cases/ subdirectory
- Add general.md: Cloud-only coarse-grained migration talk track
  (orient/convert/verify/fan-out universal pattern)
- Add general.platform.md: Desktop + Cloud variant using Cascade,
  Agent Command Center, Spaces, and one-click PR checkout
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 6 potential issues.

View 2 additional findings in Devin Review.

Open in Devin Review

Comment thread demos/migration/general.md
Comment thread demos/migration/general.md Outdated
Comment thread demos/migration/general.platform.md Outdated
Comment thread demos/migration/general.platform.md Outdated
<a id="the-pattern"></a>
## The Pattern

Every framework migration follows the same five-step sequence, regardless of

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Uses of "every" in procedural descriptions are borderline but acceptable

Both new files use "every" in several places: general.md:21 ("Every framework migration follows the same five-step sequence"), general.md:130 ("Every subsequent conversion follows this playbook"), general.platform.md:145 ("Every subsequent Cloud session follows this playbook"), general.platform.md:156 ("every child session's status"). REVIEW.md flags overstatement language ("every", "all", "always") specifically "when describing probabilistic tools like DeepWiki or AI analysis." These uses describe the demo methodology/procedure itself rather than AI analysis output quality or coverage, so they don't clearly trigger the rule. However, since the migration IS performed by an AI agent, a strict reading could argue these overstate what Devin reliably does. Worth a reviewer judgment call.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +19 to +55
## The Pattern

Every framework migration follows the same five-step sequence, regardless of
source or target technology:

### 1. Orient

Devin reads the legacy codebase, maps endpoints/flows/components, and identifies
framework-specific constructs. It builds an internal model of the API surface:
route paths, request/response schemas, middleware, data access patterns, and
authentication flows.

### 2. Convert one unit live

Translate one endpoint, controller, or component to the target framework —
complete with tests. This first conversion establishes the mapping between old
and new: naming conventions, dependency injection style, error handling idioms,
and DTO patterns.

### 3. Contract verification

Tests run against an API specification (OpenAPI, WSDL, or contract tests) to
prove behavioral parity. The spec is the source of truth — endpoint existence,
request/response schemas, HTTP status codes, and error formats must match.

### 4. Catch divergences

When contract tests fail, Devin investigates the source, identifies the gap
between legacy behavior and the new implementation, and fixes it. This loop
repeats until the converted unit passes all contract checks.

### 5. Fan out in parallel

Child sessions convert remaining units concurrently using the proven playbook
from steps 1–4. Each child works independently — its own VM, its own branch, its
own PR — following the same conversion procedure.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Substantial preamble before first executable prompt

The demos/AGENTS.md rule says demo docs should "Lead straight into the guide with prompts and user instructions. Keep preamble minimal — no long orientation before the first step." In general.md, the first paste-into-Devin prompt doesn't appear until line 95, after two full conceptual sections ("The Pattern" with 5 subsections and "The Verification Loop"). Similarly, general.platform.md reaches its first prompt at line 94. However, since these are general pattern documents (not specific use-case walkthroughs), the conceptual framing may be justified — the reader needs to understand the universal pattern before seeing templated prompts with placeholders. The MuleSoft-specific use-case doc is the concrete walkthrough. This is a judgment call for the reviewer.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

- Update broken links in catalog/repos.md (old path → use-cases/ path)
- Remove 'open its own PR' from prompts (violates repo rule)
- Replace 'guarantees' with 'approach' (overstatement language)
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