chore(repo): структура репозитория, лицензия AGPL-3.0 и политика безопасности

- структура по AGENT.md §12: cmd/, internal/, web/, deploy/, queries/, docs/
- LICENSE: полный текст AGPL-3.0-or-later
- NOTICE: атрибуция референсов (Spacebar, Fermo) и сторонних компонентов
- SECURITY.md и .well-known/security.txt: правила раскрытия уязвимостей
- .env.example: все переменные окружения с дефолтами
- .gitignore/.dockerignore/.editorconfig/.gitattributes/.gitleaks.toml
This commit is contained in:
2026-09-19 18:20:52 +03:00
parent 356cec2bb8
commit 9839dbeede
11 changed files with 917 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
title = "glchat secret scanning"
# Локальные конфиги и журналы harness содержат служебные строки и исключены из git.
[allowlist]
description = "Ignore local harness artifacts and vendored caches"
paths = [
'''^\.cache/''',
'''^build/''',
'''^web/node_modules/''',
'''^AGENT\.md$''',
'''^PROGRESS\.md$''',
'''^docs/''',
'''^\.opencode/''',
]
[[rules]]
id = "glchat-age-secret-key"
description = "age private key"
regex = '''AGE-SECRET-KEY-1[0-9A-Z]{58}'''
[[rules]]
id = "glchat-session-pepper"
description = "session pepper assignment"
regex = '''(?i)(SESSION_PEPPER|MASTER_KEY|LIVEKIT_API_SECRET|WEBHOOK_SECRET|TOTP_ENCRYPTION_KEY)\s*[:=]\s*["']?[A-Za-z0-9+/=_-]{16,}'''
[[rules]]
id = "glchat-private-key-block"
description = "PEM private key"
regex = '''-----BEGIN (RSA|EC|OPENSSH|PGP) PRIVATE KEY-----'''