v2.7.0 release: production stability and multi-runtime hardening#2
Merged
flyingrobots merged 2 commits intomainfrom Jan 8, 2026
Merged
v2.7.0 release: production stability and multi-runtime hardening#2flyingrobots merged 2 commits intomainfrom
flyingrobots merged 2 commits intomainfrom
Conversation
- GitStream: Make destroy() idempotent and reuse TextEncoder - EnvironmentPolicy: Remove GIT_EXEC_PATH and GIT_TEMPLATE_DIR from default whitelist - CommandSanitizer: Optimize cache key and treat --version as special-case global - GitPersistenceService: Use stdin for commit-tree messages and fix date format - GitRef: Refine @ validation to match git-check-ref-format - GitTree: Consistently use Zod schema in constructor - SECURITY.md: Add security model documentation - README.md: Add Design Principles and Killer Example
- GitCommandBuilder: Correct commit-tree argument structure and restore version() - GitPersistenceService: Fix tree entry type detection and use stdin for commit messages - GitRefSchema: Better @ validation and control character checks - ExecutionOrchestrator: Fix backoff off-by-one and add safety throw - CommandSanitizer: Memory-efficient cache and type validation - Sync package.json and CHANGELOG versions to 2.7.0 - Address Node compatibility in index.js and fix flaky tests
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR implements a hardened security model for Git command execution, restructuring flag and environment validation, simplifying message delivery via stdin, enhancing resource cleanup idempotency, and updating documentation to emphasize security-by-default design principles. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (13)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR finalizes the 2.7.0 release, refactoring the core infrastructure for production stability and cross-runtime compatibility (Node.js, Bun, Deno).
Key Changes
Verification
Summary by CodeRabbit
Release Notes
New Features
Documentation
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.