Skip to content

pc-agents pair / README step 10: runnable PowerShell lines, minimum T3 version, clear error on half-finished upgrade (#271 follow-up) #278

Closed

Description

@scuttletoby

Follow-up minors from the two lenses on #271 (security: #271 (comment), correctness/docs: #271 (comment)). Both said safe; none blocks #271.

  1. README.md:165, :167 (step 10): pc-agents pair --ttl 15m and the older-kit fallback leave out the wsl -d <distro> -u root -- /opt/pc-agents/current/sbin/ prefix, so PowerShell says pc-agents is not recognized. Write them as runnable PowerShell lines.
  2. README.md step 10: say the code stays in the PowerShell window's scrollback until it expires, so a long --ttl is a knowing choice.
  3. README.md:58: give the minimum T3 version (the example t3Version 0.0.30 predates t3 pair and managed-policy support; step 10 fails with it). Update the example.
  4. sbin/pc-agents:330: on a half-finished upgrade (new t3Version written, download failed) pair prints only env: ... No such file or directory (exit 127). Name the cause: "T3 is not installed yet: run setup again".
  5. Tests: the "killed by signal" branch (:300) and the status != '0' check (:296) have no test (mutations stay green). pair's own root check (:325) is untested (tests use a fake root; as-agent checks again, so harmless).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions