feat(ci): add Effect-TS compliance check to GitHub Actions#4
Merged
skulidropek merged 3 commits intoProverCoderAI:mainfrom Jan 12, 2026
Merged
feat(ci): add Effect-TS compliance check to GitHub Actions#4skulidropek merged 3 commits intoProverCoderAI:mainfrom
skulidropek merged 3 commits intoProverCoderAI:mainfrom
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: ProverCoderAI#3
- Add lint:effect script to run eslint with effect-ts-check config - Add new lint-effect job to check.yml workflow - Ensures strict Effect-TS compliance rules are enforced in CI CHANGE: add GitHub Actions workflow for Effect-TS linting WHY: automate enforcement of functional programming constraints QUOTE(ТЗ): "Сделай github actions который будет запускать eslint-effect правило" REF: ProverCoderAI#3 PURITY: SHELL EFFECT: CI/CD pipeline configuration INVARIANT: ∀ commit: pushed(commit) → effect_ts_rules_validated(commit) COMPLEXITY: O(n)/O(1) where n = number of TypeScript files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This reverts commit a2d05c2.
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
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.
📋 Issue Reference
Fixes #3
🎯 Implementation Summary
This PR adds a GitHub Actions workflow job to automatically run Effect-TS compliance checks using the existing
eslint.effect-ts-check.config.mjsconfiguration.📝 Changes Made
1. Added
lint:effectScriptpackages/eslint-template/package.json"lint:effect": "eslint --config eslint.effect-ts-check.config.mjs"2. Added Root-Level
lint:effectScriptpackage.json"lint:effect": "pnpm --filter @effect-template/eslint-template lint:effect"3. Added GitHub Actions Workflow Job
.github/workflows/check.ymllint-effect🔍 What Gets Checked
The workflow validates the following Effect-TS compliance rules:
Forbidden Patterns (enforced via eslint.effect-ts-check.config.mjs):
switchstatements (useMatch.exhaustiveinstead)try/catch(useEffect.try/Effect.catch*)async/await(useEffect.gen/Effect.flatMap)Promiseusage (useEffectcombinators)@effect/platformservices)anytypets-ignore/ts-nocheckCore-Specific Rules:
Effect.runSync,Effect.runPromisein core (shell-only)src/core/axioms.ts📂 Files Validated
The workflow checks:
src/**/*.tsscripts/**/*.ts🏗️ Architecture Guarantees
Mathematical Invariant:
Functional Core, Imperative Shell:
Complexity:
✅ Testing
pnpm lint:effectruns successfullycheck.yml🚀 Usage
Local Development:
CI/CD:
The
lint-effectjob will run automatically on:mainbranchmainbranch📚 References
packages/eslint-template/eslint.effect-ts-check.config.mjs:1-221.github/workflows/check.yml:52-60This PR enforces strict functional programming discipline through automated Effect-TS compliance checks, ensuring mathematical correctness and type safety.
🤖 Co-Authored-By: Claude Sonnet 4.5