Repository navigation
Add .claude/skills for the two areas that punish a tidy-up - #5
Conversation
Both of these are collections of rules that look arbitrary, are individually cheap to "simplify", and fail silently when you do. ephemeral-containers: the API refuses subPath and resources outright, names are burnt on first use, a capability on a non-root uid is a silent no-op, and refusal arrives through two unrelated channels. Most of the odd shapes in spec.py and launcher.py are one of these. ssh-over-exec: sshd's -e keeps fd 2 open rather than tidying logs, -t hangs the client, a second SetEnv line is ignored, and sshd leaks none of its own environment. Each of these shipped as a bug at least once here. Also records the two environment foot-guns that cost time in the first session - the devcontainer's UV_PROJECT_ENVIRONMENT pointing at another project, and pre-commit only seeing tracked files - neither of which announces itself.
|
Warning Review limit reached
Next review available in: 56 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dropped the Skills and Key paths sections. A skill's name and description are injected into an agent's context automatically, so listing them again is a table of contents for something already in the prompt; and `ls src/podbench` plus the module docstrings cover the paths better than a second copy can. The three hard rules the new skills now cover in depth collapse to one line naming the danger and pointing at them. They keep an always-loaded tripwire without duplicating the rationale, and two of them already raise in code (validate_security_context, validate_ephemeral_volume_mounts) with exact-string tests behind them. 103 lines to 69, and nothing that is only true in one place got deleted.
Captures the non-obvious rules this repo runs on, as agent-readable skills plus
two environment foot-guns in
CLAUDE.md.Both skills cover the same kind of thing: a collection of rules that look
arbitrary, are individually cheap to "simplify", and fail silently when you
do. Every rule in them was hit for real against a cluster during the build.
.claude/skills/ephemeral-containers/Read before changing
spec.py,launcher.py, or anything authoring a container spec.subPathandresourcesare forbidden outright by the API serverraise, and a failing rung must take a fresh name
capabilities.add: [SYS_PTRACE]on a non-root uid is a silent no-op(
CapEff: 0) — admitted, and uselesscaught by wrapping the call, and only the other of which burns a name
kubectl debug --copy-to'd.claude/skills/ssh-over-exec/Read before touching
sshcfg.pyoragent.py.sshd -ekeeps fd 2 open; it is not about log tidiness, and closing stderrtruncates the whole CRI exec stream with
rc=0. Includes the full ProxyCommandmatrix, and the one form that masks the bug in testing
-thangs the client forever against a real TTYSetEnvline is silently ignored (sshd is first-match-wins) — thisshipped as a bug
PATHthereControlPathand the 108-bytesun_pathlimit, and creating its parentStrictHostKeyChecking noCLAUDE.mdAdds a pointer to both skills, the
PODBENCH_E2E_NODE_SELECTORnote formixed-arch clusters, and two environment foot-guns that cost real time and
announce themselves not at all: the devcontainer's
UV_PROJECT_ENVIRONMENTpointing at a different project's venv, and
pre-commit --all-filesonly seeinggit-tracked files (so it passes locally and fails in CI).
Docs only — no code change.