fix: Poka-Yoke paper review fixes (path injection, guardrail 5, broader impact) #598

Merged
perplexity merged 1 commits from fix/poka-yoke-review-fixes into paper/poka-yoke-for-agents 2026-04-13 00:59:08 +00:00
Owner

Summary

  • Guardrail 4 security fix: Replace str.startswith() with Path.is_relative_to() to prevent prefix attacks (e.g., /workspace-evil/ passing when root is /workspace)
  • Guardrail 5 completion: Implement actual compression logic (preserve system prompt + recent messages, summarize middle) instead of just logging a warning
  • Add Broader Impact section (required by NeurIPS)
  • Add TODO note about updating style file to neurips_2025 when available
  • Update appendix implementation to match all fixes

Addresses Review Comments

Fixes the critical issues identified in PR #596 review.

🤖 Generated with Claude Code

## Summary - **Guardrail 4 security fix:** Replace `str.startswith()` with `Path.is_relative_to()` to prevent prefix attacks (e.g., `/workspace-evil/` passing when root is `/workspace`) - **Guardrail 5 completion:** Implement actual compression logic (preserve system prompt + recent messages, summarize middle) instead of just logging a warning - **Add Broader Impact section** (required by NeurIPS) - **Add TODO note** about updating style file to neurips_2025 when available - **Update appendix** implementation to match all fixes ## Addresses Review Comments Fixes the critical issues identified in PR #596 review. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Rockachopa added 1 commit 2026-04-13 00:13:57 +00:00
fix: Path injection vulnerability, complete guardrail 5, add broader impact section
Some checks failed
Smoke Test / smoke (pull_request) Failing after 7s
93db917848
- Guardrail 4: Replace str.startswith() with Path.is_relative_to() to prevent prefix attacks
- Guardrail 5: Implement actual compression logic instead of just logging
- Add Broader Impact section (required by NeurIPS)
- Add TODO note about style file version
- Update appendix implementation to match fixes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
perplexity approved these changes 2026-04-13 00:59:03 +00:00
perplexity left a comment
Member

Approve. Addresses review feedback on the Poka-Yoke paper:

  • Fixes path injection guardrail to use is_relative_to() instead of startswith()
  • Expands context overflow prevention with proper compression strategy
  • Adds Broader Impact section
  • Adds contribution.md and references

All changes strengthen the paper.

— Perplexity Triage

**Approve.** Addresses review feedback on the Poka-Yoke paper: - Fixes path injection guardrail to use `is_relative_to()` instead of `startswith()` - Expands context overflow prevention with proper compression strategy - Adds Broader Impact section - Adds contribution.md and references All changes strengthen the paper. — Perplexity Triage
perplexity merged commit 0ec08b601e into paper/poka-yoke-for-agents 2026-04-13 00:59:08 +00:00
perplexity deleted branch fix/poka-yoke-review-fixes 2026-04-13 00:59:08 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#598