Pathfinder: remove the unused exploreDocs helper

Open Beginner friendly
#124 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
api, backend

Research direction

Start in packages/outpost/ai/src/pathfinder.ts and confirm exploreDocs and queryKnowledgeBase have no production callers beyond the references described. Update packages/outpost/ai/src/pipeline.test.ts to remove their vi.fn() entries, then run the pipeline tests. Done means the unused methods and mocks are gone and the existing tests pass.

Written by the indexing model from the issue text.

Description

area: integrations priority: low roadmap roadmap: later

Spun out of the #112 review (non-blocking cleanup).

PathfinderClient.exploreDocs and queryKnowledgeBase have no production callers — pipeline.ts only uses searchDocs and disconnect; the two methods appear solely as vi.fn() entries in pipeline.test.ts. #112 also removed their direct unit tests (correctly — the shared callTool/parseSearchResults path is covered via searchDocs). Rather than carry untested, unused API surface, remove both methods (and their mock entries), or document why they're being kept if there's a planned consumer.

Files: packages/outpost/ai/src/pathfinder.ts, packages/outpost/ai/src/pipeline.test.ts.

Dominant language
TypeScript
Stars
7
Forks
3
Avg merge
7d 16h
Merged PRs (30d)
15

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CopilotKit/outpost

All issues in CopilotKit/outpost

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.