docs: устранить конфликтующие инструкции по результатам ревью
CI / tests-and-images (pull_request) Successful in 3m1s
Runner smoke test / runner-smoke (pull_request) Successful in 4s

This commit is contained in:
codex committed 2026-11-15 18:51:41 +00:00
1 parent d3f5b2b9d1
commit 2a30def397
2 files changed
+26 -41

No files matched your search

+2 -2
View File
@@ -72,8 +72,8 @@ Python, SQLite и OpenSearch. Для инфраструктурных задач
changelog и отправь коммит в тот же PR. Повтори полное ревью итогового diff
и CI. Для docs-only задачи версию приложения повышай только при явном
требовании к этой правке.
- Разрешённый Merge выполняется через Gitea Agent MCP после независимого ревью.
Перед слиянием проверь `admin/akyldash`, номер PR, автора `codex`, base
- Merge через Gitea Agent MCP допускается после независимого ревью и только
при явном разрешении владельца репозитория. Перед слиянием проверь `admin/akyldash`, номер PR, автора `codex`, base
`main`, ожидаемую ветку и точные SHA head/base. Нужны все успешные
обязательные checks и gates, отсутствие открытых блокеров и действующих
`REQUEST_CHANGES`, формальный `APPROVED` от `agent` с
+24 -39
View File
@@ -2,20 +2,14 @@
## Discover existing access first
In a new Codex session, inspect the SSH alias and key file metadata without
printing key contents, then check the connection:
For repository work in Windows Codex, use `commerce-infra` to read the
`commerce/akyldash` context through Gitea Infrastructure Registry MCP. Use
Gitea Codex MCP to read the project sources and prepare changes.
Use the repository PR rules for formal review and permitted merge.
```bash
ssh -F ~/.ssh/config -G akyldash_vps | awk '$1 == "hostname" || $1 == "user" || $1 == "port" || $1 == "identityfile" { print }'
test -r ~/.ssh/akyldash_codex && echo 'SSH key is available'
ssh -F ~/.ssh/config -o BatchMode=yes akyldash_vps id
ssh -F ~/.ssh/config -o BatchMode=yes akyldash_vps hostname -f
gitea-api GET /version
gitea-api GET /repos/admin/akyldash
```
Do not ask for the host, login, password, token, or key again before these
checks. Never print a private key, token, or complete environment file.
Host access is needed only for separately authorized runtime diagnostics.
Check the configured SSH alias and key metadata without reading key contents.
Do not request passwords, tokens, or keys, or print a complete environment file.
## VPS
@@ -42,36 +36,27 @@ checks. Never print a private key, token, or complete environment file.
It does not start Compose or create volumes.
- Never connect to other VPS hosts or Synology as part of this deployment.
This execution environment is WSL2. The repository is on the Windows-mounted
`/mnt/d` filesystem, while SSH config and the identity file are in the Linux
home directory. Do not assume Windows SSH credentials are available or copy
keys between environments. Plain `ssh akyldash_vps` failed because the system
SSH config include had unsafe permissions. Use `ssh -F ~/.ssh/config ...`; in a
network-restricted session this read-only command may also require approved
execution. If the key is missing in a future environment, report that
limitation and do not retrieve it elsewhere.
For authorized runtime diagnostics, use the configured read-only SSH access.
Validate the resolved alias, hostname, user and port before connecting. Only
use an existing approved key for this environment. If access is unavailable,
record the limitation. Do not copy keys between environments.
## Gitea
- Repository: `https://git.vakanaut.ru/admin/akyldash`.
- Use the installed `gitea-api` helper; it reads credentials from the
environment. Never inspect local credential files, print environment values,
or construct HTTP authorization headers.
- The audited API token can read/write this repository and create issues, but
does not have `read:user` or `read:package`. Listing repository Actions
runners returns `403` because the API principal is not the repository owner.
An API `403` caused by missing scope/ownership is not evidence that no runner
exists.
- Protected `main` requires one approval. Do not push directly to `main`, merge
automatically, or start a review. Work on a feature branch and use a PR.
- Gitea Actions and package features are enabled for the repository. The Actions
task API currently returns no runs, but runner availability and package
publishing permissions have not been confirmed. The repository-level runner
is prepared by `infra/runner/install-runner.sh`, but is not installed or
registered yet. Only a repository owner may obtain its registration token in
`admin/akyldash` Settings → Actions → Runners; do not use organization or
instance tokens and never put the token in Git, a command argument, or a
report. See [CI_RUNNER.md](CI_RUNNER.md).
- Use Gitea Codex MCP to read the repository, prepare changes in a separate
branch and open the PR. Use Gitea Agent MCP for formal review, approval and
permitted merge according to [AGENTS.md](../../AGENTS.md#согласование-изменений).
Do not inspect credential files, print secret environment values, or construct
authorization headers.
- Protected `main` requires at least one independent approval and the required
CI checks. Direct push to `main` is prohibited. Merge requires the current
head approval and the checks listed in AGENTS.md.
- A `403` can indicate missing scope or owner permissions. It does not establish
runner absence. Only a repository owner may obtain the repository runner
registration token in `admin/akyldash` Settings → Actions → Runners. Do not use
organization or instance tokens or put the token in Git, a command argument,
or a report. See [CI_RUNNER.md](CI_RUNNER.md).
## Who can do what