[claude-hackernews] Reply draft: Loopsy CLAUDE.md drift, child-project write block (id=47973093)#30
[claude-hackernews] Reply draft: Loopsy CLAUDE.md drift, child-project write block (id=47973093)#30NiveditJain wants to merge 1 commit into
Conversation
…e block (id=47973093)
📝 WalkthroughWalkthroughA new Markdown draft document is added containing a proposed reply to a Hacker News thread about Loopsy. The draft includes thread context, a code example demonstrating an agent write-block policy via ChangesDraft HN Reply
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Review rate limit: 3/5 reviews remaining, refill in 21 minutes and 6 seconds. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
drafts/2026-05-03T114106Z.md (1)
44-58:⚠️ Potential issue | 🟠 Major | ⚡ Quick winMake “HN copy/paste body” unambiguous; internal notes should not be pasted accidentally
The file includes both the intended reply content and internal-only sections (“## Insight for the FailProof team” and “## Notes / findings”). If the posting workflow is “paste the whole draft”, it is very easy to accidentally post internal strategy text that was not meant for the HN audience.
Given your own Notes (Line 57) claim the reply is ~135 words, it strongly suggests only part of the draft is intended for posting, but the file currently does not clearly demarcate that “posting body” region.
Suggestion (either approach):
- Add a single, clearly-labeled “POST ON HN (copy/paste) START/END” block containing only what should be posted.
- Or convert internal sections to HTML comments so they are preserved in-repo but never pasted.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@drafts/2026-05-03T114106Z.md` around lines 44 - 58, The draft mixes public reply text with internal notes under headings like "## Insight for the FailProof team" and "## Notes / findings", which risks accidental pasting; fix by clearly isolating the postable content (e.g., add a single "POST ON HN (copy/paste) START/END" block containing only the ~135-word reply) or wrap internal sections in HTML comments so only the region between the START/END markers (or uncommented text) is used when copying; update the draft file accordingly to ensure any workflow that pastes the whole file cannot include the internal headings.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@drafts/2026-05-03T114106Z.md`:
- Around line 44-58: The draft mixes public reply text with internal notes under
headings like "## Insight for the FailProof team" and "## Notes / findings",
which risks accidental pasting; fix by clearly isolating the postable content
(e.g., add a single "POST ON HN (copy/paste) START/END" block containing only
the ~135-word reply) or wrap internal sections in HTML comments so only the
region between the START/END markers (or uncommented text) is used when copying;
update the draft file accordingly to ensure any workflow that pastes the whole
file cannot include the internal headings.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f8d90ff2-ab85-4967-889c-2034c63beb7a
📒 Files selected for processing (1)
drafts/2026-05-03T114106Z.md
Summary
arctide(id=47986077) describes a concrete CLAUDE.md drift failure: a single rule ("do not modify child project files from parent context") that the agent constantly forgets across sessions, especially when switching machines.Write/Editcalls whosefile_pathfalls inside the child-project subtree. ~142 words, ASCII punctuation only, one disclosure line, one snippet, no install command, no.failproofai/policies/plug, no policy comma-list./show->/news-> Algolia sweeps (agent deleted,claude code hooks,policy agent,agent sandbox,claude rm rf); duplicate check againstdrafts/,comments/, and open PRs returned no prior coverage of id=47973093.Discovery + thread URLs
arctide/showlisting ->hn.algolia.comsearches foragent deleted past_week,agent sandbox past_week,claude code last_24h,vibe coding last_48h,policy agent past_month, then back to/newestfor fresh threads. Loopsy surfaced on/show(54 points, 1 day old, 11 comments) with arctide's CLAUDE.md-drift sub-comment as the actionable hook.Test plan
drafts/,comments/, open PRs foritem?id=47973093) before posting, in case a sibling branch landed.id=47986077. ASCII-only check, then submit.🤖 Generated with Claude Code
Summary by CodeRabbit
Note: This pull request contains no user-facing changes or feature updates.