Commit graph

57 commits

Author SHA1 Message Date
openhands
793dafdb8a fix: gardener uses curl+CODEBERG_TOKEN instead of codeberg_api function
codeberg_api is a bash function in the gardener script's own process,
not available to claude-p's tool execution environment. Claude was
silently failing to call it and returning CLEAN.

Switch to curl commands with $CODEBERG_TOKEN env var that claude-p
can actually execute via its bash tool.
2026-03-13 22:35:30 +00:00
openhands
d137862813 fix: gardener tech-debt promotion not surfaced as problem
Tech-debt→backlog promotion was only in prompt text, not in the
problem list. Claude focused on detected problems (dupes, thin issues)
and printed CLEAN, ignoring the primary mission.

Fix: explicitly list up to 10 tech-debt issues in the problem list
so claude sees them as actionable items.

Also bumped --max-turns from 10 to 30 — promoting issues requires
reading + editing + relabeling via API, needs more turns.
2026-03-13 20:50:16 +00:00
openhands
cdbe668b0d security: gardener uses codeberg_api helper, never exposes tokens
Prompt now references codeberg_api function instead of raw curl+token.
Explicit instruction to never echo/log credentials.
2026-03-13 09:33:38 +00:00
openhands
4ce16f30dc feat: gardener primary mission — promote tech-debt to actionable backlog
Reads source files + repo docs to understand each issue, adds
acceptance criteria + affected files + deps, relabels backlog.
Max 10 per run. Escalates ambiguous scope with options.
2026-03-13 09:32:39 +00:00
openhands
4f34e2dd01 fix: gardener reads repo docs (PRODUCT-TRUTH, ARCHITECTURE, AGENTS) before making decisions 2026-03-13 09:30:49 +00:00
openhands
d9de5b3708 fix: gardener dupe detection — strip series prefixes (LLM seed, Push3 evolution) 2026-03-13 09:22:44 +00:00
openhands
174187f6a6 feat: issue gardener — daily backlog grooming agent
Bash pre-checks (zero tokens): duplicate titles, thin issues, stale
issues, missing deps. Then claude -p for analysis and action.

Escalates decisions in compact format:
  1. #123 "title" — reason (a) opt1 (b) opt2 (c) opt3

Cron: daily 07:00 UTC. Light touch — grooms, doesn't invent work.
2026-03-13 09:17:09 +00:00