meeting-agent
Copilot instructions4 starsChanged 7 months agoMITView on GitHub
For Playwright-based MCP/browser automation sessions, run the app first and target the frontend URL: - local dev: http://localhost:8307 (make dev or cd frontend && npm run dev) - docker: http://localhost:8307 (docker compose up --build)
- Reads credentials
The file
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 107
Database access pattern is strict: use get_connection() for reads and get_write_connection() for all mutations to avoid lock contention.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions for meeting-agent
Build, test, and lint commands
Backend (backend/)
# Install dependencies (recommended, uses uv.lock)
uv sync --dev
# Run API server
uv run python -m uvicorn src.main:app --reload
# Lint + format check
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
# Type check
uv run pyright
# Run full backend tests
uv run python -m pytest tests/ -v
# Run a single test file
uv run python -m pytest tests/test_asr_assemblyai.py -v
# Run a single test
uv run python -m pytest tests/test_api.py::TestMeetingsEndpoint::test_upload_unsupported_format -vFrontend (frontend/)
# Install dependencies
npm ci
# Run dev server
npm run dev
# Build
npm run build
# Lint + type check
npm run lint
npm run type-check
# Run all frontend tests once
npm run test:run
# Run one test file
npm run test:run -- src/test/App.test.tsx
# Run tests matching a name
npm run test:run -- -t "renders"Repo root shortcuts
# Run backend + frontend dev servers
make dev
# Lint all
make lint
# Run all tests
make test
# Full QA pipeline (lint + tests + selected Playwright full-stack E2E)
make qaMCP servers for this repo
# Backend MCP server (tools: list_meetings/search_meetings/ask_about_meetings/manage_memory)
cd backend
uv run python -m src.mcpFor Playwright-based MCP/browser automation sessions, run the app first and target the frontend URL:
- local dev:
http://localhost:8307(make devorcd frontend && npm run dev) - docker:
http://localhost:8307(docker compose up --build)
High-level architecture
- This is a full-stack meeting intelligence app: ingest files (video/audio/docs/images) -> extract text/transcript -> chunk/index in Chroma -> answer via RAG + memory.
- Backend is FastAPI under
backend/src, with all API routes versioned under/api/v1and registered insrc/api/__init__.py. - Ingestion path is orchestrated in
src/services/processor/_pipeline.py:- audio/video ->
src/services/transcriber.py(AssemblyAI-only dispatcher, ffmpeg extraction for video) - docs/images ->
src/services/parser/cascade.py(content-aware parser routing with cloud providers + local fallback) - extracted content -> RAG indexing (
src/services/rag/*)
- audio/video ->
- Query path is orchestrated in
src/services/chain/_api.py:- session ensure + query rewrite
- retrieval/rerank + memory/session/entity/web/history context loading
- generation + persistence + async fact extraction
- streaming uses SSE events via the stream bus and frontend stream parser
- Persistence is SQLite with a thread-local pool and WAL mode in
src/core/database/_connection.py; reads useget_connection(), writes use serializedget_write_connection(). - Frontend is React + Vite in
frontend/:- route shell in
src/App.tsx - typed API/SSE client in
src/api/client.ts(base URL/api/v1, optionalX-API-KeyfromVITE_API_KEY)
- route shell in
Key repository conventions
- Backend package name is
src(notapp); run/import targets usesrc.main:app,src.mcp, etc. - Meetings router structure is split files + shared
_common.pyonly; sub-routers are expected to import stdlib/FastAPI/db/schema deps directly with three-level relative imports. - Router registration order matters:
file_downloadis intentionally registered beforemeetingsto ensure token-based file download route precedence for overlapping paths. - Heavy/shared services use thread-safe singleton initialization (double-checked locking) across LLM, embeddings, vector stores, and related providers.
- Potentially blocking work is offloaded from the event loop (commonly via
asyncio.to_thread(...)in pipeline/service layers). - Database access pattern is strict: use
get_connection()for reads andget_write_connection()for all mutations to avoid lock contention. - Auth behavior is environment-sensitive: API uses
X-API-Key; emptyAPI_KEYmeans dev-mode auth bypass, but non-dev startup refuses to run withoutAPI_KEY. - Tests rely on early constant patching in
backend/tests/conftest.pyso tests always use tempDATA_DIR/DB_PATH, not local production data.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

