Architecture of aientech/dossier
aientech/dossier is 715 source files holding 3,350 symbols across 8 modules, written mainly in TypeScript, JavaScript, Shell. The largest module is src, with 615 files, and 2 files are entry points into the dependency graph.
How dossier fits together
Profile changes are handled by src/app/(app)/profile/actions.ts, which is one of the hotspot files in the code index. The core work runs in src/lib/agent/run.ts, an entry point that runs the AI agent over the profile and a job posting to match them and draft documents. The screen for a single application, src/app/(app)/applications/[id]/application-view.tsx, shows the resulting resume and cover letter. The prisma directory holds the seed that fills in built-in themes and demo records, and that seed must be safe to run more than once. The src directory's server startup checks the environment and then recovers AI jobs that an earlier process left unfinished. The scripts directory contains an interactive prompt that reads the password without echoing it to the screen.
Largest modules
- src: 615 files and 54,266 lines of code
- prisma: 35 files and 1,230 lines of code
- e2e: 32 files and 2,543 lines of code
- root: 7 files and 280 lines of code
- docker: 2 files and 23 lines of code
- site: 2 files and 149 lines of code
- .github: 1 file and 24 lines of code
- scripts: 1 file and 59 lines of code
Languages
By file count: TypeScript 656 files, JavaScript 5 files, Shell 2 files, Dockerfile 1 file.
Documentation
Repowise documents dossier in 616 pages generated from the source, 40 of them written explanations of the repository and its modules. Module guides include:
- src/lib/ai: AI Overview
- src/lib/ai/tasks: AI Task Pipelines
- src/app/(app)/agent: Agent Inbox and Chat Screens
More on dossier: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos