pi-mono/packages/coding-agent/test/suite
2026-07-20 17:54:36 +02:00
..
regressions fix(agent): decouple agent streams from compat 2026-07-20 17:54:36 +02:00
agent-session-bash-persistence.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
agent-session-compaction.test.ts fix(agent): decouple agent streams from compat 2026-07-20 17:54:36 +02:00
agent-session-model-extension.test.ts add usage info to branch summary, compaction and tool result entries (#6671) 2026-07-20 16:41:43 +02:00
agent-session-prompt.test.ts Fix input event streaming behavior semantics 2026-05-28 10:13:06 +02:00
agent-session-queue.test.ts fix(coding-agent): drain follow-ups queued during agent_end 2026-05-28 18:27:39 +10:00
agent-session-retry-events.test.ts fix(coding-agent): add settled agent lifecycle event 2026-07-09 12:42:08 +02:00
agent-session-runtime.test.ts fix(coding-agent): explain clone failure for unsaved sessions 2026-07-16 19:06:56 +02:00
harness.ts fix(agent): decouple agent streams from compat 2026-07-20 17:54:36 +02:00
lax-message-content.test.ts fix(ai,agent,coding-agent): normalize null message content at ingestion boundaries (#6343) 2026-07-06 20:47:08 +02:00
README.md refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime 2026-04-03 20:14:12 +02:00

Coding agent suite tests

Use test/suite/ for the new harness-based test suite around AgentSession and AgentSessionRuntime.

Rules:

  • Use test/suite/harness.ts
  • Use the faux provider from packages/ai/src/providers/faux.ts
  • Do not use real provider APIs, real API keys, network calls, or paid tokens
  • Keep these tests CI-safe and deterministic
  • Do not use or extend the legacy test/test-harness.ts path unless a missing capability forces it

Organization:

  • Put broad lifecycle and characterization tests directly under test/suite/
  • Put issue-specific regression tests under test/suite/regressions/
  • Name regression tests as <issue-number>-<short-slug>.test.ts
  • Example: test/suite/regressions/2023-queued-slash-command-followup.test.ts