Skip to content

fix: add missing divisions to lint script and CI workflow#373

Closed
kienbui1995 wants to merge 1 commit intomsitarzewski:mainfrom
kienbui1995:fix/lint-missing-divisions
Closed

fix: add missing divisions to lint script and CI workflow#373
kienbui1995 wants to merge 1 commit intomsitarzewski:mainfrom
kienbui1995:fix/lint-missing-divisions

Conversation

@kienbui1995
Copy link
Copy Markdown
Contributor

What

Adds missing division directories to lint-agents.sh and .github/workflows/lint-agents.yml so all agent files are linted and CI-triggered.

Fixes #242

Changes

File What changed
scripts/lint-agents.sh Added academic/ and sales/ to AGENT_DIRS
.github/workflows/lint-agents.yml Added academic/ and strategy/ to paths trigger and git diff filter

Note: strategy/ is intentionally excluded from lint-agents.sh because it contains playbooks and docs (no frontmatter), not agent .md files. It is included in CI paths trigger so workflow changes are still detected.

Before / After

# Before: 142 files scanned, academic/sales agents skipped
# After:  162 files scanned, 0 errors, 65 warnings — PASSED

Relation to PR #333

PR #333 partially addresses this by adding academic/ to CI. This PR completes the fix by also adding sales/ to lint and strategy/ to CI.

Add academic/ and sales/ to lint-agents.sh AGENT_DIRS and
academic/ and strategy/ to CI workflow paths trigger and git diff filter.

Note: strategy/ is excluded from lint-agents.sh because it contains
playbooks and docs, not agent .md files with frontmatter.

Fixes msitarzewski#242
@msitarzewski
Copy link
Copy Markdown
Owner

Thanks @kienbui1995! Good catch on the missing divisions. We appreciate the thoughtful note about excluding strategy/ from lint-agents.sh since it contains playbooks rather than agent files.

We've merged #253 (comprehensive directory sync across all scripts) and #333 (lint hardening + CI expansion) which together cover the changes here. Closing as superseded — thanks for the contribution!

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.

[Bug] lint-agents.sh and CI workflow missing academic/ and sales/ directories

3 participants