== step: doctor ==
exit: 1
-- stdout --
tares factory doctor
  ok    claude: <TMP>/bin/claude (0.0.0 (Claude Code))
  ok    crew home: <TMP>/crew
  ok    Tares answers at http://127.0.0.1:<PORT> (from the environment)
  FIX   Tares at http://127.0.0.1:<PORT> refuses the crew: run `tares login` again, or set TARES_AUTH_TOKEN to an admin key or the root token of your own Tares
  ok    this terminal uses key dead0000, from the environment
  ok    stations use a token with no key id from <TMP>/crew/.tares-token, and Tares accepts it
  ok    Claude Code's session list reads (0 active)
  ok    Claude Code trusts <TMP>/crew
  ok    stations load the plugin at <REPO>/claude-plugin
  FIX   no MCP server answers at http://127.0.0.1:<PORT>/mcp; start one with tares mcp --transport streamable-http (or set TARES_FACTORY_MCP_URL)
-- stderr --
tares factory: warning: Tares at http://127.0.0.1:<PORT> refuses key dead0000 from the environment; the crew keeps the key it has
-- after --
"stub-token"
== step: doctor ==
exit: 1
-- stdout --
tares factory doctor
  ok    claude: <TMP>/bin/claude (0.0.0 (Claude Code))
  ok    crew home: <TMP>/crew
  ok    Tares answers at http://127.0.0.1:<PORT> (from the environment)
  FIX   Tares at http://127.0.0.1:<PORT> refuses the crew: run `tares login` again, or set TARES_AUTH_TOKEN to an admin key or the root token of your own Tares
  FIX   the stations have no key in <TMP>/crew/.tares-token: run tares login (for a Tares of your own, run tares factory doctor with TARES_AUTH_TOKEN set)
  ok    Claude Code's session list reads (0 active)
  ok    Claude Code trusts <TMP>/crew
  ok    stations load the plugin at <REPO>/claude-plugin
  FIX   no MCP server answers at http://127.0.0.1:<PORT>/mcp; start one with tares mcp --transport streamable-http (or set TARES_FACTORY_MCP_URL)
-- stderr --

== file crew/.tares-token ==

== file crew/crew.json ==
{
  "authorized": {
    "at": "",
    "by": ""
  },
  "human": {
    "github": "",
    "name": ""
  },
  "limits": {
    "autocompact_tokens": 200000
  },
  "release": {
    "cluster": "factory",
    "environments": [
      {
        "name": "kind",
        "production": false
      }
    ]
  },
  "review": {
    "challenge": true
  },
  "stations": {
    "builder": {
      "effort": "high",
      "model": "sonnet"
    },
    "orchestrator": {
      "effort": "xhigh",
      "model": "sonnet"
    },
    "releaser": {
      "effort": "high",
      "model": "sonnet"
    },
    "reviewer": {
      "effort": "high",
      "model": "sonnet"
    }
  },
  "tares": {
    "url": null
  }
}
== file claude/agents.json ==
[]
== file claude/calls.jsonl ==
{"args": ["--version"], "cwd": "<REPO>"}
{"args": ["agents", "--json"], "cwd": "<REPO>"}
{"args": ["--version"], "cwd": "<REPO>"}
{"args": ["agents", "--json"], "cwd": "<REPO>"}
