Skip to content

fix: remaining codebase-audit fixes (registry row-drop, overlap guard, adopt name, vm display) - #269

Merged
Xiddoc merged 1 commit into
masterfrom
claude/beetroot-sweep-optimize-fnq7r0
Jul 1, 2026
Merged

fix: remaining codebase-audit fixes (registry row-drop, overlap guard, adopt name, vm display)#269
Xiddoc merged 1 commit into
masterfrom
claude/beetroot-sweep-optimize-fnq7r0

Conversation

@Xiddoc

@Xiddoc Xiddoc commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

Fifth sweep batch — the remaining safe findings from the 18-agent codebase audit (filed as #252, #255, #257, #264). Four file-disjoint agents, each gate-verified.

Testing

Full local gate green: ruff, ruff format --check, mypy --strict (src+tests), pytest -p no:randomly at 100% line+branch coverage (1979 passed, 6 docker-daemon skips), codespell, deptry, uv lock --check, changelog lint.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P1YsNMpGizhSDDPCBu5cut


Generated by Claude Code

…, adopt name, vm display)

Fifth sweep batch — the remaining safe findings from the parallel codebase audit.

- registry._read() no longer silently drops a row that fails row-level
  validation: a known-kind-but-invalid backend is preserved opaquely (index
  stays reserved, round-trips), an unsalvageable row is surfaced loudly (.bak
  + hint) instead of dropped with its index silently reused (#252)
- create()/register() refuse a directory that nests inside or contains another
  registered instance (the overlap guard that previously only covered restore),
  before any mkdir/registry write, preventing silent data loss on a later
  destroy of the outer instance (#255)
- adopt auto-derives a valid name for an IP:port serial (the help's own
  example) by collapsing every non-alphanumeric run to a hyphen (#257)
- binder:vm warns once at apply time that a customized display is inert, via a
  new config.inert_fields() branch guarded on a non-default display (#264)

All covered by new tests; full gate green (ruff, mypy --strict src+tests,
pytest 100% line+branch (1979 passed), codespell, deptry, uv lock, changelog lint).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P1YsNMpGizhSDDPCBu5cut
@Xiddoc
Xiddoc merged commit d062cf5 into master Jul 1, 2026
17 checks passed
@Xiddoc
Xiddoc deleted the claude/beetroot-sweep-optimize-fnq7r0 branch July 1, 2026 07:14
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.

2 participants