mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
2602.12670 and 2602.11988 findings favoring curated, minimal, modular guidance over comprehensive always-on context
895 B
895 B
Bug Investigation Workflow
Use this when a bug is reported in a specific file/line/code block.
Mandatory First Step
Before editing, check git history for the relevant code. Previous contributors may have introduced behavior for an edge case/workaround.
Workflow
- Scan recent commit titles (titles only) for the file/area:
# Recent commit titles for a specific file
git log --oneline -10 -- src/components/post-desktop/post-desktop.tsx
# Recent commit titles for a specific line range
git blame -L 120,135 src/components/post-desktop/post-desktop.tsx
- Inspect only relevant commits with scoped diffs:
# Show commit message + diff for one file
git show <commit-hash> -- path/to/file.tsx
- Continue with reproduction and fix after understanding the history context.
Troubleshooting Rule
When blocked, search the web for recent fixes/workarounds.