AI Ticket Pipeline.
Describe it. Approve it. Done.
The intake engine converts plain bug descriptions and QA findings into structured Odoo tickets. You never fill a form. Nine intelligence steps run silently — you only see the review table.
Nine steps run silently every time
You paste a description. You see a review table. Between those two moments, Claude runs nine steps you never see.
The full pipeline is called S1–S9. Every step runs automatically — you never invoke a step manually. You only interact with the output (the review table) and the final command (CONFIRM ALL).
| Step | Name | What it does |
|---|---|---|
| S1 | Classifier | Scores the input on completeness, complexity, ambiguity, and stakes. Routes to fast path or deeper discovery. Routes to QA_INTAKE if input looks like a numbered list. |
| S2 | Extraction Pass | Reads the input, consults TEAM_CONTEXT.md, and extracts all known fields: type, domain, tags, reporter, environment, and any prior decisions already on file. |
| S3 | Assumption Surfacer | Finds the two most likely implicit assumptions. Surfaces them in the review table as ⚠ Assumed flags for your review. |
| S4 | REQ{} Format | Assembles extracted data into a compact internal document (type, title, reporter, source, environment, what, expected, steps, impact, acceptance criteria). Never shown to you — used for field mapping. |
| S5 | Batch Review Table | Shows all drafted tickets in one table: title, project, priority, quality score, and flags. Commands available: CONFIRM ALL, DETAIL, EDIT, DROP, FIX, RESTORE, RESUME DRAFTS. |
| S6 | Question Handler | Classifies unanswered questions: Type 1 = resolvable from TEAM_CONTEXT (answered silently), Type 2 = unresolvable (spike/park/TBD), Type 3 = implied requirement, Type 4 = genuine open question (asked once max). |
| S7 | Multi-Requirement Detection | If input contains multiple requirements, estimates token cost and offers BREAKDOWN into individual sessions if the batch would exceed 80% of token budget. |
| S8 | Duplicate Check | Runs search_tickets against Odoo. ≥80% similarity = high-confidence duplicate (blocked). 50–79% = possible duplicate (flagged in table). Also checks within the current batch. |
| S9 | Inline Mapper + Creation | Maps all extracted fields to Odoo format using TEAM_CONTEXT.md routing rules. Calls create_ticket() after CONFIRM ALL. Failures saved to PARKING_LOT.md Section 1 for retry — never silently dropped. |
The full flow in one line: You describe it → Claude drafts it → You approve → Odoo gets the ticket. You never touch Odoo directly for ticket creation.
Three layers, three input modes
A single bug, a batch of QA findings, or a half-formed idea — the system handles all three differently.
| Layer | Input type | What activates | Result |
|---|---|---|---|
| Fast Path | Single bug, feature, improvement, task, PRD section | LAYER_2_FASTPATH.md skill (auto-routed by LAYER_0) | Single ticket drafted immediately or one clarifying question asked |
| QA Batch Intake | Numbered list of findings, TC-NNN test case refs, or "QA batch" keyword | QA_INTAKE.md skill (auto-routed by LAYER_0) | All findings processed in one pass, review table shows all at once |
| Parking Lot Fallback | Vague finding, incomplete description, failed ticket creation, deferred requirement | context/PARKING_LOT.md (written by Claude automatically) | Item queued in one of four sections, surfaced at next session start |
The three files always loaded in every Claude Enterprise session are:
| File | Purpose |
|---|---|
| LAYER_0_GLOBAL.md | Master rules — permission before actions, token limits, no narration, one question max per response |
| TEAM_CONTEXT.md | Team roster, project IDs, tag IDs, priority rules, routing rules — edit this per project |
| PARKING_LOT.md | Fallback queue — failed creates, deferred requirements, vague findings, open questions |
Example QA batch input — paste as-is, Claude routes automatically:
QA batch from today: 1. Login button unresponsive on iPhone 14 iOS 17 — should trigger login flow 2. Cart total shows $0 after promo code applied — should show discounted amount 3. Profile image not saving on Android — should save and display immediately TC-042 failed — checkout crashes on empty cart TC-043 passed TC-044 blocked — depends on #2102
The batch review table and its commands
Every ticket appears in the table before anything is written. You have full control to edit, drop, or fix before confirming.
BATCH REVIEW — 3 tickets ready ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # Stars Title Project Pri Flag ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1 ⭐⭐⭐⭐ Login button broken iOS 17 Backend 0 — 2 ⭐⭐⭐ Cart total wrong after promo Frontend 0 ⚠ possible duplicate of #2102 3 ⭐⭐ Profile image not saving Mobile 1 ⚠ low detail ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Quality Score (1–5 stars) — how points are earned:
| Points | Criteria |
|---|---|
| +1 | Specific, descriptive title |
| +1 | Reproduction steps included |
| +1 | Acceptance criteria with 2+ items |
| +1 | Impact statement that names who is affected |
| +1 | PRD reference or ticket link |
Flag meanings:
| Flag | Meaning |
|---|---|
| — | Clean, no issues |
| ⚠ possible duplicate | A similar ticket already exists in Odoo (50–79% similarity) |
| ⚠ low detail | One or more important fields are missing or vague |
| ⚠ Assumed: | Claude made an assumption — shown for your review before creation |
All available commands:
| Command | What it does |
|---|---|
CONFIRM ALL | Create all tickets in the current batch — the only command that writes to Odoo |
DETAIL [n] | Show the full drafted ticket for item n (description, acceptance criteria, impact) |
EDIT [n] title=new title | Update the title for ticket n |
EDIT [n] tags=frontend,bug | Update tags — type names, Claude resolves to Odoo IDs automatically |
EDIT [n] priority=1 | Set urgent priority for ticket n |
EDIT [n] env=production | Change the environment field for ticket n |
DROP [n] | Remove ticket n from this batch (does not delete from Odoo) |
RESTORE [n] | Bring a dropped ticket back into the batch |
RESUME DRAFTS | Retrieve all dropped tickets from this session |
FIX [n] | Ask Claude to fill in the missing information on a flagged ticket |
Automatic classification — every time
Priority and tags are set automatically based on what the description contains. No manual classification needed.
| Condition detected | Priority assigned |
|---|---|
| Production bug, any reporter | Urgent (P0) |
| Customer blocked, any environment | Urgent (P0) |
| Data loss risk | Urgent (P0) |
| Security issue | Urgent (P0) |
| CI failure on main/master branch | Urgent (P0) |
| Staging bug | Normal (P1) |
| Feature request | Normal (P1) |
| Improvement | Normal (P1) |
If multiple priority rules match, the highest priority wins. All rules live in TEAM_CONTEXT.md and can be updated per project without changing any skill file.
| Condition detected | Tags auto-applied |
|---|---|
| Broken UI element | frontend + bug |
| Broken API endpoint | backend + bug |
| New UI feature | frontend only |
| New API endpoint | backend only |
| Unknown domain | bug only — domain added at triage |
What CONFIRM ALL writes: Every ticket is set to Backlog stage, no assignee is set, and the description is built in HTML with six sections: What is happening, Expected behaviour, Steps to reproduce, Acceptance criteria, Impact, and Context (Reporter, Source, Environment). Assignee is always empty at creation — assignment happens during triage only.
The parking lot — four sections for items that can't be created immediately:
| Section | Contents |
|---|---|
| Section 1 — Retry Queue | Ticket creations that failed. Retried at next session start automatically. |
| Section 2 — Deferred Requirements | Requirements waiting for a product decision before a ticket can be created. |
| Section 3 — Open Questions | Thoughts not ready to become tickets. Auto-expires after 14 days. |
| Section 4 — Vague Findings | QA findings too vague to draft. Flagged for resubmission with more detail. |
Daily usage patterns and hard constraints
The system has built-in constraints that cannot be overridden — and daily habits that keep it running smoothly.
Paste complete descriptions — include what happened, what was expected, and who is affected. The more you give S2 Extraction, the higher the quality score and the fewer follow-up questions.
Use DETAIL [n] before CONFIRM ALL — on flagged tickets, view the full draft first to catch any assumptions before they get written to Odoo.
Edit tags by name — type EDIT [n] tags=frontend,bug and Claude resolves to the correct Odoo IDs via TEAM_CONTEXT.md automatically.
Paste the whole QA session at once — passing tests are silently skipped. You can paste everything including passed and blocked tests; Claude filters.
No auto-assign — the assignee field is always empty at creation. This is a hard constraint, not a setting. Assignment happens during triage only.
No silent writes — every create or update requires your CONFIRM ALL. Claude will never write to Odoo without explicit approval.
No per-ticket confirm — bulk batches confirm once with CONFIRM ALL, never with per-ticket prompts. This is intentional to avoid confirmation fatigue.
No narration — Claude does not describe what it is about to do. It only outputs new information (the review table, then confirmation of what was created).
References: Anthropic Claude Enterprise docs — docs.anthropic.com | Skill Guide – Ticket Pipeline tab in this module for full skill file documentation.