Skip to content

Add dependency guardrail to Common Pitfalls#5371

Merged
glwagner merged 1 commit intomainfrom
glw/dependency-guardrails
Mar 4, 2026
Merged

Add dependency guardrail to Common Pitfalls#5371
glwagner merged 1 commit intomainfrom
glw/dependency-guardrails

Conversation

@glwagner
Copy link
Copy Markdown
Member

@glwagner glwagner commented Mar 4, 2026

Summary

  • Adds a new entry to Common Pitfalls warning agents not to modify [deps] or [weakdeps] in the root Project.toml unless absolutely required
  • Dependency changes affect CI, load time, and downstream compatibility — agents should not make them casually

Test plan

  • No functional code changes — documentation only

🤖 Generated with Claude Code

Agents should never modify Project.toml [deps] or [weakdeps] unless
the task absolutely requires it. Dependency changes have wide-reaching
consequences for CI, load time, and downstream compatibility.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@glwagner glwagner merged commit 7837efe into main Mar 4, 2026
3 of 18 checks passed
@glwagner glwagner deleted the glw/dependency-guardrails branch March 4, 2026 20:59
briochemc added a commit to briochemc/Oceananigans.jl that referenced this pull request Mar 5, 2026
* glw/prescribed-free-surface:
  (0.105.3) Fix interpolation of terms in chain horizontal derivatives for MutableVerticalDiscretization (CliMA#5339)
  Fix ContinuousForcing field index mismatch in HydrostaticFreeSurfaceModel (CliMA#5370)
  Add dependency guardrail to Common Pitfalls (CliMA#5371)
  Fix typo SKR3 -> SRK3 (CliMA#5360)
  Add new reference to Zheng et al. (2025) in index (CliMA#5364)
  Add 9 missing papers to the reference list (CliMA#5363)
  Update papers section in index.md (CliMA#5362)
  Restructure AGENTS.md into multi-file agent configuration (CliMA#5350)
  (0.105.2) Fix `with_halo` for a `TripolarGrid` (CliMA#5353)
  (0.105.2) Fix and test checkpointing with open-domain simulations with a radiation `OpenBoundaryCondition` (CliMA#5347)
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