Skip to content

Conversation

@forketyfork
Copy link
Owner

Solution:

  • Run shellcheck and ruff from just lint and include both tools in the dev shell for CI parity.
  • Move helper scripts and verify-setup into scripts/, update docs and CLAUDE references, and address shellcheck warnings.
  • Relocate terminfo assets to assets/, add an assets module to embed them, and wire the new import in build and shell.

 Issue: Add shellcheck/ruff verification to GitHub Actions, lint the script set, move helper scripts into scripts/, and consolidate assets into the top-level assets directory.
 Solution: Run shellcheck and ruff from just lint and include both tools in the dev shell for CI parity.
 Move helper scripts and verify-setup into scripts/, update docs and CLAUDE references, and address shellcheck warnings.
 Relocate terminfo assets to assets/, add an assets module to embed them, and wire the new import in build and shell.
@forketyfork forketyfork requested a review from Copilot January 16, 2026 09:59
Copy link

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 consolidates linting tools and assets into a unified structure. It adds shellcheck and ruff to the linting process, relocates helper scripts and assets to dedicated directories, and embeds terminfo data through a new assets module.

Changes:

  • Added shellcheck and ruff to just lint and the Nix dev shell for CI parity
  • Moved helper scripts to scripts/ and updated documentation references
  • Created an assets/ module to embed terminfo data and updated imports in shell.zig and build.zig

Reviewed changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/shell.zig Updated to import terminfo from the new assets module
scripts/bundle-macos.sh Applied shellcheck fixes for safer variable handling and loop constructs
scripts/architect_notify.py Fixed line length formatting issue
justfile Added shellcheck and ruff checks to the lint recipe
flake.nix Added ruff and shellcheck to dev shell dependencies
docs/development.md Updated script paths to reference the new scripts/ directory
docs/architecture.md Documented the new assets/ directory structure
build.zig Created and imported the assets module for terminfo embedding
assets/terminfo.zig New module that embeds the terminfo file
CLAUDE.md Updated helper script path reference

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

 Issue: Reviewer asked to keep bash conditional syntax consistent in bundle-macos.sh.
 Solution: Switch remaining [ ] tests to [[ ]] to match bash-specific usage while keeping logic unchanged.
@forketyfork forketyfork merged commit de89e40 into main Jan 16, 2026
4 checks passed
@forketyfork forketyfork deleted the chore/script-linting-assets branch January 16, 2026 10:46
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