Skip to content

[codex] Improve goal mode guidance#883

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:codex/improve-goal-mode-guidance
May 26, 2026
Merged

[codex] Improve goal mode guidance#883
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:codex/improve-goal-mode-guidance

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 26, 2026

Summary

  • Tighten /goal synthesis so user-provided goal focus takes priority and generated goals stay execution-focused.
  • Improve goal verification guidance by requiring concrete gaps, actionable recovery guidance, and verdict self-repair when the verifier returns invalid JSON.
  • Include the just-finished final assistant response in verification context if the runtime context has not caught up yet.

Root Cause

The existing goal continuation display and verifier prompt could fall back to restating the goal instead of producing concrete recovery guidance. Verification also did not enforce contradictory verdicts such as achieved=true with remaining gaps.

Validation

  • rustfmt --edition 2021 --check src/crates/core/src/agentic/goal_mode/mod.rs
  • cargo test -p bitfun-core goal_mode -- --nocapture

@bobleer bobleer marked this pull request as ready for review May 26, 2026 03:03
@bobleer bobleer merged commit 4a97cad into GCWing:main May 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant