Set My Directives
Self-service update of the current user's response-style directives (JEEVY-789 Phase 3.5, reworked P3.5-v2). NOT permission-gated — every user sets their own style preferences, same posture as /me/language. owner_user_id comes from the session ONLY (hard rule #7) — never from the request body.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Self-service PATCH body — either/both fields optional; only supplied fields are written (and land in user_edited_fields for CDC per-field trust inference — see kg_outbox_projector.py's _infer_trust_tier).
rules, when supplied, REPLACES the whole array — there is no per-index add/remove operation grammar. Per-rule content screening against the shared memory-lane denylist (secrets/PII + the new instruction-attack category) happens in the SERVICE layer, not here — this schema only enforces shape (count/length), which is why a denylist rejection surfaces as its own 422 detail with the failing rule's 1-based index, distinct from a plain shape-validation error.
Response length: concise, standard, or detailed.
Whole-array replacement for the user's Personal Rules — free-text behavior instructions, max 20 entries, 200 chars each. Each rule is screened against the shared memory-lane denylist (content + instruction-attack patterns) at write time; a rejected rule returns its 1-based index in the 422 detail.
Response
Successful Response
Current directive state — the shape returned by GET and PATCH.
Changes
No recorded changes to this operation across all 56 revisions of this API.