-
Notifications
You must be signed in to change notification settings - Fork 775
Initialize contribution area #396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR initializes a contrib/ area to serve as an incubator for experimental integrations, third-party recipes, and work-in-progress features that aren't ready for the main codebase. The contrib area provides a structured space for community contributions while maintaining clear ownership and documentation standards.
- Adds
contrib/directory structure with namespace packages, READMEs, and placeholder files - Updates Pyright configuration to exclude contrib area from type checking
- Documents contrib guidelines and submission checklist in contributing guide
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyrightconfig.json | Excludes contrib/** from type checking |
| pyrightconfig.fast.json | Adds contrib/** to the fast check exclusion list |
| docs/community/contributing.md | Adds comprehensive "Agent-lightning Contrib" section explaining when and how to contribute to the contrib area |
| contrib/agentlightning/contrib/init.py | Creates namespace package for contrib extensions |
| contrib/README.md | Provides directory structure overview and submission checklist for contrib area |
| contrib/CODEOWNERS | Placeholder file for code ownership definitions |
| contrib/.gitignore | Placeholder file for contrib-specific gitignore patterns |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs/community/contributing.md
Outdated
|
|
||
| A quick checklist for contributions to be accepted: | ||
|
|
||
| 1. **Document everything.** Include configuration steps, environment variables, and sample commands so contributors an reproduce the results without guesswork. |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "contributors an reproduce" should be "contributors can reproduce".
| 1. **Document everything.** Include configuration steps, environment variables, and sample commands so contributors an reproduce the results without guesswork. | |
| 1. **Document everything.** Include configuration steps, environment variables, and sample commands so contributors can reproduce the results without guesswork. |
contrib/README.md
Outdated
| ## Directory map | ||
|
|
||
| - `agentlightning/` — Namespace packages, utilities, and adapters that extend the published wheel. Place new code under `agentlightning/contrib/<feature>/` so `import agentlightning.contrib.<feature>` works for downstream users. | ||
| - `recipes/` — Task-focused example bundles that solves a specific problem and derives certain results. Each recipe belongs in its own directory with a README that documents usage, result reports, and ownership. |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar issue: "that solves a specific problem and derives certain results" should use singular "solves" with plural "bundles" is incorrect. Consider: "Task-focused example bundles that solve a specific problem and derive certain results" or restructure to "Task-focused example bundle that solves..."
| - `recipes/` — Task-focused example bundles that solves a specific problem and derives certain results. Each recipe belongs in its own directory with a README that documents usage, result reports, and ownership. | |
| - `recipes/` — Task-focused example bundles that solve a specific problem and derive certain results. Each recipe belongs in its own directory with a README that documents usage, result reports, and ownership. |
contrib/CODEOWNERS
Outdated
| @@ -0,0 +1 @@ | |||
| # Put code owner definitions in the file. | |||
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The comment "Put code owner definitions in the file" should specify "this file" or "here" for clarity. Consider: "Put code owner definitions here."
| # Put code owner definitions in the file. | |
| # Put code owner definitions here. |
No description provided.