Skip to content

Fix planning prompt preservation#76

Merged
ZhiXiao-Lin merged 5 commits into
AI45Lab:mainfrom
Lixtt:codex/fix-planning-preserve-original-task
Jun 23, 2026
Merged

Fix planning prompt preservation#76
ZhiXiao-Lin merged 5 commits into
AI45Lab:mainfrom
Lixtt:codex/fix-planning-preserve-original-task

Conversation

@Lixtt

@Lixtt Lixtt commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Preserve the original user request when pre-analysis returns a shortened optimized_input.
  • Carry the preserved request into planning-mode plan goals and delegated task prompts.
  • Tighten the pre-analysis prompt contract so optimized_input must keep concrete user constraints instead of summarizing them away.

Tests

  • cargo fmt -p a3s-code-core
  • cargo test -p a3s-code-core --lib preserve_ -j 1
  • cargo test -p a3s-code-core --lib delegated_plan_step_prompt -j 1

@ZhiXiao-Lin ZhiXiao-Lin merged commit 63d2647 into AI45Lab:main Jun 23, 2026
1 check passed
ZhiXiao-Lin added a commit that referenced this pull request Jun 23, 2026
The SDKs are excluded from the core workspace and were only compiled at release
time (napi/maturin), so a core change that broke an SDK (e.g. PR #76 adding a
field to AutoDelegationConfig that the Python SDK constructed with a struct
literal) slipped through CI and only failed the v4.2.0 release wheel build.

Add an 'SDK build check' job running 'cargo check' on both SDK manifests so
such breakage fails on the PR instead.

Co-authored-by: Claude <claude@anthropic.com>
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.

3 participants