@akagilnc/pi-workflow-roles 0.1.3452 → 0.1.3471
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/CLAUDE.md +2 -0
- package/dist/evidence-child-executor.js +2 -11
- package/dist/grok/production-host.js +196 -205
- package/dist/pi/in-process-session.js +4 -0
- package/dist/public-cli/main.js +998 -920
- package/package.json +1 -1
- package/scripts/build-package.mjs +1 -3
- package/src/analyst-gate-cycles-read.ts +3 -21
- package/src/analyst-ledger.ts +11 -42
- package/src/archivist-record-entry.ts +5 -6
- package/src/evidence-child-executor.ts +5 -15
- package/src/grok/production-host.ts +3 -32
- package/src/grok/role-envelope.ts +10 -4
- package/src/host-contracts.ts +4 -11
- package/src/host-transition-prior-native.ts +3 -7
- package/src/ledger-session-read.ts +1 -17
- package/src/pi/in-process-session.ts +6 -2
- package/src/pi/role-turn-host.ts +9 -0
- package/src/public-cli/collector-run.ts +4 -4
- package/src/public-cli/countersign-run.ts +90 -20
- package/src/public-cli/doctor-run.ts +4 -4
- package/src/public-cli/gleaner-left-run.ts +9 -6
- package/src/public-cli/inspector-run.ts +95 -32
- package/src/public-cli/instruction-seat-run.ts +7 -6
- package/src/public-cli/invocation.ts +14 -8
- package/src/public-cli/judge-run.ts +4 -4
- package/src/public-cli/notary-run.ts +91 -30
- package/src/public-cli/post-admission.ts +424 -360
- package/src/public-cli/run-lifecycle.ts +205 -0
- package/src/public-cli/seat-ticket-binding.ts +136 -16
- package/src/public-cli/settlement.ts +74 -52
- package/src/run-ticket-number.ts +53 -0
- package/src/submission-ledger.ts +86 -18
- package/dist/ledger-session-read.js +0 -241
- package/dist/ticket-seat-memory.js +0 -244
- package/src/ticket-seat-memory.ts +0 -454
package/CLAUDE.md
CHANGED
|
@@ -82,6 +82,8 @@ A probe is temporary evidence. After its evidence purpose is disposed, either de
|
|
|
82
82
|
|
|
83
83
|
**票面先过给事中再开工;决策问题上呈陛下。**(ADR 0074:票庭审读由大理寺移交门下省给事中。)
|
|
84
84
|
|
|
85
|
+
**设计修订后重新过庭。** 施工中实质设计变更须由陛下拍定;拍定后将修订后的票重新送给事中,沿用票庭前序的起居郎工序补录修订依据(ADR 0075),给事中通过后再按新设计继续施工。既定设计内的实现取舍不属设计修订。
|
|
86
|
+
|
|
85
87
|
丞相编排建议:御史台 findings 宜经大理寺裁决后再派修理腿(劾→判→修)。
|
|
86
88
|
|
|
87
89
|
没有绑定直接陛下原话与明确 decision keys,不得标作陛下 authority。
|
|
@@ -9,12 +9,6 @@ import {
|
|
|
9
9
|
} from "./compliance-transport.js";
|
|
10
10
|
import { auditorRunDirectory } from "./auditor-dossier-tool.js";
|
|
11
11
|
import { sitianReport } from "./sitian-facade.js";
|
|
12
|
-
import {
|
|
13
|
-
isTicketSeatMemorySeat,
|
|
14
|
-
readRunTicketNumber,
|
|
15
|
-
ticketSeatMemorySubject,
|
|
16
|
-
TICKET_SEAT_MEMORY_KIND
|
|
17
|
-
} from "./ticket-seat-memory.js";
|
|
18
12
|
import { createEngineDetourToolDefinition } from "./engine-detour-tool.js";
|
|
19
13
|
import { engineNameFromEnv } from "./engine-detour.js";
|
|
20
14
|
import {
|
|
@@ -323,7 +317,6 @@ function auditorSeatKey(gateSeat) {
|
|
|
323
317
|
return gateSeat ?? "auditor";
|
|
324
318
|
}
|
|
325
319
|
async function executeAuditorChild(options) {
|
|
326
|
-
const { createRecordSession } = await import("./archivist-record-entry.js");
|
|
327
320
|
const runDirectory = options.runDirectory ?? auditorRunDirectory(options.context);
|
|
328
321
|
if (runDirectory === void 0) {
|
|
329
322
|
throw new Error(`${options.roleLabel} requires a run directory carrying the institutional resolution page`);
|
|
@@ -368,12 +361,10 @@ async function executeAuditorChild(options) {
|
|
|
368
361
|
const parentHeader = parentSessionManager?.getHeader?.();
|
|
369
362
|
const parentSessionFile = parentSessionManager?.getSessionFile?.();
|
|
370
363
|
const parentAttemptEntryId = parentSessionManager?.getLeafId?.();
|
|
371
|
-
const
|
|
372
|
-
const memorySubject = ticketNumber !== void 0 && isTicketSeatMemorySeat(seat) ? ticketSeatMemorySubject(ticketNumber, seat) : void 0;
|
|
364
|
+
const { createRecordSession } = await import("./archivist-record-entry.js");
|
|
373
365
|
const auditorSessionManager = createRecordSession({
|
|
374
366
|
cwd,
|
|
375
|
-
kind:
|
|
376
|
-
...memorySubject === void 0 ? {} : { subject: memorySubject },
|
|
367
|
+
kind: "auditor-roles",
|
|
377
368
|
...parentSessionManager === void 0 ? {} : { parent: parentSessionManager }
|
|
378
369
|
});
|
|
379
370
|
const { openPiInstitutionalSession } = await import("./pi/in-process-session.js");
|