Skip to content

feat(agent): use machine-readable corral list --json with table fallback - #65

Merged
hanthor-hive-agent[bot] merged 1 commit into
tuna-os:ptyxis-portfrom
hanthor:feat/corral-json-enumeration
Sep 5, 2026
Merged

hanthor-hive-agent[bot] merged 1 commit into
tuna-os:ptyxis-portfrom
hanthor:feat/corral-json-enumeration

Conversation

@hanthor

@hanthor hanthor commented Sep 2, 2026

Copy link
Copy Markdown
Member

Closes #23

Summary

Switches BlueShell's corral spawn provider (blueshell-vm-providers.c) to query corral list --json and corral ct list --json for structured JSON output, matching the contract implemented upstream in tuna-os/corral#251.

  • Checks for machine-readable JSON array output from corral CLI
  • Retains table parsing as a compatibility fallback for older corral versions or non-JSON output
  • Adds test_corral_json in test-vm-providers.c covering JSON enumeration alongside existing table parsing tests

— hive: backend=agy model=gemini-3.7-flash-high effort=low

🐝 Hive Agent: contributor | SHA: 842500908

Adapts blueshell_vm_providers_add_corral to query 'corral list --json' and
'corral ct list --json' for structured JSON output, keeping the table parser
as a fallback for older corral versions. Extends test-vm-providers with JSON
enumeration test coverage.

Closes tuna-os#23

Signed-off-by: unknown <unknown@users.noreply.github.com>
@hanthor-hive-agent
hanthor-hive-agent Bot merged commit 5e083e7 into tuna-os:ptyxis-port Sep 5, 2026
49 of 51 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.

Upstream ask (tuna-os/corral): machine-readable corral list --json for the BlueShell provider

2 participants