feat(FN-1540): add lint as inline quality gate in task prompts

- Add ESLint configuration (eslint.config.mjs) for TypeScript/JavaScript linting
- Update executor prompts to include lint instruction before code submission
- Add lint check to triage prompt validation workflow
- Update agent prompts to emphasize lint compliance as quality requirement
- Add lint tool to agent toolset with file-level rule disabling capability
- Include lint in CI workflow with non-blocking status
- Update tests to verify lint-inclusive prompt behavior
- Add documentation for lint integration in contributing.md
- Add changeset for @gsxdsm/fusion minor release
This commit is contained in:
gsxdsm
2026-04-10 12:48:27 -07:00
parent e685745aa3
commit d9acc10c49
13 changed files with 726 additions and 33 deletions

View File

@@ -0,0 +1,17 @@
---
"@gsxdsm/fusion": patch
---
Add lint quality gate and update agent prompts to enforce lint-fix behavior
This change adds a repository-owned ESLint configuration (`pnpm lint`) and updates the executor and triage agent prompts to treat lint failures as blocking completion criteria, matching how tests and typecheck are currently handled.
**Changes:**
- Add ESLint configuration with TypeScript support
- Add `pnpm lint` command to package.json
- Add lint step to CI workflow
- Update executor prompts to require lint pass before `task_done()`
- Update triage prompts to include lint check in Testing & Verification step
- Update completion criteria to include lint passing
Agents now treat lint failures as blocking, consistent with test and typecheck failures.