Skip to content

feat: convert dialectic-pr to GitHub Action#6

Merged
rxolve merged 2 commits intomainfrom
dev
Feb 22, 2026
Merged

feat: convert dialectic-pr to GitHub Action#6
rxolve merged 2 commits intomainfrom
dev

Conversation

@rxolve
Copy link
Copy Markdown
Collaborator

@rxolve rxolve commented Feb 21, 2026

Extract review orchestration into shared review-engine so both CLI and
GitHub Action entry points can reuse it. Add language and context_files
config options for localized review output and additional context loading.

  • Add ReviewOptions/ReviewOutput types, language/context_files to DialecticConfig
  • Create src/core/review-engine.ts with runReview() extracted from cli.ts
  • Create src/action.ts entry point using @actions/core and @actions/github
  • Create action.yml metadata (uses: node20, dist/action/index.js)
  • Add language support to ConsensusEngine (ko, ja, zh system message)
  • Fix PR number extraction: read GITHUB_EVENT_PATH instead of nonexistent env var
  • Update init command to generate action-based workflow (npx → uses: timenco/dialectic-pr@v1)
  • Add JSON Schema for editor autocompletion
  • Migrate $schema URLs from unpkg.com to raw.githubusercontent.com
  • Add ncc build pipeline (build:action, build:all scripts)

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

  Extract review orchestration into shared review-engine so both CLI and
  GitHub Action entry points can reuse it. Add language and context_files
  config options for localized review output and additional context loading.

  - Add ReviewOptions/ReviewOutput types, language/context_files to DialecticConfig
  - Create src/core/review-engine.ts with runReview() extracted from cli.ts
  - Create src/action.ts entry point using @actions/core and @actions/github
  - Create action.yml metadata (uses: node20, dist/action/index.js)
  - Add language support to ConsensusEngine (ko, ja, zh system message)
  - Fix PR number extraction: read GITHUB_EVENT_PATH instead of nonexistent env var
  - Update init command to generate action-based workflow (npx → uses: timenco/dialectic-pr@v1)
  - Add JSON Schema for editor autocompletion
  - Migrate $schema URLs from unpkg.com to raw.githubusercontent.com
  - Add ncc build pipeline (build:action, build:all scripts)

  Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rxolve rxolve self-assigned this Feb 21, 2026
  Mark package as private and remove all npm publishing artifacts:
  .npmignore, bin, files, prepublishOnly, scoped package name.

  Update README, specs, and self-review workflow to reflect
  action-based usage (uses: timenco/dialectic-pr@v1) instead of
  npx @dialectic-pr/core.

  Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rxolve rxolve merged commit 6e9de4e into main Feb 22, 2026
1 check failed
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.

1 participant