Commit graph

7 commits

Author SHA1 Message Date
openhands
ff50d28645 feat: planner reads project docs for architectural understanding
Feeds AGENTS.md, PRODUCT-TRUTH.md, ARCHITECTURE.md, UX-DECISIONS.md
into the prompt so the planner understands the system at a conceptual
level. Rewritten prompt emphasizes describing the system, not the
changes. Good/bad examples guide output style.
2026-03-15 14:58:10 +00:00
openhands
a114f638ef fix: planner validates bullet output, rejects meta-commentary
Sonnet sometimes narrates what it did instead of outputting the actual
STATE.md. Added validation that first line starts with '- ' and
strengthened the output-only instruction.
2026-03-15 12:51:59 +00:00
openhands
4b95d32a0c fix: planner PR lookup filters by head.ref client-side
Codeberg head= query param is unreliable — filter with jq instead.
2026-03-15 12:49:22 +00:00
openhands
17053f8559 fix: planner creates PR instead of direct push to protected master
Also removes local keyword from top-level scope.
2026-03-15 12:47:50 +00:00
openhands
335ea0d48d fix: remove local keyword outside function in planner 2026-03-15 12:42:12 +00:00
openhands
efa6eab352 fix: planner GIT_RANGE newline bug from pipefail + head -1
set -o pipefail causes head -1 to fail the pipeline when git log
is still producing output. The || fallback then appends a second
line. Fix: capture first SHA separately with || true.
2026-03-15 12:41:50 +00:00
johba
9b0c1e6c30 feat: add planner-agent, remove STATE.md append from dev-agent
- Remove write_state_entry/append_state_log from dev-agent (#10)
- Add planner-agent.sh: rebuilds STATE.md from git history + closed
  issues, then gap-analyses against VISION.md to create backlog
  issues (#6, #7)
- Add planner-poll.sh: cron wrapper with lock + memory guard

STATE.md is now solely owned by the planner — one compact snapshot
rebuilt each run, not an ever-growing append log.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 11:45:16 +01:00