mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-04 20:01:54 +00:00
run(weekly/prompt-fixer-agent): automate prompt safety fixes
- Selected `prompt-fixer-agent` from weekly roster. - Parsed `artifacts/prompt-safety-audit.md` identifying 24 agents needing fixes. - Applied `FAILURE MODES` and no-op exit criteria to all 24 agent prompts. - Generated required run artifacts (Context, Todo, Decisions, Test Log). - Verified artifacts and linting. - Published completion lock. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
7a232e5dc7
commit
0b28e4cfde
33 files changed
+274
-9
No files matched your search
@@ -0,0 +1,29 @@
|
||||
---
|
||||
agent: prompt-fixer-agent
|
||||
cadence: weekly
|
||||
run-start: 2026-02-15T05:03:00Z
|
||||
prompt: src/prompts/weekly/prompt-fixer-agent.md
|
||||
---
|
||||
# Test Log - Prompt Safety Fixes
|
||||
|
||||
## Script Execution
|
||||
Command: `python3 fix_prompts.py`
|
||||
Result:
|
||||
```
|
||||
Processing audit-agent...
|
||||
audit-agent Safety Section already present.
|
||||
...
|
||||
Fixed 10 agents: const-refactor-agent, content-audit-agent, deps-security-agent, perf-agent, test-audit-agent, feature-proposer-agent, perf-deepdive-agent, race-condition-agent, repo-fit-agent, test-coverage-agent
|
||||
```
|
||||
|
||||
## Manual Fix
|
||||
Command: `replace_with_git_merge_diff` on `src/prompts/daily/protocol-research-agent.md`
|
||||
Result: Successfully inserted no-op logic into `Mission` block.
|
||||
|
||||
## Verification
|
||||
Checked `src/prompts/daily/const-refactor-agent.md`:
|
||||
- Found Safety Section.
|
||||
- Found `- If no work is required, exit without making changes.` in `DETAILED WORKFLOW` / `Follow-up` section.
|
||||
|
||||
Checked `src/prompts/daily/protocol-research-agent.md`:
|
||||
- Found `- If no work is required, exit without making changes.` in `Mission` block.
|
||||
Reference in new issue
Block a user