@principles/codex-adapter 0.6.0 → 0.6.1
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.
|
@@ -168,7 +168,9 @@ function ingestTranscriptDelta({ fallbackRootSessionId, canonicalPath, identity,
|
|
|
168
168
|
// and the next Stop retries instead of silently losing the verified facts.
|
|
169
169
|
const verifiedOutcomes = collectVerifiedToolOutcomes(decoded.observations);
|
|
170
170
|
if (verifiedOutcomes.length > 0) {
|
|
171
|
-
|
|
171
|
+
// SPEC-RULECODE-HOST-PROMOTION-001 R2: stamp the producing host on the
|
|
172
|
+
// inserted rows so attribution-aware readers can prove provenance.
|
|
173
|
+
const verified = recordVerifiedToolOutcomes({ workspaceDir, sessionId: rootSessionId, outcomes: verifiedOutcomes, hostKind: 'codex' });
|
|
172
174
|
const failed = verified.find((result) => result.status === 'unavailable');
|
|
173
175
|
if (failed !== undefined) {
|
|
174
176
|
const reason = failed.reason === 'trajectory_db_not_found' ? 'verified_outcome_db_unavailable' : `verified_outcome_write_failed:${failed.reason.split(':', 2)[1] ?? ''}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/codex-adapter",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.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",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"lint": "eslint \"src/**/*.ts\""
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@principles/core": "^1.297.
|
|
37
|
-
"@principles/host-runtime": "^0.14.
|
|
36
|
+
"@principles/core": "^1.297.5",
|
|
37
|
+
"@principles/host-runtime": "^0.14.2",
|
|
38
38
|
"@principles/install-layout": "^0.4.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|