trajectory
Trajectory
Follow the customer's requested scope. Evaluation alone does not authorize training or deployment. Preserve the source spec's solving and grading behavior. If credentials are missing, finish the offline work and state what remains unverified.
Connect and find the contract
Use the latest trajectory-sdk compatible with project dependency constraints. Import
Client from trajectory; it reads TRAJECTORY_API_KEY and TRAJECTORY_BASE_URL,
or uses a saved tj login profile. Run
tj whoami --json to confirm the organization before creating resources.
If authentication is missing, ask the user to complete tj login --no-browser;
never ask them to paste a secret into the conversation. Do not wait for interactive
input inside ordinary commands. Use --json and --non-interactive for automation.
Discover commands and schemas with tj schema --json and bundled guidance
with tj docs --json.