create-principles-disciple 1.145.28 → 1.145.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_release/product-identity.json +2 -2
- package/codex-adapter/dist/index.d.ts +4 -0
- package/codex-adapter/dist/index.js +2 -0
- package/codex-adapter/dist/ingestion/admission.js +1 -0
- package/codex-adapter/dist/ingestion/explicit-owner-statement.d.ts +22 -3
- package/codex-adapter/dist/ingestion/explicit-owner-statement.js +43 -16
- package/codex-adapter/dist/ingestion/turn-context.d.ts +75 -0
- package/codex-adapter/dist/ingestion/turn-context.js +302 -0
- package/codex-adapter/dist/pd-hook.js +87 -36
- package/codex-adapter/dist/worker/workspace-worker.js +4 -1
- package/codex-adapter/package.json +1 -1
- package/core/dist/runtime-v2/context-payload.d.ts +4 -4
- package/core/dist/runtime-v2/context-payload.d.ts.map +1 -1
- package/core/dist/runtime-v2/context-payload.js +1 -0
- package/core/dist/runtime-v2/context-payload.js.map +1 -1
- package/core/dist/runtime-v2/task-status.d.ts +1 -1
- package/core/package.json +1 -1
- package/host-runtime/dist/governance-signal-admission.d.ts +26 -7
- package/host-runtime/dist/governance-signal-admission.js +104 -34
- package/host-runtime/package.json +1 -1
- package/package.json +2 -2
- package/pd-cli/dist/commands/codex-reconcile.d.ts.map +1 -1
- package/pd-cli/dist/commands/codex-reconcile.js +30 -1
- package/pd-cli/dist/commands/codex-reconcile.js.map +1 -1
- package/pd-cli/dist/commands/pain-explicit.d.ts +8 -0
- package/pd-cli/dist/commands/pain-explicit.d.ts.map +1 -0
- package/pd-cli/dist/commands/pain-explicit.js +89 -0
- package/pd-cli/dist/commands/pain-explicit.js.map +1 -0
- package/pd-cli/dist/index.js +10 -0
- package/pd-cli/dist/index.js.map +1 -1
- package/pd-cli/package.json +1 -1
- package/plugin/dist/bundle.js +1 -1
- package/plugin/openclaw.plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/release-manager/package.json +2 -2
- package/workbuddy-adapter/dist/worker/workspace-worker.js +1 -1
- package/workbuddy-adapter/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { CodexDecoderError, CodexEncoderError } from './codec/index.js';
|
|
|
13
13
|
import { ingestCodexConversation } from './ingestion/ingestion.js';
|
|
14
14
|
import { runGovernanceAdmission } from './ingestion/admission.js';
|
|
15
15
|
import { parseOwnerStatementPrefix, recordExplicitOwnerStatement } from './ingestion/explicit-owner-statement.js';
|
|
16
|
+
import { writeCurrentTurnContext, clearCurrentTurnContext } from './ingestion/turn-context.js';
|
|
16
17
|
import { recordCodexPromptDeliveryEvidence, recordCodexDenyEvidence } from './codex-evidence-recorder.js';
|
|
17
18
|
const MAX_DIAGNOSTIC = 500;
|
|
18
19
|
function diagnostic(reason, nextAction) {
|
|
@@ -247,6 +248,18 @@ export async function processHookInvocation(rawStdin, _env = process.env, cwd =
|
|
|
247
248
|
}
|
|
248
249
|
const ingestionEnabled = flags.codex_conversation_ingestion?.enabled === true;
|
|
249
250
|
if (event.kind === 'turn_complete') {
|
|
251
|
+
// Withdraw the live turn context: once the turn completes, the
|
|
252
|
+
// agent-assisted explicit entry must fail closed (turn_context_missing)
|
|
253
|
+
// instead of binding an Owner statement to a finished turn. A withdrawal
|
|
254
|
+
// failure is surfaced as ONE bounded diagnostic (rc-9) — never silent.
|
|
255
|
+
const cleared = clearCurrentTurnContext({
|
|
256
|
+
workspaceDir: resolution.workspaceDir,
|
|
257
|
+
sessionId: event.context.sessionId,
|
|
258
|
+
...(event.context.turnId !== undefined ? { turnId: event.context.turnId } : {}),
|
|
259
|
+
});
|
|
260
|
+
const clearDiagnostics = cleared.ok
|
|
261
|
+
? []
|
|
262
|
+
: [diagnostic(`turn_context_${cleared.reason}`, 'The turn context could not be withdrawn; the agent-assisted explicit entry stays fail-closed only via its staleness bound. Inspect the workspace .state directory.')];
|
|
250
263
|
// Stop is the turn-complete ingestion trigger (G1 §2): no dispatch route,
|
|
251
264
|
// and Codex's Stop output schema has no hookSpecificOutput — the neutral
|
|
252
265
|
// result is exactly `{}` on stdout (runtime contract: "PD emits empty
|
|
@@ -255,51 +268,61 @@ export async function processHookInvocation(rawStdin, _env = process.env, cwd =
|
|
|
255
268
|
// turn on stderr — never stdout, and never on the per-tool events (that
|
|
256
269
|
// would be per-event noise).
|
|
257
270
|
const stderr = ingestionEnabled
|
|
258
|
-
? await runConversationIngestion({ rawPayload: parsed, kind: event.kind, workspaceDir: resolution.workspaceDir, env: _env })
|
|
259
|
-
: [diagnostic('feature_disabled', 'Set features.codex_conversation_ingestion.enabled=true in the selected Workspace .pd/config.yaml to enable bounded conversation ingestion.')];
|
|
271
|
+
? [...clearDiagnostics, ...await runConversationIngestion({ rawPayload: parsed, kind: event.kind, workspaceDir: resolution.workspaceDir, env: _env })]
|
|
272
|
+
: [...clearDiagnostics, diagnostic('feature_disabled', 'Set features.codex_conversation_ingestion.enabled=true in the selected Workspace .pd/config.yaml to enable bounded conversation ingestion.')];
|
|
260
273
|
return { stdout: {}, exitCode: 0, stderr };
|
|
261
274
|
}
|
|
262
275
|
try {
|
|
263
276
|
if (event.kind === 'session_start') {
|
|
277
|
+
// Belt for turn_complete: a fresh session must never inherit the
|
|
278
|
+
// previous session's turn context. Withdrawal failure → diagnostic.
|
|
279
|
+
const cleared = clearCurrentTurnContext({ workspaceDir: resolution.workspaceDir, sessionId: event.context.sessionId });
|
|
280
|
+
const clearDiagnostics = cleared.ok
|
|
281
|
+
? []
|
|
282
|
+
: [diagnostic(`turn_context_${cleared.reason}`, 'The turn context could not be withdrawn; the agent-assisted explicit entry stays fail-closed only via its staleness bound. Inspect the workspace .state directory.')];
|
|
264
283
|
const health = await createProductionHostRuntime({ hostKind: 'codex' }).health(resolution.workspaceDir);
|
|
265
284
|
if (!health.ok)
|
|
266
|
-
return { stdout: {}, exitCode: 0, stderr: [diagnostic(health.reason ?? 'runtime_unhealthy', health.nextAction ?? 'Inspect the Workspace runtime.')] };
|
|
267
|
-
return { stdout: adapter.encodeOutput({ decision: 'allow', source: event.source }, 'session_start'), exitCode: 0, stderr:
|
|
285
|
+
return { stdout: {}, exitCode: 0, stderr: [...clearDiagnostics, diagnostic(health.reason ?? 'runtime_unhealthy', health.nextAction ?? 'Inspect the Workspace runtime.')] };
|
|
286
|
+
return { stdout: adapter.encodeOutput({ decision: 'allow', source: event.source }, 'session_start'), exitCode: 0, stderr: clearDiagnostics };
|
|
268
287
|
}
|
|
269
288
|
// SPEC-CODEX-PAIN-CLOSURE-001 CR-07: the explicit Owner statement entry
|
|
270
|
-
//
|
|
271
|
-
//
|
|
272
|
-
//
|
|
273
|
-
//
|
|
274
|
-
//
|
|
289
|
+
// owns the current user prompt. The prefix parse runs FIRST (pure, zero
|
|
290
|
+
// I/O) so the single-writer suppression strategy is decided BEFORE any
|
|
291
|
+
// ingestion or admission runs — then, when the prefix matched, the live
|
|
292
|
+
// observation ingestion for this SAME payload runs BEFORE the explicit
|
|
293
|
+
// registration, because the registration's evidence promotion requires
|
|
294
|
+
// the trigger observation to already be persisted. Registering first and
|
|
295
|
+
// ingesting afterwards made every FIRST submission of a rollout degrade
|
|
296
|
+
// with rollout_not_found/trigger_not_found (the trigger row only appeared
|
|
297
|
+
// in the later ingestion pass). Works regardless of the
|
|
298
|
+
// codex_conversation_ingestion flag: flag-off skips the ingestion call
|
|
299
|
+
// entirely, and the registration discloses promotion as skipped
|
|
300
|
+
// (conversation_ingestion_disabled) instead of misreporting a missing
|
|
301
|
+
// substrate; only the transcript PATH is ever validated (rollout
|
|
302
|
+
// identity), never conversation content.
|
|
275
303
|
let explicitReceiptContext;
|
|
276
|
-
let explicitSuppressedGeneric = false;
|
|
277
304
|
const explicitDiagnostics = [];
|
|
305
|
+
let explicitPrefixMatched = false;
|
|
306
|
+
let explicitStatementText = null;
|
|
307
|
+
let explicitRejectReason;
|
|
278
308
|
if (event.kind === 'before_prompt_build') {
|
|
309
|
+
// Agent-assisted explicit registration bridge: publish THIS turn's
|
|
310
|
+
// host-verified identity (ids and paths only — never prompt text) so
|
|
311
|
+
// `pd pain explicit` can register the Owner's verbatim words through
|
|
312
|
+
// the same admission chain as the prefix entry, with the model never
|
|
313
|
+
// seeing or guessing lineage ids. Not gated by the ingestion flag; a
|
|
314
|
+
// write failure degrades only that entry (the prefix entry never
|
|
315
|
+
// needed this file).
|
|
316
|
+
const turnContext = writeCurrentTurnContext({ rawPayload: parsed, workspaceDir: resolution.workspaceDir, env: _env });
|
|
317
|
+
if (!turnContext.ok) {
|
|
318
|
+
explicitDiagnostics.push(diagnostic(`turn_context_${turnContext.reason}`, turnContext.nextAction));
|
|
319
|
+
}
|
|
279
320
|
const rawRecord = parsed;
|
|
280
321
|
const prefixParse = parseOwnerStatementPrefix(typeof rawRecord?.prompt === 'string' ? rawRecord.prompt : undefined);
|
|
322
|
+
explicitPrefixMatched = prefixParse.matched;
|
|
281
323
|
if (prefixParse.matched) {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
explicitDiagnostics.push(diagnostic(`owner_statement_${prefixParse.reason ?? 'rejected'}`, prefixParse.reason === 'statement_too_long'
|
|
285
|
-
? `The statement exceeds 500 characters; nothing was recorded. Resubmit within the limit.`
|
|
286
|
-
: 'The prefix carried no statement text; nothing was recorded. Resubmit as PD记录痛苦:<反馈原文>.'));
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
const receipt = await recordExplicitOwnerStatement({
|
|
290
|
-
rawPayload: parsed,
|
|
291
|
-
workspaceDir: resolution.workspaceDir,
|
|
292
|
-
statementText: prefixParse.text,
|
|
293
|
-
env: _env,
|
|
294
|
-
});
|
|
295
|
-
if (receipt.status === 'received') {
|
|
296
|
-
explicitReceiptContext = `[PD] 已收到痛苦反馈(painId=${receipt.painId}, taskId=${receipt.taskId}${receipt.disposition === 'already_admitted' ? ', 重复提交已合并为同一信号' : ''})。后台将自动诊断;请在回复中如实转述本回执,不要声称仍在等待用户输入,也不要虚构诊断结论。${receipt.promotionDegraded !== undefined ? `(注意:会话证据提升暂不可用:${receipt.promotionDegraded};诊断仍会基于你提交的陈述进行。)` : ''}`;
|
|
297
|
-
explicitDiagnostics.push(diagnostic(`owner_statement_received:${receipt.painId}:${receipt.taskId}${receipt.promotionDegraded !== undefined ? `:promotion_degraded:${receipt.promotionDegraded}` : ''}`, 'Durable enqueue complete; the workspace worker continues diagnosis in the background.'));
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
explicitDiagnostics.push(diagnostic(`owner_statement_${receipt.reason}`, receipt.nextAction));
|
|
301
|
-
}
|
|
302
|
-
}
|
|
324
|
+
explicitStatementText = prefixParse.text;
|
|
325
|
+
explicitRejectReason = prefixParse.reason;
|
|
303
326
|
}
|
|
304
327
|
}
|
|
305
328
|
const ingestionDiagnostics = ingestionEnabled
|
|
@@ -309,12 +332,40 @@ export async function processHookInvocation(rawStdin, _env = process.env, cwd =
|
|
|
309
332
|
workspaceDir: resolution.workspaceDir,
|
|
310
333
|
projectDir: requestedCwd,
|
|
311
334
|
env: _env,
|
|
312
|
-
// CR-07: the
|
|
313
|
-
//
|
|
314
|
-
//
|
|
315
|
-
|
|
335
|
+
// CR-07: the prefix parse above already decided this turn's user
|
|
336
|
+
// prompt belongs to the explicit path — suppress the generic
|
|
337
|
+
// correction candidate so exactly one writer processes the
|
|
338
|
+
// observation (A17), and the trigger observation is in place before
|
|
339
|
+
// the explicit registration promotes evidence around it.
|
|
340
|
+
...(explicitPrefixMatched ? { suppressCorrectionCandidate: true } : {}),
|
|
316
341
|
})
|
|
317
342
|
: [];
|
|
343
|
+
if (explicitPrefixMatched) {
|
|
344
|
+
if (explicitStatementText === null) {
|
|
345
|
+
explicitDiagnostics.push(diagnostic(`owner_statement_${explicitRejectReason ?? 'rejected'}`, explicitRejectReason === 'statement_too_long'
|
|
346
|
+
? `The statement exceeds 500 characters; nothing was recorded. Resubmit within the limit.`
|
|
347
|
+
: 'The prefix carried no statement text; nothing was recorded. Resubmit as PD记录痛苦:<反馈原文>.'));
|
|
348
|
+
}
|
|
349
|
+
else {
|
|
350
|
+
const receipt = await recordExplicitOwnerStatement({
|
|
351
|
+
rawPayload: parsed,
|
|
352
|
+
workspaceDir: resolution.workspaceDir,
|
|
353
|
+
statementText: explicitStatementText,
|
|
354
|
+
env: _env,
|
|
355
|
+
conversationIngestionEnabled: ingestionEnabled,
|
|
356
|
+
});
|
|
357
|
+
if (receipt.status === 'received') {
|
|
358
|
+
const promotionNotice = receipt.promotionDegraded === 'conversation_ingestion_disabled'
|
|
359
|
+
? '会话证据提升已跳过:会话摄取未启用(按隐私边界未读取会话内容,也未写入会话观察)'
|
|
360
|
+
: `会话证据提升暂不可用:${receipt.promotionDegraded}`;
|
|
361
|
+
explicitReceiptContext = `[PD] 已收到痛苦反馈(painId=${receipt.painId}, taskId=${receipt.taskId}${receipt.disposition === 'already_admitted' ? ', 重复提交已合并为同一信号' : ''})。后台将自动诊断;请在回复中如实转述本回执,不要声称仍在等待用户输入,也不要虚构诊断结论。${receipt.promotionDegraded !== undefined ? `(注意:${promotionNotice};诊断仍会基于你提交的陈述进行。)` : ''}`;
|
|
362
|
+
explicitDiagnostics.push(diagnostic(`owner_statement_received:${receipt.painId}:${receipt.taskId}${receipt.promotionDegraded !== undefined ? `:promotion_degraded:${receipt.promotionDegraded}` : ''}`, 'Durable enqueue complete; the workspace worker continues diagnosis in the background.'));
|
|
363
|
+
}
|
|
364
|
+
else {
|
|
365
|
+
explicitDiagnostics.push(diagnostic(`owner_statement_${receipt.reason}`, receipt.nextAction));
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
318
369
|
// PD v2 Phase 1: evidence context for this subprocess invocation. The
|
|
319
370
|
// ledger flag follows the OpenClaw convention (principle_receipt_ledger
|
|
320
371
|
// gates normalized evidence writes).
|
|
@@ -407,7 +458,7 @@ export async function processHookInvocation(rawStdin, _env = process.env, cwd =
|
|
|
407
458
|
evidenceDiagnostics.push(diagnostic(`codex_evidence_deny_failed:${errorMessage(error)}`, 'The deny decision was already encoded; evidence replay from the durable source is safe.'));
|
|
408
459
|
}
|
|
409
460
|
}
|
|
410
|
-
const stderr = [...(result.warnings ?? []).slice(0, 16).map((warning) => diagnostic(warning, 'Inspect PD Workspace state and retry; the hook failed open.')), ...evaluationDiagnostics, ...evidenceDiagnostics, ...
|
|
461
|
+
const stderr = [...(result.warnings ?? []).slice(0, 16).map((warning) => diagnostic(warning, 'Inspect PD Workspace state and retry; the hook failed open.')), ...evaluationDiagnostics, ...evidenceDiagnostics, ...ingestionDiagnostics, ...explicitDiagnostics];
|
|
411
462
|
return { stdout: encoded, exitCode: 0, stderr };
|
|
412
463
|
}
|
|
413
464
|
catch (error) {
|
|
@@ -205,7 +205,10 @@ export async function runCodexWorkspaceWorkerCycle(options) {
|
|
|
205
205
|
port: options.port,
|
|
206
206
|
});
|
|
207
207
|
// Step 3 — Slice B idempotent reconciliation (always runs; creates no LLM work).
|
|
208
|
-
const reconcile = await reconcileGovernanceContinuation({
|
|
208
|
+
const reconcile = await reconcileGovernanceContinuation({
|
|
209
|
+
workspaceDir,
|
|
210
|
+
conversationIngestionEnabled: flags.codex_conversation_ingestion?.enabled === true,
|
|
211
|
+
});
|
|
209
212
|
// Steps 4–6 — execution authority: internalization_auto_consumer.
|
|
210
213
|
let diagnostician = null;
|
|
211
214
|
if (diagnosticianDisabled) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/codex-adapter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Codex CLI host adapter for Principles Disciple — implements HostAdapter interface for OpenAI Codex CLI's stdin/stdout JSON hook model (ADR-0020).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -121,7 +121,7 @@ export declare const PainCorrectionEvidenceSchema: import("@sinclair/typebox").T
|
|
|
121
121
|
*/
|
|
122
122
|
classification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"owner_statement">>;
|
|
123
123
|
/** How the statement was explicitly submitted (disclosure, not authentication). */
|
|
124
|
-
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
124
|
+
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"codex_explicit_agent">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
125
125
|
}>;
|
|
126
126
|
export type PainCorrectionEvidence = Static<typeof PainCorrectionEvidenceSchema>;
|
|
127
127
|
export declare const DiagnosisTargetSchema: import("@sinclair/typebox").TObject<{
|
|
@@ -168,7 +168,7 @@ export declare const DiagnosisTargetSchema: import("@sinclair/typebox").TObject<
|
|
|
168
168
|
*/
|
|
169
169
|
classification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"owner_statement">>;
|
|
170
170
|
/** How the statement was explicitly submitted (disclosure, not authentication). */
|
|
171
|
-
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
171
|
+
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"codex_explicit_agent">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
172
172
|
}>>;
|
|
173
173
|
}>;
|
|
174
174
|
export type DiagnosisTarget = Static<typeof DiagnosisTargetSchema>;
|
|
@@ -299,7 +299,7 @@ export declare const ContextPayloadSchema: import("@sinclair/typebox").TObject<{
|
|
|
299
299
|
*/
|
|
300
300
|
classification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"owner_statement">>;
|
|
301
301
|
/** How the statement was explicitly submitted (disclosure, not authentication). */
|
|
302
|
-
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
302
|
+
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"codex_explicit_agent">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
303
303
|
}>>;
|
|
304
304
|
}>>;
|
|
305
305
|
conversationWindow: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -365,7 +365,7 @@ export declare const DiagnosticianContextPayloadSchema: import("@sinclair/typebo
|
|
|
365
365
|
*/
|
|
366
366
|
classification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"owner_statement">>;
|
|
367
367
|
/** How the statement was explicitly submitted (disclosure, not authentication). */
|
|
368
|
-
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
368
|
+
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"codex_explicit_agent">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
369
369
|
}>>;
|
|
370
370
|
}>;
|
|
371
371
|
conversationWindow: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-payload.d.ts","sourceRoot":"","sources":["../../src/runtime-v2/context-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAML,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,IAAI,kBAAkB,EACpC,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,IAAI,kBAAkB,EACpC,aAAa,IAAI,iBAAiB,EAClC,yBAAyB,IAAI,6BAA6B,EAC1D,uBAAuB,IAAI,2BAA2B,EACtD,aAAa,IAAI,iBAAiB,EACnC,MAAM,0BAA0B,CAAC;AAIlC,eAAO,MAAM,uBAAuB;;;;;;;EAYlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAIvE,eAAO,MAAM,2BAA2B;;;;;;;;;;;EAWtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC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BAA6B,CAAC;AACtE,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,GACjB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;QAlF/B,uFAAuF;;;;;;;;;;;;QAavF;;;;WAIG;;YA1DH,4EAA4E;;YAE5E,0CAA0C;;YAE1C,gEAAgE;;YAEhE,mFAAmF;;YAEnF,+CAA+C;;YAE/C;;;;;;eAMG;;YAEH,mFAAmF;;;;;;;;;;;;;;;EAkHnF,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAIjE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;QAjG5C,uFAAuF;;;;;;;;;;;;QAavF;;;;WAIG;;YA1DH,4EAA4E;;YAE5E,0CAA0C;;YAE1C,gEAAgE;;YAEhE,mFAAmF;;YAEnF,+CAA+C;;YAE/C;;;;;;eAMG;;YAEH,mFAAmF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkInF,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -97,6 +97,7 @@ export const PainCorrectionEvidenceSchema = Type.Object({
|
|
|
97
97
|
channel: Type.Optional(Type.Union([
|
|
98
98
|
Type.Literal('cli_owner_statement'),
|
|
99
99
|
Type.Literal('codex_explicit_prefix'),
|
|
100
|
+
Type.Literal('codex_explicit_agent'),
|
|
100
101
|
Type.Literal('workbuddy_explicit_prefix'),
|
|
101
102
|
Type.Literal('openclaw_manual_pain'),
|
|
102
103
|
])),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-payload.js","sourceRoot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AE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC3C,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;IACrD,eAAe,EAAE,qBAAqB;IACtC,kBAAkB,EAAE,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC;IACvD,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IACxD,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,8BAA8B,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;CAC5G,CAAC,CAAC"}
|
|
@@ -106,7 +106,7 @@ export declare const DiagnosticianTaskRecordSchema: import("@sinclair/typebox").
|
|
|
106
106
|
referencesAssistantTurnId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
107
107
|
occurredAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
108
108
|
classification: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"owner_statement">>;
|
|
109
|
-
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
109
|
+
channel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"cli_owner_statement">, import("@sinclair/typebox").TLiteral<"codex_explicit_prefix">, import("@sinclair/typebox").TLiteral<"codex_explicit_agent">, import("@sinclair/typebox").TLiteral<"workbuddy_explicit_prefix">, import("@sinclair/typebox").TLiteral<"openclaw_manual_pain">]>>;
|
|
110
110
|
}>>;
|
|
111
111
|
}>]>;
|
|
112
112
|
export type DiagnosticianTaskRecord = Static<typeof DiagnosticianTaskRecordSchema>;
|
package/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/core",
|
|
3
|
-
"version": "1.297.
|
|
3
|
+
"version": "1.297.3",
|
|
4
4
|
"description": "Pure-logic core of Principles Disciple, an AI Agent Governance System - pain signal capture and principle proposal (no I/O)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -78,6 +78,14 @@ export interface GovernanceCorrectionCandidate {
|
|
|
78
78
|
* dedup still apply unchanged.
|
|
79
79
|
*/
|
|
80
80
|
readonly explicitOwnerStatement?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Provenance distinction for explicit Codex statements: the native
|
|
83
|
+
* `PD记录痛苦:` prefix (hook-read Owner text, the default) vs the
|
|
84
|
+
* agent-assisted no-prefix entry (`pd pain explicit`, model-transcribed
|
|
85
|
+
* Owner words bound to the host-written live turn context). Audit-only:
|
|
86
|
+
* admission, rate limit and idempotency are identical either way.
|
|
87
|
+
*/
|
|
88
|
+
readonly explicitChannel?: 'codex_explicit_prefix' | 'codex_explicit_agent';
|
|
81
89
|
}
|
|
82
90
|
export interface GovernanceToolFailureCandidate {
|
|
83
91
|
readonly kind: 'tool_failure';
|
|
@@ -220,6 +228,8 @@ export interface EnsureGovernanceContinuationInput {
|
|
|
220
228
|
readonly workspaceDir: string;
|
|
221
229
|
readonly logicalObservationKey: string;
|
|
222
230
|
readonly canonicalPainId: string;
|
|
231
|
+
/** Current Owner consent for Codex conversation evidence. Required to prevent reconciliation from promoting old observations after opt-out. */
|
|
232
|
+
readonly conversationIngestionEnabled: boolean;
|
|
223
233
|
readonly databaseFactory?: ObservationDatabaseFactory;
|
|
224
234
|
}
|
|
225
235
|
export type EnsureGovernanceContinuationResult = {
|
|
@@ -228,18 +238,22 @@ export type EnsureGovernanceContinuationResult = {
|
|
|
228
238
|
taskCreated: boolean;
|
|
229
239
|
linkRepaired: boolean;
|
|
230
240
|
promoted: number;
|
|
231
|
-
tailState: 'completed' | 'pending';
|
|
241
|
+
tailState: 'completed' | 'pending' | 'skipped';
|
|
232
242
|
} | {
|
|
233
243
|
ok: false;
|
|
234
244
|
reason: string;
|
|
235
245
|
nextAction: string;
|
|
246
|
+
taskId?: string;
|
|
247
|
+
taskCreated?: boolean;
|
|
248
|
+
linkRepaired?: boolean;
|
|
236
249
|
};
|
|
237
250
|
/**
|
|
238
|
-
* Given an admitted canonical pain (identified by its marker), ensure
|
|
239
|
-
*
|
|
251
|
+
* Given an admitted canonical pain (identified by its marker), ensure the
|
|
252
|
+
* Diagnostician task and, only with current conversation-ingestion consent,
|
|
253
|
+
* the evidence promotion exist idempotently.
|
|
240
254
|
* Single ensure path for both fresh admits and crash recovery (already_admitted
|
|
241
|
-
* redelivery). The marker row carries rollout_identity
|
|
242
|
-
*
|
|
255
|
+
* redelivery). The marker row carries rollout_identity; callers must also
|
|
256
|
+
* provide the current conversation-ingestion consent.
|
|
243
257
|
*/
|
|
244
258
|
export declare function ensureGovernanceContinuation(input: EnsureGovernanceContinuationInput): Promise<EnsureGovernanceContinuationResult>;
|
|
245
259
|
export interface AdmitBareHostPainsInput {
|
|
@@ -290,6 +304,8 @@ export interface AdmitBareHostPainsResult {
|
|
|
290
304
|
export declare function admitBareHostPains(input: AdmitBareHostPainsInput): Promise<AdmitBareHostPainsResult>;
|
|
291
305
|
export interface ReconcileGovernanceContinuationInput {
|
|
292
306
|
readonly workspaceDir: string;
|
|
307
|
+
/** Current Owner consent; false means reconcile may ensure tasks/links but must not read or promote Codex session evidence. */
|
|
308
|
+
readonly conversationIngestionEnabled: boolean;
|
|
293
309
|
/** Bounded work per pass (default 50 admitted pains). */
|
|
294
310
|
readonly limit?: number;
|
|
295
311
|
readonly databaseFactory?: ObservationDatabaseFactory;
|
|
@@ -308,10 +324,13 @@ export interface ReconcileGovernanceContinuationResult {
|
|
|
308
324
|
/**
|
|
309
325
|
* Narrow idempotent reconciliation between the trajectory admission markers
|
|
310
326
|
* and the Runtime V2 task store (separate SQLite databases — no cross-store
|
|
311
|
-
* transaction exists, SPEC §13).
|
|
327
|
+
* transaction exists, SPEC §13). Current conversation-ingestion consent is
|
|
328
|
+
* mandatory because it controls whether Codex observations may be read and
|
|
329
|
+
* promoted; task/link recovery remains available when consent is off. Recovers:
|
|
312
330
|
* - Case A: pain admitted, crash before task creation → create the task now;
|
|
313
331
|
* - Case B: task exists, crash before the link write → repair the link;
|
|
314
|
-
* - Case C: pain+task, crash before promotion → promote evidence now
|
|
332
|
+
* - Case C: pain+task, crash before promotion → promote evidence now only
|
|
333
|
+
* while conversation-ingestion consent is enabled;
|
|
315
334
|
* - Case D: promotion started → pending tail → retry completion once; stale
|
|
316
335
|
* tails are reported (never silently dropped).
|
|
317
336
|
* Not a background worker — Slice C's Companion worker and the CLI call this.
|