Code
How paperclipai/paperclip is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a New MCP Server Integration
- Create a new MCP server package directory following the pattern packages/[name]-mcp-server/src/
- Register the MCP server in the adapter integration layer
- Add tests in config.test.ts following the pattern
Add a New Protocol Action
- Create a new file in packages/paperclip-runner/src/protocol-actions/ following naming pattern
- Define action type and handler conforming to canonical operations
- Register action in control plane dispatch logic
- Add conformance test to ensure action meets capability standards
Add a New Database Schema
- Create schema definition file in packages/db/src/schema/
- Create corresponding SQL migration in packages/db/src/migrations/
- Export schema from schema module for runtime type safety
- Add integration test validating schema constraints
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.