[Feature Request] Improve Claude Code guidance for production environment safety and file verification
Bug Description
Here's a summary you can paste directly into Anthropic support:
Subject: Refund/Credit Request — 5+ Days of Infrastructure Issues with No Feature Delivery
I am requesting a refund or credit for Claude Pro/API usage over the past 5+ days. The majority of time and money spent has been on infrastructure debugging rather than actual feature development, much of which was caused by incorrect guidance.
Specific issues caused by incorrect Claude guidance:
Deleted working .next build on VPS — Claude advised deleting the .next folder to force a rebuild. This broke the live site at https://www.nine-lenses.com for days and triggered a cascade of build failures.
Wrong model name — Claude repeatedly referenced qwen2.5:7b as the active model when the actual model was gemma4:e4b. This caused hours of misdirected debugging.
Edited production VPS directly — Claude guided edits directly on the live VPS instead of following local-first development practices, causing repeated breakage.
Worked from memory instead of reading actual files — Claude made recommendations based on assumed codebase state rather than reading actual files, leading to incorrect fixes and wasted sessions.
Environment variable issue unresolved — After hours of debugging, the /api/poc route still returns "Missing required environment variables: SUPABASE_URL and SUPABASE_SECRET_KEY" despite the vars existing in .env.local. Root cause not yet identified.
C: drive space exhaustion — Claude repeatedly suggested installations without checking available disk space, contributing to system crashes and memory exhaustion errors.
Claude Code crashes — Claude Code fails to launch on local Windows machine due to C: drive space issues partially caused by the above.
Billing issue — Added $25 today and Claude Code still shows insufficient funds.
Current state:
Site is live but three features are broken
5 days of paid usage with minimal feature progress
Local development environment unstable
Request:
Credit or refund for wasted sessions
Resolution of the $25 billing issue
Escalation to technical support for the env var issue
Account: ricar (Herndon, Virginia)
Date of issues: April 15–20, 2026
Environment Info
- Platform: win32
- Terminal: null
- Version: 2.1.116
- Feedback ID: b2d3959a-f277-450a-9b27-4d4e707b611e
Errors
[{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n at MP (B:/~BUN/root/src/entrypoints/cli.js:2689:1328)\n at utf (B:/~BUN/root/src/entrypoints/cli.js:3146:14492)\n at _K_ (B:/~BUN/root/src/entrypoints/cli.js:3146:15128)\n at VL1 (B:/~BUN/root/src/entrypoints/cli.js:5518:14788)\n at vL1 (B:/~BUN/root/src/entrypoints/cli.js:5518:14865)\n at IP (B:/~BUN/root/src/entrypoints/cli.js:497:26089)\n at useState (B:/~BUN/root/src/entrypoints/cli.js:497:104938)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:487:9336)\n at $H6 (B:/~BUN/root/src/entrypoints/cli.js:5518:14825)\n at sC_ (B:/~BUN/root/src/entrypoints/cli.js:6323:26080)\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:18433:2463)","timestamp":"2026-04-20T23:35:27.472Z"},{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n at MP (B:/~BUN/root/src/entrypoints/cli.js:2689:1328)\n at utf (B:/~BUN/root/src/entrypoints/cli.js:3146:14492)\n at _K_ (B:/~BUN/root/src/entrypoints/cli.js:3146:15128)\n at VL1 (B:/~BUN/root/src/entrypoints/cli.js:5518:14788)\n at vL1 (B:/~BUN/root/src/entrypoints/cli.js:5518:14865)\n at IP (B:/~BUN/root/src/entrypoints/cli.js:497:26089)\n at useState (B:/~BUN/root/src/entrypoints/cli.js:497:104938)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:487:9336)\n at $H6 (B:/~BUN/root/src/entrypoints/cli.js:5518:14825)\n at cC_ (B:/~BUN/root/src/entrypoints/cli.js:6323:18490)\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:18433:2463)","timestamp":"2026-04-20T23:35:27.472Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗