Compare commits

..
4 Commits
Author SHA1 Message Date
testclient-admin 461e18ae46 Merge pull request 'Restore AGENTS.md and calculator.py' (#6) from restore-scaffolding into main
Reviewed-on: testclient-admin/playground#6
2026-08-23 15:00:26 +00:00
playground-security-bot 90e3bc3e5d security: scan results for PR #6
security / scan (pull_request) Skipped
security / review (pull_request) Skipped
security / deep-audit (pull_request) Skipped
2026-08-23 14:59:04 +00:00
testclient-admin 67b7233c06 Restore calculator.py
security/scan 0 findings, 0 blocking
security / scan (pull_request) Successful in 1m8s
security/review 0 findings, 0 blocking
security / review (pull_request) Successful in 19s
security / deep-audit (pull_request) Skipped
2026-08-23 14:57:38 +00:00
testclient-admin b757112bef Restore AGENTS.md 2026-08-23 14:57:36 +00:00
3 changed files with 36 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# AGENTS.md
Правила работы агента в этом проекте.
## Ветка + pull request
Никогда не коммить и не пушь прямо в `main` — там стоит защита ветки,
прямой push всё равно отклонится. Для любой задачи:
1. Создай новую ветку от `main` с понятным именем по задаче.
2. Делай коммиты в неё как обычно.
3. Когда готово — открой pull request в `main` и опиши, что сделано.
Дальше pull request проходит автоматическую проверку (security-скан) и
ревью — это не твоя забота, просто открой PR и жди.
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
"""Простой калькулятор"""
def add(a, b):
return a + b
def subtract(a, b):
return a - b
def multiply(a, b):
return a * b
def divide(a, b):
if b == 0:
raise ValueError("division by zero")
return a / b
@@ -0,0 +1 @@
[]