Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
5bda07a
Delete PRD.md
tosin2013 Jul 18, 2025
c1fff27
feat: Add RHEL 9/10 installation script to address npm global install…
tosin2013 Aug 17, 2025
e2972d3
feat: Add comprehensive documentation website with tutorials
tosin2013 Aug 21, 2025
297d833
fix: Revert GitHub Pages workflow to original configuration
tosin2013 Aug 21, 2025
177d639
trigger: Manual deployment test
tosin2013 Aug 21, 2025
85cdc18
trigger: Manual deployment test
tosin2013 Aug 21, 2025
da6e17f
feat: Add Mermaid diagram support to documentation
tosin2013 Aug 21, 2025
c20019d
fix: Correct MCP server configuration in all documentation
tosin2013 Aug 21, 2025
9317aed
Initial plan
Copilot Sep 6, 2025
87e5a8a
Initial assessment and planning for deployment-readiness-tool tests
Copilot Sep 6, 2025
63334fb
Implement comprehensive deployment-readiness-tool test suite
Copilot Sep 6, 2025
4bd2973
Achieve 94.73% coverage for deployment-readiness-tool with comprehens…
Copilot Sep 6, 2025
44a7770
Initial plan
Copilot Sep 6, 2025
7701b2a
Complete deployment-readiness-tool tests with 94.73% coverage - excee…
Copilot Sep 6, 2025
23c18dd
Merge pull request #8 from tosin2013/copilot/fix-7
tosin2013 Sep 6, 2025
06c759f
Test pre-commit hook
tosin2013 Sep 6, 2025
5fac20e
feat: add pre-commit hook for automated code quality checks
tosin2013 Sep 6, 2025
f8666ea
Fix TypeScript compilation errors in deployment-readiness-tool.test.ts
Copilot Sep 6, 2025
cd7f1a7
Merge pull request #14 from tosin2013/feature/pre-commit-hook-quality…
tosin2013 Sep 6, 2025
60b4518
Merge pull request #6 from tosin2013/copilot/fix-2
tosin2013 Sep 6, 2025
58272d1
Initial plan
Copilot Sep 6, 2025
4bbe248
Initial exploration and analysis of compare_adr_progress environment …
Copilot Sep 6, 2025
c4afe2a
Implement environment integration for compare_adr_progress tool with …
Copilot Sep 6, 2025
580c86a
Fix TypeScript errors in environment integration tests
Copilot Sep 6, 2025
f4495f9
Initial plan
Copilot Sep 6, 2025
8a81769
Merge pull request #15 from tosin2013/copilot/fix-9
tosin2013 Sep 6, 2025
c8f4438
Add basic smart-score-tool tests with 41% coverage
Copilot Sep 6, 2025
022a099
Enhanced smart-score-tool tests with comprehensive coverage attempts
Copilot Sep 6, 2025
25b4b7a
Finalize smart-score-tool tests with 42.51% coverage and 63 comprehen…
Copilot Sep 6, 2025
a3431d2
Fix TypeScript errors in smart-score-tool tests
Copilot Sep 6, 2025
df2cd0d
Merge pull request #16 from tosin2013/copilot/fix-3
tosin2013 Sep 6, 2025
d95a829
Initial plan
Copilot Sep 6, 2025
5f24905
Initial plan for research question tool tests
Copilot Sep 6, 2025
00d0688
Add comprehensive tests for research question tool - achieve 100% cov…
Copilot Sep 6, 2025
b0814d1
Fix TypeScript compilation issues in research question tool tests
Copilot Sep 6, 2025
18048f8
Merge pull request #17 from tosin2013/copilot/fix-12
tosin2013 Sep 6, 2025
0c3f049
Initial plan
Copilot Sep 6, 2025
5508114
Initial analysis and plan for pre-commit hook implementation
Copilot Sep 6, 2025
0ea3ab6
Implement pre-commit hook for automated code quality checks
Copilot Sep 6, 2025
9ffcaaa
Add documentation for pre-commit hook in README
Copilot Sep 6, 2025
b3b5cee
Merge pull request #18 from tosin2013/copilot/fix-13
tosin2013 Sep 6, 2025
a5cb07a
Initial plan
Copilot Sep 6, 2025
7ce1acf
Add comprehensive tests for research-integration-tool with 96.96% cov…
Copilot Sep 6, 2025
7e3d262
Merge pull request #19 from tosin2013/copilot/fix-11
tosin2013 Sep 6, 2025
c434784
Initial plan
Copilot Sep 6, 2025
be3f4de
Initial plan
Copilot Sep 6, 2025
5685c7d
Initial plan for troubleshoot-guided-workflow-tool.ts unit tests
Copilot Sep 6, 2025
e169b1a
Initial analysis of manage_todo_json tool for bug fixes and test cove…
Copilot Sep 6, 2025
1a6394c
Add comprehensive unit tests for troubleshoot-guided-workflow-tool.ts…
Copilot Sep 6, 2025
e838b86
Fix TypeScript errors in troubleshoot-guided-workflow-tool tests
Copilot Sep 6, 2025
5ba48fb
Add comprehensive tests for manage_todo_json tool integration and fix…
Copilot Sep 6, 2025
41e6809
Fix critical bugs and add comprehensive test coverage for manage_todo…
Copilot Sep 6, 2025
114a460
Merge pull request #20 from tosin2013/copilot/fix-4
tosin2013 Sep 6, 2025
644c4a1
Merge branch 'main' into copilot/fix-10
tosin2013 Sep 6, 2025
564b53a
Fix TypeScript compilation errors in manage_todo_json test file
Copilot Sep 6, 2025
ccd4a25
Merge pull request #21 from tosin2013/copilot/fix-10
tosin2013 Sep 6, 2025
46665b6
Initial plan
Copilot Sep 7, 2025
ab194a1
Initial plan for ADR suggestion tool test coverage improvement
Copilot Sep 7, 2025
4311e49
Add comprehensive unit tests for adr-suggestion-tool.ts - coverage im…
Copilot Sep 7, 2025
8396eab
Complete ADR suggestion tool test coverage - final result: 84.05% (ta…
Copilot Sep 7, 2025
ed0f0ef
Fix TypeScript compilation errors in adr-suggestion-tool test file
Copilot Sep 7, 2025
c4f3ac9
Merge pull request #36 from tosin2013/copilot/fix-35
tosin2013 Sep 7, 2025
8e7cfae
feat: Add comprehensive test suite for domain-knowledge-templates.ts
tosin2013 Sep 7, 2025
3f7f6a7
fix: Resolve TypeScript compilation errors in test file
tosin2013 Sep 7, 2025
7a0edb4
fix: Correct test assertion for microservices design patterns
tosin2013 Sep 7, 2025
dc5396d
Merge pull request #37 from tosin2013/feature/issue-34-enhance-domain…
tosin2013 Sep 7, 2025
a87cdc1
feat: Add comprehensive test suite for ai-config.ts
tosin2013 Sep 7, 2025
0156b81
Merge pull request #38 from tosin2013/feature/issue-33-enhance-ai-con…
tosin2013 Sep 7, 2025
a09263d
feat: Add comprehensive test suite for adr-suggestion-tool.ts
tosin2013 Sep 8, 2025
19be00c
Resolve merge conflict in adr-suggestion-tool.test.ts
tosin2013 Sep 8, 2025
6d54049
feat: Add comprehensive test suite for content-masking-tool.ts
tosin2013 Sep 8, 2025
dc217a5
fix: Update test directory path for CI compatibility
tosin2013 Sep 8, 2025
74bdfe1
fix: Update hardcoded project paths in adr-suggestion-tool tests
tosin2013 Sep 8, 2025
c71f681
fix: Increase performance test tolerance for CI environment
tosin2013 Sep 8, 2025
fade69f
fix: Replace hardcoded '/custom/path' with test workspace path
tosin2013 Sep 8, 2025
1ceec68
refactor: Replace hardcoded paths with dynamic project root resolution
tosin2013 Sep 8, 2025
6799fa8
refactor: Replace /tmp/test-workspace with process.cwd() for true por…
tosin2013 Sep 8, 2025
801b18a
fix: Replace hardcoded absolute paths with process.cwd() in content-m…
tosin2013 Sep 8, 2025
ebdad6f
Merge pull request #39 from tosin2013/feature/enhance-content-masking…
tosin2013 Sep 8, 2025
804e98a
feat: Add comprehensive test coverage for environment-analysis-prompt…
tosin2013 Sep 8, 2025
99392bf
fix: Improve null/undefined input testing in environment-analysis-pro…
tosin2013 Sep 8, 2025
38c4a91
Merge pull request #40 from tosin2013/feature/environment-analysis-pr…
tosin2013 Sep 8, 2025
344221c
Initial plan
Copilot Sep 8, 2025
d5612a8
Initial investigation: Jest 30.x upgrade causing import restriction e…
Copilot Sep 8, 2025
6e9fb5c
Fix Jest 30.x compatibility by disabling worker threads for dynamic i…
Copilot Sep 8, 2025
559432c
Complete Jest 30.x upgrade compatibility fix - all tests passing
Copilot Sep 8, 2025
87730ab
CRITICAL SECURITY FIX: Remove malware-compromised packages, preserve …
Copilot Sep 8, 2025
2b305ad
Fix build validation failure by correcting TypeScript output structur…
Copilot Sep 8, 2025
33bac13
Add Dependabot configuration for automated security vulnerability res…
Copilot Sep 8, 2025
6a991f2
Addressing PR comments
Copilot Sep 8, 2025
54222c2
Merge pull request #45 from tosin2013/copilot/fix-42
tosin2013 Sep 8, 2025
f63aa08
feat: Upgrade @modelcontextprotocol/sdk to version 1.17.5
tosin2013 Sep 8, 2025
c801258
resolve: Fix merge conflicts in package-lock.json
tosin2013 Sep 8, 2025
020300a
Merge pull request #48 from tosin2013/feature/upgrade-mcp-sdk-1.5.0
tosin2013 Sep 8, 2025
f95ff6a
feat: Implement smart dependency management for MCP SDK updates
tosin2013 Sep 8, 2025
bc40ebc
Merge pull request #49 from tosin2013/feature/upgrade-mcp-sdk-1.5.0
tosin2013 Sep 8, 2025
774e905
deps(deps): bump eventsource-parser from 3.0.3 to 3.0.6
dependabot[bot] Sep 8, 2025
db96c93
deps-dev(deps-dev): bump esbuild from 0.25.5 to 0.25.9
dependabot[bot] Sep 8, 2025
5c904e0
deps(deps): bump path-to-regexp from 8.2.0 to 8.3.0
dependabot[bot] Sep 8, 2025
1f73e45
deps(deps): bump raw-body from 3.0.0 to 3.0.1
dependabot[bot] Sep 8, 2025
defdfea
ci(deps): bump peter-evans/create-pull-request from 5 to 7
dependabot[bot] Sep 8, 2025
0474ceb
ci(deps): bump codecov/codecov-action from 4 to 5
dependabot[bot] Sep 8, 2025
ef7c159
ci(deps): bump actions/setup-node from 4 to 5
dependabot[bot] Sep 8, 2025
711cf72
ci(deps): bump actions/upload-pages-artifact from 3 to 4
dependabot[bot] Sep 8, 2025
7fe5cb3
ci(deps): bump actions/checkout from 4 to 5
dependabot[bot] Sep 8, 2025
ef33d58
Initial plan
Copilot Sep 8, 2025
0a31893
Successfully resolve all make test failures - all 869 tests now pass
Copilot Sep 8, 2025
6e49773
Fix performance test variance threshold for Node 20 CI environments
Copilot Sep 8, 2025
a89d462
Merge pull request #62 from tosin2013/copilot/fix-make-test-failures
tosin2013 Sep 8, 2025
827030d
Merge pull request #60 from tosin2013/dependabot/github_actions/actio…
tosin2013 Sep 8, 2025
0c55aa6
Merge pull request #59 from tosin2013/dependabot/github_actions/actio…
tosin2013 Sep 8, 2025
021eb1a
Merge pull request #58 from tosin2013/dependabot/github_actions/actio…
tosin2013 Sep 8, 2025
dfa7f25
Merge pull request #57 from tosin2013/dependabot/github_actions/codec…
tosin2013 Sep 8, 2025
fc10102
Merge pull request #56 from tosin2013/dependabot/github_actions/peter…
tosin2013 Sep 8, 2025
d48dcf6
Merge pull request #55 from tosin2013/dependabot/npm_and_yarn/raw-bod…
tosin2013 Sep 8, 2025
0db3234
Merge pull request #54 from tosin2013/dependabot/npm_and_yarn/path-to…
tosin2013 Sep 8, 2025
c3903dc
Merge pull request #53 from tosin2013/dependabot/npm_and_yarn/esbuild…
tosin2013 Sep 8, 2025
37c5fb0
deps-dev(deps-dev): bump the development-dependencies group with 2 up…
dependabot[bot] Sep 8, 2025
c75a40b
Merge pull request #52 from tosin2013/dependabot/npm_and_yarn/eventso…
tosin2013 Sep 8, 2025
c171040
deps(deps): bump openai in the production-dependencies group
dependabot[bot] Sep 8, 2025
d8b2592
Merge pull request #51 from tosin2013/dependabot/npm_and_yarn/develop…
tosin2013 Sep 8, 2025
ed5d6a8
Merge pull request #50 from tosin2013/dependabot/npm_and_yarn/product…
tosin2013 Sep 8, 2025
b44a4c2
feat: Add comprehensive test coverage for deployment-analysis-prompts.ts
tosin2013 Sep 8, 2025
957555b
feat: Add comprehensive test coverage for research-question-prompts.ts
tosin2013 Sep 8, 2025
7bd3358
feat: Add comprehensive test coverage for research-integration-prompt…
tosin2013 Sep 8, 2025
7d0ceff
feat: Add comprehensive test coverage for security-prompts.ts
tosin2013 Sep 8, 2025
3def803
feat: Add initial test coverage for index.ts
tosin2013 Sep 8, 2025
625b6a4
feat: Add initial comprehensive test coverage for ai-executor.ts
tosin2013 Sep 8, 2025
ae26f79
fix: Resolve CI test failures in index.test.ts
tosin2013 Sep 9, 2025
843d6e8
Merge pull request #67 from tosin2013/feature/index-tests
tosin2013 Sep 9, 2025
6e8f3bc
Merge pull request #63 from tosin2013/feature/deployment-analysis-pro…
tosin2013 Sep 9, 2025
f3db16d
Merge pull request #64 from tosin2013/feature/research-question-promp…
tosin2013 Sep 9, 2025
6393edb
Merge pull request #65 from tosin2013/feature/research-integration-pr…
tosin2013 Sep 9, 2025
dcd877f
Merge pull request #66 from tosin2013/feature/security-prompts-tests
tosin2013 Sep 9, 2025
d4df09b
fix: Resolve CI test failures in ai-executor.test.ts
tosin2013 Sep 9, 2025
86fb0bb
Merge pull request #68 from tosin2013/feature/ai-executor-tests
tosin2013 Sep 9, 2025
6252e66
feat: Add comprehensive test coverage for conversation-context.ts
tosin2013 Sep 9, 2025
4dd8586
Merge pull request #70 from tosin2013/feature/conversation-context-tests
tosin2013 Sep 9, 2025
79f38f1
feat: Add comprehensive unit tests for todo-migration.ts
tosin2013 Sep 9, 2025
851d198
feat: Add comprehensive unit tests for rule-generation.ts
tosin2013 Sep 9, 2025
6b92c5e
feat: Add comprehensive unit tests for rule-format.ts
tosin2013 Sep 9, 2025
345191c
fix: Resolve failing tests in todo-migration.test.ts
tosin2013 Sep 9, 2025
bf1fd2b
feat: Add comprehensive unit tests for research-questions.ts
tosin2013 Sep 9, 2025
319dcbd
feat: Add comprehensive test coverage for research-documentation.ts
tosin2013 Sep 9, 2025
fa44299
feat: Add comprehensive test coverage for prompt-composition.ts
tosin2013 Sep 9, 2025
c295890
feat: Add comprehensive test coverage for rule-generation-prompts.ts
tosin2013 Sep 9, 2025
9d3cbca
feat: Add comprehensive test coverage for tool-chain-orchestrator.ts
tosin2013 Sep 9, 2025
c039959
feat: Add comprehensive unit tests for rule-generation-tool.ts
tosin2013 Sep 9, 2025
2bd4f06
feat: Add comprehensive unit tests for environment-analysis-tool.ts
tosin2013 Sep 9, 2025
a920dd9
feat: Add comprehensive test coverage for todo-management-tool-v2.ts
tosin2013 Sep 9, 2025
b716e0e
fix: Resolve 3 failing tests in tool-chain-orchestrator.test.ts
tosin2013 Sep 9, 2025
a5e6d52
chore: Update author email to tosin.akinosho@gmail.com
tosin2013 Sep 9, 2025
5daf065
feat: Implement comprehensive release pipeline enhancements
tosin2013 Sep 9, 2025
c08ec8f
chore: Update release dashboard metrics [skip ci]
actions-user Sep 9, 2025
fb2bf0f
chore: Update version to 2.0.14 and generate release notes
tosin2013 Sep 9, 2025
a63c6ec
fix: Update AI release notes workflow to use modern GitHub Actions
tosin2013 Sep 9, 2025
43c3b07
Merge branch 'main' of https://github.com/tosin2013/mcp-adr-analysis-…
tosin2013 Sep 9, 2025
ba1ca96
fix: Coordinate AI release notes and NPM publish workflows
tosin2013 Sep 9, 2025
b310ebf
feat: Add Dependabot auto-release workflow for automated NPM publishing
tosin2013 Sep 9, 2025
5b67188
updating code
tosin2013 Sep 9, 2025
5a4bf6a
updating code
tosin2013 Sep 9, 2025
1351b60
Initial plan
Copilot Sep 9, 2025
adc93ae
Fix version output to show correct version 2.0.15
Copilot Sep 9, 2025
eb83c8d
Make version system future-proof for automatic updates
Copilot Sep 9, 2025
53f26ea
Fix TypeScript index signature error for npm_package_version access
Copilot Sep 9, 2025
4af75aa
Merge pull request #90 from tosin2013/copilot/fix-89
tosin2013 Sep 9, 2025
90238c1
Delete TODO.md
tosin2013 Sep 9, 2025
ad7b7b2
Initial plan
Copilot Sep 9, 2025
fc15d3c
Initial analysis: TODO markdown sync issue identified
Copilot Sep 9, 2025
5f00abd
Root cause identified: preserveExisting behavior and potential improv…
Copilot Sep 9, 2025
cf3ed77
Implemented smart completion preservation and verified sync functiona…
Copilot Sep 10, 2025
857c181
Merge pull request #92 from tosin2013/copilot/fix-91
tosin2013 Sep 10, 2025
e0c0f91
Initial plan
Copilot Sep 10, 2025
c4617e3
Initial planning for MCP Project Planning Tool Enhancement
Copilot Sep 10, 2025
df84903
Implement MCP Project Planning Tool with comprehensive features
Copilot Sep 10, 2025
cc22393
Add comprehensive documentation and usage examples for MCP Planning Tool
Copilot Sep 10, 2025
ff278ce
Merge pull request #94 from tosin2013/copilot/fix-93
tosin2013 Sep 10, 2025
92dc5a3
Enhance AI Release Notes workflow to dynamically determine and update…
tosin2013 Sep 10, 2025
0a876d7
Remove outdated TODO.md file and enhance CI workflows with new intera…
tosin2013 Sep 10, 2025
e292d3c
chore: update version to 2.0.18 [skip ci]
actions-user Sep 10, 2025
c8618ca
chore: bump version to 2.0.19 for interactive ADR planning tool release
tosin2013 Sep 10, 2025
bfa83c2
chore: update version to 2.0.19 [skip ci]
actions-user Sep 10, 2025
ebf0284
fix: make version test future-proof by validating semantic versioning…
tosin2013 Sep 10, 2025
4785830
chore: update version to 2.0.20 [skip ci]
actions-user Sep 10, 2025
5fcb404
fix: add missing type to input parameter in interactive_adr_planning …
tosin2013 Sep 10, 2025
00ee966
chore: update version to 2.0.21 [skip ci]
actions-user Sep 10, 2025
b1c2923
Initial plan
Copilot Sep 10, 2025
0077999
Initial analysis and reproduction of TODO management bug
Copilot Sep 10, 2025
7a44586
Fix TODO management 'Invalid input' errors - make reason field optional
Copilot Sep 10, 2025
a83edc2
Add documentation for TODO management bug fix and usage examples
Copilot Sep 10, 2025
db19ff4
Fix test expectations to match new improved error messages
Copilot Sep 10, 2025
90f7ecf
Merge pull request #96 from tosin2013/copilot/fix-95
tosin2013 Sep 10, 2025
1715316
Enhance TODO management tool with new operations and improved error h…
tosin2013 Sep 10, 2025
2536f3e
chore: Update release dashboard metrics [skip ci]
actions-user Sep 10, 2025
f8ec91c
Enhance TODO management tool with new operations and improved error h…
tosin2013 Sep 10, 2025
62d0a23
Merge branch 'main' of https://github.com/tosin2013/mcp-adr-analysis-…
tosin2013 Sep 10, 2025
5e86f30
Refactor TODO management tool and update Jest configuration
tosin2013 Sep 10, 2025
a1b7ceb
Add templates and recurring tasks support in TODO JSON management
tosin2013 Sep 10, 2025
4f48701
Enhance TODO management tool with new features and error handling imp…
tosin2013 Sep 10, 2025
a9e0331
Initial plan
Copilot Sep 10, 2025
98c4136
Fix exactOptionalPropertyTypes TypeScript errors in todo-json-manager.ts
Copilot Sep 10, 2025
f9c4180
Fix test failures by adding proper timing delays and error handling
tosin2013 Sep 10, 2025
950bb92
Fix integration test dependencies and timing issues
tosin2013 Sep 10, 2025
cfd093d
Merge pull request #100 from tosin2013/copilot/fix-99
tosin2013 Sep 10, 2025
36257f9
feat: Add comprehensive JSDoc documentation and code cleanup
tosin2013 Sep 11, 2025
92108ce
fix: resolve TypeScript compilation errors and add pre-commit hooks
tosin2013 Sep 11, 2025
686c4e7
fix: resolve TypeScript compilation errors and enhance pre-commit checks
tosin2013 Sep 11, 2025
90f71df
Delete .kiro/specs/todo-management-fixes directory
tosin2013 Sep 11, 2025
cecb9bf
Fix Operation Queue Sequential Execution
tosin2013 Sep 11, 2025
a4c7f5a
fix: implement semaphore-based concurrency control and graceful shutdown
tosin2013 Sep 11, 2025
30d76eb
fix: implement semaphore-based concurrency control and graceful shutdown
tosin2013 Sep 11, 2025
f2c05cb
fix: implement dynamic date context for Performance Optimizer filtering
tosin2013 Sep 11, 2025
af9d3c4
feat: implement performance optimizer queue management fixes
tosin2013 Sep 11, 2025
22490c1
fix: improve data consistency checker validation logic
tosin2013 Sep 11, 2025
cc92d10
Merge branch 'main' of https://github.com/tosin2013/mcp-adr-analysis-…
tosin2013 Sep 11, 2025
c454d29
feat: implement robust date validation in DataConsistencyChecker
tosin2013 Sep 11, 2025
bae1823
docs: add implementation summary for task 6 date validation fixes
tosin2013 Sep 11, 2025
1aee7ed
fix: implement data consistency checker auto-fix logic improvements
tosin2013 Sep 11, 2025
47ea3fc
feat: implement enhanced test infrastructure with resource management…
tosin2013 Sep 11, 2025
9cfc419
feat: implement performance optimizer queue management improvements
tosin2013 Sep 11, 2025
62a94f6
feat: implement environment-aware performance expectations and progre…
tosin2013 Sep 11, 2025
ff84d3e
feat: implement comprehensive error handling and logging system
tosin2013 Sep 11, 2025
aff9343
fix: enhance async error handling in sync_scores operation
tosin2013 Sep 11, 2025
62c8108
fix: add proper error handling around async call in diagnose_scores o…
tosin2013 Sep 11, 2025
84a25f9
fix: add proper error handling around async call in reset_scores oper…
tosin2013 Sep 11, 2025
ab3c21f
fix: improve KnowledgeGraphManager mock setup in smart-score-tool tests
tosin2013 Sep 11, 2025
0a5ebf3
feat: complete smart-score-tool async fix verification
tosin2013 Sep 11, 2025
bb04fcf
Add MseeP.ai badge to README.md
lwsinclair Sep 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
time: "09:00"
timezone: "UTC"
# Security updates get priority
open-pull-requests-limit: 15
# Separate MCP SDK updates for enhanced testing
groups:
# Critical MCP SDK updates - handled separately with enhanced testing
mcp-sdk-updates:
patterns:
- "@modelcontextprotocol/sdk"
update-types:
- "major"
- "minor"
- "patch"
# Other production dependencies
production-dependencies:
patterns:
- "@types/*"
- "openai"
- "zod"
- "fast-glob"
- "tslib"
update-types:
- "minor"
- "patch"
# Development dependencies
development-dependencies:
patterns:
- "jest*"
- "ts-jest"
- "@types/jest"
- "typescript"
- "eslint*"
- "prettier*"
- "tsx"
update-types:
- "minor"
- "patch"
# Enhanced commit messages for better tracking
commit-message:
prefix: "deps"
prefix-development: "deps-dev"
include: "scope"
# Always allow security updates regardless of schedule
allow:
- dependency-type: "all"
# Add labels to make PRs easy to identify
labels:
- "dependencies"
- "security"
# Add reviewers for critical dependencies
reviewers:
- "tosin2013"
# Custom PR titles to highlight security updates
pull-request-branch-name:
separator: "/"

# Also check GitHub Actions for security updates
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
timezone: "UTC"
commit-message:
prefix: "ci"
include: "scope"
labels:
- "github-actions"
- "security"
201 changes: 201 additions & 0 deletions .github/workflows/ai-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
name: AI-Enhanced Release Notes
on:
push:
tags: ['v*']
workflow_dispatch:
inputs:
version:
description: 'Version to generate release notes for'
required: false
default: 'latest'
ai_model:
description: 'AI model to use (gpt-4o, gpt-4o-mini, gpt-4-turbo)'
required: false
default: 'gpt-4o-mini'
type: choice
options:
- gpt-4o
- gpt-4o-mini
- gpt-4-turbo
release_style:
description: 'Release notes style'
required: false
default: 'comprehensive'
type: choice
options:
- comprehensive
- concise
- technical
- user-focused

jobs:
generate-notes:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.VERSION }}
permissions:
contents: write
pull-requests: read
actions: write
issues: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: |
npm ci
# Install OpenAI SDK if not in dependencies
npm install openai@latest --save-dev || true

- name: Determine version
id: version
run: |
if [ "${{ github.event_name }}" = "push" ]; then
VERSION="${{ github.ref_name }}"
elif [ "${{ github.event.inputs.version }}" != "" ] && [ "${{ github.event.inputs.version }}" != "latest" ]; then
VERSION="${{ github.event.inputs.version }}"
else
# Get the latest tag or determine from package.json
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || npm pkg get version | tr -d '"')
if [[ ! "$VERSION" =~ ^v ]]; then
VERSION="v${VERSION}"
fi
fi
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
echo "Using version: ${VERSION}"

- name: Update package.json version
run: |
VERSION="${{ steps.version.outputs.VERSION }}"
# Remove 'v' prefix if present
VERSION_NO_V="${VERSION#v}"
# Update package.json with the new version
npm version "${VERSION_NO_V}" --no-git-tag-version --allow-same-version
echo "Updated package.json to version ${VERSION_NO_V}"

- name: Validate generated release notes
run: |
if [ ! -f "CHANGELOG.md" ]; then
echo "Error: CHANGELOG.md was not generated"
exit 1
fi

# Check if release notes contain the version
if ! grep -q "${{ steps.version.outputs.VERSION }}" CHANGELOG.md; then
echo "Error: Version ${{ steps.version.outputs.VERSION }} not found in CHANGELOG.md"
exit 1
fi

echo "✅ Release notes validated successfully"

- name: Commit version and changelog updates
run: |
VERSION_NO_V="${{ steps.version.outputs.VERSION }}"
VERSION_NO_V="${VERSION_NO_V#v}"

git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"

# Stage changes
git add package.json package-lock.json CHANGELOG.md

# Check if there are changes to commit
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "chore: update version to ${VERSION_NO_V} and generate release notes [skip ci]

- Updated package.json version to ${VERSION_NO_V}
- Generated comprehensive release notes using AI enhancement
- Updated CHANGELOG.md with detailed changes

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

# Push changes
git push origin HEAD:main || echo "Push failed (may be protected branch)"
fi

- name: Generate commit analysis report
id: analysis
run: |
# Generate detailed commit analysis for AI context
echo "## Commit Analysis Report" > commit-analysis.md
echo "" >> commit-analysis.md

# Get previous tag for comparison
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "HEAD~20")
echo "Analyzing commits from $PREV_TAG to HEAD" >> commit-analysis.md
echo "" >> commit-analysis.md

# Commit statistics
echo "### Statistics" >> commit-analysis.md
echo "- Total commits: $(git rev-list --count $PREV_TAG..HEAD)" >> commit-analysis.md
echo "- Contributors: $(git shortlog -sn $PREV_TAG..HEAD | wc -l)" >> commit-analysis.md
echo "- Files changed: $(git diff --name-only $PREV_TAG..HEAD | wc -l)" >> commit-analysis.md
echo "" >> commit-analysis.md

# Save for AI context
echo "PREV_TAG=${PREV_TAG}" >> $GITHUB_OUTPUT

- name: Fetch PR and Issue context
if: github.event_name == 'push' || github.event.inputs.version != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Fetch recent merged PRs for better context
echo "### Recently Merged PRs" >> pr-context.md
gh pr list --state merged --limit 20 --json number,title,labels,body --jq '.[] | "- PR #\(.number): \(.title)\n Labels: \(.labels | map(.name) | join(", "))\n"' >> pr-context.md || echo "No recent PRs" >> pr-context.md

- name: Generate AI Release Notes
run: npx tsx scripts/ai-release-notes.ts
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
RELEASE_NOTES_MODEL: ${{ github.event.inputs.ai_model || 'gpt-4o-mini' }}
RELEASE_STYLE: ${{ github.event.inputs.release_style || 'comprehensive' }}
VERSION: ${{ steps.version.outputs.VERSION }}
PREV_TAG: ${{ steps.analysis.outputs.PREV_TAG }}

- name: Extract release body
id: release_body
run: |
# Extract just the current version's release notes from CHANGELOG.md
VERSION="${{ steps.version.outputs.VERSION }}"

# Use awk to extract content between version headers
awk "/^# Release ${VERSION//./\\.}/{flag=1; next} /^# Release/{flag=0} flag" CHANGELOG.md > release-body.md

# If extraction failed, use the whole CHANGELOG
if [ ! -s release-body.md ]; then
cp CHANGELOG.md release-body.md
fi

echo "Release notes extracted to release-body.md"

- name: Create or Update Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.VERSION }}
name: Release ${{ steps.version.outputs.VERSION }}
body_path: ./release-body.md
draft: false
prerelease: ${{ contains(steps.version.outputs.VERSION, '-') }}
generate_release_notes: false # We're using our own AI-generated notes

publish:
needs: generate-notes
uses: ./.github/workflows/publish.yml
with:
version: ${{ needs.generate-notes.outputs.version }}
secrets: inherit
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: '20'
cache: 'npm'
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CodeQL Security Analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 9 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
Loading