Skip to content

Use Luna for terminal babysitting and expose runtime receipts - #515

Merged
GraciousGazelles merged 10 commits into
mainfrom
fix/runtime-fork-receipts-luna
Jul 24, 2026
Merged

GraciousGazelles merged 10 commits into
mainfrom
fix/runtime-fork-receipts-luna

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • lock the built-in terminal-babysitter role to gpt-5.6-luna at low reasoning
  • expose effective model and reasoning configuration on live inspect_agent_tree rows while leaving stale rows explicitly unknown
  • return a structured queue-acceptance receipt from V2 send_message, including canonical target, model, provider, effort, and service tier
  • extend the existing downstream divergence record and targeted hosted guardrail lanes

The new fields are configuration evidence, not provider-usage proof. A handoff_state of queued proves runtime acceptance only; it is not an agent acknowledgement or completion signal.

Upstream harvest

Candidate Result Decision
Current openai/codex main No equivalent terminal-babysitter Luna fallback or live inspect/send configuration receipt Carry this narrow downstream seam
Matching open and draft upstream PRs None found Carry locally
Historical agent-identity auth/task stack reverted by be757855 Different backend identity/task-lifecycle concern Ignore for this change

Validation

  • git diff --check
  • python3 -m json.tool docs/divergences/index.yaml
  • bash .github/scripts/validation-lanes/downstream-docs-check.sh
  • policy-mapped hosted coverage added to core-subagent-model-pinning-targeted and core-subagent-surface-targeted

Heavy Rust validation is intentionally delegated to GitHub-hosted lanes under the repository policy.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@GraciousGazelles

Copy link
Copy Markdown
Collaborator Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the built-in terminal-babysitter role to use gpt-5.6-luna and introduces effective configuration tracking (model and reasoning effort) for live threads in the agent tree. It also updates the queue-only send_message tool to return a structured receipt containing the target's effective configuration. However, the reviewer identified a critical architectural issue in message_tool.rs where unconditionally calling delivery.config_snapshot().await forces a full reload of cold or evicted threads during queue-only delivery, defeating its key optimization of avoiding thread activation.

@GraciousGazelles
GraciousGazelles merged commit 4614b80 into main Jul 24, 2026
80 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/runtime-fork-receipts-luna branch July 24, 2026 02:44
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