Skip to content

fix: align prompt contracts and deliver agent and automation context - #264

Merged
wangtsiao merged 3 commits into
7df-lab:mainfrom
wangtsiao:fix/prompt-pipeline-alignment
Nov 7, 2026
Merged

wangtsiao merged 3 commits into
7df-lab:mainfrom
wangtsiao:fix/prompt-pipeline-alignment

Conversation

@wangtsiao

@wangtsiao wangtsiao commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Simplify Build/Plan instructions, clarify material ambiguities, and remove silence-as-approval and suggestion quotas.
  • Share language preference text across system/context, and align shell, compaction, child reporting, and spawn documentation with the Native runtime.
  • Derive child prompt identity from actual session ancestry for queries and prompt reads, including restart, nested agents, slash-containing names, and inherited history. Ordinary forks remain root agents. Identity reads do not load actors or schedule recovery.
  • Deliver Desktop automation run guidance through supported Native user input instead of the discarded system argument. Read previous-run memory as untrusted tool data under existing permissions, and choose output language from the configured task.
  • Keep legacy TypeScript exports for compatibility and document prompt ownership.

Validation

  • Rustfmt and git diff checks passed.
  • Final focused Rust core tests: 18 passed (RLM prompt contracts, mode contracts, session context).
  • Final server integration: 2 passed, capturing actual provider requests and prompt-read responses for root/fork, child/grandchild, inherited history, slash-containing nicknames, and restart/resume.
  • Final Desktop suite: 926 passed, 1 platform skip, 0 failed, with an isolated writable XDG_CONFIG_HOME. TypeScript checking passed. Includes actual SDK-to-Native queue payload regression and non-English task preservation.
  • An earlier full local core run had 579 passes, 22 ignored, and 3 environment-limited failures (workspace-root discovery, missing dill, and nested sandbox process spawn). Full workspace/platform validation is delegated to the PR CI rather than claiming that local run passed.
  • Final HEAD cc2d59c6f82324f4f9241a466e0535fda368876c: all 23 CI jobs passed. CI run 42384789678 and Runtime bundles run 42384789691 both completed successfully, including the full Rust workspace, Windows Clippy, TUI mock-provider smoke, Desktop tests/types, and all runtime targets.
  • Independent final code review found no merge blocker. No outstanding review threads.

No live-provider A/B quality claims; these are runtime contract and request-path regressions.

@wangtsiao
wangtsiao marked this pull request as ready for review November 7, 2026 15:15
@wangtsiao
wangtsiao merged commit a449b4b into 7df-lab:main Nov 7, 2026
23 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