You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "=== Processing user feedback for LLM files ==="
257
+
echo "Feedback received: $FEEDBACK_TEXT"
258
+
259
+
cursor-agent -p "You are processing user feedback about LLM summary files in a GitHub Actions runner.
260
+
261
+
IMPORTANT: Do NOT create branches, commit, push, or post PR comments. Only modify files in the working directory as needed. A later workflow step is responsible for publishing changes.
262
+
263
+
# Context:
264
+
- Repo: ${{ github.repository }}
265
+
- PR Number: $PR_NUMBER
266
+
- User Feedback: $FEEDBACK_TEXT
267
+
268
+
# Your Task:
269
+
Based on the user feedback, update the appropriate llms.txt and llms-full.txt files in the docs subdirectories.
270
+
271
+
# Step-by-Step Process (print each step as you do it):
272
+
1. Print 'STEP 1: Analyzing user feedback'
273
+
2. Print 'STEP 2: Getting current PR diff to understand context'
274
+
3. Get PR changes: \`gh pr diff $PR_NUMBER\`
275
+
4. Print 'STEP 3: Identifying which subdirectories need updates based on feedback'
276
+
5. For each relevant subdirectory:
277
+
a. Print 'STEP 4a: Reading current docs/[subdirectory]/llms.txt'
278
+
b. Print 'STEP 4b: Reading current docs/[subdirectory]/llms-full.txt'
279
+
c. Print 'STEP 4c: Applying user feedback to [subdirectory] files'
280
+
d. Update the files based on the specific feedback provided
281
+
6. Print 'STEP 5: Feedback processing complete'
282
+
7. Print 'FEEDBACK_PROCESSED' and exit
283
+
284
+
# File Requirements:
285
+
- Only modify docs/[subdirectory]/llms.txt and docs/[subdirectory]/llms-full.txt files
286
+
- Apply the specific changes requested in the user feedback
287
+
- Maintain existing format and style while incorporating feedback
288
+
- Focus on the areas specifically mentioned in the feedback
289
+
290
+
# Critical Restrictions:
291
+
- NO git operations (no commit, push, branch creation)
0 commit comments