Skip to content

Comments

better system prompt, bug fixes, and a wipe command to make me fix onboarding#181

Merged
bmdavis419 merged 6 commits intomainfrom
davis/onboarding-and-system-prompt
Feb 13, 2026
Merged

better system prompt, bug fixes, and a wipe command to make me fix onboarding#181
bmdavis419 merged 6 commits intomainfrom
davis/onboarding-and-system-prompt

Conversation

@bmdavis419
Copy link
Collaborator

@bmdavis419 bmdavis419 commented Feb 13, 2026

Greptile Overview

Greptile Summary

This PR removes all remote/cloud functionality from BTCA and simplifies the CLI to focus on local-only operations. It also improves the system prompt for better agent responses and adds new utility commands.

Major Changes:

  • BREAKING: Removed entire remote command suite (btca remote *) - users relying on cloud features will lose functionality
  • BREAKING: Removed btca init MCP/remote setup path - now only supports local CLI setup
  • BREAKING: Removed btca mcp remote command - only local MCP configuration remains
  • Added btca status command to show config, provider auth, resources, and version info
  • Added btca wipe command to safely delete config files with confirmation prompt
  • Enhanced agent system prompt with explicit guidelines for grounding answers in resources and generating proper GitHub blob URLs for citations
  • Updated collections service to include GitHub URL metadata and citation examples in resource instruction blocks
  • Removed root btca.config.jsonc file
  • Updated all documentation to reflect removal of remote features

Impact Assessment:
This is a significant refactoring that removes approximately 1,558 lines of remote-related code. Users currently using btca remote commands or MCP remote configuration will experience breaking changes. The documentation has been updated accordingly to guide users through the new local-only workflow.

Confidence Score: 4/5

  • This PR is safe to merge with awareness of breaking changes
  • The code changes are well-structured and consistent. Documentation has been updated to match the code changes. The removal of remote functionality is intentional and clean with no dangling imports. However, this introduces significant breaking changes that will affect users relying on remote features. The score reflects the code quality (high) balanced against the breaking nature of the changes (requires careful communication to users).
  • No files require special attention - the changes are intentional breaking changes to remove remote functionality

Important Files Changed

Filename Overview
apps/cli/src/commands/wipe.ts New command added to delete BTCA config files with safety confirmation prompt
apps/cli/src/commands/status.ts New command added to show current BTCA status including version, config, and resources
apps/cli/src/commands/remote.ts Remote command functionality completely removed (977 lines deleted) - BREAKING CHANGE
apps/cli/src/client/remote.ts Remote client functionality completely removed (581 lines deleted) - BREAKING CHANGE
apps/cli/src/commands/init.ts Simplified to only support CLI setup, removed MCP/remote setup path (206 lines removed) - BREAKING CHANGE
apps/cli/src/commands/mcp.ts Removed remote MCP configuration, now only supports local MCP setup - BREAKING CHANGE
apps/server/src/agent/loop.ts Enhanced system prompt with clearer guidelines for grounding answers and citing sources with GitHub URLs
apps/server/src/collections/service.ts Added GitHub blob URL generation and citation rules to resource instruction blocks

Last reviewed commit: f8aa31a

Copy link
Collaborator Author

bmdavis419 commented Feb 13, 2026

@bmdavis419 bmdavis419 changed the title system prompt stuffs better system prompt, bug fixes, and Feb 13, 2026
@bmdavis419 bmdavis419 changed the title better system prompt, bug fixes, and better system prompt, bug fixes, and a wipe command to make me fix onboarding Feb 13, 2026
@bmdavis419 bmdavis419 marked this pull request as ready for review February 13, 2026 01:18
@bmdavis419 bmdavis419 mentioned this pull request Feb 13, 2026
Copy link
Collaborator Author

bmdavis419 commented Feb 13, 2026

Merge activity

  • Feb 13, 5:09 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 13, 5:10 AM UTC: Graphite rebased this pull request as part of a merge.
  • Feb 13, 5:11 AM UTC: @bmdavis419 merged this pull request with Graphite.

@bmdavis419 bmdavis419 changed the base branch from davis/react-tui-experiment to graphite-base/181 February 13, 2026 05:09
@bmdavis419 bmdavis419 changed the base branch from graphite-base/181 to main February 13, 2026 05:09
@bmdavis419 bmdavis419 force-pushed the davis/onboarding-and-system-prompt branch from f206ed7 to f8aa31a Compare February 13, 2026 05:10
@bmdavis419 bmdavis419 merged commit 980c0cd into main Feb 13, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant