2.4 KiB
2.4 KiB
Operator Runbooks
Navigation
- Home | Operator Guide | Repositories Map | Identity and Profiles | Workflow Model | Safety and Gates | MCP Tools Reference | Operator Runbooks | Open Decisions | Project History
PR review and merge
gitea_resolve_task_capability(task="review_pr")gitea_check_pr_eligibilityfor review and merge actions.- Validate locally: tests,
py_compile,git diff --check. gitea_mark_final_review_decision→ approve viagitea_review_pr.gitea_merge_prwith pinned head SHA andconfirmation="MERGE PR <n>".
Stable MCP control runtime (#615)
Policy ADR: mcp-stable-control-runtime-policy-adr.md.
| Situation | Who acts | What to do |
|---|---|---|
| Transport EOF / missing tools | LLM | Client reconnect only — do not kill PIDs |
| Wrong profile / dual-namespace missing | Operator | Configure or reload the correct static namespace(s) |
| Master parity stale after merge | LLM stops + reports; operator reloads stable MCP | Resume only after parity re-verified |
| Promote unpromoted MCP code to stable | Operator / release-manager only | Full §2.4 promotion record |
Gitea Wiki sync
The Gitea Wiki mirrors docs/wiki/ (source of truth). After merging wiki changes:
- Preview (no network):
scripts/sync-gitea-wiki.sh - Operator-confirmed push:
GITEA_WIKI_SYNC_CONFIRM="SYNC WIKI Gitea-Tools" scripts/sync-gitea-wiki.sh --push - If clone fails on first run, bootstrap Home via Gitea API or UI, then re-run.
The script mirrors only docs/wiki/*.md, never deletes wiki pages, and never
prints credentials.
Wiki Publication Readiness Gate (#224)
Actual Gitea Wiki publication is a required repo readiness gate.
- Closure prevention — No wiki issue may close on markdown/helper work alone. Closing requires live-Wiki proof: Wiki Home link plus page listing or wiki git log.
- Reviewer checklist — PR template requires verifying the repo Wiki tab.
- Publication authority —
--pushrequires exactGITEA_WIKI_SYNC_CONFIRMphrase. - Per-repo status — Update Repositories Map when published.