Commit Graph
21 Commits
Author SHA1 Message Date
Anil Maktala aa66d1cd51 Add PR build/test gate for scripts/
Adds a Scripts CI workflow that runs npm ci, build, and test in scripts/
on every pull request and on pushes to main, so Dependabot security PRs
can be gated by CI (remediation-path campaign, KP-1196126).

Also renames scripts/jest.config.js to jest.config.cjs: package.json sets
"type": "module", so Jest's CommonJS config failed to load and npm test
errored on main. No config content changed.
2026-11-23 09:55:41 -05:00
Anil Maktala efac9e3a1e Merge pull request #12009 from kirodotdev/dependabot/npm_and_yarn/scripts/brace-expansion-1.1.21
build(deps): bump brace-expansion from 1.1.18 to 1.1.21 in /scripts
2026-11-05 11:10:14 -05:00
dependabot[bot] 9bfb38a81c build(deps): bump brace-expansion from 1.1.18 to 1.1.21 in /scripts
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.18 to 1.1.21.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.18...v1.1.21)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-18 11:35:30 +00:00
dependabot[bot] a41f232539 build(deps-dev): bump handlebars from 4.7.9 to 4.7.10 in /scripts
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.9 to 4.7.10.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.10/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.9...v4.7.10)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-17 11:58:53 +00:00
Jay Raval cc07ec1a27 build(deps): resolve Dependabot alerts 2026-08-26 11:26:01 -04:00
Anil Maktala f9bc77748a updated the model 2026-06-22 12:00:09 -04:00
Anil Maktala ad157dc57c updated the model to Opus 4.6 2026-06-22 11:15:01 -04:00
Anil Maktala 35cc67e355 updated the comment 2026-05-14 21:17:49 +05:30
Anil Maktala 69702df161 feat(duplicate-detection): expand candidate pool to include recent untriaged issues
- Add RECENT_WINDOW_HOURS constant (default 72h) to include recently created issues in duplicate candidate pool
2026-05-14 20:23:02 +05:30
Anil Maktala 4262d96497 ci(spam-detection): embed spam detection prompt as constant 2026-03-20 14:46:01 -04:00
Anil Maktala 12ffd73410 - Remove explicit credentials object from BedrockRuntimeClient initialization 2026-03-20 14:31:01 -04:00
Anil Maktala 73c6ac4eff ci(spam-detection): refactor to event-driven checks with stricter validation
- Replace scheduled cleanup/bulk scan with single-comment event-driven flow
- Add org membership gate for manual triggers and exempt org members from flagging
- Implement two-pass Bedrock confirmation to reduce false positives
- Raise confidence threshold 0.85 → 0.95 for stricter detection

- Add org read permission and remove batch processing logic
2026-03-03 10:43:54 -05:00
Anil Maktala d01c5184f8 feat(spam-detection): integrate AWS Bedrock for semantic spam detection
- Replace regex-based spam patterns with AWS Bedrock Claude model for semantic analysis
- Add support for obfuscated content detection including homoglyphs, Unicode tricks, and leetspeak
- Implement confidence scoring with 0.85 threshold to reduce false positives
- Add AWS credentials configuration (AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) to workflow
- Update spam check result interface to include confidence score and reason explanation
- Reduce batch size from 10 to 5 comments per batch to accommodate Bedrock API rate limits
- Increase batch delay from 500ms to 1000ms for Bedrock rate limit compliance
- Improve logging to show confidence scores and detection reasons instead of matched patterns
- Make isSpamComment function async to support Bedrock API calls
- Bedrock provides superior detection of sophisticated spam attempts that evade regex patterns
2026-02-23 17:39:29 -05:00
Anil Maktala a7614b9cda feat(spam-detection): integrate AWS Bedrock for semantic spam detection
- Replace regex-based spam patterns with AWS Bedrock Claude model for semantic analysis
- Add support for obfuscated content detection including homoglyphs, Unicode tricks, and leetspeak
- Implement confidence scoring with 0.85 threshold to reduce false positives
- Add AWS credentials configuration (AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) to workflow
- Update spam check result interface to include confidence score and reason explanation
- Reduce batch size from 10 to 5 comments per batch to accommodate Bedrock API rate limits
- Increase batch delay from 500ms to 1000ms for Bedrock rate limit compliance
- Improve logging to show confidence scores and detection reasons instead of matched patterns
- Make isSpamComment function async to support Bedrock API calls
- Bedrock provides superior detection of sophisticated spam attempts that evade regex patterns
2026-02-20 15:30:03 -05:00
Anil Maktala a082b863e3 ci: add spam comment deletion workflow and script
- Add GitHub workflow to automatically detect and delete spam comments
2026-02-20 15:03:54 -05:00
Anil Maktala 86faffe55f ci: enhance issue triage workflow and add Bedrock comment generator
- Add workflow_dispatch trigger to issue-triage for manual issue processing
- Support dynamic issue number input via workflow_dispatch in triage workflow
- Create bedrock_comment_generator.ts module for AI-powered acknowledgment comments
- Fetch and format existing issue comments for context-aware responses
- Update workflow environment variables to support both automatic and manual triggers
2026-02-18 09:27:47 -05:00
Anil Maktala c61724199c ci: add GitHub workflows for duplicate issue dispute handling
- Add duplicate-dispute.yml workflow to handle user disputes of duplicate detection
* Triggers on issue comments and checks for duplicate label
* Removes duplicate label and adds pending-triage when user disputes
* Posts acknowledgment comment to notify user of relabeling
- Add duplicate-reaction-check.yml workflow to monitor thumbs down reactions
* Runs hourly to check for 👎 reactions on duplicate detection comments
* Automatically relabels issues when negative reactions detected
* Provides audit trail and workflow summary for transparency
- Update .gitignore to exclude workflow-related temporary files
- Refactor duplicate detection scripts for improved integration
* Update assign_labels.ts to work with new workflow system
* Update close_duplicates.ts to respect dispute handling
* Update detect_duplicates.ts to generate workflow-compatible comments
- Enables community feedback mechanism for duplicate detection accuracy
2026-02-09 09:25:17 -05:00
Anil Maktala 15543da6b9 cleaned the docs 2026-01-28 15:18:52 -05:00
Anil Maktala 4b2fedb990 updated duplicate detection logic 2026-01-23 10:27:54 -05:00
Anil Maktala 24985df2f4 Remove md files from version control 2026-01-14 13:38:04 -05:00
Anil Maktala 2916647997 feat: add comprehensive GitHub issue automation system
- Add GitHub Actions workflows for issue triage, duplicate detection, and stale issue management
- Add AWS Bedrock integration for AI-powered issue classification and duplicate detection
- Add TypeScript scripts for issue automation including labeling, triaging, and closing workflows
- Add comprehensive documentation for setup, implementation, and testing procedures
- Add security fixes for prompt injection vulnerabilities in AI model interactions
- Add local testing framework with Jest configuration and test utilities
- Add rate limiting and retry utilities for GitHub API and AWS Bedrock calls
- Add environment configuration examples and ESLint setup for TypeScript scripts
- Add detailed testing results and completion status documentation
- Implement automated duplicate detection using semantic similarity analysis
- Implement stale issue closing with configurable timelines and grace periods
- Implement issue classification and auto-labeling based on content analysis
2026-01-14 12:25:29 -05:00