spawn onboard#
Run these commands from an unfamiliar repository to find likely starting points and developer commands.
spawn onboard
spawn onboard ./services/api --verbose
spawn onboard ./services/api --json
spawn onboard . --no-colorSPAWN / ONBOARD
api-demo
PROJECT OVERVIEW
Languages Python
Frameworks FastAPI
START HERE
~ Run python -m uvicorn app.main:app
~ Install uv sync --locked
~ Test python -m pytest
~ Lint ruff check .
~ Format ruff format .
ENTRY POINTS
+ ASGI app.main:app
app/main.py:2
PROJECT STRUCTURE
Directories app/ tests/
Configuration README.md pyproject.toml uv.lock
NOTES
~ 5 candidate commands require verification.
1 more result with --verbose.
+ Repository onboarding completeThe JSON report includes the same evidence with argument arrays, relative working directories, and all alternatives. The example shows an excerpt.
{
"schema_version": "1.0",
"status": "complete",
"repository": {"name": "api-demo", "file_count": 5, "directory_count": 2},
"commands": [
{
"category": "start",
"argv": ["python", "-m", "uvicorn", "app.main:app"],
"cwd": ".",
"status": "candidate",
"evidence": [
{"path": "app/main.py", "indicator": "Framework constructor in module assignment", "detail": "line 2"}
],
"note": "ASGI target inferred from source; Uvicorn must be available in the environment."
}
]
}Startup discovery supports FastAPI and Starlette ASGI apps, Flask apps and factories, conventional Django projects, Python console scripts, and module entry points. In the terminal, + marks declarations and detected entry points, ~ marks candidates, and ? marks unresolved results. Even declared commands may require tools, dependencies, or configuration. The footer distinguishes complete and partial analysis.
Onboarding is local and read-only. It never runs repository code or suggested commands, installs packages, writes to the target, or uses the network. Reports omit absolute root paths, raw recipe contents, and raw diagnostic messages. Diagnostic details and errors go to stderr. See the onboarding JSON contract and command reference.