Skip to content

Feature/new tests#64

Merged
rlogwood merged 35 commits intodevfrom
feature/new-tests
Mar 16, 2026
Merged

Feature/new tests#64
rlogwood merged 35 commits intodevfrom
feature/new-tests

Conversation

@rlogwood
Copy link
Copy Markdown
Collaborator

@rlogwood rlogwood commented Mar 15, 2026

New tests, regenerated test fixtures, added CI workflow

  • Added new ShellSpec tests for policy and prune
  • Fixed automatic test generation output comparison across different OSes
  • Regenerated all YAML-defined tests and verified with mixed remote testing on Ubuntu and FreeBSD
  • Added GitHub Actions workflow (.github/workflows/shellspec.yml) to run ShellSpec tests on push to main/dev/feature branches and PRs to main/dev
  • Added ShellSpec Tests status badge to README
  • Added -qq flag to zelta clone and zelta revert to accommodate OS-specific output differences
  • Enabled combined use of pattern and selector specs for debugging tests (test/runners/test_generation/lib/orchestration/setup_tree)
  • Centralized environment variable substitution cleanup in test_generator.rb, removed from awk matcher generation
  • Improved test generator error reporting
  • Added VM setup helpers to create a local Ubuntu VM that mirrors the GitHub Actions testing environment
  • Improved test README

This comment was marked as outdated.

@rlogwood rlogwood marked this pull request as draft March 15, 2026 04:46
@rlogwood
Copy link
Copy Markdown
Collaborator Author

after review, I've identified a correction that's needed in matcher function generation.

@rlogwood rlogwood marked this pull request as ready for review March 15, 2026 07:58
@rlogwood rlogwood requested a review from Copilot March 15, 2026 07:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the ShellSpec-based test suite (adding prune/policy coverage), updates the test-generation tooling to be more OS-tolerant, and introduces CI automation and local VM helpers to run ShellSpec consistently.

Changes:

  • Added new YAML-defined tests and regenerated generated ShellSpec fixtures (including new prune/policy specs).
  • Refactored parts of the Ruby test generator (path handling + env substitution) and adjusted matcher generation/normalization.
  • Added a GitHub Actions workflow for ShellSpec runs and local VM setup documentation/scripts.

Reviewed changes

Copilot reviewed 25 out of 38 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
test/runners/vm/vm-setup.sh Adds a local Ubuntu VM provisioning script for ShellSpec/ZFS testing
test/runners/vm/VM-README.md Documents how to create and use the local CI-like VM
test/runners/test_generation/scripts/sh/generate_matcher.sh Improves error guidance when no stdout is produced
test/runners/test_generation/scripts/awk/generate_case_stmt_func.awk Adjusts normalization and improves mismatch diagnostics in generated matchers
test/runners/test_generation/lib/ruby/test_generator.rb Refactors generator to use PathConfig/EnvSubstitutor; adjusts output normalization
test/runners/test_generation/lib/ruby/path_config.rb New helper for output/WIP/final path calculation
test/runners/test_generation/lib/ruby/env_substitutor.rb New helper to substitute env var values back to ${VAR} references
test/runners/test_generation/lib/orchestration/setup_tree.sh Updates tree setup orchestration to support pattern+selector specs (but changes shell semantics)
test/runners/test_generation/config/zelta_test_policy.conf Adds a policy config fixture used by policy tests (and regenerated by a helper script)
test/runners/test_generation/config/test_defs/080_zelta_policy_test.yml Defines the policy test generation inputs
test/runners/test_generation/config/test_defs/070_zelta_prune_test.yml Defines the prune test generation inputs
test/runners/test_generation/config/test_defs/060_zelta_clone_test.yml Updates clone test definition to use -qq and allow no output
test/runners/test_generation/config/test_defs/050_zelta_revert_test.yml Updates revert test definition to use -qq and allow no output
test/runners/test_generation/bin/setup_debug_state.bash Adds a bash-only helper to set up tree state for debugging generated tests
test/runners/test_generation/bin/generate_zelta_policy_config.sh Adds helper to generate a policy config from SANDBOX env vars
test/runners/test_generation/bin/generate_test.sh Adds a wrapper to run the orchestration generator with simpler args
test/runners/test_generation/bin/generate_new_tests.sh Removes older helper for generating a subset of tests
test/runners/test_generation/bin/generate_all_tests.sh Adds an “all tests” generator wrapper
test/runners/test_generation/bin/generate_80_policy_test.sh Adds a focused generator wrapper for the policy test
test/runners/test_generation/bin/generate_70_prune_test.sh Adds a focused generator wrapper for the prune test
test/runners/test_generation/bin/generate_60_clone_test.sh Adds a focused generator wrapper for the clone test
test/runners/test_generation/bin/generate_50_revert_test.sh Adds a focused generator wrapper for the revert test
test/runners/test_generation/bin/generate_40_divergent_test.sh Adds a focused generator wrapper for the divergence test
test/runners/test_generation/bin/debug_gen.sh Updates debugging helper to rely on the new debug-state setup and expands spec list
test/runners/test_generation/Gemfile.lock Adds RuboCop and related dependencies to the lockfile
test/runners/test_generation/Gemfile Adds RuboCop dependency
test/runners/env/test_env.sh Adjusts SANDBOX remote env handling (currently sets a concrete remote by default)
test/runners/env/setup_debug_env.sh Adds environment dump of SANDBOX vars in debug setup
test/runners/doc/README_AliasHelpers.md Adds zman alias and related documentation
test/README.md Improves instructions for sudoers setup across Ubuntu/FreeBSD
test/080_zelta_policy_spec.sh Adds regenerated policy spec
test/070_zelta_prune_spec.sh Adds regenerated prune spec
test/060_zelta_clone_spec.sh Regenerates clone spec and adjusts expectations for OS-specific warnings
test/050_zelta_revert_spec.sh Regenerates revert spec and adjusts expectations for OS-specific warnings
test/040_zelta_tests_spec.sh Regenerates divergence spec with updated normalization/mismatch output
README.md Adds ShellSpec CI badge
.gitignore Adjusts dotfile ignore rules and adds ci/*
.github/workflows/shellspec.yml Adds CI workflow to run ShellSpec tests on pushes/PRs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rlogwood and others added 2 commits March 15, 2026 15:49
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands and stabilizes the ShellSpec-based test infrastructure for Zelta, including new policy/prune tests, regenerated fixtures, and CI automation to run the ShellSpec suite on GitHub Actions.

Changes:

  • Added new ShellSpec tests (prune, policy) and regenerated generated-spec fixtures.
  • Refactored test-generation Ruby code (path handling + env-var substitution) and improved generator diagnostics.
  • Added local VM setup helpers and a GitHub Actions workflow to run ShellSpec tests automatically.

Reviewed changes

Copilot reviewed 27 out of 40 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
test/runners/vm/vm-setup.sh Adds a turn-key Ubuntu VM provisioning script for local ShellSpec CI-like runs
test/runners/vm/VM-README.md Documents how to create and bootstrap the local CI VM
test/runners/test_generation/scripts/sh/generate_matcher.sh Improves generator error messaging for “no output” cases
test/runners/test_generation/scripts/awk/generate_case_stmt_func.awk Updates generated matcher function boilerplate and error output
test/runners/test_generation/lib/ruby/test_generator.rb Refactors generator responsibilities (paths + env substitution) and output normalization
test/runners/test_generation/lib/ruby/path_config.rb Introduces a helper class to centralize generated file path logic
test/runners/test_generation/lib/ruby/env_substitutor.rb Introduces centralized env-var value substitution logic for stable outputs
test/runners/test_generation/lib/orchestration/setup_tree.sh Extends setup to support both pattern and selector spec execution for tree setup
test/runners/test_generation/lib/orchestration/generate_test.sh Migrates orchestration to Bash and ties into the updated tree setup flow
test/runners/test_generation/config/zelta_test_policy.conf Adds a generated policy config fixture used/overwritten by policy tests
test/runners/test_generation/config/test_defs/080_zelta_policy_test.yml Adds YAML definition for the policy tests
test/runners/test_generation/config/test_defs/070_zelta_prune_test.yml Adds YAML definition for the prune tests
test/runners/test_generation/config/test_defs/060_zelta_clone_test.yml Updates clone test to tolerate OS-specific warnings/output via -qq + no-output allowance
test/runners/test_generation/config/test_defs/050_zelta_revert_test.yml Updates revert test to tolerate OS-specific warnings/output via -qq + no-output allowance
test/runners/test_generation/bin/setup_debug_state.bash Adds a Bash-only sourced helper to set up state for debugging generated specs
test/runners/test_generation/bin/generate_zelta_policy_config.sh Adds helper to generate a policy config from SANDBOX env for tests
test/runners/test_generation/bin/generate_test.sh Adds a CLI wrapper to generate one test from a YAML definition
test/runners/test_generation/bin/generate_all_tests.sh Adds a convenience runner to regenerate all YAML-defined tests
test/runners/test_generation/bin/generate_80_policy_test.sh Adds convenience script to regenerate the policy test
test/runners/test_generation/bin/generate_70_prune_test.sh Adds convenience script to regenerate the prune test
test/runners/test_generation/bin/generate_60_clone_test.sh Adds convenience script to regenerate the clone test
test/runners/test_generation/bin/generate_50_revert_test.sh Adds convenience script to regenerate the revert test
test/runners/test_generation/bin/generate_40_divergent_test.sh Adds convenience script to regenerate the divergent test
test/runners/test_generation/bin/debug_gen.sh Updates local debugging workflow for generated specs using the new debug-state helper
test/runners/test_generation/Gemfile.lock Adds RuboCop dependency (lockfile update) for generator linting/tooling
test/runners/test_generation/Gemfile Adds RuboCop dependency for generator linting/tooling
test/runners/env/test_env.sh Makes remote SANDBOX endpoints opt-in by default (unset then optional examples)
test/runners/env/setup_debug_env.sh Adds debug-time printing of SANDBOX-related environment variables
test/runners/doc/README_AliasHelpers.md Adds a zman alias for manpage access using ZELTA_DOC
test/README.md Improves remote testing instructions (sudoers examples for Ubuntu/FreeBSD)
test/080_zelta_policy_spec.sh Adds the generated ShellSpec policy test file
test/070_zelta_prune_spec.sh Adds the generated ShellSpec prune test file
test/060_zelta_clone_spec.sh Regenerates clone spec with normalized output handling and -qq usage
test/050_zelta_revert_spec.sh Regenerates revert spec with normalized output handling and -qq usage
test/040_zelta_tests_spec.sh Regenerates divergent spec with normalized output handling
contrib/install-from-git.sh Updates installer URL to the new GitHub org/repo location
README.md Updates repo links and adds a ShellSpec workflow badge
.gitignore Adjusts ignore patterns to include .github/ and ignore CI outputs
.github/workflows/shellspec.yml Adds GitHub Actions workflow to run ShellSpec tests on pushes/PRs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI commented Mar 15, 2026

@rlogwood I've opened a new pull request, #65, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits March 15, 2026 17:05
…st_policy.conf (#65)

* Initial plan

* Replace real user/host identifiers with fake placeholders in zelta_test_policy.conf

Co-authored-by: rlogwood <3377419+rlogwood@users.noreply.github.com>

* Update zelta_test_policy.conf generation notes

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rlogwood <3377419+rlogwood@users.noreply.github.com>
Co-authored-by: rlogwood <richard.logwood@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands and stabilizes the ShellSpec-based test suite and its supporting tooling, adds CI coverage via GitHub Actions, and introduces local VM helpers to mirror the CI environment for reproducible test runs.

Changes:

  • Added new ShellSpec tests (policy/prune) and regenerated generated specs/fixtures.
  • Improved test-generation robustness/portability (env substitution centralization, output normalization, orchestration/debug tooling updates).
  • Added GitHub Actions workflow to run ShellSpec in CI and updated docs/README links/badges accordingly.

Reviewed changes

Copilot reviewed 27 out of 40 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/runners/vm/vm-setup.sh Adds a local Ubuntu VM bootstrap script for running ShellSpec tests.
test/runners/vm/VM-README.md Documents how to create/configure the local CI-like VM.
test/runners/test_generation/scripts/sh/generate_matcher.sh Improves error messaging when zelta produces no output.
test/runners/test_generation/scripts/awk/generate_case_stmt_func.awk Adjusts matcher generation (normalization + improved mismatch reporting).
test/runners/test_generation/lib/ruby/test_generator.rb Refactors generator to use new helper objects and centralizes output/env cleanup.
test/runners/test_generation/lib/ruby/path_config.rb New helper class to centralize generated file path construction.
test/runners/test_generation/lib/ruby/env_substitutor.rb New helper for stable env-var substitution in generated matcher patterns.
test/runners/test_generation/lib/orchestration/setup_tree.sh Enhances tree setup to support both pattern and selector specs (Bash-based).
test/runners/test_generation/lib/orchestration/generate_test.sh Migrates orchestration to Bash and wires updated setup_tree behavior.
test/runners/test_generation/config/zelta_test_policy.conf Adds a policy config fixture used by policy ShellSpec tests.
test/runners/test_generation/config/test_defs/080_zelta_policy_test.yml New YAML-defined policy test.
test/runners/test_generation/config/test_defs/070_zelta_prune_test.yml New YAML-defined prune test.
test/runners/test_generation/config/test_defs/060_zelta_clone_test.yml Updates clone test definition (quiet flag / allow_no_output).
test/runners/test_generation/config/test_defs/050_zelta_revert_test.yml Updates revert test definition (quiet flag / allow_no_output).
test/runners/test_generation/bin/setup_debug_state.bash Adds Bash-only helper to reproduce a “post-setup” test state for debugging.
test/runners/test_generation/bin/generate_zelta_policy_config.sh Adds helper script used by policy tests to generate a policy config.
test/runners/test_generation/bin/generate_test.sh Adds CLI wrapper to run the orchestration generator for a single YAML definition.
test/runners/test_generation/bin/generate_new_tests.sh Removes the old fixed-sequence generator script.
test/runners/test_generation/bin/generate_all_tests.sh Adds an “all tests” generator wrapper.
test/runners/test_generation/bin/generate_80_policy_test.sh Adds generator wrapper for policy test.
test/runners/test_generation/bin/generate_70_prune_test.sh Adds generator wrapper for prune test.
test/runners/test_generation/bin/generate_60_clone_test.sh Adds generator wrapper for clone test.
test/runners/test_generation/bin/generate_50_revert_test.sh Adds generator wrapper for revert test.
test/runners/test_generation/bin/generate_40_divergent_test.sh Adds generator wrapper for divergent/match tests.
test/runners/test_generation/bin/debug_gen.sh Updates the debug helper to use the new debug-state setup flow.
test/runners/test_generation/Gemfile.lock Updates Ruby dependency lockfile (adds RuboCop + deps).
test/runners/test_generation/Gemfile Adds RuboCop to the test-generation Ruby bundle.
test/runners/env/test_env.sh Makes remote test env vars opt-in by unsetting by default and providing examples.
test/runners/env/setup_debug_env.sh Tweaks debug env setup behavior (now prints SANDBOX envs).
test/runners/doc/README_AliasHelpers.md Adds alias for accessing zelta man pages via $ZELTA_DOC.
test/README.md Improves remote-testing sudoers guidance for Ubuntu/FreeBSD.
test/080_zelta_policy_spec.sh Adds generated policy ShellSpec spec.
test/070_zelta_prune_spec.sh Adds generated prune ShellSpec spec.
test/060_zelta_clone_spec.sh Regenerates clone spec with updated normalization/quiet behavior.
test/050_zelta_revert_spec.sh Regenerates revert spec with updated normalization/quiet behavior.
test/040_zelta_tests_spec.sh Regenerates existing specs with updated normalization behavior.
contrib/install-from-git.sh Updates documentation URL to the new GitHub org/repo.
README.md Updates repo links and adds ShellSpec workflow badge.
.gitignore Adjusts ignore rules to ensure .github/ is included and adds ci/*.
.github/workflows/shellspec.yml Adds CI workflow to run ShellSpec tests on pushes/PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands and stabilizes the ShellSpec-based test suite for Zelta by adding new generated tests (policy/prune), improving the test-generation pipeline for cross-OS consistency, and introducing local/CI runners to execute the suite reliably.

Changes:

  • Add new YAML-defined tests (policy/prune) and regenerate generated ShellSpec specs/fixtures with improved normalization/substitution.
  • Refactor Ruby test generator helpers (path management + env substitution) and update orchestration scripts (now Bash-based).
  • Add CI workflow to run ShellSpec on GitHub Actions plus local VM setup scripts/docs.

Reviewed changes

Copilot reviewed 27 out of 40 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
test/runners/vm/vm-setup.sh Adds Ubuntu VM bootstrap script for running ShellSpec locally.
test/runners/vm/VM-README.md Documents creating/configuring a local CI-like Ubuntu VM.
test/runners/test_generation/scripts/sh/generate_matcher.sh Improves generator error messaging when zelta output is empty.
test/runners/test_generation/scripts/awk/generate_case_stmt_func.awk Adjusts matcher generation (whitespace normalization + better diagnostics).
test/runners/test_generation/lib/ruby/test_generator.rb Refactors generator: centralized cleanup/substitution + path helper usage.
test/runners/test_generation/lib/ruby/path_config.rb New helper class for consistent output/WIP/final paths.
test/runners/test_generation/lib/ruby/env_substitutor.rb New helper for env-value → ${VAR} substitutions (longest-first).
test/runners/test_generation/lib/orchestration/setup_tree.sh Enhances setup to support both pattern + selector specs; adds more robust error handling.
test/runners/test_generation/lib/orchestration/generate_test.sh Migrates orchestration entrypoint to Bash.
test/runners/test_generation/config/zelta_test_policy.conf.example Adds example template documenting generated policy config format.
test/runners/test_generation/config/test_defs/080_zelta_policy_test.yml Adds YAML definition for policy test generation.
test/runners/test_generation/config/test_defs/070_zelta_prune_test.yml Adds YAML definition for prune test generation.
test/runners/test_generation/config/test_defs/060_zelta_clone_test.yml Updates clone test to use -qq and allow no output.
test/runners/test_generation/config/test_defs/050_zelta_revert_test.yml Updates revert test to use -qq and allow no output.
test/runners/test_generation/bin/setup_debug_state.bash Adds Bash-only sourced helper to reproduce tree state for debugging.
test/runners/test_generation/bin/generate_zelta_policy_config.sh Adds helper to generate a policy config from SANDBOX env vars.
test/runners/test_generation/bin/generate_test.sh Adds wrapper to run orchestration with a test-def filename + setup specs.
test/runners/test_generation/bin/generate_new_tests.sh Removes older fixed-sequence generator script.
test/runners/test_generation/bin/generate_all_tests.sh Adds wrapper to generate all defined tests.
test/runners/test_generation/bin/generate_80_policy_test.sh Adds convenience script for policy test generation.
test/runners/test_generation/bin/generate_70_prune_test.sh Adds convenience script for prune test generation.
test/runners/test_generation/bin/generate_60_clone_test.sh Adds convenience script for clone test generation.
test/runners/test_generation/bin/generate_50_revert_test.sh Adds convenience script for revert test generation.
test/runners/test_generation/bin/generate_40_divergent_test.sh Adds convenience script for divergent test generation.
test/runners/test_generation/bin/debug_gen.sh Updates debug helper to use the new debug state setup script.
test/runners/test_generation/Gemfile.lock Updates lockfile (adds RuboCop and dependencies).
test/runners/test_generation/Gemfile Adds RuboCop to the test-generation Ruby bundle.
test/runners/env/test_env.sh Makes remote env vars opt-in by unsetting by default + examples.
test/runners/env/setup_debug_env.sh Adds sandbox env visibility during debug setup.
test/runners/doc/README_AliasHelpers.md Adds zman alias for accessing man pages via ZELTA_DOC.
test/README.md Expands remote testing sudoers guidance (Ubuntu vs FreeBSD).
test/080_zelta_policy_spec.sh Adds generated ShellSpec policy test.
test/070_zelta_prune_spec.sh Adds generated ShellSpec prune test.
test/060_zelta_clone_spec.sh Regenerates clone spec to tolerate OS-specific warning differences.
test/050_zelta_revert_spec.sh Regenerates revert spec to tolerate OS-specific warning differences.
test/040_zelta_tests_spec.sh Regenerates divergent spec with updated normalization/matcher behavior.
contrib/install-from-git.sh Updates install-from-git URL to the new GitHub org/repo.
README.md Updates GitHub links + adds ShellSpec workflow badge.
.gitignore Unignores .github/ and ignores generated policy config + CI artifacts.
.github/workflows/shellspec.yml Adds GitHub Actions workflow to run ShellSpec tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rlogwood and others added 2 commits March 15, 2026 21:21
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds/extends the ShellSpec-based test suite and supporting tooling so tests can be regenerated consistently across OSes and executed in CI (plus local VM helpers to mirror the CI environment).

Changes:

  • Add new ShellSpec tests (policy, prune) and regenerate YAML-defined fixtures/specs.
  • Improve test-generation tooling (path/env substitution helpers, setup_tree orchestration changes, clearer matcher diagnostics).
  • Add GitHub Actions workflow to run ShellSpec tests and update docs/README links/badges.

Reviewed changes

Copilot reviewed 27 out of 40 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/runners/vm/vm-setup.sh Local Ubuntu VM provisioning for ShellSpec runs
test/runners/vm/VM-README.md Documentation for creating/using the local CI VM
test/runners/test_generation/scripts/sh/generate_matcher.sh Improves generator error guidance for no-output cases
test/runners/test_generation/scripts/awk/generate_case_stmt_func.awk Matcher generation tweaks (normalization + diagnostics)
test/runners/test_generation/lib/ruby/test_generator.rb Refactors output normalization + env substitution and centralizes path handling
test/runners/test_generation/lib/ruby/path_config.rb New helper to compute output/WIP/final paths
test/runners/test_generation/lib/ruby/env_substitutor.rb New helper to substitute env var values into placeholders
test/runners/test_generation/lib/orchestration/setup_tree.sh Enhances setup_tree to support pattern + selector commands (Bash arrays)
test/runners/test_generation/lib/orchestration/generate_test.sh Migrates orchestration entrypoint to Bash
test/runners/test_generation/config/zelta_test_policy.conf.example Example template for generated policy config
test/runners/test_generation/config/test_defs/080_zelta_policy_test.yml New YAML definition for policy test generation
test/runners/test_generation/config/test_defs/070_zelta_prune_test.yml New YAML definition for prune test generation
test/runners/test_generation/config/test_defs/060_zelta_clone_test.yml Updates clone test definition (quiet/allow-no-output)
test/runners/test_generation/config/test_defs/050_zelta_revert_test.yml Updates revert test definition (quiet/allow-no-output)
test/runners/test_generation/bin/setup_debug_state.bash New helper to source/setup a debug state for iterative testing
test/runners/test_generation/bin/generate_zelta_policy_config.sh Generates a policy config from SANDBOX env vars for tests
test/runners/test_generation/bin/generate_test.sh Wrapper for generating a single test from a YAML definition
test/runners/test_generation/bin/generate_new_tests.sh Removes the older generation driver script
test/runners/test_generation/bin/generate_all_tests.sh New entrypoint to regenerate all YAML-defined tests
test/runners/test_generation/bin/generate_80_policy_test.sh Convenience wrapper for generating policy test
test/runners/test_generation/bin/generate_70_prune_test.sh Convenience wrapper for generating prune test
test/runners/test_generation/bin/generate_60_clone_test.sh Convenience wrapper for generating clone test
test/runners/test_generation/bin/generate_50_revert_test.sh Convenience wrapper for generating revert test
test/runners/test_generation/bin/generate_40_divergent_test.sh Convenience wrapper for generating divergent test
test/runners/test_generation/bin/debug_gen.sh Updates debug flow to use setup_debug_state helper
test/runners/test_generation/Gemfile.lock Adds RuboCop dependency lock entries
test/runners/test_generation/Gemfile Adds RuboCop as a dev dependency
test/runners/env/test_env.sh Makes remote env vars opt-in by default (unset + examples)
test/runners/env/setup_debug_env.sh Prints SANDBOX-related env vars in debug mode
test/runners/doc/README_AliasHelpers.md Adds zman alias for manpage access
test/README.md Updates remote sudoers guidance (Ubuntu/FreeBSD examples)
test/080_zelta_policy_spec.sh New generated ShellSpec policy test
test/070_zelta_prune_spec.sh New generated ShellSpec prune test
test/060_zelta_clone_spec.sh Regenerated clone spec with updated expectations
test/050_zelta_revert_spec.sh Regenerated revert spec with updated expectations
test/040_zelta_tests_spec.sh Regenerated divergent tests spec with updated normalization
contrib/install-from-git.sh Updates repo URL in usage comment
README.md Updates repo links + adds ShellSpec CI badge
.gitignore Adjusts dotfile ignores + ignores generated policy conf and CI artifacts
.github/workflows/shellspec.yml New CI workflow to run ShellSpec on pushes/PRs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rlogwood rlogwood merged commit 6273f21 into dev Mar 16, 2026
6 checks passed
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.

3 participants