Skip to content

feat: implement Developer Commit Activity Adapter (#22)#94

Open
annukumar123 wants to merge 1 commit into
Memact:mainfrom
annukumar123:feat/issue-22-commit-adapter
Open

feat: implement Developer Commit Activity Adapter (#22)#94
annukumar123 wants to merge 1 commit into
Memact:mainfrom
annukumar123:feat/issue-22-commit-adapter

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

🔎 Overview

This PR implements the requested Developer Commit Activity Adapter under issue #22. It provides structured ingestion capabilities to map third-party git commit frames directly into standard Context Contribution Protocol (CCP) observations.

🛠️ Changes Implemented

  • Commit Log Parsing Ingestion Layer: Created src/adapters/commit-adapter.mjs featuring robust regex taxonomy pattern analysis maps that extract tech-stacks and classify signals into appropriate work domains.
  • Payload Normalization: Fully supports standard git log strings as well as rich webhook payloads (extracting author details, commit hashes, and timestamps).
  • Module Exports: Added the parser interface directly to the bundle index exports inside src/index.mjs.
  • Targeted Validation: Implemented zero-dependency unit checks verifying standard extraction and boundary handling inside test/commit-adapter.test.mjs.

Fixes #22
image

@annukumar123

Copy link
Copy Markdown
Contributor Author

@keepsloading
It is perfect . you can verify now

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.

[SSoC26] [Hard] Developer Commit Activity Adapter (e.g. Developer Activity reference)

1 participant