fix(#1939): add prominent protected-paths section to fix agent#1940
fix(#1939): add prominent protected-paths section to fix agent#1940fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
The fix agent's prohibition against modifying .claude/ and other governance files was buried in a general constraints bullet list. Despite the existing constraint, the agent incidentally modified .claude/settings.json during an unrelated rebase task, causing post-fix.sh to discard all legitimate code work. Add a dedicated "Protected paths — do not modify" section placed before Constraints for high visibility. The section: - Lists all paths matching post-fix.sh's PROTECTED_PATHS array - Adds .cursor/ (editor agent config, not previously covered) - Explains the consequence: post-fix.sh discards ALL work - Allows a human /fs-fix override for explicit requests The existing constraint bullet now cross-references the new section instead of inlining the path list. Closes #1939 Signed-off-by: fullsend-code <fullsend-code@users.noreply.github.com>
Site previewPreview: https://9f366066-site.fullsend-ai.workers.dev Commit: |
ReviewFindingsMedium
Low
Info
|
The fix agent's prohibition against modifying .claude/ and other governance files was buried in a general constraints bullet list. Despite the existing constraint, the agent incidentally modified .claude/settings.json during an unrelated rebase task, causing post-fix.sh to discard all legitimate code work.
Add a dedicated "Protected paths — do not modify" section placed before Constraints for high visibility. The section:
The existing constraint bullet now cross-references the new section instead of inlining the path list.
Closes #1939
Post-script verification
agent/1939-fix-agent-protected-paths)06afe01e6109e157bfa94505033c104edbf70435..HEAD)