RepoPilot

paperclipai / paperclip

Search paperclipai/paperclip

GitHub

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

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Likely start-up file
  6. Likely start-up file
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add 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.

Code quality and hotspots

Largest source files

  • Branch points906 per file on average
  • Code issues1 error, 80 warnings
  • Largest file6,580 lines
  • Hotspot load9 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions23 workflows
  • Tests3,872 test filesJest/Vitest · Pytest · 0.74 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: .github/scripts/tests · cli/src/__tests__ · .agents/skills/garden-inbox/scripts

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.