Repository navigation
refactor(agents): redesign the fleet into 8 scoped agents - #299
Merged
Merged
Conversation
Fifteen agents overlapped (three touched every PR) and carried long generic prompts. Each agent now has one scope and one autonomy level: - pr-assistant absorbs code-reviewer (redundant) and conflict-resolver (already inline); builder PRs labelled keep-draft are reviewed but never marked ready nor merged. - flow-watch (ci-health + pr-sla) only reports. - secret-guard (scan + remove) rewrites history only after the owner approves via a Telegram button or an owner /aprovar on the approval issue. - repo-standards covers every active repo, missing AGENTS.md first, capped per run, never a second open PR. - builder (product-manager + senior-developer + interface-developer) opens draft PRs only. Former names stay valid and run only their stage, so CronJobs keep working. opencode runs refresh the global AGENTS.md + skills from juninmd/skills at most hourly (image copy as fallback) and record the commit in PRs/reviews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQLt2WHRBiK4sRPxupu
- Telegram approval marker counts only from this bot's login or the owner. - Approval button is sent even when the repo has issues disabled. - Public approval issue lists rules only; consent text says the whole file is deleted from history and all branches/tags are force-pushed. - keep-draft label failure closes the PR (fail closed). - code-reviewer / conflict-resolver CronJobs become no-ops instead of a second full pr-assistant pass. - remove stage never runs on stale findings; AGENTS.md install is atomic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQLt2WHRBiK4sRPxupu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Antonio · project thread
Summary
core/composite.ts).pr-assistantabsorbscode-reviewer(redundant) andconflict-resolver(already inline).flow-watch= ci-health + pr-sla, observe only (no remediation tasks, no nudge comments).secret-guard= scan + remove. History rewrite only after owner approval: Telegram button (sg:<id>, private chat orTELEGRAM_APPROVER_IDS) or owner/aprovaron thesecret-guardissue. Approval is bound to the exact finding set; fail-closed.repo-standards= AGENTS.md/.agents in every active repo (missing AGENTS.md first,REPO_STANDARDS_MAX_PRS, never two open PRs) + README.builder= product-manager + senior-developer + interface-developer. PRs always draft +keep-draft: pr-assistant reviews, never marks ready, never merges (not even/merge). Label failure closes the PR.code-reviewer/conflict-resolverbecome no-ops with a warning (no second pr-assistant pass).core/agent-contract.tsrefreshes global AGENTS.md + skills from juninmd/skills at most hourly (only withAGENT_CONTRACT_REFRESH=true, set in the Dockerfile; image copy is the fallback). The commit shows in PR bodies and review footers..env.exampleupdated.Quality Checklist
mapLimit(8); contract refresh TTL 1h, shared in-flight promise.Verification
bun run typecheck→tsc --noEmitclean.bun test→ 317 pass, 0 fail (baseline 306); newfleet-redesign.test.ts,secret-guard-approval.test.ts. Mutation-checked: removing the keep-draft guard or the mark-ready guard makes the tests fail.bun scripts/check-no-cron.ts→ no cron workflows.pr-slaalias; pr-assistant on real PR feat(pr-assistant): bloquear merge sem AGENTS.md #298 withkeep-draft→keep_draft, no merge; repo-standards reads on this repo; approval gate check; real fetch of juninmd/skills@d261512 (40 skills + AGENTS.md installed to a temp HOME). The session token only reaches this repo, so other repos were not exercised.Not verified: Docker build, Telegram callbacks with a real bot (unit-tested), CronJob manifests (live outside this repo; aliases keep them working).
Generated by Claude Code