Give Kiro the failure and the code that explains it
How Kiro uses repository context, error output, and failing tests to suggest likely causes and focused code fixes that engineers can verify with a diff and a test rerun.
In a Kiro conversation, start with the failure output: the test name, the command that reproduced the failure, and the relevant assertion message or stack frames. This shows what happened in a specific run. Remove secrets and sensitive data before sharing output.
Then point Kiro to the repository context: the failing test, the function under test, and any nearby caller that helps explain the input. For example, the test source expects a missing display name to produce Guest, but the test run reports an exception at name.trim(). The source shows what should happen; the output shows what happened instead.
Next up: Sort the statements on what you just read.