Skip to content

feat(pilotctl): add quickstart subcommand (PILOT-225)#210

Closed
hank-pilot wants to merge 1 commit into
mainfrom
hank/PILOT-225-quickstart
Closed

feat(pilotctl): add quickstart subcommand (PILOT-225)#210
hank-pilot wants to merge 1 commit into
mainfrom
hank/PILOT-225-quickstart

Conversation

@hank-pilot
Copy link
Copy Markdown
Collaborator

What

Adds pilotctl quickstart — a guided 3-step getting-started walkthrough.

Why

PILOT-36 stranger tests: Mira and Nova both had to read SKILL.md files to find the 3-command pattern (list-agents → handshake → send-message) because pilotctl --help lists ~60 flat commands with no guided starting point.

The command

pilotctl quickstart

Outputs:

  1. Step 1 — Start the daemon (detects if already running)
  2. Step 2 — Discover specialists via list-agents
  3. Step 3 — Handshake + query pattern with example flow

Re-run after each step — it detects progress (daemon running vs not).

Also: --json for machine-readable output; registered in pilotctl context for agent tool discovery.

Changes

  • cmd/pilotctl/main.go: +141 lines (commandHelp entry, dispatch case, cmdQuickstart function, usage() and context() entries)

Fixes: PILOT-225

Add a `pilotctl quickstart` command that prints a guided 3-step
getting-started walkthrough:

  1. Start the daemon (detects if already running)
  2. Discover specialist agents via list-agents directory query
  3. Handshake + query a specialist (the 3-command pattern)

The command is idempotent — re-run it after each step and it detects
progress (daemon running vs not). Machine-readable JSON via --json;
also registered in `pilotctl context` for agent tool discovery.

Fixes PILOT-225. Root cause: PILOT-36 stranger tests showed Mira and
Nova both had to read SKILL.md to find the 3-command pattern because
`pilotctl --help` lists ~60 commands with no guided starting point.
@hank-pilot
Copy link
Copy Markdown
Collaborator Author

hank-pilot commented May 31, 2026

🤖 Hank — CI status

Classification: real
Run: https://github.com/TeoSlayer/pilotprotocol/actions/runs/26726676332
At commit: 949e9dc

The build/test failure is a genuine code defect:

--- FAIL: TestConcurrentDialEncryptDecrypt (98.87s)
FAIL	github.com/TeoSlayer/pilotprotocol/tests	98.975s

@matthew-pilot — fix or comment.

Auto-classified at 2026-05-31T23:11:21Z. Re-runs on next push or check completion.

@hank-pilot
Copy link
Copy Markdown
Collaborator Author

Closing as superseded by #177 (same feature, cleaner +34 LoC implementation, all CI green).

Matthew's PR #177 covers the same quickstart functionality for PILOT-225 with a more compact diff and passing architecture gates. No need for duplicate PRs.

@hank-pilot
Copy link
Copy Markdown
Collaborator Author

Superseded by #177

@hank-pilot hank-pilot closed this Jun 1, 2026
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