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
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.py]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
77 changes: 77 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
area/docs:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "**/*.mdx"
- "docs/**"

area/frontend:
- changed-files:
- any-glob-to-any-file:
- "app/**"
- "components/**"
- "pages/**"
- "styles/**"
- "public/**"

area/backend:
- changed-files:
- any-glob-to-any-file:
- "app/**"
- "api/**"
- "server/**"
- "src/**"
- "main.py"

area/infra:
- changed-files:
- any-glob-to-any-file:
- "docker-compose*.yml"
- "**/Dockerfile*"
- "infra/**"
- "k8s/**"
- "helm/**"
- "**/*.tf"

area/sdk:
- changed-files:
- any-glob-to-any-file:
- "governs_ai/**"
- "src/**"
- "pyproject.toml"
- "package.json"
- "tsconfig.json"

area/security:
- changed-files:
- any-glob-to-any-file:
- "**/auth/**"
- "**/security/**"
- "manifest.json"
- "**/*policy*"
- "**/*permission*"

kind/ci:
- changed-files:
- any-glob-to-any-file:
- ".github/workflows/**"
- ".github/labeler.yml"

kind/tests:
- changed-files:
- any-glob-to-any-file:
- "tests/**"
- "**/*test*.py"
- "**/*.spec.ts"
- "**/*.test.ts"
- "**/*.test.tsx"

kind/deps:
- changed-files:
- any-glob-to-any-file:
- "package.json"
- "pnpm-lock.yaml"
- "requirements.txt"
- "requirements-dev.txt"
- "pyproject.toml"
- "poetry.lock"
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: PR Labeler

on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Label pull requests
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Contributing to GovernsAI Console

## Setup

```bash
pnpm install
pnpm generate
```

## Development

```bash
pnpm dev:platform
```

## Validation

```bash
pnpm lint
pnpm check-types
pnpm build
```

## Pull Request Checklist

- Keep changes scoped and atomic.
- Add tests for behavioral changes.
- Update docs for API or UX changes.
- Use clear commit messages.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🛡️ GovernsAI Console — The AI Governance OS

[![npm](https://img.shields.io/npm/v/%40governs-ai%2Fsdk?label=npm%20%40governs-ai%2Fsdk)](https://www.npmjs.com/package/@governs-ai/sdk)
[![PyPI](https://img.shields.io/pypi/v/governs-ai-sdk?label=PyPI%20governs-ai-sdk)](https://pypi.org/project/governs-ai-sdk/)
[![License](https://img.shields.io/badge/license-ELv2-blue.svg)](LICENSE)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.8-blue)](https://www.typescriptlang.org/)
[![Next.js](https://img.shields.io/badge/Next.js-15-black)](https://nextjs.org/)
Expand Down
Loading