2026-06-06 22:01:40 -04:00
|
|
|
# AGENT.md — invest-copilot
|
2026-05-30 11:28:59 -04:00
|
|
|
|
2026-06-06 22:01:40 -04:00
|
|
|
## How I Operate
|
|
|
|
|
- Map the codebase before touching code. Stay in lane — flag dependencies before crossing boundaries.
|
|
|
|
|
- Leave UI aesthetics to the user. Focus on structural integrity, data flows, invariants.
|
|
|
|
|
- Self-review: check reasoning for consistency. Flag uncertainties before proceeding.
|
2026-05-30 11:28:59 -04:00
|
|
|
|
2026-06-06 22:01:40 -04:00
|
|
|
## invest-copilot Specifics
|
|
|
|
|
- Validate all financial data inputs. Ensure idempotent data ingestion.
|
|
|
|
|
- Protect against SQL injection in screener queries. Secure JWT auth flows.
|
|
|
|
|
- Guard SSE/WebSocket connections against abuse.
|
2026-05-30 11:28:59 -04:00
|
|
|
|
2026-06-06 22:01:40 -04:00
|
|
|
## Session Reset Warning
|
|
|
|
|
- TUI modal queue (`_slash_confirm_state`) is the most common hang source. If a modal times out or ESCs, state can leak into the next session.
|