Skip to content

tps hire exits 0 on failure and is missing required persona package files #328

Description

@tps-flint

Two correctness issues in the onboarding path, surfaced by a clean-box dogfood run of 0.5.4:

  • tps hire exits 0 on failure. Running tps hire <persona> --name <n> errors (missing required package files) but returns exit code 0, so a script/CI can't detect the failure.
    • Repro: tps hire /path/to/personas/developer.tps --name Fred; echo $? → prints an error, exits 0.
  • tps hire is missing required persona package files. The documented onboarding path fails because expected package files aren't present in the install.

Ask

tps hire should exit non-zero on failure, and ship (or clearly locate) the persona package files it needs so the documented onboarding actually completes.

Filed from an automated dogfood run (clean-box install of 0.5.4, docs-only path).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions