mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-17 20:52:15 +03:00
* Sanitize test fixtures, add developer .env guidance, and add gitleaks workflow - Replace realistic-looking AWS keys and PEM fixtures in unit tests with synthetic placeholders to avoid false positives from secret scanners. - Add docs/DEVELOPER-ENVIRONMENT.md describing postinstall .env behavior and remediation guidance. - Add .github/workflows/gitleaks.yml to run gitleaks on pull requests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add gitleaks baseline and CI baseline support; update ignore and PR body\n\n- Copy gitleaks-local.json -> gitleaks-baseline.json\n- Add --baseline-path to workflow\n- Allowlist baseline in .gitleaks.toml\n- Ignore gitleaks-local.json\n- Add PR_BODY.md with scan summary\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore(security): fix gitleaks config, drop redundant baseline/CI, clean doc artifacts - Fix the malformed .gitleaks.toml [[rules]] block: an inline [rules.allowlist] with only paths (no regex/path at rule level) made gitleaks refuse to load the config (`FTL Failed to load config ... both |regex| and |path| are empty`), turning the project's blocking check-secrets ratchet into a hard failure. Verified: check-secrets config now loads and exits 0. - Reconcile with the existing gitleaks gate: remove the redundant .github/workflows/gitleaks.yml and root gitleaks-baseline.json (a second, differently-scoped scanning mechanism + an unreviewed 430-finding blanket baseline) — the project already runs scripts/check/check-secrets.mjs as a blocking ratchet in ci.yml/quality.yml and its .gitleaks.toml policy is to fix real findings, not blanket-allowlist them. - Remove the stray PR_BODY.md automation artifact from the repo root. - Fix the duplicated <div align="center"> tag in README.md. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --------- Co-authored-by: OmniRoute Bot <noreply@omniroute.local> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: blarovse <312250233+blarovse@users.noreply.github.com> Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
291 lines
6.7 KiB
Plaintext
291 lines
6.7 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# project-specific directories
|
|
/output/
|
|
.slim/deepwork/
|
|
.omnivscodeagent/
|
|
omnirouteCloud/
|
|
omnirouteSite/
|
|
_cache/
|
|
_ideia/
|
|
_mono_repo/
|
|
_references/
|
|
_tasks/
|
|
.agents/**
|
|
.claude/**
|
|
.gemini/**
|
|
.config/**
|
|
.data/**
|
|
.logs/**
|
|
.tests/**
|
|
.coverage/**
|
|
/coverage/
|
|
.dist/**
|
|
.next/**
|
|
.build/**
|
|
.out/**
|
|
|
|
# Stryker mutation testing — ephemeral sandbox + generated reports (never commit)
|
|
.stryker-tmp/
|
|
reports/mutation/
|
|
stryker-output-*.json
|
|
|
|
|
|
# Memory Bank and Cursor rules (local-only AI agent context)
|
|
memory-bank/
|
|
.cursor/rules/core.mdc
|
|
.cursor/rules/memory-bank.mdc
|
|
|
|
# Claude Code local state — runtime files only; shared commands at .claude/commands/ are tracked
|
|
.claude/scheduled_tasks.lock
|
|
.claude/scheduled_tasks/
|
|
.claude/sessions/
|
|
.claude/state.json
|
|
.claude/settings.local.json
|
|
|
|
# Root-level underscore-prefixed directories (private/draft — never commit)
|
|
/_*/
|
|
/_*
|
|
|
|
# Draft features documentation (internal only)
|
|
docs/new-features/
|
|
|
|
# dependencies
|
|
node_modules/
|
|
# Also ignore a root node_modules SYMLINK (worktree setups symlink it from the main
|
|
# checkout). The trailing-slash pattern above only matches a directory, so without this
|
|
# a symlink named node_modules could be staged by `git add -A` and committed.
|
|
/node_modules
|
|
*.map
|
|
.DS_Store
|
|
|
|
# Serena AI assistant config (local-only tool, not project code)
|
|
.serena/
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
# Local gitleaks artifacts (do not commit)
|
|
gitleaks-local.json
|
|
!.env.example
|
|
!.env.homolog.example
|
|
!.env.devin-bridge.example
|
|
# Provider API keys (never commit)
|
|
*.api-key
|
|
.nvidia-api-key
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# data and logs
|
|
/data/
|
|
.data/
|
|
logs/*
|
|
test_output.log
|
|
|
|
# analysis directories (generated, not tracked)
|
|
.analysis/
|
|
antigravity-manager-analysis/
|
|
.sisyphus/
|
|
.plans/
|
|
|
|
# open-sse tests
|
|
open-sse/test/*
|
|
|
|
# Ignore vscode AI rules
|
|
.github/instructions/codacy.instructions.md
|
|
|
|
# Playwright
|
|
.playwright-mcp/
|
|
test-results/
|
|
playwright-report/
|
|
blob-report/
|
|
/cloud/
|
|
.tmp/
|
|
|
|
# Security Analysis (standalone project with own git)
|
|
security-analysis/
|
|
|
|
# Deploy workflow (contains sensitive VPS credentials)
|
|
clipr/
|
|
app.log
|
|
*.tgz
|
|
.gh-discussions.json
|
|
deploy.sh
|
|
docker-compose.minimal.yml
|
|
|
|
# Docker Compose override (local-only, never commit)
|
|
docker-compose.override.yml
|
|
|
|
# Backup directories
|
|
app.__qa_backup/
|
|
.app-build-backup-*/
|
|
backup/
|
|
|
|
# Build intermediates (.build/) and shippable standalone (dist/).
|
|
# These are fully reproducible from source; never committed.
|
|
# Layer 1: Next.js now writes to .build/next (was .next); assembled bundle → dist/
|
|
# (Previously /app/ was the standalone output; renamed to /dist/ in Layer 1.)
|
|
/.build/
|
|
/dist/
|
|
/.next/
|
|
|
|
# Electron
|
|
electron/dist-electron/
|
|
electron/node_modules/
|
|
icon.iconset/
|
|
|
|
# VS Code Extension (independent Git repo)
|
|
vscode-extension/
|
|
|
|
# SQLite residual files
|
|
*.sqlite-shm
|
|
*.sqlite-wal
|
|
*.sqlite-journal
|
|
|
|
# IDEA
|
|
.idea/
|
|
|
|
# Local OpenCode agent config
|
|
.config/
|
|
|
|
# Empty/dangling files
|
|
typescript
|
|
/MAX
|
|
|
|
# Gemini Antigravity agent data
|
|
.gemini/
|
|
|
|
# Superpowers plans/specs (internal tooling, not project code)
|
|
docs/superpowers/
|
|
# Superpowers visual-companion brainstorm mockups (ephemeral)
|
|
.superpowers/
|
|
|
|
# TIA test-impact map — generated at runtime in CI (build-test-impact-map.mjs), never committed (~21MB)
|
|
config/quality/test-impact-map.json
|
|
|
|
# GitNexus local index
|
|
.gitnexus
|
|
.worktrees
|
|
|
|
# Consistent with .dockerignore / .npmignore
|
|
.omc/
|
|
audit-report.json
|
|
bun.lock
|
|
|
|
# Private environment variables for .http-client
|
|
http-client.private.env.json
|
|
|
|
# Note: _ideia/ (feature-triage drafts) is fully covered by the /_*/ rule above
|
|
# and kept as a separate local-only git repo. Never committed to OmniRoute.
|
|
|
|
# i18n audit artifact (generated by scripts/i18n/audit-dashboard-pages.mjs)
|
|
scripts/i18n/_audit.json
|
|
scripts/i18n/_pending-keys.json
|
|
|
|
# Private workflow / skill / command implementations
|
|
# These contain proprietary multi-phase logic and should not be committed
|
|
.agents/workflows/implement-features-ag.md
|
|
.agents/workflows/port-upstream-features-ag.md
|
|
.agents/workflows/port-upstream-issues-ag.md
|
|
.agents/skills/implement-features/
|
|
.claude/commands/implement-features-cc.md
|
|
.claude/commands/port-upstream-features-cc.md
|
|
.claude/commands/port-upstream-issues-cc.md
|
|
.claude/worktrees/
|
|
.codegraph/
|
|
|
|
# Test executable shims belong in the OS temporary directory, not the repository root
|
|
/.fakebin-*/
|
|
|
|
# Fumadocs generated source
|
|
.source/
|
|
|
|
# AI agent local settings and configs
|
|
.agents/
|
|
.antigravitycli/
|
|
/.claude/
|
|
|
|
# PR Reviews and local feedback files
|
|
pr_reviews*.json
|
|
|
|
#hidden local data directories (never commit)
|
|
.local-data/
|
|
.data-dev/
|
|
/.junie/
|
|
|
|
# internal setup prompts with personal credentials — never commit
|
|
CODEX-SETUP-PROMPT.md
|
|
# Quality ratchet — métricas efêmeras (baseline commitado em config/quality/; métricas não)
|
|
config/quality/quality-metrics.json
|
|
|
|
# Electron desktop build output unpacked into the repo root.
|
|
# `electron-builder` (squirrel-windows target) unpacks the packaged app — the
|
|
# entire Chromium runtime, ~24k files — directly into the repository root.
|
|
# Every rule below is ROOT-ANCHORED (leading `/`) on purpose: a bare `locales/`
|
|
# or `resources/` would also swallow tracked sources such as the CLI
|
|
# translations in `bin/cli/locales/*.json`.
|
|
/OmniRoute.exe
|
|
/Uninstall OmniRoute.exe
|
|
/uninstallerIcon.ico
|
|
/locales/
|
|
/resources/
|
|
/*.pak
|
|
/*.dll
|
|
/icudtl.dat
|
|
/snapshot_blob.bin
|
|
/v8_context_snapshot.bin
|
|
/vk_swiftshader_icd.json
|
|
/LICENSE.electron.txt
|
|
/LICENSES.chromium.html
|
|
|
|
# Runtime logs (diretório local, nunca versionado)
|
|
/logs/
|
|
-home-diegosouzapw-dev-automações-bots-yt-downloader-20260504 .txt
|
|
-home-diegosouzapw-dev-automações-bots-yt-downloader-20260410 .txt
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute-mim.md
|
|
docs/prompts/AGENT-OWNERSHIP-PROTOCOL.omniroute-mid.md
|
|
omniroute.md
|
|
|
|
# mise configuration
|
|
mise.toml
|
|
_artifacts/ # release-green artifacts
|
|
.claude-flow/
|
|
|
|
# ESLint file cache (npm run lint --cache / complexity ratchets)
|
|
.eslintcache
|
|
.eslintcache-complexity
|
|
/.eslintcache-*
|
|
|
|
|
|
# CI/local quality artifacts (eslint-results.json, quality-ratchet.md, etc.)
|
|
.artifacts/
|
|
/perf-audit*.md
|
|
/quality-ratchet/
|
|
|
|
# Homologation E2E suite (npm run homolog) — real-environment credentials + report output
|
|
.env.homolog
|
|
tests/homolog/.auth/
|
|
tests/homolog/ui/.auth/
|
|
homolog-report/
|
|
docker-compose.yml.bak
|
|
|
|
# _tasks e um repo git SEPARADO (ver AGENTS.md). A linha _tasks/ (com barra) NAO
|
|
# ignora um SYMLINK chamado _tasks; /_tasks (ancorado) cobre arquivo/symlink/dir na raiz
|
|
# e impede que um git add -A recapture o symlink (incidente 2026-08-08).
|
|
/_tasks
|
|
|
|
# CLI local cache/state
|
|
.playwright-cli
|