23:42:41Z
nice=19
✖ P3 Claude env receives the session proxy URL and key, without another agent or host credential (3.24785ms)
✖ P3 Claude preflight accepts a proxy key without a host provider credential (1.57681ms)
✖ P3 pi refuses no-session-credential with no provider key (1.085777ms)
✖ P3 pi refuses no-session-credential with only a Claude OAuth token (0.464216ms)
✔ P3 pi accepts its own provider key or a session proxy key (0.351842ms)
ℹ tests 5
ℹ suites 0
ℹ pass 1
ℹ fail 4
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 71.435137

✖ failing tests:

test at packages/plugins/tests/proxy-harness.test.mjs:24:1
✖ P3 Claude env receives the session proxy URL and key, without another agent or host credential (3.24785ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + undefined
  - 'http://127.0.0.1:12345'
  
      at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/plugins/tests/proxy-harness.test.mjs:30:12)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: undefined,
    expected: 'http://127.0.0.1:12345',
    operator: 'strictEqual',
    diff: 'simple'
  }

test at packages/plugins/tests/proxy-harness.test.mjs:39:1
✖ P3 Claude preflight accepts a proxy key without a host provider credential (1.57681ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + {
  +   code: 'no-session-credential',
  +   message: "the bus host has none of CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN with ANTHROPIC_BASE_URL; the bus unit's EnvironmentFile sets one when the bus starts"
  + }
  - null
  
      at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/plugins/tests/proxy-harness.test.mjs:44:10)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: { code: 'no-session-credential', message: "the bus host has none of CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN with ANTHROPIC_BASE_URL; the bus unit's EnvironmentFile sets one when the bus starts" },
    expected: null,
    operator: 'strictEqual',
    diff: 'simple'
  }

test at packages/plugins/tests/proxy-harness.test.mjs:49:1
✖ P3 pi refuses no-session-credential with no provider key (1.085777ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + undefined
  - 'no-session-credential'
  
      at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/plugins/tests/proxy-harness.test.mjs:51:10)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: undefined,
    expected: 'no-session-credential',
    operator: 'strictEqual',
    diff: 'simple'
  }

test at packages/plugins/tests/proxy-harness.test.mjs:54:1
✖ P3 pi refuses no-session-credential with only a Claude OAuth token (0.464216ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + undefined
  - 'no-session-credential'
  
      at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/fethry-row332/packages/plugins/tests/proxy-harness.test.mjs:56:10)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: undefined,
    expected: 'no-session-credential',
    operator: 'strictEqual',
    diff: 'simple'
  }
exit=1
23:42:41Z
