mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
2.1 KiB
2.1 KiB
Known Surprises
This file tracks repository-specific confusion points that caused agent mistakes.
Entry Criteria
Add an entry only if all are true:
- It is specific to this repository (not generic advice).
- It is likely to recur for future agents.
- It has a concrete mitigation that can be followed.
If uncertain, ask the developer before adding an entry.
Entry Template
### [Short title]
- **Date:** YYYY-MM-DD
- **Observed by:** agent name or contributor
- **Context:** where/when it happened
- **What was surprising:** concrete unexpected behavior
- **Impact:** what went wrong or could go wrong
- **Mitigation:** exact step future agents should take
- **Status:** confirmed | superseded
Entries
Portless breaks Windows installs
- Date: 2026-03-04
- Observed by: Codex
- Context: GitHub Actions
Test Windowsdependency install onwindows-2022 - What was surprising:
portless@0.5.2is a local dev-only tool, but keeping it indevDependenciesmakesyarn installfail on Windows because the package declareswin32unsupported. - Impact: Windows CI fails before build steps run, even though the app does not need
portlessthere. - Mitigation: Keep
portlessinoptionalDependenciesand makeyarn startfall back to directvitestartup whenportlessis unavailable. - Status: confirmed
Do not add plebbit-js directly for Electron RPC
- Date: 2026-03-07
- Observed by: Codex
- Context: Adding
knipexposedelectron/start-plebbit-rpc.jsimporting@plebbit/plebbit-js/rpcas an unlisted dependency. - What was surprising: Even though that file imports
@plebbit/plebbit-jsdirectly, repository policy is to depend only on@bitsocialnet/bitsocial-react-hooksand use its transitive copy ofplebbit-js. - Impact: Agents may “fix” the unlisted import by adding
@plebbit/plebbit-jstopackage.json, which violates project policy. - Mitigation: Do not add
@plebbit/plebbit-jstopackage.jsonfor this repo. Ifknipflagselectron/start-plebbit-rpc.js, handle it with a targetedignoreIssuesentry instead. - Status: confirmed