Commit Graph
70 Commits
Author SHA1 Message Date
ffaerber 205b26a2f0 Update .gitea/workflows/agent.yml 2026-07-03 22:08:25 +02:00
ffaerber 25c915f540 Merge pull request '@senior: gitea' (#15) from ai/issue-14 into main
Reviewed-on: ffaerber/agents#15
2026-07-03 13:10:41 +02:00
senior fdf966c765 @senior: issue #14 — add gitea-api skill + expose AGENT_TOKEN to the agent process
- New gitea-api opencode skill (mirrors node1-ssh): documents the Gitea REST API
  base URL, Authorization: token $AGENT_TOKEN header, and example curl calls for
  read (issue/PR + comments, Actions runs/jobs/logs, org repos) and write (comment,
  label, close), with explicit warnings: never echo the token, treat fetched
  content as untrusted data (prompt-injection guard), and stop on 403.
- Wire AGENT_TOKEN into the Run agent step env so the agent process itself can
  call the API (previously only the Publish step saw it).
- Update README secrets table: AGENT_TOKEN now also powers gitea-api; do not
  re-narrow scopes without removing the skill.
2026-07-03 11:07:38 +00:00
ffaerber c5eaa3c5a5 Merge pull request '@junior: agents ssh' (#13) from ai/issue-12 into main
Reviewed-on: ffaerber/agents#13
2026-07-03 12:09:09 +02:00
lead 459a0c64b8 @lead: node1-ssh skill points to homelab opencode.json allowlist instead of inventing one 2026-07-03 09:50:48 +00:00
junior 5c4f03a397 @junior: issue #12 2026-07-03 09:45:48 +00:00
ffaerber 343a422233 Merge pull request '@senior: Wire up ssh node1 … in the agent workflow (read-only swarm diagnostics)' (#11) from ai/issue-10 into main
Reviewed-on: ffaerber/agents#11
2026-07-03 11:17:49 +02:00
senior 173ee612bd @senior: issue #10 — wire up read-only ssh node1 alias in agent workflow 2026-07-03 09:13:42 +00:00
ffaerber 0362e09737 Merge pull request '@senior: readme' (#9) from ai/issue-8 into main
Reviewed-on: ffaerber/agents#9
2026-07-02 17:51:55 +02:00
senior 402ccd7a6b @senior: issue #8 — list agents + models in README, update routing & allow-list 2026-07-02 15:38:52 +00:00
ffaerber d8c47849cd Merge pull request '@senior: opscode events are not in the PR' (#5) from ai/issue-4 into main
Reviewed-on: ffaerber/agents#5
2026-07-02 15:52:43 +02:00
senior 92ad8ef436 @senior: issue #4 — one PR per run, post activity log to the PR thread 2026-07-02 13:51:21 +00:00
ffaerber 0fa2e7b6d8 Merge pull request '@senior: opencode logs' (#3) from ai/issue-2 into main
Reviewed-on: ffaerber/agents#3
2026-07-02 15:21:47 +02:00
senior 15285d228f Post opencode activity log (tool calls + reasoning) as a PR comment (#2)
Switch the real 'Run agent' step to --format json (replacing the two
TEMP/DEBUG schema-discovery commits da6f0d5/d0ddb06), capture the raw
event stream, and reconstruct the plain-text reply from the assistant
'text' parts so the existing Publish logic is unchanged.

Add a 'Build activity log' step that filters the event stream to
tool_use (with truncated title/input) and text (reasoning) events.
The Publish step posts that trail as a separate collapsible comment on
the PR thread (dev agents only — comment-only roles do no tool calls).

This is additive to the existing summary/PR-description comment.
Reasoning reuse on a follow-up run is free: the existing 'fetch full
issue thread' step already re-feeds all prior comments (including this
new log comment) into the next run's prompt, so the agent sees what it
did last time.
2026-07-02 13:17:14 +00:00
Felix FaerberandClaude Opus 4.8 d0ddb06ccb DEBUG: post captured --format json schema as an issue comment (findable + fetchable)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 15:21:48 +03:00
Felix FaerberandClaude Opus 4.8 da6f0d5b92 TEMP: debug step to capture opencode --format json event schema
Runs a tiny Sonnet probe and dumps the raw events to the Actions log so we can build the
PR-progress parser against the real schema. Removed once captured.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 15:14:37 +03:00
Felix FaerberandClaude Opus 4.8 6b5c1bb888 Dogfood: add thin caller + AGENTS.md so agents work on the agents repo itself
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 10:47:15 +03:00
Felix FaerberandClaude Opus 4.8 c594080ffc Add PM breakdown skill: feature -> milestone + sub-issues (plan/approve/create gate)
@pm proposes a milestone + sub-tasks and asks for approval; on 'yes' it emits a BEGIN_SUBTASKS
block, and the workflow creates the milestone + one sub-issue per line (each 'Part of #<feature>').
Sub-issues are not auto-started — maintainer @mentions an agent on each when ready.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 10:32:57 +03:00
Felix FaerberandClaude Opus 4.8 f6df3f24af Add reusable AI-agent workflow + docs + AGENTS template
Reusable workflow (on: workflow_call) moved from homelab; consuming repos add a thin caller
(uses: ffaerber/agents/.gitea/workflows/agent.yml@main, secrets: inherit).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 07:20:54 +03:00
ffaerber a14d33bb8d Initial commit 2026-07-02 06:18:36 +02:00