Commit graph

1451 commits

Author SHA1 Message Date
a4e7dcc5d7 Merge pull request 'fix: bug: generate_compose() emits unresolved ${PROJECT_NAME} in PROJECT_REPO_ROOT (#518)' (#523) from fix/issue-518 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 19:51:00 +00:00
3ac6cf7bf3 Merge pull request 'fix: bug: agents entrypoint does not set git safe.directory — worktrees fail after container restart (#517)' (#524) from fix/issue-517 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 19:45:35 +00:00
Claude
3b41643c76 fix: agent-smoke CI missing formula-session.sh source for supervisor-run.sh
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
The smoke test's function resolution check for supervisor/supervisor-run.sh
did not include lib/formula-session.sh as an extra definition source, causing
acquire_cron_lock to be flagged as undefined.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:43:47 +00:00
Claude
c7ca745233 fix: bug: agents entrypoint does not set git safe.directory — worktrees fail after container restart (#517)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 19:40:49 +00:00
Claude
09719aa635 fix: bug: generate_compose() emits unresolved ${PROJECT_NAME} in PROJECT_REPO_ROOT (#518)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/pr/smoke-init Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:39:18 +00:00
471b0b053a Merge pull request 'fix: bug: dispatcher runner invokes formulas as bash scripts but formulas are TOML (#516)' (#519) from fix/issue-516 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 19:28:07 +00:00
Claude
fbf1a6dcc2 fix: review feedback — cd path in release.sh, compose file access in edge container
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
- formulas/release.sh: cd to $FACTORY_ROOT (not parent) for docker compose build
- docker-compose.yml: mount docker-compose.yml into edge container, pass HOST_PROJECT_DIR
- dispatcher.sh: use -f and --project-directory so compose resolves volume paths
  against the host filesystem when invoked from inside the edge container

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:23:08 +00:00
Claude
3c8b61168d fix: eliminate duplicate action-TOML parsing between runner entrypoint and release formula
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Runner entrypoint now exports VAULT_ACTION_TOML for formula scripts,
avoiding duplicated argument parsing that triggered CI duplicate detection.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:07:51 +00:00
Claude
77de5ef4c5 fix: bug: dispatcher runner invokes formulas as bash scripts but formulas are TOML (#516)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline failed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:02:52 +00:00
Smoke Test
e70da015db fix: edge container — add python3, fix mktemp BusyBox compat
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Dockerfile: caddy:latest is Alpine, needs apk not apt-get. Add python3
which dispatcher.sh requires for JSON filtering since Apr 6.

dispatcher.sh: BusyBox mktemp does not support suffixes after XXXXXX
template. Remove .txt suffix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 18:07:21 +00:00
0db21e70a1 fix: move PROJECT_REPO_ROOT after pname assignment in entrypoint + add updating-factory docs (#515)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
## Summary
- Fix bug where `PROJECT_REPO_ROOT` was set before `pname` was read from the TOML, resulting in an empty variable
- Add `docs/updating-factory.md` covering the client-side factory update procedure

Pre-release cleanup for v0.1.1.

Co-authored-by: johba <johba@users.codeberg.org>
Reviewed-on: #515
Reviewed-by: disinto-admin <admin@disinto.local>
Co-authored-by: dev-bot <dev-bot@disinto.local>
Co-committed-by: dev-bot <dev-bot@disinto.local>
2026-04-09 17:44:42 +00:00
3c4ba5ff82 Merge pull request 'fix: architect: jq integer/string type mismatch in has_open_subissues self-exclusion filter (#499)' (#514) from fix/issue-499 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 15:14:51 +00:00
Agent
ac1b49767d fix: architect: jq integer/string type mismatch in has_open_subissues self-exclusion filter (#499)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 15:11:50 +00:00
449d83f233 Merge pull request 'fix: bug: dev-poll stale detection races with issue_claim — blocks freshly claimed issues (#471)' (#512) from fix/issue-471 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 15:09:22 +00:00
2ad515d53e Merge pull request 'fix: architect: has_responses_to_process not set when open_arch_prs < 3 (#498)' (#513) from fix/issue-498 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 15:03:39 +00:00
Agent
a72ab8b121 fix: architect: has_responses_to_process not set when open_arch_prs < 3 (#498)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 14:57:24 +00:00
Claude
96aeb549c0 fix: use Forgejo integer CommentType (7) instead of string "label" in timeline query
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Forgejo's timeline API serializes CommentType as an integer enum, not a
string. CommentTypeLabel is 7. The previous .type == "label" filter never
matched, making the grace period a no-op.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:57:14 +00:00
Claude
8679332756 fix: bug: dev-poll stale detection races with issue_claim — blocks freshly claimed issues (#471)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Add 60-second grace period to stale in-progress detection in dev-poll.sh.
When a poller sees an in-progress issue with no assignee/PR/lock, it now
checks the timeline API for when the label was added. If <60s ago, it
skips stale detection to allow the claiming agent time to finish its
assign+label sequence.

Also documents the intentional assign-before-label ordering in
issue_claim() that minimizes the race window.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:45:30 +00:00
9d0b7f2b07 Merge pull request 'chore: gardener housekeeping' (#511) from chore/gardener-20260409-1424 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 14:39:02 +00:00
Claude
46a87c5798 fix: correct lib/AGENTS.md — Forgejo image tag 11.0, OPS_REPO_ROOT variable name
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 14:33:40 +00:00
Claude
6971371e27 chore: gardener housekeeping 2026-04-09
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 14:24:52 +00:00
7069b729f7 Merge pull request 'fix: fix: while-true entrypoint runs agents sequentially — slow agents block the entire pipeline (#509)' (#510) from fix/issue-509 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 14:10:47 +00:00
Claude
f3f6b22b0d fix: fix: while-true entrypoint runs agents sequentially — slow agents block the entire pipeline (#509)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Run fast agents (review-poll, dev-poll) in background with stagger.
Run slow agents (gardener, architect, planner, predictor) in background
with pgrep guards so only one instance of each runs at a time.
The flock on session.lock still serializes claude -p calls.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:05:14 +00:00
31b55ff594 Merge pull request 'fix: refactor: remove entrypoint.sh PROJECT_REPO_ROOT workaround (#503)' (#507) from fix/issue-503 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 12:15:27 +00:00
Agent
cfb4ba5fb3 fix: refactor: remove entrypoint.sh PROJECT_REPO_ROOT workaround (#503)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 12:11:28 +00:00
18a3d19d51 Merge pull request 'fix: fix: load-project.sh should derive container repo paths instead of using TOML value (#502)' (#506) from fix/issue-502 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 12:09:14 +00:00
Claude
3c443322ca fix: fix: load-project.sh should derive container repo paths instead of using TOML value (#502)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 12:02:51 +00:00
d61ef88c06 Merge pull request 'fix: fix: generate_compose() uses wrong Forgejo image tag — codeberg.org/forgejo/forgejo:1 does not exist (#493)' (#501) from fix/issue-493 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 11:22:14 +00:00
Agent
da65518f07 fix: fix: generate_compose() uses wrong Forgejo image tag — codeberg.org/forgejo/forgejo:1 does not exist (#493)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
2026-04-09 11:16:36 +00:00
2478765dfa Merge pull request 'fix: refactor: architect pitching should be bash-driven with stateless model calls (#490)' (#496) from fix/issue-490 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 11:11:35 +00:00
e159327d2e Merge pull request 'fix: fix: generate_compose() must add security_opt apparmor=unconfined to all services (#492)' (#500) from fix/issue-492 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 11:04:34 +00:00
Agent
8eaad3a998 fix: address AI review feedback - JSON injection, exit on failure, branch collisions (#490)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 11:04:30 +00:00
Claude
def09c441c fix: fix: generate_compose() must add security_opt apparmor=unconfined to all services (#492)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 11:00:01 +00:00
Agent
b11c4cca15 fix: refactor: architect pitching should be bash-driven with stateless model calls (#490) 2026-04-09 10:49:35 +00:00
80e19f8e51 Merge pull request 'fix: refactor: architect design phase should be bash-driven with stateful session resumption (#491)' (#497) from fix/issue-491 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 10:31:50 +00:00
Claude
03a119d16c fix: review feedback — use global vars for multiline guidance, update PR body for answer detection
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
- fetch_pr_review_decision now sets REVIEW_DECISION/REVIEW_GUIDANCE globals
  instead of printf to stdout (multiline guidance broke cut-based parsing)
- ACCEPT handler instructs model to update PR body with Design forks section
  so fetch_pr_answers can detect the answers phase on subsequent runs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 10:27:53 +00:00
Claude
e31a2d5c88 fix: refactor: architect design phase should be bash-driven with stateful session resumption (#491)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 10:15:17 +00:00
f78ed10064 Merge pull request 'fix: fix: profile_write_journal uses fixed filename — each run overwrites previous journal entry (#488)' (#489) from fix/issue-488 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 09:16:48 +00:00
Claude
2d04ef9406 fix: fix: profile_write_journal uses fixed filename — each run overwrites previous journal entry (#488)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 09:12:13 +00:00
a951b08e34 Merge pull request 'fix: fix: architect creates duplicate sprint pitch for vision issues that already have sub-issues (#486)' (#487) from fix/issue-486 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 09:06:16 +00:00
Agent
1426b1710f fix: fix: architect creates duplicate sprint pitch for vision issues that already have sub-issues (#486)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 08:59:43 +00:00
1e1bb12d66 Merge pull request 'fix: fix: review formula misses cross-cutting consequences and under-files tech-debt (#483)' (#484) from fix/issue-483 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 08:06:46 +00:00
Agent
045df63d07 fix: fix: review formula misses cross-cutting consequences and under-files tech-debt (#483)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 08:01:29 +00:00
8452bc35b3 Merge pull request 'fix: fix: entrypoint polling loop missing predictor and planner agents (#478)' (#482) from fix/issue-478 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 07:55:28 +00:00
Agent
0987b9ed2f fix: fix: entrypoint polling loop missing predictor and planner agents (#478)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 07:51:47 +00:00
52091a8c54 Merge pull request 'fix: fix: agents-update step uses vague instructions and disinto-specific examples — rewrite with mechanical discovery (#476)' (#481) from fix/issue-476 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 07:49:33 +00:00
Claude
87a0036baa fix: fix: agents-update step uses vague instructions and disinto-specific examples — rewrite with mechanical discovery (#476)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 07:45:26 +00:00
ddd3651426 Merge pull request 'fix: fix: gardener-run.sh should skip model invocation when nothing changed since last run (#473)' (#480) from fix/issue-473 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 07:38:33 +00:00
8b3aeb1698 Merge pull request 'fix: fix: env.sh unbound WOODPECKER_TOKEN crashes all cron agents under set -u (#475)' (#479) from fix/issue-475 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
2026-04-09 07:31:43 +00:00
Agent
4436136797 fix: fix: gardener-run.sh should skip model invocation when nothing changed since last run (#473)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-09 07:31:26 +00:00