| 1 | package acp |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "reasonix/internal/agent" |
| 7 | ) |
| 8 | |
| 9 | // schemaOneTempDir pins a test to the schema-1 session writer: it exercises |
| 10 | // file-based branch transitions that only that path has. |
| 11 | func schemaOneTempDir(t *testing.T) string { |
| 12 | t.Helper() |
| 13 | t.Setenv(agent.SessionLogSchemaEnv, "v1") |
| 14 | return t.TempDir() |
| 15 | } |
| 16 |