Skip to content

fix(agent): decouple readiness checks from skill discovery - #820

Merged
tallcode merged 2 commits into
mainfrom
codex/decouple-agent-readiness-skills
Sep 24, 2026
Merged

tallcode merged 2 commits into
mainfrom
codex/decouple-agent-readiness-skills

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • Add a typed, skill-independent get_agent_readiness RPC for Desktop startup, recovery, and device-code login checks.
  • Preserve get_agent_info and its exact skillsCount behavior for callers that actually display skill metadata.
  • Treat Agents without the new readiness command as incompatible without falling back to the skill-scanning call.
  • Use the existing in-memory list_streaming_sessions probe for CLI credential and provider writes, including compatibility with older Agents.

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p future-rpc -p future-agent -p future-cli --lib --offline -- -D warnings
  • cargo clippy --manifest-path desktop/src-tauri/Cargo.toml --lib --offline -- -D warnings
  • Focused RPC parity, Agent skill-lock/dispatcher, CLI probe, Desktop status, and Desktop login tests passed.
  • git diff origin/main...HEAD --check

Windows installer behavior and the separate Agent restart/lock race were not changed by this PR. Windows runtime validation remains for CI or a tester machine.

@tallcode
tallcode enabled auto-merge (squash) September 24, 2026 12:50
@tallcode
tallcode merged commit 1714e56 into main Sep 24, 2026
12 checks passed
@tallcode
tallcode deleted the codex/decouple-agent-readiness-skills branch September 24, 2026 12:58
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