First off, thank you for considering contributing to WalkXR AI! Your help is essential for creating a robust and impactful platform.
This document provides guidelines for contributing to the project. Please read it carefully to ensure a smooth and effective collaboration process.
This project and everyone participating in it is governed by a Code of Conduct (TODO: Link to or create a Code_of_Conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior.
Before you begin:
We use GitHub Issues to track bugs and feature requests.
If you find a bug, please ensure the bug has not already been reported by searching on GitHub under Issues. If you're unable to find an open issue addressing the problem, open a new one using our Bug Report Template.
If you have an idea for a new feature or an enhancement to an existing one, please check the Issues to see if it has been suggested before. If not, create a new issue using our Feature Request Template.
We follow a Gitflow-like branching model:
main: This branch represents the latest stable release. Direct commits to main are not allowed. Merges to main happen from develop during a release process.develop: This is the primary development branch. All feature branches are created from develop and merged back into develop. This branch should always be in a state that could potentially be released.feature/<feature-name>): For new features. Branched from develop.
feature/vulnerable-conversation-agentfix/<bug-name>): For fixing bugs. Branched from develop (or main for hotfixes, though less common for this stage).
fix/ingestion-unicode-errorchore/<task-name>): For routine tasks, refactoring, or documentation updates that don't add features or fix bugs.
chore/update-readme-setupgit checkout develop
git pull origin develop # Ensure your develop branch is up-to-date
git checkout -b <branch-type>/<descriptive-branch-name>
git add .
git commit -m "Your detailed commit message"
git push origin <branch-type>/<descriptive-branch-name>
We strive for clear and conventional commit messages. Please follow these guidelines:
<type>(<scope>): <subject>
feat (new feature), fix (bug fix), docs (documentation), style (formatting, missing semi colons, etc; no code change), refactor (refactoring production code), test (adding/refactoring tests; no production code change), chore (updating grunt tasks etc; no production code change).agent, rag, readme).Fixes #123).Example Commit Message:
feat(agent): Add initial Vulnerable Conversation Agent template
This commit introduces a basic structure for the Vulnerable Conversation
Agent, including placeholder methods for core logic and interaction
with the RAG pipeline.
Refs #42
When you're ready to merge your changes, open a Pull Request (PR) against the develop branch.
Fixes #123).poetry run ruff check . --fix
poetry run ruff format .
poetry run mypy src
def my_function(param1: int, param2: str) -> bool:
"""Does something interesting.
Args:
param1: The first parameter.
param2: The second parameter.
Returns:
True if successful, False otherwise.
"""
# ... function body ...
return True
tests/ directory.poetry run pytest - once pytest is added and tests are written).Detailed instructions for setting up your development environment are in the main README.md under the "Getting Started: Environment Setup" section.