Skip to content

Chore/cursor agent setup 20250808 - #88

Merged
keito4 merged 4 commits into
mainfrom
chore/cursor-agent-setup-20250808
Aug 13, 2025
Merged

Chore/cursor agent setup 20250808#88
keito4 merged 4 commits into
mainfrom
chore/cursor-agent-setup-20250808

Conversation

@keito4

@keito4 keito4 commented Aug 13, 2025

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Chores

    • Improved development container with additional AI tooling and a command-line agent for smoother local workflows.
    • Added convenient Git command aliases to speed up common operations.
    • Expanded ignore rules to reduce noise from logs, test artifacts, and local overrides.
    • Removed obsolete local configuration to streamline setup.
  • Tests

    • Added shell testing utilities to enable automated CLI testing and improve reliability.

- Install Cursor Agent in devcontainer to align with local tooling
- Add cursor-agent as devDependency for CI reproducibility
- Update Supabase CLI cached pointer to latest patch
- Vendor bats libs without nested .git to avoid submodule issues
@coderabbitai

coderabbitai Bot commented Aug 13, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

Removes a local Claude permissions file, updates .gitignore with new ignore rules, augments the devcontainer Dockerfile to install Cursor Agent and add OpenAI tooling/PATH updates, and adds test- and agent-related devDependencies to package.json.

Changes

Cohort / File(s) Summary of changes
Claude local settings cleanup
/.claude/settings.local.json, /.gitignore
Deletes .claude/settings.local.json. Adds .claude/settings.local.json to .gitignore and new ignore rules: .vscode/*.log, test/bats-libs/, test/**/*.log, and report.log.
Devcontainer tooling
/.devcontainer/Dockerfile
Adds @openai/codex to global npm installs, introduces a block that switches to vscode to install Cursor Agent via curl, appends PATH export to /home/vscode/.bashrc, creates /home/vscode/.openai and ensures ownership, and adds several git aliases.
Tooling & tests
/package.json
Adds devDependencies: bats, bats-assert, bats-support, and cursor-agent. No other dependency or script changes.

Sequence Diagram(s)

sequenceDiagram
  participant DockerBuild as Docker build
  participant Root as root
  participant VSCodeUser as vscode user
  participant CursorInstaller as Cursor install script
  DockerBuild->>Root: run Dockerfile steps
  Root->>VSCodeUser: su - vscode (switch user)
  VSCodeUser->>CursorInstaller: curl installer & run
  CursorInstaller-->>VSCodeUser: install cursor agent, update /home/vscode/.bashrc
  VSCodeUser->>Root: exit back to root
  Root->>Root: create /home/vscode/.openai and chown vscode
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

I tap my paws on Docker's rim,
A cursor curls at evening dim.
Claude's small note drifts out of sight,
New paths arrive to set things right.
Tests and tools — a tidy hop tonight. 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 06d2aba and 63de100.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • supabase/.temp/cli-latest is excluded by !**/.temp/**
📒 Files selected for processing (4)
  • .claude/settings.local.json (0 hunks)
  • .devcontainer/Dockerfile (2 hunks)
  • .gitignore (2 hunks)
  • package.json (1 hunks)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/cursor-agent-setup-20250808

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

- Remove 499 files from test/bats-libs directory
- Add bats, bats-assert, bats-support as npm dev dependencies
- Update .gitignore to exclude test/bats-libs directory
- Reduces repository size and improves dependency management
@keito4
keito4 merged commit c63f95f into main Aug 13, 2025
2 checks passed
@keito4
keito4 deleted the chore/cursor-agent-setup-20250808 branch January 4, 2026 08:08
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