Skip to content

Scaffold: workspace, command tree and shared types #2

Done

Description

@bobbyg603

Part of #1.

The scaffold is what lets the other work streams run in parallel without editing the same files.

  • Cargo workspace (edition 2024), crates/*, shared dependency versions in [workspace.dependencies].
  • The full command tree in bugsplat-cli, with clap derive. Each command's arguments and run function live in that command's own file; cli.rs only wires them together. Commands that aren't built yet exit with "not implemented yet" and a link to their issue.
  • Shared types every stream codes against:
    • bugsplat_core::Config (API URL, database, output mode) and bugsplat_core::Error.
    • bugsplat_auth::access_token(&Config): returns BUGSPLAT_ACCESS_TOKEN when set (for development and tests), otherwise "not signed in" until Sign-in: login, logout, whoami, token storage and client credentials #3 lands.
    • bugsplat_mcp_client::McpClient (connect, list_tools, call_tool).
    • bugsplat_debugid::read(path) -> Vec<DebugInfo>.
  • bugsplat completions <shell>.
  • scripts/localstack-token.py: signs in to LocalStack's OAuth server and prints an access token, so streams can test before Sign-in: login, logout, whoami, token storage and client credentials #3 is merged.
  • CLAUDE.md with the build, test and layout rules.

Done when cargo build, cargo test, cargo clippy -- -D warnings and cargo fmt --check pass on the scaffold branch.

Activity

  1. bobbyg603 commented on Nov 25, 2026

    @bobbyg603
    MemberAuthor

    Done in #21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions