Skip to content

Develop#3

Merged
cooper (czxtm) merged 10 commits intomainfrom
develop
Feb 10, 2026
Merged

Develop#3
cooper (czxtm) merged 10 commits intomainfrom
develop

Conversation

@czxtm
Copy link
Copy Markdown
Contributor

@czxtm cooper (czxtm) commented Feb 9, 2026

Note

Medium Risk
Touches Nix evaluation/shell construction and deployment configuration (Cloudflare bindings/secrets), which can break developer shells or runtime env wiring if any paths or generated env outputs are mismatched.

Overview
Switches the generated env package from @stackpanel/env to @gen/env (new packages/gen/env path), updating references across Nix config, app code (alchemy.run.ts), workspace deps/lockfiles, and architecture docs.

Updates .stackpanel/config.nix to enable framework.tanstack-start for web, changes web deployment settings to Cloudflare with explicit bindings/secrets, and moves env secret codegen output to packages/gen/env/src/generated.

Simplifies stackpanel config loading by removing STACKPANEL_CONFIG_OVERRIDE support and changing local override discovery to rely solely on the .stackpanel-root marker file.

Reduces devenv surface area by deleting .stackpanel/devenv.nix and multiple nix/internal/devenv/* adapters/templates, trimming flake inputs/cachix config accordingly, and adding new internal nix/internal/flake/* module/exports scaffolding for flake-parts integration.

Improves UX and deployability: docs search API is forced static (staticGET) for Next.js output: "export", and the Studio secrets GroupsSection now shows per-group SSM access status via healthchecks with a “Check SSM” action.

Written by Cursor Bugbot for commit 0664cd5. Configure here.

**Remove devenv and instead we will use our own language modules.**

Removing devenv reduces complexity and redundancy. For modules that we
do want, we'll add our own modules from them, potentially keeping devenv
as an input

**Improved write-files**

The file writing system now creates a manifest with content hashes so
that we can detect when files need to be regenerated, and skip doing so
if we don't need to generate it again. This prevents mtime from updating
every time so the shell will be cache-friendly.

We also now create actual derivations which is needed to properly cache
and to do things in a more "canonical nix" way
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread alchemy.run.ts
import { env } from "@gen/env/web";

console.log(env.POSTGRES_URL);
console.log(infra.default);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Debug console.log statement accidentally committed

Low Severity

The line console.log(infra.default); appears to be a debug statement that was accidentally committed. This logs the default export of the @stackpanel/infra module to the console, which provides no useful information in production and clutters the output. This was added alongside the import refactoring from @stackpanel/env to @gen/env.

Fix in Cursor Fix in Web

Comment thread apps/web/package.json
"build:fly": "vite build",
"container:build": "./.tasks/bin/container-build",
"container:push": "./.tasks/bin/container-push",
"deploy": "./.tasks/bin/deploy",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Package.json scripts reference deleted task files

Medium Severity

The package.json scripts container:build, container:push, and deploy reference files in .tasks/bin/ that were deleted in this commit. The symlinks apps/web/.tasks/bin/container-build, apps/web/.tasks/bin/container-push, and apps/web/.tasks/bin/deploy were removed but the package.json entries referencing them remain. Running these npm scripts will fail with a file not found error.

Fix in Cursor Fix in Web

@czxtm cooper (czxtm) merged commit b7cc3d5 into main Feb 10, 2026
1 check 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