create-principles-disciple 1.154.2 → 1.154.4
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 +1 -1
- package/codex-adapter/dist/worker/workspace-worker.js +7 -1
- package/codex-adapter/package.json +1 -1
- package/console/dist/server/models/ReceiptsConsoleModel.js +2 -2
- package/console/dist/web/assets/app.css +5 -0
- package/console/dist/web/assets/app.js +38 -38
- package/core/dist/runtime/feature-flags/feature-flag-contract.d.ts.map +1 -1
- package/core/dist/runtime/feature-flags/feature-flag-contract.js +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-contract.js.map +1 -1
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.d.ts.map +1 -1
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js +8 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js.map +1 -1
- package/core/dist/runtime/pain-ingress-payload.d.ts +13 -0
- package/core/dist/runtime/pain-ingress-payload.d.ts.map +1 -1
- package/core/dist/runtime/pain-ingress-payload.js +26 -0
- package/core/dist/runtime/pain-ingress-payload.js.map +1 -1
- package/core/dist/runtime/pain-ingress.d.ts +1 -1
- package/core/dist/runtime/pain-ingress.d.ts.map +1 -1
- package/core/dist/runtime/pain-ingress.js +15 -2
- package/core/dist/runtime/pain-ingress.js.map +1 -1
- package/core/dist/runtime/pain-signal-bridge.d.ts +18 -0
- package/core/dist/runtime/pain-signal-bridge.d.ts.map +1 -1
- package/core/dist/runtime/pain-signal-bridge.js +49 -1
- package/core/dist/runtime/pain-signal-bridge.js.map +1 -1
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts +7 -0
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts.map +1 -1
- package/core/dist/runtime/pain-signal-runtime-factory.js +2 -0
- package/core/dist/runtime/pain-signal-runtime-factory.js.map +1 -1
- package/core/dist/runtime/pain-to-principle-service.d.ts +8 -0
- package/core/dist/runtime/pain-to-principle-service.d.ts.map +1 -1
- package/core/dist/runtime/pain-to-principle-service.js +21 -1
- package/core/dist/runtime/pain-to-principle-service.js.map +1 -1
- package/core/package.json +1 -1
- package/host-runtime/dist/auto-pain-authorization.d.ts +29 -0
- package/host-runtime/dist/auto-pain-authorization.js +32 -0
- package/host-runtime/dist/diagnostician-auto-run.d.ts +1 -1
- package/host-runtime/dist/diagnostician-auto-run.js +41 -0
- package/host-runtime/dist/governance-signal-admission.js +16 -0
- package/host-runtime/dist/index.d.ts +1 -0
- package/host-runtime/dist/index.js +1 -0
- package/host-runtime/package.json +1 -1
- package/install-layout/dist/active-release.d.ts +41 -0
- package/install-layout/dist/active-release.js +131 -0
- package/install-layout/dist/index.d.ts +56 -5
- package/install-layout/dist/index.js +166 -1
- package/install-layout/dist/mcp-binding-contract.d.ts +76 -12
- package/install-layout/dist/mcp-binding-contract.js +183 -75
- package/install-layout/package.json +1 -1
- package/package.json +3 -3
- package/pd-cli/dist/commands/health-ingestion.d.ts.map +1 -1
- package/pd-cli/dist/commands/health-ingestion.js +6 -2
- package/pd-cli/dist/commands/health-ingestion.js.map +1 -1
- package/pd-cli/dist/commands/pain-record.d.ts.map +1 -1
- package/pd-cli/dist/commands/pain-record.js +4 -1
- package/pd-cli/dist/commands/pain-record.js.map +1 -1
- package/pd-cli/dist/commands/pain-retry.d.ts.map +1 -1
- package/pd-cli/dist/commands/pain-retry.js +19 -1
- package/pd-cli/dist/commands/pain-retry.js.map +1 -1
- package/pd-cli/dist/commands/service-run-once.d.ts +6 -0
- package/pd-cli/dist/commands/service-run-once.d.ts.map +1 -0
- package/pd-cli/dist/commands/service-run-once.js +139 -0
- package/pd-cli/dist/commands/service-run-once.js.map +1 -0
- package/pd-cli/dist/program.d.ts.map +1 -1
- package/pd-cli/dist/program.js +21 -0
- package/pd-cli/dist/program.js.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.js +4 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -1
- package/pd-cli/dist/services/service-host/index.d.ts +15 -0
- package/pd-cli/dist/services/service-host/index.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/index.js +15 -0
- package/pd-cli/dist/services/service-host/index.js.map +1 -0
- package/pd-cli/dist/services/service-host/install-identity.d.ts +79 -0
- package/pd-cli/dist/services/service-host/install-identity.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/install-identity.js +166 -0
- package/pd-cli/dist/services/service-host/install-identity.js.map +1 -0
- package/pd-cli/dist/services/service-host/locking/service-run-lock.d.ts +134 -0
- package/pd-cli/dist/services/service-host/locking/service-run-lock.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/locking/service-run-lock.js +659 -0
- package/pd-cli/dist/services/service-host/locking/service-run-lock.js.map +1 -0
- package/pd-cli/dist/services/service-host/owner-projection.d.ts +47 -0
- package/pd-cli/dist/services/service-host/owner-projection.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/owner-projection.js +121 -0
- package/pd-cli/dist/services/service-host/owner-projection.js.map +1 -0
- package/pd-cli/dist/services/service-host/run-once.d.ts +96 -0
- package/pd-cli/dist/services/service-host/run-once.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/run-once.js +440 -0
- package/pd-cli/dist/services/service-host/run-once.js.map +1 -0
- package/pd-cli/dist/services/service-host/status/service-run-status.d.ts +117 -0
- package/pd-cli/dist/services/service-host/status/service-run-status.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/status/service-run-status.js +150 -0
- package/pd-cli/dist/services/service-host/status/service-run-status.js.map +1 -0
- package/pd-cli/dist/services/service-host/workspace-discovery.d.ts +71 -0
- package/pd-cli/dist/services/service-host/workspace-discovery.d.ts.map +1 -0
- package/pd-cli/dist/services/service-host/workspace-discovery.js +288 -0
- package/pd-cli/dist/services/service-host/workspace-discovery.js.map +1 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.js +4 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -1
- package/pd-cli/package.json +1 -1
- package/plugin/dist/bundle.js +420 -420
- package/plugin/dist/core/signal-collector-host.d.ts +12 -0
- package/plugin/dist/openclaw.plugin.json +1 -1
- package/plugin/dist/templates/langs/en/skills/pd-pain-signal/SKILL.md +10 -2
- package/plugin/dist/templates/langs/zh/skills/pd-pain-signal/SKILL.md +10 -2
- package/plugin/mcp/launcher.cjs +40 -4
- package/plugin/openclaw.plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/plugin/templates/langs/en/skills/pd-pain-signal/SKILL.md +10 -2
- package/plugin/templates/langs/zh/skills/pd-pain-signal/SKILL.md +10 -2
- package/release-manager/package.json +1 -1
- package/workbuddy-adapter/dist/worker/workspace-worker.js +4 -1
- package/workbuddy-adapter/package.json +1 -1
- package/workbuddy-adapter/plugin/mcp/launcher.cjs +40 -4
- package/workbuddy-adapter/plugin/skills/pd-pain-signal/SKILL.md +10 -2
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
import fs from 'node:fs';
|
|
29
29
|
import path from 'node:path';
|
|
30
30
|
import { computeFeatureFlagsFromConfig, createRuntimeStateHandle, createPainSignalBridge, isRetryWaitBackoffElapsed, pickDiagnosticianCandidate, PrincipleTreeLedgerAdapter, resolveDiagnosticianCapability, } from '@principles/core/runtime';
|
|
31
|
-
import { createWorkspaceBehaviorEvidencePort, createCodexArtificerTrustedFactsPort, loadPdConfigForPlugin, loadFeatureFlagFromConfig, reconcileGovernanceContinuation, runInternalizationConsumerCycle, runStage2CorrectionCycle, createSignalClassifierForWorkspace, createGovernanceTrajectoryTurnReader, createHostIntentDocReader, saveHostToolDeclaration, HOST_TOOL_DECLARATION_VERSION, } from '@principles/host-runtime';
|
|
31
|
+
import { createWorkspaceBehaviorEvidencePort, createCodexArtificerTrustedFactsPort, loadPdConfigForPlugin, loadFeatureFlagFromConfig, reconcileGovernanceContinuation, runInternalizationConsumerCycle, runStage2CorrectionCycle, createSignalClassifierForWorkspace, createGovernanceTrajectoryTurnReader, createHostIntentDocReader, isAutomaticPainSubmissionAuthorized, saveHostToolDeclaration, HOST_TOOL_DECLARATION_VERSION, } from '@principles/host-runtime';
|
|
32
32
|
import { catchUpCodexIngestion } from '../ingestion/catch-up.js';
|
|
33
33
|
import { CODEX_TOOL_SEMANTIC_MAPPINGS, CODEX_TOOL_SEMANTICS } from '../tool-semantics.js';
|
|
34
34
|
const WORKER_OWNER = 'companion-worker';
|
|
@@ -258,6 +258,9 @@ export async function runCodexWorkspaceWorkerCycle(options) {
|
|
|
258
258
|
// PRI-1265: the worker's Stage A gets the bound session's ORIGINAL
|
|
259
259
|
// turns from the workspace's own consent-tiered governance store.
|
|
260
260
|
trajectoryTurnReader: createGovernanceTrajectoryTurnReader({ workspaceDir }),
|
|
261
|
+
// SPEC §9.6: lazy probe — a revoked flag stops persisted
|
|
262
|
+
// automatic_hook tasks at the bridge's execution boundary.
|
|
263
|
+
isAutoPainSubmissionAuthorized: () => isAutomaticPainSubmissionAuthorized(workspaceDir),
|
|
261
264
|
});
|
|
262
265
|
const executed = await bridge.executePendingDiagnosis({ taskId: candidate.taskId });
|
|
263
266
|
// PRI-917 v0.3.3 review fix (P2-2): forward the parked-candidate
|
|
@@ -340,6 +343,9 @@ export async function runCodexWorkspaceWorkerCycle(options) {
|
|
|
340
343
|
// PRI-1265: post-processing resumes see the same authorized
|
|
341
344
|
// trajectory context as the initial diagnosis run.
|
|
342
345
|
trajectoryTurnReader: createGovernanceTrajectoryTurnReader({ workspaceDir }),
|
|
346
|
+
// SPEC §9.6: lazy probe — automatic_hook backlog resumes honor
|
|
347
|
+
// the Workspace authorization too.
|
|
348
|
+
isAutoPainSubmissionAuthorized: () => isAutomaticPainSubmissionAuthorized(workspaceDir),
|
|
343
349
|
});
|
|
344
350
|
for (const item of backlog) {
|
|
345
351
|
const resumed = await bridge.resumeSucceededDiagnosisPostProcessing({ taskId: item.taskId });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/codex-adapter",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
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",
|
|
@@ -163,7 +163,7 @@ export class ReceiptsConsoleModel {
|
|
|
163
163
|
return {
|
|
164
164
|
status: 'degraded',
|
|
165
165
|
reason: 'principle_applications table not found — ledger not initialized on this workspace',
|
|
166
|
-
nextAction: 'Update
|
|
166
|
+
nextAction: 'Update PD to the latest version so the receipt ledger is available on this workspace',
|
|
167
167
|
principleId,
|
|
168
168
|
effectCount: 0,
|
|
169
169
|
presenceCount: 0,
|
|
@@ -262,7 +262,7 @@ export class ReceiptsConsoleModel {
|
|
|
262
262
|
return {
|
|
263
263
|
status: 'degraded',
|
|
264
264
|
reason: 'principle_applications table not found — ledger not initialized on this workspace',
|
|
265
|
-
nextAction: 'Update
|
|
265
|
+
nextAction: 'Update PD to the latest version so the receipt ledger is available on this workspace',
|
|
266
266
|
counts: [],
|
|
267
267
|
coverage: unreadCoverage('unavailable', 'ledger_table_missing', 'update_plugin'),
|
|
268
268
|
};
|
|
@@ -4127,6 +4127,11 @@ summary.principle-summary-heading {
|
|
|
4127
4127
|
display: none;
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
4130
|
+
@media (min-width: 96rem) and (min-height: 44rem) {
|
|
4131
|
+
.page-shell-dashboard {
|
|
4132
|
+
max-inline-size: 91rem;
|
|
4133
|
+
}
|
|
4134
|
+
}
|
|
4130
4135
|
.owner-workbench-container {
|
|
4131
4136
|
container-type: inline-size;
|
|
4132
4137
|
}
|