117 Commits
Author SHA1 Message Date
Miguel Palhas d849488582 feat(yolo): create worktree like work does
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 22s
yolo now follows COMMON.md worktree setup: stay put when already in a
worktree, create worktrees/<branch-name> when run from the main checkout.
Branch name comes from the issue, or a slug of the task description for
ad-hoc runs.

The merge step no longer does 'git checkout main' — that fails from a
worktree when the main checkout has main out. It merges and pushes in the
main worktree via git -C instead.
2026-09-23 15:25:23 +01:00
naps62-yolo 9c7e7022a0 chore: drop aoe remote-session registration hook
ci / nix (push) Successful in 11s
ci / lint (push) Successful in 14s
Nothing consumes it now that aoe is out of the loop; settings.json no longer wires the SessionStart hook.
2026-09-23 15:16:40 +01:00
Miguel Palhas ee1cb7dc4b fix(yolo): use provided session worktree
ci / lint (push) Successful in 13s
ci / nix (push) Successful in 10s
2026-09-19 19:54:52 +01:00
Miguel Palhas dd0d23ead9 Merge remote-tracking branch 'origin/main' into tuba
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 13s
2026-09-09 15:24:06 +01:00
Miguel PalhasandClaude Opus 4.6 7d95f5ceff fix(pr-daemon): defer session creation when maestro is unreachable
When maestro goes down, the daemon only sees aoe sessions. If a PR's
session lives in maestro, route() finds no match and creates a
duplicate on aoe. Track maestro health with exponential backoff and
suppress session creation until it answers again.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-09-09 15:24:03 +01:00
naps62-yolo 74632e5929 test(evals): cover cross-forge PR skill rollouts (#25)
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 12s
2026-09-06 14:01:36 +01:00
Miguel Palhas abd21928bf chore: re-vendor humanizer and impeccable
ci / lint (push) Successful in 32s
ci / nix (push) Successful in 30s
humanizer 2.9.1 -> 2.11.1 (blader/humanizer, MIT): SKILL.md reorganised
into "Content patterns" with numbered pattern sections, plus a voice
matching and personality section. Upstream added a `skills/SKILL.md`
symlink pointing outside the skill directory, so `skills` joins the
excludes list rather than being copied in broken.

impeccable 4.0.4 -> 4.1.3 (pbakaus/impeccable, Apache-2.0): adds font
matching, comp diff/spec, hero checks and raster/PNG helpers under
scripts/; `scripts/live/ui-core.mjs` was split into `ui-surfaces.mjs`
and `project-ignores.mjs`.

bin/check-vendored.sh is green again.
2026-09-02 14:38:36 +01:00
Miguel Palhas dda912746f fix(ci): sort imports in blitz usage-budget
ci / nix (push) Successful in 10s
ci / lint (push) Successful in 13s
2026-09-02 14:35:19 +01:00
Miguel PalhasandClaude Opus 5 6b3cabe76a feat(pr-daemon): see maestro sessions, not just aoe
ci / nix (push) Successful in 14s
ci / lint (push) Failing after 19s
Sessions started by hand now live in maestro. The daemon listed only aoe,
so it found no owner for their branches and spawned a second session on a
worktree that already had an agent in it.

Both listings now feed one session set, keyed the same way, and a hint
goes back out through whichever orchestrator owns the pane. Only the
delivery call branches on source; routing, cooldowns and state read one
set of names. Sessions the daemon creates are still aoe sessions --
profiles, yolo clearing and the review sandbox have no maestro
equivalent.

Assumes `maestro send <id> <message>`, which is landing separately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 15:04:44 +01:00
naps62-yolo d1a198ab8b fix(pr-daemon): rate-limit hints; price the gpt-5.6 models (#21)
ci / nix (push) Successful in 10s
ci / lint (push) Failing after 15s
2026-08-28 19:40:50 +01:00
Miguel Palhas aff0e38dd3 fix(pr-daemon): route sessions by git branch, not aoe's field
ci / nix (push) Successful in 11s
ci / lint (push) Failing after 50s
aoe fills worktree.branch with the worktree *name* for worktrees it
created, so a session started by hand in a worktree named after anything
else never matched its own PR and the daemon opened a second session on
the same directory -- PR #412 got one next to the session already sitting
on 387-rehearse-ta-wallet-registration in worktrees/spanish.

Read the branch from the worktree instead, and fall back to the field.
main_repo_path gets the same treatment: it is empty for worktrees aoe
does not manage, which left those sessions matching no repo at all.

Takes effect after: systemctl --user restart pr-daemon (runs from
~/tea/agent-skills, so this must reach main first).
2026-08-27 15:34:27 +01:00
Miguel Palhas ca02107d42 fix(pr): pin agent-meta marker, add harness field
ci / nix (push) Successful in 10s
ci / lint (push) Failing after 12s
2026-08-26 10:34:52 +01:00
Miguel Palhas a229d0ce79 fix(plan-milestone): send owner and repo in dependency payload
ci / nix (push) Successful in 9s
ci / lint (push) Failing after 13s
2026-08-26 07:01:58 +01:00
Miguel Palhas 8e6f86c23b fix(blitz): label Claude budget results
ci / nix (push) Successful in 9s
ci / lint (push) Failing after 11s
2026-08-25 14:08:51 +01:00
Miguel Palhas c9e1c68ea2 feat(blitz): account for provider usage pressure
ci / nix (push) Successful in 8s
ci / lint (push) Failing after 11s
2026-08-25 14:08:07 +01:00
Miguel Palhas 3f0a8a1d6f chore(blitz): use conservative default budget
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
2026-08-25 13:35:24 +01:00
Miguel PalhasandClaude Opus 5 e818cfea8b feat(config): one agent roster for daemon and blitz
ci / lint (push) Successful in 1m12s
ci / nix (push) Successful in 18s
The reviewer pool was the only place naming harness+model combos, and
blitz kept its own table inline. `reviewers` becomes `agents`, gains
`roles` and `tiers`, and blitz routes from it via scripts/roster.sh.

Config path moves to ~/.config/agent-skills/; the reviewer path stays
readable so a box migrates with a mv.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-25 12:37:04 +01:00
Miguel Palhas d6265b0fbe docs(rev): arm the watcher by command name
ci / nix (push) Successful in 13s
ci / lint (push) Successful in 29s
rev is a nix package now and puts rev-watch on PATH. The old path pointed into
a working checkout, which is dev-only from here on.
2026-08-25 10:01:40 +01:00
Miguel PalhasandClaude Opus 5 0900e5fea1 perf(gate): widen per-slot jobs to (cores-2)/slots
ci / nix (push) Successful in 10s
ci / lint (push) Successful in 12s
The old cores/SLOTS/2 left a full test suite on 2 of 10 cores even with
the box idle. Reserve two cores for the agent sessions and split the
rest across slots.

Also retire the CPU framing on the subagent fan-out cap. The number
stays 3, but the binding constraints are memory per worktree and the
shared rate-limit window; subagents are mostly idle waiting on the API.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 13:56:55 +01:00
Miguel Palhas 37cdfd2c1f fix(pr-daemon): send comments hints to review sessions
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 12s
The reviewer was filtered down to ci and state, so a reply to one of its
findings never reached it — it only learned about pushback when someone
asked. Replies are addressed to the reviewer, and an addressed thread is
now the reviewer's to resolve. Conflicts stay filtered out: those are the
author's to fix on their own branch.

Takes effect after: systemctl --user restart pr-daemon (runs from
~/tea/agent-skills, so this must reach main first).
2026-08-24 11:24:41 +01:00
Miguel Palhas 8313842de8 fix(review-pr): resolve any addressed thread, not only your own
Bot and other-reviewer threads block land the same way. The guard that
matters is whether the finding is addressed, not who opened it.
2026-08-24 11:23:53 +01:00
Miguel Palhas c7becda233 feat(review-pr): resolve own threads, post without approval
Trust comes from a repos[] entry in the reviewer config, not from the
forge. Listed repos post findings directly; only an unlisted repo still
holds findings for approval. The old text tied gating to github and
misread the config's mode field, which is the daemon's land/review
switch.

Adds §3.1: resolve a thread once the author addresses the finding.
Unresolved findings pile up for the life of the PR and block the
author's land session, which never declares a PR ready over an open
thread. Approval is still not the reviewer's to give.
2026-08-24 11:07:23 +01:00
Miguel Palhas d49d4e140e feat(plan-milestone,blitz): wire real Gitea issue dependencies
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
plan-milestone now POSTs to the dependencies API when filing issues,
instead of relying on Depends on: #N prose alone. blitz's finding-fold
step does the same. Body text is kept for readability.
2026-08-23 16:42:33 +01:00
Miguel PalhasandClaude Fable 5 ca790b19c5 feat(plan-milestone): rename backlog, file under a created milestone
ci / nix (push) Successful in 7s
ci / lint (push) Successful in 10s
The milestone is the handoff unit to /blitz and keeps concurrent
planning efforts' issues apart.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 15:58:04 +01:00
Miguel PalhasandClaude Fable 5 b735c16b30 feat(blitz): spawn-time model assessment over label table
ci / nix (push) Successful in 7s
ci / lint (push) Successful in 11s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 15:54:46 +01:00
Miguel PalhasandClaude Fable 5 febf397885 docs(blitz): route by remaining judgment, not label alone
ci / nix (push) Successful in 7s
ci / lint (push) Successful in 9s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 15:52:10 +01:00
Miguel PalhasandClaude Fable 5 59e47308bd feat(blitz): aoe sessions are the only worker mode
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
Subagent fan-out removed; model routing is a built-in default table,
overridden by instructing the run rather than per-repo config.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 15:51:44 +01:00
Miguel Palhas d38e207b50 Merge branch 'main' of https://git.naps.pt/yolo/agent-skills
ci / nix (push) Successful in 7s
ci / lint (push) Successful in 10s
2026-08-23 15:40:49 +01:00
Miguel PalhasandClaude Fable 5 ca0021eca9 feat(skills): backlog planning skill, aoe worker mode for blitz
backlog turns a design doc into a labeled, interdependent issue set
by grilling the operator. blitz gains an aoe-session worker mode with
per-difficulty model routing, exit-criteria prompts and stall nudging,
extracted from the arr driver run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 15:40:46 +01:00
Miguel Palhas 851f7f7fbe feat(hourlog): default to sonnet
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
Reading session logs into a table is not opus work. HOURLOG_MODEL still
overrides, and an empty value takes the harness default.
2026-08-23 11:04:47 +01:00
Miguel Palhas 777ee3e72d feat(hourlog): let HOURLOG_MODEL pick the agent model
ci / nix (push) Successful in 10s
ci / lint (push) Successful in 12s
Passed through as --extra-args to the agent binary, so the Friday timer can
run on something other than the harness default.
2026-08-23 10:25:26 +01:00
Miguel Palhas 2be68476f1 fix(hourlog): resolve aoe from PATH
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 11s
aoe moved to the nix profile, so the hardcoded ~/.local/bin/aoe made the
Friday timer exit 127 before creating the session. Same resolution the
week-review script already uses.
2026-08-23 10:12:19 +01:00
Miguel Palhas f61371c74a Merge remote-tracking branch 'origin/main' into reviews 2026-08-23 10:08:16 +01:00
Miguel Palhas dba8416192 feat(pr-daemon): review only when a review is requested
Auto-review paid off on daemon and core PRs and reviewed clean on most
small ones, so spawning a reviewer on every non-draft PR spent tokens for
nothing. A review session now needs github plus one of your logins in the
PR's requested_reviewers; gitea spawns none.
2026-08-23 10:06:44 +01:00
Miguel Palhas f29d170702 Merge branch 'hindustanis'
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 10s
2026-08-23 09:58:39 +01:00
Miguel PalhasandClaude Opus 5 e627f53934 feat(land): merge on gitea, stop at the button on github
The never-merge rule only holds for GitHub. Gitea repos here are the
user's own, so land squash-merges once CI is green, threads are
resolved and the branch is current. A gitea PR with no reviewer ever
requested counts as approved, otherwise it waits forever.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-23 09:56:56 +01:00
Miguel Palhas a3522051fa feat(pr-daemon): hand review sessions their forge token
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 11s
A sandboxed review session can't read ~/.env.claude, so $GITEA_TOKEN was
never set and reviewers improvised — one of them fell back to `git
credential fill`, another skipped posting.

A forge can now name a second, write-capable variable in reviewTokenEnv.
The daemon passes its value into the session as $GITEA_TOKEN ($GH_TOKEN
on GitHub), through the generated Claude settings file or the codex
profile's shell_environment_policy, both now written 0600. tokenEnv
stays read-only and unchanged. Nothing is injected when reviewTokenEnv
is unset.
2026-08-22 20:01:45 +01:00
Miguel Palhas 0096addb23 fix(install): link skills where codex looks
Codex 0.148 discovers skills under $CODEX_HOME/skills only, so every
skill in this repo was invisible to codex sessions — review sessions run
by a codex reviewer reported review-pr as an unavailable skill and fell
back to improvising a review.

Both installers now link each skill into ~/.codex/skills as well. The
nix module links one symlink per skill dir instead of recursive=true:
codex skips any skill whose SKILL.md is itself a symlink, which is what
a per-file link produces.
2026-08-22 19:50:01 +01:00
Miguel PalhasandClaude Opus 5 0f131f00a4 docs(pr-common): name the session's forge token
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
Every codex review session so far reached for REVIEWER_GITEA_TOKEN,
the name it found in the daemon's config.json, got an empty header and
a 401, then retried with GITEA_TOKEN. The config file now says which of
its fields the session may use, and COMMON.md says why the other name
is not the one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 19:15:09 +01:00
Miguel PalhasandClaude Opus 5 cf3a75b511 fix: point paths at ~/tea/agent-skills
ci / nix (push) Successful in 7s
ci / lint (push) Successful in 10s
The checkout moved out of ~/tea/yolo. Codex sessions were the visible
casualty: entry/codex-AGENTS.md @imports absolute paths, so operating.md,
writing.md, code-comments.md, intercomms.md and RTK.md all resolved to
nothing and the sessions ran without them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 19:11:04 +01:00
Miguel PalhasandClaude Opus 5 eb4db68dcb fix(review-pr): post findings on the PR, not rev
ci / nix (push) Successful in 10s
ci / lint (push) Successful in 12s
Reviewers followed the box's global "code reviews go to the rev server"
rule over the skill's posting step. Findings for maestro #45, #47 and #50
went into rev's DB under the review worktree path; the merge deleted the
worktree, rev now answers "not a known repo", and the PRs read as never
reviewed.

The rev rule is now scoped to changes the agent wrote itself, review-pr
names the forge as the only destination, and the daemon's opening prompt
repeats it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 19:05:34 +01:00
Miguel PalhasandClaude Opus 5 085363e393 feat(pr-daemon): sandbox review sessions instead of prompting
ci / nix (push) Successful in 10s
ci / lint (push) Successful in 11s
Review sessions stopped at a permission prompt on every command, which
parks an unattended reviewer on a dialog nobody answers. They now run
confined: Claude gets a generated settings file (dontAsk + bash sandbox,
writes limited to the worktree and its git dir, network limited to the
forge API hosts, credentials unreadable), Codex gets --sandbox
workspace-write --ask-for-approval never plus a profile declaring the
repo untrusted, which also answers its trust prompt without granting it.

Claude Code treats .git as a protected path no allow rule opens, so the
seen and findings files are written with a shell redirect.

review-pr now always posts one review per head SHA, an ack when it has
no findings, so the author side gets a signal either way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 13:48:55 +01:00
naps62-yolo ae927736a0 feat(hooks): secret-guard blocks live secret values in tool args (#17)
ci / lint (push) Successful in 14s
ci / nix (push) Successful in 11s
2026-08-21 21:57:58 +01:00
Miguel PalhasandClaude Fable 5 d4df9588bb fix(week-review): repair stale aoe and repo paths
ci / nix (push) Successful in 9s
ci / lint (push) Successful in 11s
aoe moved to nix profile and the repo lost its yolo/ nesting; the
timer exited 127 every week since.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-21 17:29:58 +01:00
naps62-yolo 51fd18b23e feat(pr): hidden agent-meta marker on posted bodies (#16)
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 9s
2026-08-21 16:36:40 +01:00
Miguel Palhas 04baf8242a refactor: rename tracker common
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 11s
2026-08-20 15:40:17 +01:00
naps62-yolo 2f092f9ee0 feat(ci): lint skills, refs and installer drift (#15)
ci / nix (push) Successful in 8s
ci / lint (push) Successful in 10s
2026-08-20 14:23:19 +01:00
naps62-yolo cf5518227e feat(intercomms): let sessions find and talk to each other (#14) 2026-08-20 14:22:34 +01:00
Miguel PalhasandClaude Opus 5 7a55c42408 chore(reviewer): drop synthetic-hosted models from reviewer pool
Removes the GLM 5.2 entries that stood in for kimi in the previous commit.
The pool is now claude and gpt-5.6 only, across claude, pi and opencode.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-20 11:25:18 +01:00
Miguel PalhasandClaude Opus 5 4dd0c9d241 chore(reviewer): drop kimi-k3 from reviewer pool
Kimi K3 subscription is exhausted. Replaces the kimi entries in the
example config and README with GLM 5.2.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-20 11:19:26 +01:00