Process Feature Request/Response
Read and process a feature request or response from another dot-ai project.
Process
- •Check for
tmp/feature-request.md(incoming request from another project) - •If not found, check for
tmp/feature-response.md(response to a request we made) - •If neither exists, tell the user there's nothing pending
For Incoming Request (feature-request.md)
- •Present the request to the user and confirm they want to proceed
- •Implement the requested feature
- •Write a response file to the requesting project (path specified in the request)
- •Delete the feature-request.md file after implementation is complete
For Response (feature-response.md)
- •Read and present the response
- •Use the information to continue integrating the feature
- •Delete the feature-response.md file after integration is complete
Response File Format (for incoming requests only)
markdown
# Feature Response from [THIS_PROJECT] ## What Was Implemented [Brief description of what was built] ## How to Use It [API signatures, endpoints, types, parameters] ## Examples [Code examples showing how to call/use the feature] ## Notes [Any caveats, limitations, or additional context]
Guidelines
- •Read and understand the full request/response before proceeding
- •For requests: use your judgment on the best approach
- •Write clear documentation in responses so the requesting project can integrate easily