-
Notifications
You must be signed in to change notification settings - Fork 43
Comparing changes
Open a pull request
base repository: Dicklesworthstone/destructive_command_guard
base: v0.2.9
head repository: Dicklesworthstone/destructive_command_guard
compare: v0.2.10
- 19 commits
- 31 files changed
- 3 contributors
Commits on Jan 15, 2026
-
refactor: complete telemetry to history rename in test files
Update remaining stale "telemetry" references to "history": - tests/common/db.rs: doc comments, db filename pattern, error messages - tests/common/fixtures.rs: module doc comments - tests/history_integration.rs: test function names, temp db filenames Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d0bd89 - Browse repository at this point
Copy the full SHA 6d0bd89View commit details -
fix: rename DCG_TELEMETRY_* env vars to DCG_HISTORY_*
The history module was renamed from telemetry, but the environment variable strings still used the old DCG_TELEMETRY_* naming. This creates inconsistency between the constant names (ENV_HISTORY_*) and their values (DCG_TELEMETRY_*). Changes: - DCG_TELEMETRY_DB → DCG_HISTORY_DB - DCG_TELEMETRY_DISABLED → DCG_HISTORY_DISABLED - Updated doc comment in schema.rs - Updated e2e test script to use new env var name Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d44bde6 - Browse repository at this point
Copy the full SHA d44bde6View commit details -
Fix potential stack overflow in recursive heredoc scanning by limitin…
…g depth to 50. Also includes Windows compatibility improvements.
Configuration menu - View commit details
-
Copy full SHA for a8f24b0 - Browse repository at this point
Copy the full SHA a8f24b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804e4c5 - Browse repository at this point
Copy the full SHA 804e4c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d1df5 - Browse repository at this point
Copy the full SHA 46d1df5View commit details -
fix(redaction): Handle quoted secrets with spaces in values
Improves secret redaction regex patterns to properly handle quoted secret values that may contain spaces: Pattern Changes: - AWS_SECRET_ACCESS_KEY: Now matches double-quoted, single-quoted, or unquoted values using alternation: (?:"[^"]*"|'[^']*'|\S+) - AZURE_KEY: Same quoting pattern applied - PASSWORD: Updated to handle quoted passwords with spaces - SECRET/API_KEY: Updated to handle quoted values New Test Coverage: - test_quoted_secrets_redaction() verifies: - Double-quoted secrets: AWS_SECRET_ACCESS_KEY="secret with spaces" - Single-quoted secrets: AWS_SECRET_ACCESS_KEY='secret with spaces' - Unquoted secrets: AWS_SECRET_ACCESS_KEY=secret_no_spaces - Quoted passwords: password="my secret password" Before this fix, commands like: export AWS_SECRET_ACCESS_KEY="wJal secret key here" Would only redact "wJal" leaving "secret key here" exposed in logs. The raw string literals (r#"..."#) are used to avoid escaping backslashes in the regex patterns. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a04f570 - Browse repository at this point
Copy the full SHA a04f570View commit details -
fix(context): Improve inline interpreter detection to avoid false pos…
…itives on echoed commands
Configuration menu - View commit details
-
Copy full SHA for 3b426b0 - Browse repository at this point
Copy the full SHA 3b426b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d271ac - Browse repository at this point
Copy the full SHA 4d271acView commit details -
fix: improve robustness of xargs regex, simulate limits, and OOM prot…
…ection - Fix xargs trigger regex in heredoc.rs to correctly handle end-of-string matches. - Fix SimulateLimits initialization in cli.rs to include max_line_bytes. - Implement max_line_bytes support in simulate.rs to prevent OOM on very long lines during simulation.
Configuration menu - View commit details
-
Copy full SHA for 77fa5fb - Browse repository at this point
Copy the full SHA 77fa5fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85f8ab1 - Browse repository at this point
Copy the full SHA 85f8ab1View commit details -
fix(heredoc): Fix Tier 1 bypass for inline scripts with attached quot…
…es (e.g. bash -c"...")
Configuration menu - View commit details
-
Copy full SHA for 2890891 - Browse repository at this point
Copy the full SHA 2890891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a6c5e - Browse repository at this point
Copy the full SHA 46a6c5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d1ce05 - Browse repository at this point
Copy the full SHA 8d1ce05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 041f432 - Browse repository at this point
Copy the full SHA 041f432View commit details -
Release v0.2.10 includes the following changes since v0.2.9: Fixes: - fix(heredoc): Fix Tier 1 bypass for inline scripts with attached quotes - fix(context): Improve inline interpreter detection to avoid false positives - fix(redaction): Handle quoted secrets with spaces in values - fix: improve robustness of xargs regex, simulate limits, and OOM protection - fix: stack overflow prevention in recursive heredoc scanning (depth limit 50) - fix: rename DCG_TELEMETRY_* env vars to DCG_HISTORY_* Refactoring: - refactor(context): improve inline code detection with forward-tracking state machine - refactor: complete telemetry to history rename in test files Maintenance: - chore: remove duplicate attributes - style: Apply cargo fmt to new test - Update crates to latest versions and resolve compatibility issues - Fix deprecated criterion::black_box usage in benchmarks CI/CD: - ci: add ACFS checksum dispatch - ci: add ACFS checksum update notification workflow Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 811bc62 - Browse repository at this point
Copy the full SHA 811bc62View commit details -
style: apply cargo fmt to fix formatting issues
Fix trailing whitespace and formatting inconsistencies in: - src/cli.rs - src/context.rs - src/evaluator.rs - src/history/schema.rs - src/simulate.rs This resolves the CI formatting check failure for the v0.2.10 release. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce4abb7 - Browse repository at this point
Copy the full SHA ce4abb7View commit details -
feat: implement telemetry pruning command
- Add prune_older_than and prune_to_size to HistoryDb - Add 'prune' subcommand to CLI - Add integration tests for pruning
Configuration menu - View commit details
-
Copy full SHA for 06c6ea7 - Browse repository at this point
Copy the full SHA 06c6ea7View commit details -
fix: resolve clippy errors for release v0.2.10
- src/simulate.rs: Move helper functions (read_line_bounded, consume_until_newline) before test module to fix items_after_test_module error - src/simulate.rs: Use map_or instead of if let/else for option handling - src/history/schema.rs: Add #[allow] attributes for intentional casts - src/history/schema.rs: Add missing # Errors doc section to prune_older_than_dry_run - Minor formatting fixes in cli.rs, context.rs, and test files Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8c982e - Browse repository at this point
Copy the full SHA f8c982eView commit details -
style: fix trailing whitespace and extra blank lines
- src/simulate.rs: Remove extra trailing blank lines - tests/repro_normalization_bypass.rs: Fix trailing whitespace Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb31003 - Browse repository at this point
Copy the full SHA eb31003View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.9...v0.2.10