@codedrifters/configulator 0.0.164 → 0.0.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.mjs CHANGED
@@ -916,28 +916,6 @@ var projenBundle = {
916
916
  description: "Projen conventions, synthesis workflow, .projenrc.ts patterns",
917
917
  appliesWhen: (project) => hasDep(project, "projen"),
918
918
  rules: [
919
- {
920
- name: "projen-sandbox-restrictions",
921
- description: "Commands the agent must never run in Projen-managed projects",
922
- scope: AGENT_RULE_SCOPE.ALWAYS,
923
- content: [
924
- "# Projen Sandbox Restrictions",
925
- "",
926
- "## Prohibited Commands",
927
- "",
928
- "The agent must **never** run the following commands \u2014 always ask the user to run them instead:",
929
- "",
930
- "- `pnpm install` / `pnpm i` \u2014 modifies the lockfile and may trigger synthesis",
931
- "- `npx projen` \u2014 synthesizes generated files and must be run by the user",
932
- "",
933
- "## Rationale",
934
- "",
935
- "Projen-managed projects rely on synthesized files (`package.json`, `tsconfig.json`, etc.) that are regenerated from `.projenrc.ts`.",
936
- "Running install or synthesis in the agent's sandbox can cause lockfile drift, phantom dependency changes, or overwrite user-controlled configuration.",
937
- "The user must run these commands locally so they can review the resulting changes."
938
- ].join("\n"),
939
- tags: ["workflow", "safety"]
940
- },
941
919
  {
942
920
  name: "projen-conventions",
943
921
  description: "Projen configuration patterns and best practices",
@@ -952,14 +930,7 @@ var projenBundle = {
952
930
  "- Edit Projen configuration in:",
953
931
  " - `.projenrc.ts` (root)",
954
932
  " - `projenrc/*.ts` (package-specific)",
955
- "- After making Projen changes, ask the user to run `npx projen` locally (agent must not run it)",
956
- "",
957
- "## DO NOT Use Manual Package Manager Commands",
958
- "",
959
- "- **Never** run `pnpm add`, `pnpm remove`, `npm install`, or `yarn add` to modify dependencies",
960
- "- Dependencies must be added through Projen configuration (e.g., `project.addDeps()`, `project.addDevDeps()`)",
961
- "- Manual package manager commands bypass Projen's dependency management and will be overwritten on the next synthesis",
962
- "- Correct workflow: edit `.projenrc.ts` \u2192 ask user to run `npx projen` \u2192 user runs `pnpm install` if needed",
933
+ "- After making Projen changes, run `npx projen` to synthesize",
963
934
  "",
964
935
  "## Workspace Dependencies",
965
936
  "",