needfix_add
Manager-authority add of a NeedFix (dedupe-aware).
Instructions
Manager-authority add of a NeedFix (dedupe-aware).
kind must be one of: bug, feature, improvement, idea, technical_debt,
optimization, benchmark_gap, documentation_drift, security_risk,
investigation, roadmap_candidate, refactor, security, docs, other.
Common synonyms are normalised server-side and reported as
kind_normalized: gap->improvement, defect->bug,
performance->optimization, design->refactor, dead_code->technical_debt,
test_coverage->improvement.
severity must be one of: critical, high, medium, low, info.
status defaults to captured; its authoritative choices are published
in the field hint. Store lifecycle and manager authority still govern it.
Replies with a receipt (aiworkhub.needfix_add_receipt.v1): id,
dedupe_key, status, kind, severity, created_at, provenance.origin,
deduped with existing_id when the dedupe key matched a live row
(the existing row is returned, nothing new is written), kind_normalized.
The row itself is one needfix_show away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Accepted kind values: benchmark_gap, bug, docs, documentation_drift, feature, idea, improvement, investigation, optimization, other, refactor, roadmap_candidate, security, security_risk, technical_debt. Case, surrounding space and known synonyms are normalized server-side. | other |
| tags | No | ||
| scope | No | ||
| title | Yes | ||
| status | No | Accepted status values: accepted, archived, captured, deferred, duplicate, rejected, resolved, task_created, task_planned, triaged. Defaults to captured; store lifecycle and authority gates still apply. | captured |
| evidence | No | ||
| severity | No | Accepted severity values: critical, high, info, low, medium. | medium |
| caused_by | No | ||
| provenance | No | ||
| description | Yes | ||
| scope_files | No | ||
| evidence_refs | No | ||
| scope_symbols | No | ||
| readiness_score | No |