289 Commits

Author SHA1 Message Date
Rebase Agent ecd0a94be4 build: got auto-agents to a working state with deterministic starting 2026-05-13 21:39:05 -04:00
Rebase Agent 3c8cf60110 build: got auto-agents to a working state with deterministic starting 2026-05-13 21:14:25 -04:00
hamza.khyari f37bfa01fe feat(agents): add review-started notification to pr-review-worker
Add Step 0 to both first_review and re_review modes — posts a comment
on the PR immediately after parameter validation, before any reading
or cloning.  Gives the PR author instant visibility that a review is
in progress.

CI flag mode is unchanged (too lightweight to warrant a notification).

ISSUES CLOSED: #11028
2026-05-12 12:11:12 +00:00
CoreRasurae 39bbff0849 feat(agents): add work-started notification to task-implementor
Add Step 2 (notification) to issue_impl and pr_fix procedures —
posts a comment on the issue/PR after reading it but before cloning,
giving authors instant visibility that implementation work has started.

Also update CHANGELOG.md with entry for #11031.

ISSUES CLOSED: #11031
2026-05-12 11:47:15 +00:00
HAL9000 fbe6308200 feat(agents): add mandatory PR compliance checklist to implementation-pool-supervisor
Add a new implementation-pool-supervisor agent definition with an embedded
8-item PR Compliance Checklist. Workers dispatched by the pool supervisor
must complete all 8 items before creating any PR: CHANGELOG.md update,
CONTRIBUTORS.md update, commit footer (ISSUES CLOSED: #N), CI verification,
BDD tests, Epic reference, label application via forgejo-label-manager,
and milestone assignment. Includes concrete markdown examples for each
subsection and compliance verification pseudocode.

Also adds BDD test coverage (pr_compliance_pool_supervisor.feature + steps)
to verify the pool supervisor agent definition contains all 8 checklist items.

Parent Epic: #9779

ISSUES CLOSED: #9824
2026-05-08 18:50:33 +00:00
HAL9000 3f8f8eb0bf docs(agents): add State/In Review and Priority labels to pr-creator
ISSUES CLOSED: #8520
2026-05-08 13:22:11 +00:00
HAL9000 63241f1859 fix(agents): add mandatory PR compliance checklist to implementation-supervisor
Workers were systematically omitting CHANGELOG.md, CONTRIBUTORS.md, and
commit footer (ISSUES CLOSED: #N), causing all PRs to be blocked from merge.

Added a mandatory 8-item PR Compliance Checklist to the worker prompt body
in implementation-supervisor.md that supervisors must pass to every worker.
The checklist covers:
1. CHANGELOG.md update under [Unreleased]
2. CONTRIBUTORS.md update
3. Commit footer with ISSUES CLOSED: #N
4. CI verification (all quality gates green)
5. BDD/Behave test coverage
6. Epic reference in PR description
7. Labels applied via forgejo-label-manager
8. Milestone assignment

Also removed @tdd_expected_fail tag from PlanContextInheritance test in
depth_breadth_projection.feature (bug #4198 is fixed).

Added BDD tests in features/pr_compliance_checklist.feature with 10 scenarios
covering all 8 checklist items.

ISSUES CLOSED: #9824
2026-05-05 17:18:16 +00:00
HAL9000 81935a9cf7 chore(agents): improve ca-test-infra-improver — strengthen duplicate avoidance
Expand the Duplicate Avoidance section from a 3-step placeholder into a
comprehensive 6-step process to prevent the 48+ duplicate TEST-INFRA issues
observed across 8 topic clusters.

Key additions:
- CRITICAL blockquote: when in doubt, skip
- Keyword extraction before filing
- Keyword-based search (open AND closed issues, not just TEST-INFRA: prefix)
- Semantic comparison with concrete examples
- Cross-agent prefix checking (TEST-INFRA:, BUG-HUNT:, UAT:)
- Post-filing verification with 5-second delay for race condition handling
- Duplicate Check audit section requirement in every filed issue body

ISSUES CLOSED: #2370
2026-05-05 04:53:48 +00:00
HAL9000 05163ec4d3 feat(agent-evolution-pool-supervisor): Add agent definition with PR Metadata Assignment section 2026-05-03 00:17:15 +00:00
freemo bfdf946776 build: fixed permission to script access for health checks 2026-05-02 15:38:08 -04:00
freemo ce396d2b43 build: reordered agent perms 2026-05-02 14:33:45 -04:00
freemo 0f08f63b17 build: fixed minor duplicate perms 2026-05-02 14:02:26 -04:00
freemo 9632ea55dd build: trying new qwen instruct model instead 2026-05-01 20:03:27 -04:00
freemo bdcc44cb09 build: read and write permissions set seperate edit since read seems to be getting denied as does write 2026-05-01 17:58:29 -04:00
freemo 3a6d42ee79 build: fixed some bad permissions and no longer require prompt to be written to a file for supervisors 2026-05-01 17:45:27 -04:00
freemo 9b34d47371 build: new models 2026-05-01 16:32:39 -04:00
freemo 816c16901b build: fixed uncensored model 2026-04-30 20:02:13 -04:00
freemo 516c600c0e build: updated and rename hosted models 2026-04-30 19:47:54 -04:00
freemo 1691def164 build: Moved to using new default qwen instance 2026-04-30 16:12:38 -04:00
HAL9000 87f44e556a chore(agents): fix ca-test-infra-improver health comment spam
Replace fragile cycle-modulo health posting guard with timestamp-based
approach and state-change-only posting. The inner monitoring loop no
longer posts health comments — posting is gated by a 10-minute timer
OR meaningful state changes (worker completion, dispatch events).

Approved proposal: #3385
Pattern: workflow_fix
Evidence: Agent posted 44 of 52 session comments in 20 minutes, all
identical, drowning out other agent signals.
Fix: Timestamp-based health posting with state-change triggers.
2026-04-30 08:15:32 +00:00
freemo 602d56f347 chore(agents): fix ca-test-infra-improver health comment spam
Approved proposal: #3385
Pattern: workflow_fix
Evidence: Agent posted 44 of 52 comments in 20 minutes, drowning out all
other agent signals. The cycle % 60 guard was ambiguous and ignored by the
model.
Fix: Replace fragile modulo guard with explicit timestamp-based rate
limiting (10-minute minimum between health posts). Add prominent CRITICAL
warning about rate limiting. Clarify that health posting runs in the outer
loop, not the inner monitoring loop.

ISSUES CLOSED: #3385
2026-04-30 08:15:32 +00:00
freemo 5730c0927d build: fixed some remaining issues with naming due to changes in tier layout 2026-04-28 14:06:01 -04:00
HAL9000 f4e28bcb84 build: fixed some minor mistakes in tier-dispatcher leading to inconsistency 2026-04-27 23:51:06 -04:00
freemo 1885990081 build: auto opencode agents rewritten 2026-04-27 12:49:08 -04:00
HAL9000 0d086ddc63 chore(agents): add git clone permission to bug-hunter worker mode
Approved proposal: #3831
Pattern: permission_gap
Evidence: Bug-hunter worker mode requires cloning the repository to
analyze source code, but git clone/config/fetch/checkout/reset
permissions were missing from the bash permission list. Workers
were unable to clone the repo and therefore could not perform
any code analysis.
Fix: Add git clone*, git config*, git fetch*, git checkout*,
git reset*, mkdir *, and rm -rf * permissions to enable workers
to clone and clean up their isolated working directories.

ISSUES CLOSED: #3831
2026-04-26 20:02:18 +00:00
HAL9000 7c21ca0d6f docs(agents): sync pr-merge-pool-supervisor merge criteria with runtime behaviour
Add Ten Merge Criteria section to pr-merge-pool-supervisor.md documenting
all 10 criteria the supervisor checks at runtime. Previously only 6 criteria
were documented, creating inconsistency with actual runtime behaviour.

Also update CHANGELOG.md and CONTRIBUTORS.md.

Closes #8107

# Conflicts:
#	CONTRIBUTORS.md
2026-04-26 13:01:44 +00:00
HAL9000 49ecf7ff8f fix(agents): add PR diff and file list permissions to implementation-worker
The implementation-worker has a PR fix mode that needs to read PR changes
to understand what is failing. However, it lacked forgejo_list_pull_request_files
and forgejo_get_pull_request_diff permissions, forcing it to clone the entire
repository just to inspect what files changed.

The pr-reviewer agent already has both permissions. This change aligns the
implementation-worker permissions with its actual usage patterns and reduces
unnecessary full-repo clones in PR fix mode.

Also adds curl, printenv, and echo bash permissions that were inadvertently
omitted from the permission block. These are needed for the agent to make
Forgejo API calls, check environment variables, and perform basic shell
operations.

ISSUES CLOSED: #8175
2026-04-25 04:00:45 +00:00
HAL9000 1732436edb fix(agents): add PR diff and file list permissions to implementation-worker
The implementation-worker has a PR fix mode that needs to read PR changes to understand what is failing. However, it lacked forgejo_list_pull_request_files and forgejo_get_pull_request_diff permissions, forcing it to clone the entire repository just to inspect what files changed.

The pr-reviewer agent already has both permissions. This change aligns the implementation-worker permissions with its actual usage patterns and reduces unnecessary full-repo clones in PR fix mode.

Also adds curl, printenv, and echo bash permissions that were inadvertently omitted from the permission block restructuring. These are needed for the agent to make Forgejo API calls, check environment variables, and perform basic shell operations.

ISSUES CLOSED: #8175
2026-04-25 04:00:45 +00:00
HAL9000 f7deab5147 chore(agents): add concrete milestone API example and ISSUES CLOSED footer to agent-evolution-worker
Added a concrete curl example showing how to query the earliest open milestone via the Forgejo API at PR creation time, and added the ISSUES CLOSED footer requirement to the PR compliance checklist in agent-evolution-worker.md. Also updated CHANGELOG.md to reflect these additions.

ISSUES CLOSED: #8370
2026-04-25 03:14:00 +00:00
HAL9000 c4122f877a chore(agents): add CONTRIBUTING.md compliance steps to agent-evolution-worker
ISSUES CLOSED: #8370
2026-04-25 03:14:00 +00:00
freemo 43fdc31624 chore(agents): improve ca-continuous-pr-reviewer — skip PRs with unchanged HEAD since last review 2026-04-24 22:13:30 +00:00
HAL9000 afc17b22c5 feat(architecture-pool-supervisor): add milestone assignment to spec PRs
Restore original permission structure and model configuration while adding
only the changes needed for issue #7521: forgejo_update_pull_request
permission and PR Workflow for Major Changes documentation section.

Fixes addressed:
- Restore flat permission format (was incorrectly restructured to nested)
- Restore model to claude-haiku-4-5 with reasoningEffort max
- Restore removed critical rules (6: label delegation, 7: pagination)
- Restore removed permission denials (*, doom_loop, question, etc.)
- Add CHANGELOG.md entry for this feature
- Restore CONTRIBUTORS.md to master (remove unrelated changes)

ISSUES CLOSED: #7521

# Conflicts:
#	CONTRIBUTORS.md
2026-04-24 02:04:54 +00:00
HAL9000 8380c8b848 feat(architecture-pool-supervisor): add milestone assignment to spec PRs
Add milestone assignment step to the PR workflow for major specification changes.
The architecture-pool-supervisor agent now assigns created PRs to the current active
milestone using forgejo_update_pull_request, improving traceability and ensuring
spec PRs are properly tracked within project milestone planning.

Changes:
- Add 'PR Workflow for Major Changes' section to architecture-pool-supervisor.md
- Document milestone assignment using forgejo_update_pull_request
- Document milestone querying using forgejo_list_repo_milestones
- Add graceful error handling for missing active milestones
- Add support for multi-milestone spec PRs (use earliest milestone)
- Allow forgejo_update_pull_request in agent permissions
- Add comprehensive BDD tests for milestone assignment feature

ISSUES CLOSED: #7521

# Conflicts:
#	CONTRIBUTORS.md
2026-04-24 02:04:29 +00:00
freemo a70eeb952f chore(agents): improve ca-uat-tester — enforce comment-based progress reports 2026-04-22 13:12:38 +00:00
brent.edwards 7d9a91eb1e chore(merge): merge PR #8176 — fix pr-review-pool-supervisor tracking prefix
Merged PR #8176 from branch fix/pr-review-pool-supervisor-prefix-mismatch

Resolved conflicts in:
- .opencode/agents/pr-review-pool-supervisor.md: Accepted incoming version with corrected tracking prefix AUTO-REV-SUP (instead of AUTO-REV-POOL)
- CHANGELOG.md: Accepted incoming version documenting the tracking prefix fix
- CONTRIBUTORS.md: Accepted incoming version with updated contributor tracking

The PR fixes the tracking prefix inconsistency, changing from AUTO-REV-POOL to AUTO-REV-SUP to match the actual tracking issues created by the agent. This prevents duplicate tracking issues from being created each cycle.
2026-04-20 22:23:23 +00:00
brent.edwards df8cd4c0a9 chore(merge): merge PR #7586 — fix bug-hunt-pool-supervisor tracking prefix
Merged PR #7586 from branch improvement/agent-bug-hunt-pool-supervisor-tracking-prefix

Resolved conflicts in:
- .opencode/agents/bug-hunt-pool-supervisor.md: Accepted incoming version with improved tracking prefix AUTO-BUG-SUP and restructured tracking procedures
- CHANGELOG.md: Accepted incoming version with clearer tracking fix documentation

The PR fixes the tracking prefix inconsistency, changing from AUTO-BUG-POOL to AUTO-BUG-SUP for consistency with other agents, and improves the tracking issue format with better structured health reports and announcements.
2026-04-20 22:22:01 +00:00
brent.edwards 53d3c18c34 Merge remote-tracking branch 'origin/improvement/agent-ca-test-infra-improver-failure-handling' into chore/merge-batch-1 2026-04-20 15:05:09 -07:00
freemo 435e409df9 build: moved all sonnet agents to haiku 2026-04-18 12:33:27 -04:00
freemo 59a2a83328 build: fixed pr-merge filtering to avoid non-mergable PRs 2026-04-18 01:41:40 -04:00
freemo bcf58f0703 build: being even more explicit about loading scripts 2026-04-17 18:26:54 -04:00
freemo 37402e83c2 build: fixed some typos regarding script loading via skills 2026-04-17 17:59:04 -04:00
freemo 7c13643441 build: final tweaks to get gpt5-nano working for pr-merge 2026-04-17 17:44:25 -04:00
freemo 4e7bb5ae4e build: more explicit on how to run the script 2026-04-17 17:27:11 -04:00
freemo 47d630599a build: further clarified how to get the PRs using the scripts 2026-04-17 17:07:58 -04:00
freemo 6153da8deb build: trying to improve skill comprehension of scripts 2026-04-17 16:53:33 -04:00
freemo e8f06fa433 build: made invocation of scripts more explicit 2026-04-17 16:32:37 -04:00
freemo 17bbe20376 Revert "build: adding auto-agents-system as a task as well as a skill."
This reverts commit 5c8b5a84d2.
2026-04-17 16:28:28 -04:00
freemo 5c8b5a84d2 build: adding auto-agents-system as a task as well as a skill. 2026-04-17 16:19:00 -04:00
freemo fe95acb856 build: added more clarification for loading scripts 2026-04-17 16:02:21 -04:00
freemo 6ed9dbc2e7 build: expanded capabilities (permissions) of the git rebaser subagent 2026-04-17 15:45:54 -04:00