Skip to content

[Question] How to integrate automated testing and bug fixing into Custom Workflows? #693

@ganchuanman

Description

@ganchuanman

Hi OpenSpec team,

Thanks for providing such an amazing tool! I have a few questions regarding Custom Workflows in OpenSpec and would appreciate your guidance.

📝 Context We are currently using OpenSpec to build custom workflows. Since our target code runs on mobile devices, we are looking to establish an automated development-test-feedback loop using a multi-agent approach. Specifically, our plan is to:

Integrate mobile operation agents to execute test cases directly on the device.

Utilize visual understanding (Vision-Language Models) for UI validation to detect visual or functional bugs.

Feed the error context (logs and visual feedback) back to a coding agent (e.g., Claude Code) to autonomously generate and apply bug fixes.

❓ Questions

Automated Testing Integration: Are there recommended best practices or native support within OpenSpec to trigger external mobile testing agents (e.g., after a specific build/deploy node)?

Multi-Agent Bug Fixing Loop: How can we best orchestrate this feedback loop (Testing Agent -> Visual Validation -> Code Agent) within the platform? Is it possible to feed test failure messages and visual context back to an AI node or a specific script to generate a patch and automatically apply it?

💻 Environment (Optional, delete if not needed)

OpenSpec Version: 1.1.1

Target Platform: product run on Mobile (Android/iOS)

OS: develop on macos

This is a hypothetical workflow I've envisioned, but I'm unsure if it's feasible at present.
Image

Looking forward to your reply! If this functionality is not currently supported, we would be very happy to propose it as a Feature Request. Thanks in advance for your time and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions