fix(#1939): add prominent protected-paths section to fix agent - #1940
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
|
|
🤖 Retro · Started 6:01 PM UTC |
Retro: PR #1940 — fix agent protected-paths documentationWorkflow: Retro agent filed #1939 after a fix agent run on konflux-ci/konflux-ui#807 was discarded by What went well:
What didn't go well:
Existing issue coverage: The systemic problems (review findings ignored, code agent not cross-referencing sources, protected-path enforcement gaps) are well-covered by existing open issues: #870 (medium findings should block merge), #1956 (auto-file tracking for unresolved findings), #1941 (fix agent should address medium+ findings), #1930 (code agent should cross-check references), #1254 (CI consistency checks). One proposal filed for the concrete correctness bug introduced by this PR. Proposals filed
|
|
🤖 Finished Retro · ✅ Success · Started 6:01 PM UTC · Completed 6:06 PM UTC |
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)