Skip to content

refactor: audit cleanup — archive docs, fix dupes, add auth#7

Merged
eveselove merged 4 commits into
mainfrom
audit/cleanup-2026-06-01
Jun 1, 2026
Merged

refactor: audit cleanup — archive docs, fix dupes, add auth#7
eveselove merged 4 commits into
mainfrom
audit/cleanup-2026-06-01

Conversation

@eveselove
Copy link
Copy Markdown
Owner

Что сделано

1. Чистка документации (42 файла → archive/)

Перенесены 42 markdown файла из корня в archive/docs_legacy/:

  • Victory announcements, readiness checklists, migration plans
  • Оставлены 5 ключевых: README, AGENTS, CONTRIBUTING, REPO_STRUCTURE, ANTIGRAVITY_DEFAULT

2. Фикс дублированных полей в TaskUpdate

Удалены дублированные retry_count, tokens_used, cost_usd (были объявлены дважды — с None и с 0)

3. Bearer Token Auth Middleware

Добавлен SimpleAuthMiddleware:

  • Активируется через AGENTFORGE_API_KEY env var
  • Пропускает /health, /dashboard, /docs, /ws без авторизации
  • Обратная совместимость: без ключа работает как раньше (без auth)

Antigravity audit session 2026-06-01

agx added 4 commits June 1, 2026 10:57
.env.xai и .env.xai.mb2 содержали XAI API ключи в открытом виде.
Убраны из git index. Добавлены в .gitignore.
.env.xai.example оставлен как образец.
task security-fix-env
…s, add auth middleware

- Перенесены 42 markdown файла из корня в archive/docs_legacy/
- Удалены дублированные поля retry_count/tokens_used/cost_usd в TaskUpdate
- Добавлен SimpleAuthMiddleware (Bearer token, опционально через AGENTFORGE_API_KEY)

Antigravity audit session 2026-06-01
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented Jun 1, 2026

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
33534710 Triggered Generic Password 77bb32e node_modules/zod/src/v3/tests/error.test.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@eveselove eveselove merged commit 183e6dd into main Jun 1, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant