@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.js CHANGED
@@ -966,28 +966,6 @@ var projenBundle = {
966
966
  description: "Projen conventions, synthesis workflow, .projenrc.ts patterns",
967
967
  appliesWhen: (project) => hasDep(project, "projen"),
968
968
  rules: [
969
- {
970
- name: "projen-sandbox-restrictions",
971
- description: "Commands the agent must never run in Projen-managed projects",
972
- scope: AGENT_RULE_SCOPE.ALWAYS,
973
- content: [
974
- "# Projen Sandbox Restrictions",
975
- "",
976
- "## Prohibited Commands",
977
- "",
978
- "The agent must **never** run the following commands \u2014 always ask the user to run them instead:",
979
- "",
980
- "- `pnpm install` / `pnpm i` \u2014 modifies the lockfile and may trigger synthesis",
981
- "- `npx projen` \u2014 synthesizes generated files and must be run by the user",
982
- "",
983
- "## Rationale",
984
- "",
985
- "Projen-managed projects rely on synthesized files (`package.json`, `tsconfig.json`, etc.) that are regenerated from `.projenrc.ts`.",
986
- "Running install or synthesis in the agent's sandbox can cause lockfile drift, phantom dependency changes, or overwrite user-controlled configuration.",
987
- "The user must run these commands locally so they can review the resulting changes."
988
- ].join("\n"),
989
- tags: ["workflow", "safety"]
990
- },
991
969
  {
992
970
  name: "projen-conventions",
993
971
  description: "Projen configuration patterns and best practices",
@@ -1002,14 +980,7 @@ var projenBundle = {
1002
980
  "- Edit Projen configuration in:",
1003
981
  " - `.projenrc.ts` (root)",
1004
982
  " - `projenrc/*.ts` (package-specific)",
1005
- "- After making Projen changes, ask the user to run `npx projen` locally (agent must not run it)",
1006
- "",
1007
- "## DO NOT Use Manual Package Manager Commands",
1008
- "",
1009
- "- **Never** run `pnpm add`, `pnpm remove`, `npm install`, or `yarn add` to modify dependencies",
1010
- "- Dependencies must be added through Projen configuration (e.g., `project.addDeps()`, `project.addDevDeps()`)",
1011
- "- Manual package manager commands bypass Projen's dependency management and will be overwritten on the next synthesis",
1012
- "- Correct workflow: edit `.projenrc.ts` \u2192 ask user to run `npx projen` \u2192 user runs `pnpm install` if needed",
983
+ "- After making Projen changes, run `npx projen` to synthesize",
1013
984
  "",
1014
985
  "## Workspace Dependencies",
1015
986
  "",