docs(lore): run local gate + cold review BEFORE pushing to Gitea CI
Build ErsatzTV Image / CI image pin matches docker/ci (pull_request) Successful in 9s
Build ErsatzTV Image / Docs update reminder (pull_request) Successful in 8s
Build ErsatzTV Image / decisions.md append-only (pull_request) Successful in 6s
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 32s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 29s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Functional E2E (curl contracts) (pull_request) Successful in 16s
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (pull_request) Successful in 16s
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (pull_request) Successful in 14s
Build ErsatzTV Image / CI image pin matches docker/ci (pull_request) Successful in 9s
Build ErsatzTV Image / Docs update reminder (pull_request) Successful in 8s
Build ErsatzTV Image / decisions.md append-only (pull_request) Successful in 6s
Build ErsatzTV Image / Build & test (.NET) (pull_request) Successful in 32s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 29s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Functional E2E (curl contracts) (pull_request) Successful in 16s
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (pull_request) Successful in 16s
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (pull_request) Successful in 14s
The handoff PR-routine and HARD-CONSTRAINTS placed the cold adversarial review AFTER push/PR-open. New standing rule (Timothy, 2026-07-17): local gate + cold review run BEFORE the push; fold pre-push fixes into the branch; CI only confirms. Runners should see only already-validated work — a Gitea run can't be cancelled, so a run spent on a lint/review-caught issue is pure waste. Also notes docs-only PRs are seconds now (ersatztv#416).
This commit is contained in:
@@ -274,9 +274,15 @@ HARD CONSTRAINTS:
|
||||
references the current head, and CI is green — no conversational confirmation on that satisfied path
|
||||
(ersatztv#314). Confirm in-conversation only when the gate ASKS (state not derivable: no creds, no
|
||||
linked issue, no Done-when/verdict, Gitea down). Prior pre-approvals still do NOT carry over.
|
||||
- **Local gate + cold review run BEFORE the push to Gitea CI, not after** (Timothy, 2026-07-17):
|
||||
run the local build/test gate AND a cold-context adversarial review agent (SCOPED "review only")
|
||||
over the diff, fold any fixes, and only THEN push / open the PR. Gitea runners should only ever
|
||||
see already-validated work — CI is a scarce shared slow resource and a run cannot be cancelled on
|
||||
this Gitea, so spending a run to surface a lint error or a review-caught bug is pure waste + queue
|
||||
pressure. CI (armed at PR-open, below) *confirms*; it is not the first line of defence.
|
||||
- Arm a CI monitor on the PR head sha AT PR-OPEN (commit-status endpoint), not at the end.
|
||||
- Live-E2E via scripts/e2e-local.sh; NEVER exercise download endpoints via browser tabs (curl
|
||||
them). Run a cold-context adversarial review agent per PR diff, SCOPED "review only".
|
||||
- Live-E2E via scripts/e2e-local.sh (also before the push for write-path / UI changes); NEVER
|
||||
exercise download endpoints via browser tabs (curl them).
|
||||
|
||||
---
|
||||
|
||||
@@ -368,16 +374,19 @@ HARD CONSTRAINTS:
|
||||
session" note.) Same family as the sibling bullet below: never commit inside a checkout or worktree
|
||||
you didn't create.
|
||||
- Subagent connection drops = laptop sleep/transient; re-resume via SendMessage (work survives).
|
||||
- Build/verify locally, then trust it; CI (VM 127) confirms (~9 min warm). Watch by commit
|
||||
- Build/verify (and review) locally, then trust it; CI (VM 127) confirms (~9 min warm; seconds for
|
||||
a docs-only PR since ersatztv#416). Watch by commit
|
||||
status: `/api/v1/repos/timothy/ersatztv/commits/{sha}/status`.
|
||||
- PR routine (works): worktree off origin/main → implement (strongest tier for judgment-heavy /
|
||||
balanced tier for mechanical work when model routing is available; doc pointers + exact facts;
|
||||
use the available C# language tooling) → API changes: build app project
|
||||
FIRST then `./scripts/update-openapi.sh` then `npm run generate:api` → full local test pass
|
||||
→ push, PR → cold-context adversarial review (SCOPED "review only") + live-E2E for UI changes
|
||||
(`scripts/e2e-local.sh`) → review fixes as follow-up COMMITS (never amend/force-push) → CI
|
||||
green → merge (derived consent gate) → structured close comments per the applicable
|
||||
`AGENTS.md` / `CLAUDE.md` protocol.
|
||||
FIRST then `./scripts/update-openapi.sh` then `npm run generate:api` → **full local test pass +
|
||||
cold-context adversarial review (SCOPED "review only") + live-E2E for UI/write-path changes
|
||||
(`scripts/e2e-local.sh`), ALL BEFORE the push** — fold pre-push review fixes into the branch
|
||||
(amend/reword is fine while nothing is pushed) → push, PR (arm the CI monitor at open) → CI
|
||||
*confirms* → any further review fixes (a post-push cross-model pass, or CI-surfaced issues) as
|
||||
follow-up COMMITS (never amend/force-push a pushed branch) → CI green → merge (derived consent
|
||||
gate) → structured close comments per the applicable `AGENTS.md` / `CLAUDE.md` protocol.
|
||||
- Never run TWO committing agents on one worktree concurrently. Read-only review agents are fine.
|
||||
- **A KILLED job reports `conclusion: failure` — the conclusion field is not enough. Read the log tail.**
|
||||
(2026-07-17.) When the operator restarts the runners (a retune, a reboot), in-flight jobs die and Gitea
|
||||
|
||||
Reference in New Issue
Block a user