This repository contains early implementation slices for the Finly product and remains governed by the harness architecture.
- Repository-local knowledge is authoritative
- Constraints should be documented before they are enforced
- Architecture should stay boring, inspectable, and easy for agents to navigate
- Mechanical validation should replace tribal knowledge wherever possible
docs/Stores the product, design, planning, quality, reliability, and security knowledge base.scripts/Stores mechanical checks and repository automation.apps/mobile/Stores the mobile prototype surface.apps/agents/Stores the local Python TradingAgents-style runtime used for specialized investment agents and stateless agent endpoints.apps/backend/Stores the local Python backend API for user profiles, portfolios, reports, chat history, and proxy endpoints intoapps/agents.templates/Stores deterministic bootstrap templates (web-nextjs,mobile-react-native) used byscripts/bootstrap_codebase.py..github/workflows/Stores CI enforcement for repository invariants..agents/skills/Stores repository-local agent skills for recurring workflows such as setup and git operations.
When the hackathon build is stabilized, extend this file with:
- Harder dependency rules between mobile client, backend API, and agent runtime
- Allowed dependency directions between UI, backend, and simulation modules
- Runtime observability and error handling contracts
- Test strategy by layer and by demo-critical flow
- Frontend: React + Tailwind UI with Agora Web voice integration (hackathon target)
- Backend API: Python + FastAPI application layer for user data and client-facing endpoints
- Agent runtime: Python + FastAPI stateless multi-agent orchestration for Portfolio Manager, Market Analyst, Risk Assessor, Researcher
- Data: Mock market engine and mock portfolio state for demo safety and speed
See docs/design-docs/harness-engineering-guide.md for the default stack policy and setup expectations.
Add framework-specific architecture constraints only when corresponding application code exists in-repo.