You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Use when a Prefect question hinges on whether observed behavior is expected, a documentation gap, or a real bug. Inspect docs and source first, then build and run a minimal reproduction only when needed.
4
+
---
5
+
6
+
# Prefect Behavior Triage
7
+
8
+
Use this skill when a user reports surprising Prefect behavior or asks whether something is a bug.
9
+
10
+
## Workflow
11
+
12
+
1. Read the relevant docs and implementation before making claims.
13
+
2. If docs and source code already answer the question, do not reproduce unnecessarily.
14
+
3. If runtime behavior still matters, create the smallest possible reproduction and run it.
15
+
4. Compare four things explicitly:
16
+
- what the user observed
17
+
- what the docs say
18
+
- what the source code does
19
+
- what the reproduction actually did
20
+
5. End with a clear classification:
21
+
- expected behavior
22
+
- docs unclear or outdated
23
+
- likely bug
24
+
- still inconclusive
25
+
26
+
## Reproduction Rules
27
+
28
+
- Prefer tiny standalone scripts over modifying existing project files.
29
+
- Write repros under `.research_cache/repros/` and reuse them if they already fit.
30
+
- Keep the repro focused on one claim or edge case.
31
+
- Use `uv run python <script>` or `uv run python - <<'PY'` for quick checks.
32
+
- If the question involves the Prefect API, use the real client or real flow/task execution rather than simulating behavior.
33
+
- If the behavior depends on configuration, log the exact assumptions in the final answer.
34
+
35
+
## Reporting Rules
36
+
37
+
- Do not call something a bug unless docs, source, and observed behavior are materially misaligned.
38
+
- If docs and source agree, treat that as intended behavior even if it is surprising.
39
+
- If source and runtime agree but docs do not, call out the documentation mismatch separately.
40
+
- Cite the specific files or commands you used to reach the conclusion.
0 commit comments