chore(claude-rules): promote 3 deferred feedback rules from memory #496
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#496
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/promote-memory-deferred"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #495. MEMORY.md sweep (2026-05-24) identified 3 stable feedback rules that were ready to promote into path-scoped rule files but had to wait while #495 was open (rules were being restructured there). Now integrating.
Changes
.claude/rules/frontend.md— new section "package.json + lockfile sync (CRITICAL — deploy aborts on mismatch)".Mandatory
npm install --legacy-peer-depsafter anyfrontend/package.jsonedit + commit both files. Mismatch →npm cifails in Dockerfile →docker compose --abort-on-container-exit→ full deploy rollback (frontend + backend). Reference incident: PR #345 hotfix after PR #344..claude/rules/deploy.md— new section "Post-deploy verification (MANDATORY)" at top.After every successful merge + deploy on main → spawn
qa-testersubagent with playwright smoke. Catches prod TypeErrors / 4xx / overlay bugs in 2 min before user finds them. Reference incident: PR #346 (multiple bugs user found manually)..claude/rules/backend.md— new section "Web probing (scrapers — use playwright MCP, not curl)".For URL params / selectors / anti-bot exploration →
mcp__playwright__*first (real browser dodges captcha). Curl/curl_cffi only for actual production scraping after param set is known. Reference incident: 2026-05-23 Yandex SERP reverse-engineering captcha on 2nd iteration.Source files deleted from auto-memory
Promoted entries are no longer needed in
~/.claude/projects/<repo>/memory/:feedback_npm_install_when_changing_package_json.mdfeedback_qa_tester_after_each_deploy.mdfeedback_use_playwright_not_curl_for_probing.mdRemoved from MEMORY.md index, added to "Removed (promoted 2026-05-24)" table.
Test plan
.tsxedit → confirmfrontend.mdauto-loads with new sectionbackend/app/scrapers/**work → confirm web probing rule visibleNotes
Pure config / rules. No app code touched. Auto-deploy won't trigger (only
.claude/rules/**changed).Merged via deep-code-reviewer — verdict APPROVE.
Review checks:
paths:preserved on all 3 rule files.claude/rules/**), no security/runtime implicationsSquash merge commit:
643064ee0cbf928c9cc14bda89e312e22dcd5b2d.