Repository navigation
chore: add community health files and OSS best practices #154
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "name": "RocketRide Engine", | ||
| "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/node:1": { | ||
| "version": "20" | ||
| }, | ||
| "ghcr.io/devcontainers/features/python:1": { | ||
| "version": "3.12" | ||
| }, | ||
| "ghcr.io/devcontainers/features/java:1": { | ||
| "version": "17", | ||
| "installMaven": "true" | ||
| }, | ||
| "ghcr.io/devcontainers/features/common-utils:2": {} | ||
| }, | ||
| "postCreateCommand": "npm install -g pnpm@latest && sudo apt-get update && sudo apt-get install -y cmake build-essential ninja-build pkg-config", | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "dbaeumer.vscode-eslint", | ||
| "ms-python.python", | ||
| "charliermarsh.ruff", | ||
| "ms-vscode.cmake-tools" | ||
| ] | ||
| } | ||
| }, | ||
| "remoteUser": "vscode" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Default owners for everything | ||
| * @rocketride-org/maintainers | ||
|
|
||
| # C++ engine | ||
| /packages/server/ @rocketride-org/engine | ||
| /apps/engine/ @rocketride-org/engine | ||
|
|
||
| # Python pipeline nodes | ||
| /nodes/ @rocketride-org/nodes | ||
|
|
||
| # Client SDKs | ||
| /packages/client-typescript/ @rocketride-org/sdk | ||
| /packages/client-python/ @rocketride-org/sdk | ||
| /packages/client-mcp/ @rocketride-org/sdk | ||
|
|
||
| # AI modules | ||
| /packages/ai/ @rocketride-org/ai | ||
|
|
||
| # Applications | ||
| /apps/chat-ui/ @rocketride-org/frontend | ||
| /apps/dropper-ui/ @rocketride-org/frontend | ||
| /apps/vscode/ @rocketride-org/vscode | ||
|
|
||
| # CI/CD and DevOps | ||
| /.github/ @rocketride-org/devops | ||
| /scripts/ @rocketride-org/devops | ||
|
|
||
| # Documentation | ||
| /docs/ @rocketride-org/maintainers |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| github: [rocketride-org] | ||
| custom: ["https://rocketride.ai/sponsor"] |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||
| # Support | ||||||
|
|
||||||
| Looking for help with RocketRide? Here's where to go. | ||||||
|
|
||||||
| ## Documentation | ||||||
|
|
||||||
| - **[Documentation site](https://docs.rocketride.ai)** — guides, tutorials, API reference | ||||||
| - **[Build system docs](docs/README-builder.md)** — building from source | ||||||
| - **[Client library docs](docs/README-clients.md)** — TypeScript, Python, MCP SDKs | ||||||
|
|
||||||
| ## Getting Help | ||||||
|
|
||||||
| - **[GitHub Discussions](https://github.com/rocketride-org/rocketride-server/discussions)** — ask questions, share ideas, connect with the community | ||||||
| - **[Stack Overflow](https://stackoverflow.com/questions/tagged/rocketride)** — search existing answers or ask a new question with the `rocketride` tag | ||||||
|
|
||||||
| ## Reporting Bugs | ||||||
|
|
||||||
| Found a bug? Please [open an issue](https://github.com/rocketride-org/rocketride-server/issues/new/choose) using the bug report template. | ||||||
|
|
||||||
| ## Security Issues | ||||||
|
|
||||||
| For security vulnerabilities, please see our [Security Policy](SECURITY.md). Do **not** open a public issue for security concerns. | ||||||
|
||||||
| For security vulnerabilities, please see our [Security Policy](SECURITY.md). Do **not** open a public issue for security concerns. | |
| For security vulnerabilities, please see our [Security Policy](../SECURITY.md). Do **not** open a public issue for security concerns. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| # Copilot Instructions for RocketRide Engine | ||
|
|
||
| ## Build System | ||
|
|
||
| This project uses a **custom declarative JS-based builder** (not npm/pnpm scripts). The entry point is `./builder`. | ||
|
|
||
| ```bash | ||
| ./builder build # Full build (all modules, parallel) | ||
| ./builder build --sequential # Sequential if parallel fails | ||
| ./builder <module>:<command> # Per-module command | ||
| ./builder test # All tests | ||
| ./builder clean # Clean all | ||
| ``` | ||
|
|
||
| ### Key modules | ||
|
|
||
| | Module | Build | Test | | ||
| |--------|-------|------| | ||
| | `server` | `server:build` | `server:test` | | ||
| | `nodes` | `nodes:build` | `nodes:test` (contracts), `nodes:test-full` (integration) | | ||
| | `client-typescript` | `client-typescript:build` | `client-typescript:test` | | ||
| | `client-python` | `client-python:build` | `client-python:test` | | ||
| | `client-mcp` | `client-mcp:build` | `client-mcp:test` | | ||
| | `ai` | `ai:build` | `ai:test` | | ||
|
|
||
| ### Linting | ||
|
|
||
| ```bash | ||
| npx eslint . # TypeScript/JavaScript | ||
| ruff check nodes/ # Python linting | ||
| ruff format nodes/ # Python formatting | ||
| ``` | ||
|
|
||
| ## Architecture | ||
|
|
||
| ``` | ||
| Apps (chat-ui, dropper-ui, vscode) -> Client SDKs (TS/Python/MCP via WebSocket) | ||
| -> C++ Engine (DAP protocol variant) -> Pipeline Orchestrator -> Python Nodes (50+) | ||
| -> External Services (LLMs, vector DBs, storage) | ||
| ``` | ||
|
|
||
| - `apps/` — React UIs, VSCode extension, C++ engine entry point | ||
| - `packages/server/` — C++ core: engine-core (apLib) and engine-lib (engLib) | ||
| - `packages/client-*` — Client SDKs using DAP protocol over WebSocket | ||
| - `nodes/src/nodes/` — 50+ pluggable Python pipeline nodes | ||
| - `packages/ai/` — AI/ML modules | ||
| - `packages/tika/` — Java/Apache Tika document parsing | ||
| - `scripts/` — Build system internals | ||
|
|
||
| ## Conventions | ||
|
|
||
| - **Conventional Commits**: `feat:`, `fix:`, `docs:`, `style:`, `refactor:`, `test:`, `chore:` | ||
| - **Branching**: `develop` (default), `release/**`, `feature/*`, `bugfix/*`, `hotfix/*` | ||
| - **MIT license header** required on all new source files | ||
| - **TypeScript**: Strict mode, ES2022 target, ESNext modules | ||
| - **Python**: Single quotes, ruff for linting/formatting, PEP 257 docstrings, Python 3.10+ | ||
| - **C++**: C++17 standard | ||
|
|
||
| ## Environment | ||
|
|
||
| Only **Node.js 18+** is required. Everything else is auto-installed by the build system. | ||
|
|
||
| ## API Documentation | ||
|
|
||
| Before writing RocketRide client code, read ALL 6 files at `apps/vscode/docs/api/`: | ||
|
|
||
| 1. `ROCKETRIDE_QUICKSTART.md` — Start here | ||
| 2. `ROCKETRIDE_README.md` — Setup checklist | ||
| 3. `ROCKETRIDE_python_API.md` or `ROCKETRIDE_typescript_API.md` — API reference | ||
| 4. `ROCKETRIDE_PIPELINE_RULES.md` — Pipeline constraints | ||
| 5. `ROCKETRIDE_COMPONENT_REFERENCE.md` — Component specs | ||
| 6. `ROCKETRIDE_COMMON_MISTAKES.md` — Pitfalls to avoid |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| module:server: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - packages/server/** | ||
| - apps/engine/** | ||
| - packages/tika/** | ||
| - packages/vcpkg/** | ||
|
|
||
| module:nodes: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - nodes/** | ||
|
|
||
| module:client-ts: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - packages/client-typescript/** | ||
|
|
||
| module:client-python: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - packages/client-python/** | ||
| - packages/client-mcp/** | ||
|
|
||
| module:ai: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - packages/ai/** | ||
|
|
||
| module:vscode: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - apps/vscode/** | ||
|
|
||
| module:ui: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - apps/chat-ui/** | ||
| - apps/dropper-ui/** | ||
| - packages/shared-ui/** | ||
|
|
||
| ci/cd: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - .github/** | ||
| - scripts/** | ||
|
|
||
| docs: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - docs/** | ||
| - "*.md" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: DCO | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened, synchronize] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
Comment on lines
+3
to
+9
|
||
|
|
||
| jobs: | ||
| check: | ||
| name: DCO check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
|
|
||
| - name: Check DCO sign-off | ||
| run: | | ||
| BASE_SHA="${{ github.event.pull_request.base.sha }}" | ||
| HEAD_SHA="${{ github.event.pull_request.head.sha }}" | ||
| FAILED=0 | ||
|
|
||
| for SHA in $(git rev-list "$BASE_SHA".."$HEAD_SHA"); do | ||
| MSG=$(git log -1 --format='%B' "$SHA") | ||
| if ! echo "$MSG" | grep -qiE '^Signed-off-by: .+ <.+>'; then | ||
| AUTHOR=$(git log -1 --format='%an <%ae>' "$SHA") | ||
| SHORT=$(git log -1 --format='%h' "$SHA") | ||
| echo "::error::Commit ${SHORT} by ${AUTHOR} is missing Signed-off-by line" | ||
| FAILED=1 | ||
| fi | ||
| done | ||
|
|
||
| if [ "$FAILED" -eq 1 ]; then | ||
| echo "" | ||
| echo "All commits must include a Signed-off-by line." | ||
| echo "Use: git commit -s -m 'your message'" | ||
| echo "To fix existing commits: git rebase --signoff HEAD~N" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "All commits have DCO sign-off." | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: Label PRs | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| label: | ||
| name: Auto-label | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Label PR | ||
| uses: actions/labeler@v5 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| sync-labels: true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: OpenSSF Scorecard | ||
|
|
||
| on: | ||
| branch_protection_rule: | ||
| schedule: | ||
| - cron: '22 5 * * 1' # Weekly Monday 5:22 UTC | ||
| push: | ||
| branches: [develop, main] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| analysis: | ||
| name: Scorecard analysis | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| security-events: write | ||
| id-token: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Run Scorecard | ||
| uses: ossf/scorecard-action@v2.4.0 | ||
| with: | ||
| results_file: results.sarif | ||
| results_format: sarif | ||
| publish_results: true | ||
|
|
||
| - name: Upload SARIF | ||
| uses: github/codeql-action/upload-sarif@v3 | ||
| with: | ||
| sarif_file: results.sarif |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: Stale issues and PRs | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '30 1 * * *' # Daily 1:30 UTC | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| stale: | ||
| name: Close stale issues and PRs | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Mark stale | ||
| uses: actions/stale@v9 | ||
| with: | ||
| days-before-stale: 90 | ||
| days-before-close: 14 | ||
| stale-issue-label: stale | ||
| stale-pr-label: stale | ||
| stale-issue-message: > | ||
| This issue has been automatically marked as stale because it has not had | ||
| recent activity. It will be closed in 14 days if no further activity occurs. | ||
| If this issue is still relevant, please leave a comment to keep it open. | ||
| stale-pr-message: > | ||
| This PR has been automatically marked as stale because it has not had | ||
| recent activity. It will be closed in 14 days if no further activity occurs. | ||
| If this PR is still relevant, please leave a comment or push new commits to keep it open. | ||
| close-issue-message: > | ||
| This issue was closed because it has been stale for 14 days with no activity. | ||
| Feel free to reopen if this is still relevant. | ||
| close-pr-message: > | ||
| This PR was closed because it has been stale for 14 days with no activity. | ||
| Feel free to reopen if this is still relevant. | ||
| exempt-issue-labels: pinned,security,help wanted,good first issue | ||
| exempt-pr-labels: pinned,security |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| ## [1.0.3] - 2026-03-01 | ||
|
|
||
| ### Added | ||
| - Docker image for one-click deploy (#126) | ||
|
|
||
| ### Fixed | ||
| - Performance metrics reset on tab switch (#137) | ||
| - Engine crash on malformed pipeline input (#134) | ||
|
|
||
| ## [1.0.2] and earlier | ||
|
|
||
| See [GitHub Releases](https://github.com/rocketride-org/rocketride-server/releases) for previous release notes. | ||
|
|
||
| [Unreleased]: https://github.com/rocketride-org/rocketride-server/compare/server-v1.0.3...HEAD | ||
| [1.0.3]: https://github.com/rocketride-org/rocketride-server/compare/server-v1.0.2...server-v1.0.3 |
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.
The relative links in this file point to paths that won’t resolve from within the
.github/directory. For exampledocs/README-builder.mdanddocs/README-clients.mdshould be linked as../docs/...(or root-relative/docs/...) so they work when rendered on GitHub.