@papi-ai/adapter-pg
Advanced tools
+13
-2
@@ -473,3 +473,3 @@ import * as _papi_ai_shared from '@papi-ai/shared'; | ||
| updateDogfoodEntryStatus(id: string, status: DogfoodEntry['status'], linkedTaskId?: string): Promise<void>; | ||
| updateActiveDecision(id: string, body: string, cycleNumber?: number, action?: 'confidence_change' | 'modify' | 'resolve' | 'supersede' | 'new' | 'delete'): Promise<void>; | ||
| updateActiveDecision(id: string, body: string, cycleNumber?: number, action?: 'confidence_change' | 'modify' | 'resolve' | 'supersede' | 'new' | 'delete' | 'demote'): Promise<void>; | ||
| /** | ||
@@ -650,4 +650,15 @@ * `updateActiveDecision`, parameterised by the SQL handle so it can run either | ||
| }): Promise<CycleLearning[]>; | ||
| updateCycleLearningActionRef(learningId: string, taskDisplayId: string): Promise<void>; | ||
| /** | ||
| * SUP-2026-027: this used to write ONLY action_ref, and only where action_ref | ||
| * was still NULL. `learning_action mark` therefore reported success while | ||
| * action_taken stayed null — so the learning kept showing as unactioned, and a | ||
| * second mark was a silent 0-row no-op. Both halves are fixed here: the | ||
| * categorical column is written when the caller supplies it, and `force` | ||
| * (which only the explicit mark path sets) lifts the NULL guard. | ||
| */ | ||
| updateCycleLearningActionRef(learningId: string, taskDisplayId: string, opts?: { | ||
| actionTaken?: string; | ||
| force?: boolean; | ||
| }): Promise<void>; | ||
| /** | ||
| * Mark a cycle_learnings row resolved (task-1541, C277). Idempotent for GENUINE | ||
@@ -654,0 +665,0 @@ * stamps — re-resolving a genuinely-resolved row matches 0 rows and preserves the |
+2
-2
| { | ||
| "name": "@papi-ai/adapter-pg", | ||
| "version": "0.2.15", | ||
| "version": "0.2.16", | ||
| "description": "PAPI PostgreSQL adapter — read/write shared layer entities in PostgreSQL", | ||
@@ -40,3 +40,3 @@ "license": "Elastic-2.0", | ||
| "dependencies": { | ||
| "@papi-ai/shared": "^0.2.4", | ||
| "@papi-ai/shared": "^0.2.5", | ||
| "postgres": "^3.4.7" | ||
@@ -43,0 +43,0 @@ }, |
Sorry, the diff of this file is too big to display
319754
0.84%7222
0.78%Updated