Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ dist/
*.log*

# local env files
.env.*
.env.local
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing the catch-all .env.* ignore pattern with only .env.local and .env.test would cause other environment files (e.g., .env, .env.production) to be tracked, exposing secrets. Please restore the broader ignore rule to keep all env files out of version control.

Prompt for AI agents
Address the following comment on .gitignore at line 24:

<comment>Replacing the catch-all `.env.*` ignore pattern with only `.env.local` and `.env.test` would cause other environment files (e.g., `.env`, `.env.production`) to be tracked, exposing secrets. Please restore the broader ignore rule to keep all env files out of version control.</comment>

<file context>
@@ -21,7 +21,8 @@ dist/
 
 # local env files
-.env.*
+.env.local
+.env.test
 
</file context>
Suggested change
.env.local
+ .env*
Fix with Cubic

.env.test

# vercel
.vercel
Expand Down
2 changes: 1 addition & 1 deletion .ruler/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ The workspace uses **pnpm catalogs** to manage shared dependency versions in `pn
- `catalog:react18` - React 18 (fallback)
- `catalog:ui` - UI dependencies (`lucide-react`, `framer-motion`, `tailwindcss`, etc.)
- `catalog:analytics` - Analytics packages
- `catalog:instrumentation` - OpenTelemetry, Sentry
- `catalog:otel` - OpenTelemetry, Sentry

**Using catalogs in `package.json`**:
```json
Expand Down
80 changes: 0 additions & 80 deletions templates/repo/.cursorrules

This file was deleted.

11 changes: 5 additions & 6 deletions templates/repo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,21 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env.*

# turbo
.turbo

# env
.env.*
.env.local
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching from the broad .env.* ignore rule to only .env.local/.env.test leaves other env files (e.g. .env.production) unignored, making it easy to commit secrets. Please keep ignoring all env variants to avoid leaking credentials.

Prompt for AI agents
Address the following comment on templates/repo/.gitignore at line 35:

<comment>Switching from the broad `.env.*` ignore rule to only `.env.local`/`.env.test` leaves other env files (e.g. `.env.production`) unignored, making it easy to commit secrets. Please keep ignoring all env variants to avoid leaking credentials.</comment>

<file context>
@@ -28,22 +28,21 @@ yarn-debug.log*
 
 # env
-.env.*
+.env.local
+.env.test
+
</file context>
Fix with Cubic

.env.test

# config
.vercel
.vscode

# old files
*.old
*.cache
.cache
.trigger
tsconfig.tsbuildinfo

# bug - ruler does not include these
/.gemini/
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/.ruler/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The workspace uses **pnpm catalogs** to manage shared dependency versions in `pn
- `catalog:react18` - React 18 (fallback)
- `catalog:ui` - UI dependencies (`lucide-react`, `framer-motion`, `tailwindcss`, etc.)
- `catalog:analytics` - Analytics packages
- `catalog:instrumentation` - OpenTelemetry, Sentry
- `catalog:otel` - OpenTelemetry, Sentry

**Using catalogs in `package.json`**:
```json
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ catalogs:
"next": 16.0.0
"zod": 3.24.1

instrumentation:
otel:
"@opentelemetry/api": 1.9.0
"@opentelemetry/api-logs": 0.200.0
"@opentelemetry/instrumentation": 0.200.0
Expand Down