Setup do workflow de agente (tipo teqo) + CI com e2e só no CI #1

Merged
fsolla merged 5 commits from OPS1-setup-workflow-teqo into main 2026-08-18 00:53:12 +00:00
Owner

Setup do workflow de agente tipo teqo (sem Issue rastreada — bootstrap do próprio fluxo).

  • scripts/ portados do teqo e adaptados (SPA sem DB): worktree (next/plan/new/kill — claim + branch <code>-<slug> + bun install), issue, agent:{claim,register,ready,file-miss,status}, pr (cria PR + auto-merge sem gh), transitions de CI.
  • Config por projeto: .forgejo/worktree.env (FORGEJO_REPOSITORY, WORKTREES_ROOT); roteador global de terminal em ~/.config/shell/worktree.sh (escopo por git rev-parse do CWD).
  • .opencode/commands + .agents/skills (plan-issue, work-issue, capture-review-debts, worktree-next-issue, code-simplification) + AGENTS.md com o workflow.
  • CI Forgejo Actions unificado: job checks (lint + build + e2e Playwright — só no CI) em PR e main; job deploy gated; workflows issue-done-on-main-merge, plan-issue-ready-on-main-merge, agent-pr-ready-automerge.
  • Labels de estado/prio/kind criadas no repo; branch protection em main (status check checks).
Setup do workflow de agente tipo teqo (sem Issue rastreada — bootstrap do próprio fluxo). - `scripts/` portados do teqo e adaptados (SPA sem DB): `worktree` (next/plan/new/kill — claim + branch `<code>-<slug>` + bun install), `issue`, `agent:{claim,register,ready,file-miss,status}`, `pr` (cria PR + auto-merge sem `gh`), transitions de CI. - Config por projeto: `.forgejo/worktree.env` (`FORGEJO_REPOSITORY`, `WORKTREES_ROOT`); roteador global de terminal em `~/.config/shell/worktree.sh` (escopo por `git rev-parse` do CWD). - `.opencode/commands` + `.agents/skills` (`plan-issue`, `work-issue`, `capture-review-debts`, `worktree-next-issue`, `code-simplification`) + `AGENTS.md` com o workflow. - CI Forgejo Actions unificado: job `checks` (lint + build + **e2e Playwright — só no CI**) em PR e main; job `deploy` gated; workflows `issue-done-on-main-merge`, `plan-issue-ready-on-main-merge`, `agent-pr-ready-automerge`. - Labels de estado/prio/kind criadas no repo; branch protection em `main` (status check `checks`).
fsolla added 1 commit 2026-08-18 00:16:22 +00:00
fluxo de agente tipo teqo: scripts worktree/issue/agent, skills, CI com e2e só no CI, labels e branch protection
Some checks failed
Agent PR Ready + auto-merge / ready-automerge (pull_request) Failing after 4s
CI / checks (pull_request) Failing after 4s
CI / deploy (pull_request) Has been skipped
e2eccc5741
- scripts/ portados do teqo e adaptados (sem DB — SPA): worktree (next/plan/new/kill,
  claim + branch <code>-<slug> + bun install), issue, agent:{claim,register,ready,
  file-miss,status}, pr (cria PR + auto-merge sem gh), transitions de CI
- config por projeto em .forgejo/worktree.env (FORGEJO_REPOSITORY, WORKTREES_ROOT)
  + roteador global de terminal em ~/.config/shell/worktree.sh (escopo por git rev-parse)
- .opencode/commands e .agents/skills (plan-issue, work-issue, capture-review-debts,
  worktree-next-issue, code-simplification) + AGENTS.md com o workflow
- CI Forgejo Actions unificado: checks (lint+build+e2e) em PR e main; deploy
  gated; issue-done / plan-issue-ready / agent-pr-automerge workflows
- Playwright: config + 2 specs smoke (settings→chat, ws reconnect) — e2e só no CI
- package.json: aliases worktree/issue/agent:*/pr + gate + test:e2e
fsolla added 1 commit 2026-08-18 00:19:16 +00:00
ci: re-run checks (runner com node/bun no PATH)
Some checks failed
CI / checks (pull_request) Successful in 11s
CI / deploy (pull_request) Has been skipped
Agent PR Ready + auto-merge / ready-automerge (pull_request) Failing after 13m30s
83c5012e6e
fsolla added 1 commit 2026-08-18 00:26:11 +00:00
fix: automerge ignora o próprio status do job (deadlock de self-wait) e exige o contexto checks
Some checks failed
CI / checks (pull_request) Successful in 22s
CI / deploy (pull_request) Has been skipped
Agent PR Ready + auto-merge / ready-automerge (pull_request) Failing after 6m34s
ca75a43b54
fsolla added 1 commit 2026-08-18 00:33:08 +00:00
fix: match do contexto checks por substring (Forgejo usa 'CI / checks (pull_request)')
Some checks failed
CI / checks (pull_request) Successful in 11s
CI / deploy (pull_request) Has been skipped
Agent PR Ready + auto-merge / ready-automerge (pull_request) Failing after 51s
a780f02245
fsolla added 1 commit 2026-08-18 00:42:35 +00:00
ci: branch protection sem status check server-side (o automerge é o gate — espelha teqo)
Some checks failed
CI / checks (pull_request) Successful in 20s
CI / deploy (pull_request) Has been skipped
Agent PR Ready + auto-merge / ready-automerge (pull_request) Failing after 36s
Main merge flips claimed issues to done + in-prod / issue-done (pull_request) Successful in 3s
Promote plan-issue Related on main merge / plan-issue-ready (pull_request) Has been skipped
CI / checks (push) Successful in 16s
CI / deploy (push) Successful in 6s
558bb641c9
fsolla merged commit 558bb641c9 into main 2026-08-18 00:53:12 +00:00
Sign in to join this conversation.
No description provided.