Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
36 changes: 36 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy GitHub Pages

on:
push:
branches: ["main"]
paths:
- "docs/**"
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
18 changes: 18 additions & 0 deletions ACCESSIBILITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Accessibility Statement for DBShield

RitualDev Lab is committed to ensuring digital accessibility for people with disabilities. We continually improve the user experience for everyone and apply the relevant accessibility standards across our CLI, terminal monitors, and web interfaces.

## Conformance Status

The DBShield documentation website and live approval feed (`:3100`) target conformance with **WCAG 2.1 Level AA** guidelines.

### Measures Taken
1. **High-Contrast Terminal Output**: Terminal views and TUI monitors (`dbshield top`) support `--no-color` and standard ANSI color palettes distinguishable by color-blind users.
2. **Semantic HTML**: The web dashboard and documentation site use semantic landmarks (`<header>`, `<main>`, `<nav>`, `<section>`, `<footer>`) and ARIA roles for screen readers.
3. **Keyboard Navigability**: All interactive simulators, modals, and tables in the web dashboard can be operated via standard keyboard navigation (`Tab`, `Enter`, `Escape`).

## Feedback

We welcome your feedback on the accessibility of DBShield. Please let us know if you encounter accessibility barriers:
- Email: `accessibility@ritualdev.in`
- GitHub Issues: https://github.com/RitualDev-Lab/DBShield/issues
35 changes: 35 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces.

## Contact

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at `security@ritualdev.in`. All complaints will be reviewed and investigated promptly and fairly.
54 changes: 54 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Contributing to DBShield

Thank you for your interest in contributing to **DBShield**! We welcome contributions from database architects, security engineers, and AI practitioners.

---

## 🛠️ Development Setup

DBShield is built with Node.js 20+, TypeScript, ESM, and pnpm/npm.

```bash
# 1. Clone your fork
git clone https://github.com/<your-username>/DBShield.git
cd DBShield

# 2. Install dependencies
pnpm install

# 3. Build project
pnpm run build

# 4. Run full test suite
pnpm test
```

---

## 📐 Guidelines

### 1. Code Standards & Tooling
- We use [Biome](https://biomejs.dev/) for ultra-fast linting and code formatting:
```bash
pnpm run lint
pnpm run format
pnpm run check
```
- All code must pass Biome checks with 0 errors before opening a PR.

### 2. Zero-Telemetry & Air-Gapped Invariants
- DBShield must NEVER phone home, make unsolicited outbound telemetry calls, or leak database contents.
- All testing databases must use local in-memory SQLite, local PostgreSQL instances, or mock connection sockets.

### 3. Submitting Pull Requests
1. Fork the repo and create your feature branch: `git checkout -b feat/my-improvement`.
2. Ensure all tests pass: `pnpm test`.
3. Verify Biome checks: `pnpm run check`.
4. Open a PR against `main` on `RitualDev-Lab/DBShield`.
5. Maintain clear semantic commits (`feat:`, `fix:`, `docs:`, `perf:`).

---

## 🔒 Security Vulnerabilities

Please do NOT report security vulnerabilities via public GitHub issues. Follow the instructions in [SECURITY.md](SECURITY.md) or email `security@ritualdev.in`.
23 changes: 23 additions & 0 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DBShield Governance & Maintainership

## Overview

DBShield is an open-source project created and maintained by **RitualDev Lab**. The project operates under an open governance model designed to foster community contributions while preserving strict security and reliability standards.

## Roles & Responsibilities

### Maintainers
Maintainers are responsible for:
- Reviewing and merging pull requests.
- Triaging security advisories and issuing prompt CVE fixes.
- Enforcing the Code of Conduct and architectural integrity.
- Releasing npm packages, Docker images, and Helm charts with cryptographic provenance.

### Contributors
Anyone can become a contributor by submitting issues, improving documentation, fixing bugs, or implementing approved features.

## Decision Making
Decisions regarding architecture, protocol additions, and security tiers follow an RFC process. Changes affecting backward compatibility require consensus among core maintainers.

## Licensing
DBShield is licensed under the MIT License. Contributions are submitted under the terms of the MIT License.
Loading
Loading