Merge pull request #160 from PR0M3TH3AN/agents/weekly/prompt-fixer-agent-11447881649532663983

Weekly Run: prompt-fixer-agent
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-15 10:12:07 -05:00
commit fddd9ce494
33 files changed
+274 -9

No files matched your search

@@ -0,0 +1,22 @@
---
agent: prompt-fixer-agent
cadence: weekly
run-start: 2026-02-15T05:03:00Z
prompt: src/prompts/weekly/prompt-fixer-agent.md
---
# Decisions - Prompt Safety Fixes
## Decision: Automation Strategy
- Used a Python script (`fix_prompts.py`) to parse the audit report and apply fixes.
- This ensures consistency and reduces manual error for 24 files.
## Rationale
- **Failure Modes**: Appended to the end of the file (or before `OUTPUTS` if present).
- **No-op Logic**: Inserted into `MISSION`, `WORKFLOW`, or `GOALS` sections. The script looks for these headers and inserts the line `- If no work is required, exit without making changes.` at the end of the section (before the next header).
## Manual Intervention
- `protocol-research-agent.md` required manual intervention because the script failed to identify a suitable insertion point with the initial logic (though updated logic might have worked, manual fix was safer and faster).
## Verification
- Verified that `const-refactor-agent.md` contains the new sections.
- Verified that `protocol-research-agent.md` contains the new no-op logic.