ci: add PR workflow with lint CI, agent instructions, and install diagnostics#1
Open
alex-bezek wants to merge 1 commit into
Open
ci: add PR workflow with lint CI, agent instructions, and install diagnostics#1alex-bezek wants to merge 1 commit into
alex-bezek wants to merge 1 commit into
Conversation
…gnostics Implements M1 of the AI-driven workflow vision (plans/002-vision.md): - AGENTS.md: cross-agent workflow rules (branch, PR, conventions) - .github/copilot-instructions.md: Copilot review calibration for dotfiles - scripts/ci/lint.sh: shellcheck + bash syntax + JSON validation - .github/workflows/ci.yml: GitHub Actions lint gate - scripts/dotfiles-debug.sh: portable install diagnostics - install.sh: trap writes $HOME/.dotfiles-status on success/failure - README.md: note about PR-based workflow - Shellcheck fixes across existing scripts (inline disables for false positives) Spec: plans/002-pr-workflow-and-ci.md
This was referenced Apr 12, 2026
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
Implements M1 of the AI-driven workflow vision (
plans/002-vision.md):AGENTS.md— cross-agent workflow rules: always branch, conventional commits,gh pr create.github/copilot-instructions.md— Copilot context + review sensitivity calibration for personal dotfiles (default stance: approve unless critical issue)scripts/ci/lint.sh— deterministic gate: shellcheck,bash -n,jq emptyon all JSON (18 files checked).github/workflows/ci.yml— singlelintjob, runs on all PRs and pushes to masterscripts/dotfiles-debug.sh— portable diagnostics (OS, tools, symlinks, disk, cloud-init)install.sh— trap writes$HOME/.dotfiles-statuson success/failure, auto-runs debug on crashREADME.md— notes the repo now uses PR workflowWhat's next
After this PR merges:
plans/002-manual-steps.mdsteps 6-9)git/hooks/pre-pushto block direct pushes to masterTest plan
bash scripts/ci/lint.shpasses locally (18 files, all clean)bash -n install.shpassesbash scripts/dotfiles-debug.shruns cleanly on macOSlintjob passes on this PRFull spec:
plans/002-pr-workflow-and-ci.md