@piagent/platform 1.3.1 → 1.4.0
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/CHANGELOG.md +39 -0
- package/README.md +3 -3
- package/architecture/layers.json +96 -1
- package/docs/README.md +1 -0
- package/docs/architecture.md +1 -0
- package/docs/authority-manifest.md +1 -0
- package/docs/auto-delegation-policy.md +1 -0
- package/docs/capability-packs.md +1 -0
- package/docs/command-reference-vietnamese.md +5 -4
- package/docs/context-engine.md +1 -0
- package/docs/context-window-policy.md +1 -0
- package/docs/distribution-standard.md +8 -7
- package/docs/herdr-workflow.md +1 -0
- package/docs/mcp-and-tools.md +14 -9
- package/docs/memory-policy.md +1 -0
- package/docs/model-options.md +1 -0
- package/docs/oauth-providers.md +1 -0
- package/docs/operator-manual-vietnamese.md +15 -12
- package/docs/package-architecture-notes.md +1 -0
- package/docs/project-adapters.md +1 -0
- package/docs/project-onboarding.md +1 -0
- package/docs/publishing-for-teams.md +1 -0
- package/docs/quality-benchmark.md +1 -0
- package/docs/quickstart-vietnamese.md +3 -2
- package/docs/release-install-policy.md +7 -6
- package/docs/runtime-harness-standard.md +1 -0
- package/docs/runtime-policy-design.md +1 -0
- package/docs/runtime-quality-baseline.md +1 -0
- package/docs/security-redaction-benchmark.md +1 -0
- package/docs/security-threat-model.md +2 -1
- package/docs/subagent-orchestration-capabilities.md +1 -0
- package/docs/subagents-and-multiagent.md +1 -0
- package/docs/task-implementation-contract.md +1 -0
- package/docs/task-lifecycle-vietnamese.md +1 -0
- package/docs/team-onboarding.md +3 -2
- package/docs/third-party-neutrality.md +26 -0
- package/docs/usage-observability.md +1 -0
- package/docs/vercel-docs-site.md +1 -0
- package/docs/workflow-recipes.md +1 -0
- package/docs-site/architecture.html +1 -1
- package/docs-site/benchmark.html +1 -1
- package/docs-site/commands.html +1 -1
- package/docs-site/context-engine.html +1 -1
- package/docs-site/en/architecture.html +1 -1
- package/docs-site/en/benchmark.html +1 -1
- package/docs-site/en/commands.html +1 -1
- package/docs-site/en/context-engine.html +1 -1
- package/docs-site/en/index.html +1 -1
- package/docs-site/en/mcp-approval.html +1 -1
- package/docs-site/en/mcp-auth.html +1 -1
- package/docs-site/en/mcp-servers.html +1 -1
- package/docs-site/en/mcp.html +1 -1
- package/docs-site/en/permissions.html +1 -1
- package/docs-site/en/profiles.html +1 -1
- package/docs-site/en/quickstart.html +1 -1
- package/docs-site/en/runtime.html +1 -1
- package/docs-site/en/scope.html +1 -1
- package/docs-site/en/security.html +1 -1
- package/docs-site/en/team.html +1 -1
- package/docs-site/en/whats-new.html +1 -1
- package/docs-site/en/workflows.html +1 -1
- package/docs-site/index.html +1 -1
- package/docs-site/mcp-approval.html +1 -1
- package/docs-site/mcp-auth.html +1 -1
- package/docs-site/mcp-servers.html +1 -1
- package/docs-site/mcp.html +1 -1
- package/docs-site/permissions.html +1 -1
- package/docs-site/profiles.html +1 -1
- package/docs-site/quickstart.html +1 -1
- package/docs-site/runtime.html +1 -1
- package/docs-site/scope.html +1 -1
- package/docs-site/security.html +1 -1
- package/docs-site/team.html +1 -1
- package/docs-site/whats-new.html +1 -1
- package/docs-site/workflows.html +1 -1
- package/evals/fixtures/mutation-provenance-record.invalid.json +17 -0
- package/evals/fixtures/mutation-provenance-record.valid.json +27 -0
- package/evals/fixtures/piagent-webui/approval-v1.invalid.json +54 -0
- package/evals/fixtures/piagent-webui/approval-v1.valid.json +58 -0
- package/evals/fixtures/piagent-webui/attachment-v1.invalid.json +25 -0
- package/evals/fixtures/piagent-webui/attachment-v1.valid.json +25 -0
- package/evals/fixtures/piagent-webui/capabilities-v1.invalid.json +51 -0
- package/evals/fixtures/piagent-webui/capabilities-v1.valid.json +122 -0
- package/evals/fixtures/piagent-webui/commit-summary-v1.invalid.json +10 -0
- package/evals/fixtures/piagent-webui/commit-summary-v1.valid.json +25 -0
- package/evals/fixtures/piagent-webui/control-command-v1.invalid.json +37 -0
- package/evals/fixtures/piagent-webui/control-command-v1.valid.json +35 -0
- package/evals/fixtures/piagent-webui/diff-v1.invalid.json +13 -0
- package/evals/fixtures/piagent-webui/diff-v1.valid.json +141 -0
- package/evals/fixtures/piagent-webui/gateway-capabilities-v1.invalid.json +35 -0
- package/evals/fixtures/piagent-webui/gateway-capabilities-v1.valid.json +35 -0
- package/evals/fixtures/piagent-webui/gateway-protocol-v1.invalid.json +14 -0
- package/evals/fixtures/piagent-webui/gateway-protocol-v1.valid.json +14 -0
- package/evals/fixtures/piagent-webui/handoff-history-v1.invalid.json +16 -0
- package/evals/fixtures/piagent-webui/handoff-history-v1.valid.json +16 -0
- package/evals/fixtures/piagent-webui/model-catalog-v1.invalid.json +31 -0
- package/evals/fixtures/piagent-webui/model-catalog-v1.valid.json +43 -0
- package/evals/fixtures/piagent-webui/queue-v1.invalid.json +29 -0
- package/evals/fixtures/piagent-webui/queue-v1.valid.json +44 -0
- package/evals/fixtures/piagent-webui/recovery-history-v1.invalid.json +17 -0
- package/evals/fixtures/piagent-webui/recovery-history-v1.valid.json +20 -0
- package/evals/fixtures/piagent-webui/release-monitor-v1.invalid.json +12 -0
- package/evals/fixtures/piagent-webui/release-monitor-v1.valid.json +29 -0
- package/evals/fixtures/piagent-webui/review-state-v1.invalid.json +25 -0
- package/evals/fixtures/piagent-webui/review-state-v1.valid.json +38 -0
- package/evals/fixtures/piagent-webui/runtime-event-v2.invalid.json +49 -0
- package/evals/fixtures/piagent-webui/runtime-event-v2.valid.json +49 -0
- package/evals/fixtures/piagent-webui/session-catalog-v1.invalid.json +17 -0
- package/evals/fixtures/piagent-webui/session-catalog-v1.valid.json +58 -0
- package/evals/fixtures/piagent-webui/session-command-v1.invalid.json +19 -0
- package/evals/fixtures/piagent-webui/session-command-v1.valid.json +19 -0
- package/evals/fixtures/piagent-webui/snapshot-v1.invalid.json +5 -0
- package/evals/fixtures/piagent-webui/snapshot-v1.valid.json +191 -0
- package/evals/fixtures/piagent-webui/source-change-v1.invalid.json +57 -0
- package/evals/fixtures/piagent-webui/source-change-v1.valid.json +98 -0
- package/evals/fixtures/piagent-webui/source-mutation-v1.invalid.json +19 -0
- package/evals/fixtures/piagent-webui/source-mutation-v1.valid.json +38 -0
- package/evals/fixtures/piagent-webui/source-revert-v1.invalid.json +20 -0
- package/evals/fixtures/piagent-webui/source-revert-v1.valid.json +62 -0
- package/evals/fixtures/piagent-webui/subagent-tree-v1.invalid.json +26 -0
- package/evals/fixtures/piagent-webui/subagent-tree-v1.valid.json +39 -0
- package/evals/fixtures/piagent-webui/task-index-v1.invalid.json +15 -0
- package/evals/fixtures/piagent-webui/task-index-v1.valid.json +15 -0
- package/evals/fixtures/piagent-webui/task-timeline-v1.invalid.json +14 -0
- package/evals/fixtures/piagent-webui/task-timeline-v1.valid.json +16 -0
- package/evals/fixtures/piagent-webui/transcript-v1.invalid.json +35 -0
- package/evals/fixtures/piagent-webui/transcript-v1.valid.json +55 -0
- package/evals/fixtures/task-baseline-manifest.invalid.json +16 -0
- package/evals/fixtures/task-baseline-manifest.valid.json +41 -0
- package/evals/fixtures/verifier-file-snapshot.invalid.json +21 -0
- package/evals/fixtures/verifier-file-snapshot.valid.json +21 -0
- package/package.json +30 -3
- package/packages/piagent-core/benchmark/benchmark-candidate.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-forensics.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-ledger.d.ts +4 -0
- package/packages/piagent-core/benchmark/benchmark-record-validation.d.ts +1 -0
- package/packages/piagent-core/benchmark/benchmark-runtime.d.ts +1 -0
- package/packages/piagent-core/capabilities/capability-core.js +2 -2
- package/packages/piagent-core/capabilities/runtime-integrity.js +143 -0
- package/packages/piagent-core/extensions/piagent-guard.ts +62 -37
- package/packages/piagent-core/extensions/redaction-core.d.ts +2 -0
- package/packages/piagent-core/extensions/task-journal.js +30 -1
- package/packages/piagent-core/extensions/task-state.js +33 -36
- package/packages/piagent-core/mcp/mcp-server-catalog.js +5 -5
- package/packages/piagent-core/package.json +1 -1
- package/packages/piagent-core/runtime/hooks/session-start-hook.ts +2 -2
- package/packages/piagent-core/runtime/hooks/tool-call-hook.ts +5 -2
- package/packages/piagent-core/runtime/hooks/tool-result-hook.ts +20 -19
- package/packages/piagent-core/runtime/hooks/tool-result-metadata.ts +13 -0
- package/packages/piagent-core/runtime/input/chat-images.ts +2 -2
- package/packages/piagent-core/runtime/inspection/activity-event-adapter.ts +94 -0
- package/packages/piagent-core/runtime/inspection/approval-broker.ts +318 -0
- package/packages/piagent-core/runtime/inspection/commit-summary-projection.ts +59 -0
- package/packages/piagent-core/runtime/inspection/context-telemetry-inspection.ts +37 -0
- package/packages/piagent-core/runtime/inspection/criteria-links.ts +295 -0
- package/packages/piagent-core/runtime/inspection/diff-projection.ts +499 -0
- package/packages/piagent-core/runtime/inspection/git-filter-safety.ts +38 -0
- package/packages/piagent-core/runtime/inspection/git-numstat-adapter.ts +71 -0
- package/packages/piagent-core/runtime/inspection/git-status-adapter.ts +493 -0
- package/packages/piagent-core/runtime/inspection/git-tree-adapter.ts +108 -0
- package/packages/piagent-core/runtime/inspection/mcp-control.ts +10 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-contract.ts +131 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-recorder.ts +48 -0
- package/packages/piagent-core/runtime/inspection/mutation-provenance-store.ts +161 -0
- package/packages/piagent-core/runtime/inspection/project-runtime-inspection.ts +36 -0
- package/packages/piagent-core/runtime/inspection/review-state-contract.ts +108 -0
- package/packages/piagent-core/runtime/inspection/review-state-projection.ts +93 -0
- package/packages/piagent-core/runtime/inspection/review-state-store.ts +112 -0
- package/packages/piagent-core/runtime/inspection/runtime-event-store.ts +262 -0
- package/packages/piagent-core/runtime/inspection/same-process-bridge-proof.ts +103 -0
- package/packages/piagent-core/runtime/inspection/source-change-projection.ts +471 -0
- package/packages/piagent-core/runtime/inspection/source-evidence-contract.ts +139 -0
- package/packages/piagent-core/runtime/inspection/source-evidence-store.ts +315 -0
- package/packages/piagent-core/runtime/inspection/source-handoff-store.ts +70 -0
- package/packages/piagent-core/runtime/inspection/source-inspection-plan.ts +34 -0
- package/packages/piagent-core/runtime/inspection/source-mutation-projection.ts +164 -0
- package/packages/piagent-core/runtime/inspection/source-mutation-store.ts +168 -0
- package/packages/piagent-core/runtime/inspection/source-open-target.ts +38 -0
- package/packages/piagent-core/runtime/inspection/source-revert-projection.ts +147 -0
- package/packages/piagent-core/runtime/inspection/task-baseline-start-capture.ts +22 -0
- package/packages/piagent-core/runtime/inspection/task-compaction-history.ts +160 -0
- package/packages/piagent-core/runtime/inspection/task-control-journal.ts +131 -0
- package/packages/piagent-core/runtime/inspection/task-handoff-history.ts +95 -0
- package/packages/piagent-core/runtime/inspection/task-provenance-projection.ts +60 -0
- package/packages/piagent-core/runtime/inspection/task-recovery-timeline.ts +88 -0
- package/packages/piagent-core/runtime/inspection/task-run-index.ts +87 -0
- package/packages/piagent-core/runtime/inspection/task-source-projection.ts +401 -0
- package/packages/piagent-core/runtime/inspection/task-subagent-tree.ts +101 -0
- package/packages/piagent-core/runtime/inspection/text-diff.ts +60 -0
- package/packages/piagent-core/runtime/inspection/verifier-snapshot-contract.ts +114 -0
- package/packages/piagent-core/runtime/inspection/verifier-snapshot-store.ts +189 -0
- package/packages/piagent-core/runtime/inspection/webui-snapshot.ts +320 -0
- package/packages/piagent-core/runtime/inspection/workspace-file-reader.ts +132 -0
- package/packages/piagent-core/runtime/inspection/workspace-source-projection.ts +96 -0
- package/packages/piagent-core/runtime/inspection/zero-turn-conformance.ts +175 -0
- package/packages/piagent-core/runtime/orchestration/owned-work-budget.ts +68 -4
- package/packages/piagent-core/runtime/policy/source-index-transaction.ts +173 -0
- package/packages/piagent-core/runtime/policy/source-mutation-guard-binding.ts +42 -0
- package/packages/piagent-core/runtime/policy/source-mutation-guard.ts +184 -0
- package/packages/piagent-core/runtime/policy/source-worktree-transaction.ts +105 -0
- package/packages/piagent-core/runtime/product/activity-inspector-footer.ts +5 -3
- package/packages/piagent-core/runtime/product/activity-inspector.ts +85 -343
- package/packages/piagent-core/runtime/recovery/resume-state.ts +38 -1
- package/packages/piagent-core/runtime/registration/activity-inspector-command.ts +68 -14
- package/packages/piagent-core/runtime/registration/task-start-tool.ts +13 -14
- package/packages/piagent-core/runtime/session/model-authorship-state.ts +31 -3
- package/packages/piagent-core/runtime/session/runtime-state.ts +11 -1
- package/packages/piagent-webui/dist/client/assets/index-DjMntaK5.js +172 -0
- package/packages/piagent-webui/dist/client/assets/index-DwKCWbwd.css +1 -0
- package/packages/piagent-webui/dist/client/index.html +16 -0
- package/packages/piagent-webui/extension/attachment-store.ts +323 -0
- package/packages/piagent-webui/extension/held-message-queue.ts +311 -0
- package/packages/piagent-webui/extension/lifecycle-controller.ts +408 -0
- package/packages/piagent-webui/extension/lifecycle-event-adapter.ts +23 -0
- package/packages/piagent-webui/extension/piagent-webui.ts +470 -0
- package/packages/piagent-webui/extension/review-controller.ts +160 -0
- package/packages/piagent-webui/extension/same-session-bridge.ts +500 -0
- package/packages/piagent-webui/extension/session-options-controller.ts +281 -0
- package/packages/piagent-webui/extension/session-stream-adapter.ts +249 -0
- package/packages/piagent-webui/extension/source-mutation-controller.ts +215 -0
- package/packages/piagent-webui/extension/source-open-controller.ts +136 -0
- package/packages/piagent-webui/extension/source-revert-controller.ts +189 -0
- package/packages/piagent-webui/extension/terminal-session-adapter.ts +73 -0
- package/packages/piagent-webui/extension/vscode-handoff.ts +51 -0
- package/packages/piagent-webui/gateway/control-socket.ts +92 -0
- package/packages/piagent-webui/gateway/gateway-events.ts +60 -0
- package/packages/piagent-webui/gateway/gateway-protocol-service.ts +64 -0
- package/packages/piagent-webui/gateway/gateway-service.ts +215 -0
- package/packages/piagent-webui/gateway/gateway-session-stream.ts +110 -0
- package/packages/piagent-webui/gateway/mcp-auth-broker.ts +158 -0
- package/packages/piagent-webui/gateway/native-project-picker.ts +29 -0
- package/packages/piagent-webui/gateway/pi-host.ts +41 -0
- package/packages/piagent-webui/gateway/profile-state.ts +1 -0
- package/packages/piagent-webui/gateway/project-registry.ts +108 -0
- package/packages/piagent-webui/gateway/provider-auth-broker.ts +172 -0
- package/packages/piagent-webui/gateway/session-catalog.ts +128 -0
- package/packages/piagent-webui/gateway/session-command-controller.ts +237 -0
- package/packages/piagent-webui/gateway/session-command-store.ts +224 -0
- package/packages/piagent-webui/gateway/session-inspection-registry.ts +204 -0
- package/packages/piagent-webui/gateway/session-lease-store.ts +1 -0
- package/packages/piagent-webui/gateway/session-metadata-store.ts +152 -0
- package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +485 -0
- package/packages/piagent-webui/ownership/gateway-runtime-context.ts +8 -0
- package/packages/piagent-webui/ownership/profile-state.ts +117 -0
- package/packages/piagent-webui/ownership/session-lease-store.ts +329 -0
- package/packages/piagent-webui/ownership/session-refs.ts +8 -0
- package/packages/piagent-webui/package.json +33 -0
- package/packages/piagent-webui/server/README.md +4 -0
- package/packages/piagent-webui/server/benchmark-release-monitor.ts +230 -0
- package/packages/piagent-webui/server/core-inspection-provider.ts +403 -0
- package/packages/piagent-webui/server/gateway-websocket.ts +143 -0
- package/packages/piagent-webui/server/http-security.ts +27 -0
- package/packages/piagent-webui/server/ipc-read-model-client.ts +89 -0
- package/packages/piagent-webui/server/loopback-server.ts +368 -0
- package/packages/piagent-webui/server/read-model-provider.ts +37 -0
- package/packages/piagent-webui/server/read-only-router.ts +105 -0
- package/packages/piagent-webui/server/session-auth.ts +88 -0
- package/packages/piagent-webui/server/sidecar-main.ts +86 -0
- package/packages/piagent-webui/server/sse-hub.ts +76 -0
- package/packages/piagent-webui/server/static-bundle.ts +40 -0
- package/packages/piagent-webui/server/transcript-projection.ts +110 -0
- package/schemas/mutation-provenance-record.schema.json +100 -0
- package/schemas/piagent-webui/approval-v1.schema.json +654 -0
- package/schemas/piagent-webui/attachment-v1.schema.json +267 -0
- package/schemas/piagent-webui/capabilities-v1.schema.json +729 -0
- package/schemas/piagent-webui/catalog-v1.json +240 -0
- package/schemas/piagent-webui/commit-summary-v1.schema.json +63 -0
- package/schemas/piagent-webui/common-v1.schema.json +479 -0
- package/schemas/piagent-webui/control-command-v1.schema.json +1780 -0
- package/schemas/piagent-webui/diff-v1.schema.json +826 -0
- package/schemas/piagent-webui/gateway-capabilities-v1.schema.json +136 -0
- package/schemas/piagent-webui/gateway-protocol-v1.schema.json +456 -0
- package/schemas/piagent-webui/handoff-history-v1.schema.json +92 -0
- package/schemas/piagent-webui/model-catalog-v1.schema.json +95 -0
- package/schemas/piagent-webui/queue-v1.schema.json +99 -0
- package/schemas/piagent-webui/recovery-history-v1.schema.json +144 -0
- package/schemas/piagent-webui/release-monitor-v1.schema.json +173 -0
- package/schemas/piagent-webui/review-state-v1.schema.json +206 -0
- package/schemas/piagent-webui/runtime-event-v2.schema.json +5206 -0
- package/schemas/piagent-webui/session-catalog-v1.schema.json +222 -0
- package/schemas/piagent-webui/session-command-v1.schema.json +390 -0
- package/schemas/piagent-webui/snapshot-v1.schema.json +2622 -0
- package/schemas/piagent-webui/source-change-v1.schema.json +763 -0
- package/schemas/piagent-webui/source-mutation-v1.schema.json +96 -0
- package/schemas/piagent-webui/source-revert-v1.schema.json +130 -0
- package/schemas/piagent-webui/subagent-tree-v1.schema.json +88 -0
- package/schemas/piagent-webui/task-index-v1.schema.json +74 -0
- package/schemas/piagent-webui/task-timeline-v1.schema.json +49 -0
- package/schemas/piagent-webui/transcript-v1.schema.json +243 -0
- package/schemas/task-baseline-manifest.schema.json +122 -0
- package/schemas/verifier-file-snapshot.schema.json +81 -0
- package/scripts/check-architecture.mjs +1 -0
- package/scripts/check-doc-languages.mjs +19 -2
- package/scripts/check-third-party-neutrality.mjs +43 -0
- package/scripts/install-global.sh +1 -1
- package/scripts/piagent-cli.mjs +17 -3
- package/scripts/piagent-dashboard.mjs +208 -0
- package/scripts/piagent-webui-launcher.mjs +121 -0
- package/scripts/typescript-loader.mjs +26 -1
- package/scripts/verify-local.sh +253 -0
- package/scripts/verify-release-identity.mjs +4 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-snapshot-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:05:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": null,
|
|
10
|
+
"taskRunId": null,
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"revision": {
|
|
15
|
+
"runtimeRevision": "runtime_rev_01",
|
|
16
|
+
"taskRevision": null,
|
|
17
|
+
"controlRevision": null,
|
|
18
|
+
"workspaceRevision": "workspace_rev_01",
|
|
19
|
+
"indexRevision": "index_rev_01",
|
|
20
|
+
"approvalRevision": null,
|
|
21
|
+
"sessionOptionRevision": "session_option_rev_01",
|
|
22
|
+
"queueRevision": null,
|
|
23
|
+
"journalHead": null,
|
|
24
|
+
"eventCursor": "event_cursor_01"
|
|
25
|
+
},
|
|
26
|
+
"capabilities": {
|
|
27
|
+
"schemaVersion": 1,
|
|
28
|
+
"version": "piagent-webui-capabilities-v1",
|
|
29
|
+
"generatedAt": "2026-08-13T09:05:00.000Z",
|
|
30
|
+
"protocolMin": 1,
|
|
31
|
+
"protocolMax": 1,
|
|
32
|
+
"supportedSnapshotVersions": [1],
|
|
33
|
+
"supportedEventVersions": [2],
|
|
34
|
+
"mode": "inspect-only",
|
|
35
|
+
"compatibility": { "state": "compatible", "reason": null },
|
|
36
|
+
"identity": {
|
|
37
|
+
"projectRef": "project_01",
|
|
38
|
+
"runtimeInstanceId": "runtime_01",
|
|
39
|
+
"sessionRef": "session_01",
|
|
40
|
+
"taskId": null,
|
|
41
|
+
"taskRunId": null,
|
|
42
|
+
"agentOperationId": null,
|
|
43
|
+
"toolCallId": null
|
|
44
|
+
},
|
|
45
|
+
"runtimeBuild": { "state": "available", "buildId": "runtime_build_01", "version": "0.84.1", "reason": null },
|
|
46
|
+
"serverBuild": { "state": "available", "buildId": "server_build_01", "version": "1.0.0", "reason": null },
|
|
47
|
+
"capabilities": {
|
|
48
|
+
"inspect": { "status": "available", "version": 1, "reason": null, "sourceViews": ["task", "working-tree", "staged"] },
|
|
49
|
+
"control.chat": { "status": "unavailable", "version": null, "reason": { "code": "bridge-not-proven", "message": "Same-session dispatch acknowledgement is not available." } },
|
|
50
|
+
"control.lifecycle": { "status": "unavailable", "version": null, "reason": { "code": "bridge-not-proven", "message": "Awaited lifecycle settlement is not available." } },
|
|
51
|
+
"control.resumeAndContinue": { "status": "unavailable", "version": null, "reason": { "code": "compound-control-not-proven", "message": "Atomic resume and same-session dispatch are not available." } },
|
|
52
|
+
"control.sessionOptions": { "status": "unavailable", "version": null, "reason": { "code": "effect-scope-unproven", "message": "The model setting effect scope has not been proved." } },
|
|
53
|
+
"attachments": { "status": "unavailable", "version": null, "reason": { "code": "attachments-not-implemented", "message": "Attachment staging is not implemented." } },
|
|
54
|
+
"approve": { "status": "unavailable", "version": null, "reason": { "code": "approval-broker-not-implemented", "message": "The runtime approval broker is not implemented." } },
|
|
55
|
+
"reviewActions": { "status": "unavailable", "version": null, "reason": { "code": "review-actions-not-implemented", "message": "Review mutations are not implemented." } }
|
|
56
|
+
},
|
|
57
|
+
"replay": { "eventRetentionCount": 10000, "eventRetentionSeconds": 3600, "resyncSupported": true },
|
|
58
|
+
"limits": {
|
|
59
|
+
"maxRequestBodyBytes": 1048576,
|
|
60
|
+
"maxEventPayloadBytes": 65536,
|
|
61
|
+
"maxReplayEvents": 10000,
|
|
62
|
+
"maxDiffBytes": 4194304,
|
|
63
|
+
"maxDiffLines": 5000,
|
|
64
|
+
"maxDiffHunks": 256,
|
|
65
|
+
"maxLogPreviewBytes": 65536,
|
|
66
|
+
"maxLogPreviewLines": 500,
|
|
67
|
+
"maxAttachmentCount": 16,
|
|
68
|
+
"maxAttachmentFileBytes": 10485760,
|
|
69
|
+
"maxAttachmentTotalBytes": 33554432,
|
|
70
|
+
"maxQueueItems": 100,
|
|
71
|
+
"maxMessageBytes": 65536,
|
|
72
|
+
"maxSseClients": 8,
|
|
73
|
+
"maxGitProcesses": 4,
|
|
74
|
+
"requestTimeoutMs": 30000
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"session": {
|
|
78
|
+
"connectionState": "connected",
|
|
79
|
+
"connectionReason": null,
|
|
80
|
+
"displayName": "Piagent WebUI contract session",
|
|
81
|
+
"operation": {
|
|
82
|
+
"liveness": "idle",
|
|
83
|
+
"operationRef": null,
|
|
84
|
+
"hostPhase": { "state": "known", "value": "idle", "evidence": "observed", "reasonCode": null },
|
|
85
|
+
"startedAt": null,
|
|
86
|
+
"settledAt": null,
|
|
87
|
+
"reasonCode": null
|
|
88
|
+
},
|
|
89
|
+
"controlState": "active",
|
|
90
|
+
"taskOutcome": null,
|
|
91
|
+
"approvalState": "none",
|
|
92
|
+
"verificationState": "unavailable",
|
|
93
|
+
"permissionProfile": { "state": "known", "value": "workspace-write", "evidence": "observed", "reasonCode": null },
|
|
94
|
+
"model": {
|
|
95
|
+
"state": "known",
|
|
96
|
+
"value": {
|
|
97
|
+
"modelRef": "model_01",
|
|
98
|
+
"provider": "openai",
|
|
99
|
+
"modelId": "gpt-5.6",
|
|
100
|
+
"displayName": "GPT-5.6",
|
|
101
|
+
"reasoning": true,
|
|
102
|
+
"inputCapabilities": ["text", "image"],
|
|
103
|
+
"supportedThinkingLevels": ["low", "medium", "high"],
|
|
104
|
+
"contextWindow": 200000,
|
|
105
|
+
"maxOutputTokens": 100000
|
|
106
|
+
},
|
|
107
|
+
"evidence": "observed",
|
|
108
|
+
"reasonCode": null
|
|
109
|
+
},
|
|
110
|
+
"thinking": { "state": "known", "value": "high", "evidence": "observed", "reasonCode": null },
|
|
111
|
+
"queue": { "state": "unavailable", "hasPending": null, "heldCount": null, "revision": null, "reasonCode": "host-queue-api-unavailable" },
|
|
112
|
+
"context": { "state": "known", "tokens": 1000, "contextWindow": 200000, "percent": 0.5, "capturedAt": "2026-08-13T09:05:00.000Z", "reasonCode": null }
|
|
113
|
+
},
|
|
114
|
+
"task": null,
|
|
115
|
+
"sourceChanges": {
|
|
116
|
+
"task": {
|
|
117
|
+
"view": "task",
|
|
118
|
+
"base": "task-baseline",
|
|
119
|
+
"state": "unavailable",
|
|
120
|
+
"revision": null,
|
|
121
|
+
"counts": { "files": 0, "added": 0, "modified": 0, "deleted": 0, "renamed": 0, "untracked": 0, "conflicted": 0, "additions": null, "deletions": null },
|
|
122
|
+
"health": { "state": "unavailable", "reasonCode": "no-active-task", "message": "No active task baseline exists." }
|
|
123
|
+
},
|
|
124
|
+
"workingTree": {
|
|
125
|
+
"view": "working-tree",
|
|
126
|
+
"base": "HEAD",
|
|
127
|
+
"state": "ready",
|
|
128
|
+
"revision": "workspace_rev_01",
|
|
129
|
+
"counts": { "files": 0, "added": 0, "modified": 0, "deleted": 0, "renamed": 0, "untracked": 0, "conflicted": 0, "additions": 0, "deletions": 0 },
|
|
130
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
131
|
+
},
|
|
132
|
+
"staged": {
|
|
133
|
+
"view": "staged",
|
|
134
|
+
"base": "HEAD",
|
|
135
|
+
"state": "ready",
|
|
136
|
+
"revision": "index_rev_01",
|
|
137
|
+
"counts": { "files": 0, "added": 0, "modified": 0, "deleted": 0, "renamed": 0, "untracked": 0, "conflicted": 0, "additions": 0, "deletions": 0 },
|
|
138
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"activity": {
|
|
142
|
+
"running": [],
|
|
143
|
+
"recent": [],
|
|
144
|
+
"page": { "cursor": null, "nextCursor": null, "total": 0, "returned": 0, "truncated": false },
|
|
145
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
146
|
+
},
|
|
147
|
+
"approvals": {
|
|
148
|
+
"state": "none",
|
|
149
|
+
"pending": [],
|
|
150
|
+
"recent": [],
|
|
151
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
152
|
+
},
|
|
153
|
+
"verification": {
|
|
154
|
+
"state": "unavailable",
|
|
155
|
+
"latest": null,
|
|
156
|
+
"requiredCommands": [],
|
|
157
|
+
"reasonCode": "no-active-task",
|
|
158
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
159
|
+
},
|
|
160
|
+
"usage": {
|
|
161
|
+
"context": { "state": "known", "tokens": 1000, "contextWindow": 200000, "percent": 0.5, "capturedAt": "2026-08-13T09:05:00.000Z", "reasonCode": null },
|
|
162
|
+
"latestTurn": { "state": "unknown", "input": null, "output": null, "cacheRead": null, "cacheWrite": null, "cost": null, "currency": null, "reasonCode": "no-assistant-turn" },
|
|
163
|
+
"sessionTotal": { "state": "unavailable", "input": null, "output": null, "cacheRead": null, "cacheWrite": null, "cost": null, "currency": null, "reasonCode": "host-total-usage-unavailable" },
|
|
164
|
+
"taskTotal": { "state": "unavailable", "input": null, "output": null, "cacheRead": null, "cacheWrite": null, "cost": null, "currency": null, "reasonCode": "no-active-task" },
|
|
165
|
+
"capturedAt": "2026-08-13T09:05:00.000Z",
|
|
166
|
+
"health": { "state": "degraded", "reasonCode": "partial-usage-only", "message": "Only current context usage is authoritative." }
|
|
167
|
+
},
|
|
168
|
+
"continuation": {
|
|
169
|
+
"state": "not-applicable",
|
|
170
|
+
"consumed": null,
|
|
171
|
+
"maximum": null,
|
|
172
|
+
"remaining": null,
|
|
173
|
+
"reservationRef": null,
|
|
174
|
+
"reasonCode": "no-active-task"
|
|
175
|
+
},
|
|
176
|
+
"handoff": null,
|
|
177
|
+
"health": {
|
|
178
|
+
"state": "degraded",
|
|
179
|
+
"issues": [
|
|
180
|
+
{
|
|
181
|
+
"issueRef": "issue_01",
|
|
182
|
+
"severity": "warning",
|
|
183
|
+
"code": "host-queue-api-unavailable",
|
|
184
|
+
"message": "The current host cannot enumerate the held queue.",
|
|
185
|
+
"relatedRefs": []
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"resyncRequired": false,
|
|
189
|
+
"generatedFromRevision": "runtime_rev_01"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-change-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:07:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": null,
|
|
10
|
+
"taskRunId": null,
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"view": "working-tree",
|
|
15
|
+
"viewRevision": "workspace_rev_01",
|
|
16
|
+
"bases": [
|
|
17
|
+
{
|
|
18
|
+
"basisRef": "basis_01",
|
|
19
|
+
"repoRef": "repo_01",
|
|
20
|
+
"view": "working-tree",
|
|
21
|
+
"state": "current",
|
|
22
|
+
"reasonCode": null,
|
|
23
|
+
"basisRevision": "basis_rev_01",
|
|
24
|
+
"headState": "head",
|
|
25
|
+
"headRef": "head_01",
|
|
26
|
+
"workspaceRevision": "workspace_rev_01",
|
|
27
|
+
"indexRevision": "index_rev_01"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"availability": { "state": "current", "reasonCode": null, "message": null },
|
|
31
|
+
"files": [
|
|
32
|
+
{
|
|
33
|
+
"repoRef": "repo_01",
|
|
34
|
+
"basisRef": "basis_01",
|
|
35
|
+
"fileRef": "file_01",
|
|
36
|
+
"fileRevision": "file_rev_01",
|
|
37
|
+
"path": "src/example.ts",
|
|
38
|
+
"oldPath": null,
|
|
39
|
+
"pathDisplay": "exact-safe",
|
|
40
|
+
"status": "E",
|
|
41
|
+
"git": { "indexStatus": ".", "worktreeStatus": "M", "conflict": false },
|
|
42
|
+
"baseDigest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
|
|
43
|
+
"currentDigest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
|
|
44
|
+
"content": { "kind": "text", "access": "available", "reasonCode": null },
|
|
45
|
+
"stats": { "state": "exact", "additions": 1, "deletions": 0, "reasonCode": null },
|
|
46
|
+
"provenance": { "classification": "pre-existing-user", "evidence": "exact", "baselineEvidenceRef": "baseline_01", "mutationEvidenceRefs": [], "reasonCode": null },
|
|
47
|
+
"criterionIds": [],
|
|
48
|
+
"verifierAttemptIds": [],
|
|
49
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"page": { "cursor": null, "nextCursor": null, "total": 1, "returned": 1, "truncated": false },
|
|
53
|
+
"truncationReason": null,
|
|
54
|
+
"redaction": { "applied": false, "valuesRemoved": 0, "truncated": false },
|
|
55
|
+
"health": { "state": "ok", "reasonCode": null, "message": null },
|
|
56
|
+
"issues": []
|
|
57
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-change-v1",
|
|
4
|
+
"generatedAt": "2026-08-13T09:07:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": null,
|
|
10
|
+
"taskRunId": null,
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"view": "working-tree",
|
|
15
|
+
"viewRevision": "workspace_rev_01",
|
|
16
|
+
"bases": [
|
|
17
|
+
{
|
|
18
|
+
"basisRef": "basis_01",
|
|
19
|
+
"repoRef": "repo_01",
|
|
20
|
+
"view": "working-tree",
|
|
21
|
+
"state": "current",
|
|
22
|
+
"reasonCode": null,
|
|
23
|
+
"basisRevision": "basis_rev_01",
|
|
24
|
+
"headState": "head",
|
|
25
|
+
"headRef": "head_01",
|
|
26
|
+
"workspaceRevision": "workspace_rev_01",
|
|
27
|
+
"indexRevision": "index_rev_01"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"availability": {
|
|
31
|
+
"state": "current",
|
|
32
|
+
"reasonCode": null,
|
|
33
|
+
"message": null
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
{
|
|
37
|
+
"repoRef": "repo_01",
|
|
38
|
+
"basisRef": "basis_01",
|
|
39
|
+
"fileRef": "file_01",
|
|
40
|
+
"fileRevision": "file_rev_01",
|
|
41
|
+
"path": "src/example.ts",
|
|
42
|
+
"oldPath": null,
|
|
43
|
+
"pathDisplay": "exact-safe",
|
|
44
|
+
"status": "M",
|
|
45
|
+
"git": {
|
|
46
|
+
"indexStatus": ".",
|
|
47
|
+
"worktreeStatus": "M",
|
|
48
|
+
"conflict": false
|
|
49
|
+
},
|
|
50
|
+
"baseDigest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
|
|
51
|
+
"currentDigest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
|
|
52
|
+
"content": {
|
|
53
|
+
"kind": "text",
|
|
54
|
+
"access": "available",
|
|
55
|
+
"reasonCode": null
|
|
56
|
+
},
|
|
57
|
+
"stats": {
|
|
58
|
+
"state": "exact",
|
|
59
|
+
"additions": 1,
|
|
60
|
+
"deletions": 0,
|
|
61
|
+
"reasonCode": null
|
|
62
|
+
},
|
|
63
|
+
"provenance": {
|
|
64
|
+
"classification": "pre-existing-user",
|
|
65
|
+
"evidence": "exact",
|
|
66
|
+
"baselineEvidenceRef": "baseline_01",
|
|
67
|
+
"mutationEvidenceRefs": [],
|
|
68
|
+
"reasonCode": null
|
|
69
|
+
},
|
|
70
|
+
"criterionIds": [],
|
|
71
|
+
"verifierAttemptIds": [],
|
|
72
|
+
"health": {
|
|
73
|
+
"state": "ok",
|
|
74
|
+
"reasonCode": null,
|
|
75
|
+
"message": null
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"page": {
|
|
80
|
+
"cursor": null,
|
|
81
|
+
"nextCursor": null,
|
|
82
|
+
"total": 1,
|
|
83
|
+
"returned": 1,
|
|
84
|
+
"truncated": false
|
|
85
|
+
},
|
|
86
|
+
"truncationReason": null,
|
|
87
|
+
"redaction": {
|
|
88
|
+
"applied": false,
|
|
89
|
+
"valuesRemoved": 0,
|
|
90
|
+
"truncated": false
|
|
91
|
+
},
|
|
92
|
+
"health": {
|
|
93
|
+
"state": "ok",
|
|
94
|
+
"reasonCode": null,
|
|
95
|
+
"message": null
|
|
96
|
+
},
|
|
97
|
+
"issues": []
|
|
98
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-mutation-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T08:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": "task_01",
|
|
10
|
+
"taskRunId": "task_run_01",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"action": "source.stage",
|
|
15
|
+
"state": "ready",
|
|
16
|
+
"target": null,
|
|
17
|
+
"reasonCode": null,
|
|
18
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
19
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-mutation-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T08:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": "task_01",
|
|
10
|
+
"taskRunId": "task_run_01",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"action": "source.stage",
|
|
15
|
+
"state": "ready",
|
|
16
|
+
"target": {
|
|
17
|
+
"view": "working-tree",
|
|
18
|
+
"repoRef": "repo_01",
|
|
19
|
+
"fileRef": "file_01",
|
|
20
|
+
"diffRef": "diff_01",
|
|
21
|
+
"status": "M",
|
|
22
|
+
"path": "src/example.ts",
|
|
23
|
+
"oldPath": null,
|
|
24
|
+
"effect": "copy-worktree-to-index",
|
|
25
|
+
"taskRevision": "task_revision_01",
|
|
26
|
+
"workspaceRevision": "workspace_revision_01",
|
|
27
|
+
"indexRevision": "index_revision_01",
|
|
28
|
+
"viewRevision": "view_revision_01",
|
|
29
|
+
"fileRevision": "file_revision_01",
|
|
30
|
+
"workspacePreimage": "wt-content-v2:1111111111111111111111111111111111111111111111111111111111111111",
|
|
31
|
+
"indexPreimage": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
|
|
32
|
+
"patchPreimage": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
|
|
33
|
+
"contentDigest": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
|
|
34
|
+
"hunkRefs": ["hunk_01"]
|
|
35
|
+
},
|
|
36
|
+
"reasonCode": null,
|
|
37
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-revert-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T00:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": "task-01",
|
|
10
|
+
"taskRunId": "task-run-01",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"action": "source.revert",
|
|
15
|
+
"state": "ready",
|
|
16
|
+
"target": null,
|
|
17
|
+
"preview": null,
|
|
18
|
+
"reasonCode": null,
|
|
19
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
20
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-source-revert-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T00:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project_01",
|
|
7
|
+
"runtimeInstanceId": "runtime_01",
|
|
8
|
+
"sessionRef": "session_01",
|
|
9
|
+
"taskId": "task-01",
|
|
10
|
+
"taskRunId": "task-run-01",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"action": "source.revert",
|
|
15
|
+
"state": "ready",
|
|
16
|
+
"target": {
|
|
17
|
+
"view": "working-tree",
|
|
18
|
+
"repoRef": "repo_01",
|
|
19
|
+
"fileRef": "file_01",
|
|
20
|
+
"diffRef": "diff_01",
|
|
21
|
+
"status": "M",
|
|
22
|
+
"path": "src/app.ts",
|
|
23
|
+
"oldPath": null,
|
|
24
|
+
"effect": "restore-worktree-from-index",
|
|
25
|
+
"taskRevision": "task_rev_01",
|
|
26
|
+
"workspaceRevision": "workspace_rev_01",
|
|
27
|
+
"indexRevision": "index_rev_01",
|
|
28
|
+
"viewRevision": "view_rev_01",
|
|
29
|
+
"fileRevision": "file_rev_01",
|
|
30
|
+
"workspacePreimage": "wt-content-v2:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
31
|
+
"indexPreimage": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
32
|
+
"patchPreimage": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
|
|
33
|
+
"contentDigest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
|
|
34
|
+
"hunkRefs": ["hunk_01"],
|
|
35
|
+
"previewRef": "revert-preview_01",
|
|
36
|
+
"confirmedPreviewDigest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
37
|
+
"expiresAt": "2026-08-14T00:05:00.000Z",
|
|
38
|
+
"summary": {
|
|
39
|
+
"files": 1,
|
|
40
|
+
"hunks": 1,
|
|
41
|
+
"additionsDiscarded": 2,
|
|
42
|
+
"deletionsRestored": 1,
|
|
43
|
+
"effect": "discard-unstaged-keep-index",
|
|
44
|
+
"recovery": "not-guaranteed"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"preview": {
|
|
48
|
+
"basis": "index-to-working-tree",
|
|
49
|
+
"hunks": [{
|
|
50
|
+
"hunkRef": "hunk_01",
|
|
51
|
+
"header": "@@ -1,2 +1,3 @@",
|
|
52
|
+
"lines": [
|
|
53
|
+
{ "kind": "context", "marker": " ", "text": "kept" },
|
|
54
|
+
{ "kind": "deleted", "marker": "-", "text": "restored" },
|
|
55
|
+
{ "kind": "added", "marker": "+", "text": "discarded" }
|
|
56
|
+
]
|
|
57
|
+
}],
|
|
58
|
+
"truncated": false
|
|
59
|
+
},
|
|
60
|
+
"reasonCode": null,
|
|
61
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-subagent-tree-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T12:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project.fixture",
|
|
7
|
+
"runtimeInstanceId": "runtime.fixture",
|
|
8
|
+
"sessionRef": "session.fixture",
|
|
9
|
+
"taskId": "task-fixture",
|
|
10
|
+
"taskRunId": "task-fixture-run",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"runRef": "run.fixture",
|
|
15
|
+
"state": "unavailable",
|
|
16
|
+
"treeRevision": "subagent-tree.false-authority",
|
|
17
|
+
"evidenceState": "complete",
|
|
18
|
+
"orchestration": { "mode": "bounded-subagents", "subagents": "used" },
|
|
19
|
+
"parent": { "nodeRef": "parent.fixture", "lifecycleState": "active", "budgetTerminal": false, "mergeOwner": "parent" },
|
|
20
|
+
"children": [],
|
|
21
|
+
"writer": { "state": "parent", "ownerNodeRef": "parent.fixture" },
|
|
22
|
+
"nestedLineage": { "state": "unavailable", "reasonCode": "no-durable-nested-lineage" },
|
|
23
|
+
"summary": { "total": 0, "active": 0, "completed": 0, "staleResults": 0, "readOnly": 0, "singleWriter": 0 },
|
|
24
|
+
"warnings": [],
|
|
25
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-subagent-tree-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T12:00:00.000Z",
|
|
5
|
+
"identity": {
|
|
6
|
+
"projectRef": "project.fixture",
|
|
7
|
+
"runtimeInstanceId": "runtime.fixture",
|
|
8
|
+
"sessionRef": "session.fixture",
|
|
9
|
+
"taskId": "task-fixture",
|
|
10
|
+
"taskRunId": "task-fixture-run",
|
|
11
|
+
"agentOperationId": null,
|
|
12
|
+
"toolCallId": null
|
|
13
|
+
},
|
|
14
|
+
"runRef": "run.fixture",
|
|
15
|
+
"state": "ready",
|
|
16
|
+
"treeRevision": "subagent-tree.fixture",
|
|
17
|
+
"evidenceState": "complete",
|
|
18
|
+
"orchestration": { "mode": "bounded-subagents", "subagents": "used" },
|
|
19
|
+
"parent": { "nodeRef": "parent.fixture", "lifecycleState": "active", "budgetTerminal": false, "mergeOwner": "parent" },
|
|
20
|
+
"children": [
|
|
21
|
+
{
|
|
22
|
+
"nodeRef": "helper.fixture",
|
|
23
|
+
"parentRef": "parent.fixture",
|
|
24
|
+
"role": "scout",
|
|
25
|
+
"authority": "read-only",
|
|
26
|
+
"lifecycleState": "succeeded",
|
|
27
|
+
"reservedAt": "2026-08-14T11:00:00.000Z",
|
|
28
|
+
"expiresAt": "2026-08-14T11:10:00.000Z",
|
|
29
|
+
"completedAt": "2026-08-14T11:05:00.000Z",
|
|
30
|
+
"currentWriter": false,
|
|
31
|
+
"result": { "state": "accepted", "disposition": "succeeded", "calls": 2, "tokens": 300 }
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"writer": { "state": "parent", "ownerNodeRef": "parent.fixture" },
|
|
35
|
+
"nestedLineage": { "state": "unavailable", "reasonCode": "no-durable-nested-lineage" },
|
|
36
|
+
"summary": { "total": 1, "active": 0, "completed": 1, "staleResults": 0, "readOnly": 1, "singleWriter": 0 },
|
|
37
|
+
"warnings": [],
|
|
38
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-task-index-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T10:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project.fixture", "runtimeInstanceId": "runtime.fixture", "sessionRef": "session.fixture", "taskId": null, "taskRunId": null, "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"state": "ready",
|
|
7
|
+
"indexRevision": "task-index.fixture",
|
|
8
|
+
"activeRunRef": "run.fixture",
|
|
9
|
+
"runs": [
|
|
10
|
+
{ "runRef": "run.fixture", "taskRef": "task.fixture", "taskId": "task-old", "taskRunId": "task-old-run", "summary": "Impossible active terminal run", "sessionLabel": null, "outcome": "completed", "terminal": true, "attempt": 1, "maxAttempts": 3, "changeMode": "source-change", "riskLane": "normal", "createdAt": "2026-08-14T09:00:00.000Z", "updatedAt": "2026-08-14T09:30:00.000Z", "isCurrentSession": false, "isActive": true, "progress": { "completed": 1, "total": 1 } }
|
|
11
|
+
],
|
|
12
|
+
"page": { "total": 1, "returned": 1, "truncated": false },
|
|
13
|
+
"warnings": [],
|
|
14
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-task-index-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T10:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project.fixture", "runtimeInstanceId": "runtime.fixture", "sessionRef": "session.fixture", "taskId": "task-active", "taskRunId": "task-active-run", "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"state": "ready",
|
|
7
|
+
"indexRevision": "task-index.fixture",
|
|
8
|
+
"activeRunRef": "run.fixture",
|
|
9
|
+
"runs": [
|
|
10
|
+
{ "runRef": "run.fixture", "taskRef": "task.fixture", "taskId": "task-active", "taskRunId": "task-active-run", "summary": "Build task dashboard", "sessionLabel": "Current session", "outcome": "pending", "terminal": false, "attempt": 1, "maxAttempts": 3, "changeMode": "source-change", "riskLane": "normal", "createdAt": "2026-08-14T09:00:00.000Z", "updatedAt": "2026-08-14T09:30:00.000Z", "isCurrentSession": true, "isActive": true, "progress": { "completed": 1, "total": 3 } }
|
|
11
|
+
],
|
|
12
|
+
"page": { "total": 1, "returned": 1, "truncated": false },
|
|
13
|
+
"warnings": [],
|
|
14
|
+
"health": { "state": "ok", "reasonCode": null, "message": null }
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-task-timeline-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T11:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project.fixture", "runtimeInstanceId": "runtime.fixture", "sessionRef": "session.fixture", "taskId": "task-active", "taskRunId": "task-active-run", "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"runRef": "run.fixture",
|
|
7
|
+
"state": "unavailable",
|
|
8
|
+
"timelineRevision": null,
|
|
9
|
+
"continuity": { "crashEvidence": "possible-interruption", "recoveryDecision": "resume", "latestCheckpointRef": "checkpoint.untrusted", "reasonCode": null },
|
|
10
|
+
"events": [],
|
|
11
|
+
"page": { "total": 0, "returned": 0, "truncated": false },
|
|
12
|
+
"warnings": [],
|
|
13
|
+
"health": { "state": "unavailable", "reasonCode": "timeline-unavailable", "message": "Timeline unavailable" }
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "piagent-webui-task-timeline-v1",
|
|
4
|
+
"generatedAt": "2026-08-14T11:00:00.000Z",
|
|
5
|
+
"identity": { "projectRef": "project.fixture", "runtimeInstanceId": "runtime.fixture", "sessionRef": "session.fixture", "taskId": "task-active", "taskRunId": "task-active-run", "agentOperationId": null, "toolCallId": null },
|
|
6
|
+
"runRef": "run.fixture",
|
|
7
|
+
"state": "ready",
|
|
8
|
+
"timelineRevision": "timeline.fixture",
|
|
9
|
+
"continuity": { "crashEvidence": "unknown", "recoveryDecision": "paused", "latestCheckpointRef": "checkpoint.fixture", "reasonCode": "no-explicit-crash-evidence" },
|
|
10
|
+
"events": [
|
|
11
|
+
{ "eventRef": "event.fixture", "evidenceRef": "journal.fixture", "sequence": 1, "recordedAt": "2026-08-14T10:00:00.000Z", "kind": "checkpoint", "state": "observed", "title": "Checkpoint paused", "detail": "verify · paused", "checkpointRef": "checkpoint.fixture" }
|
|
12
|
+
],
|
|
13
|
+
"page": { "total": 1, "returned": 1, "truncated": false },
|
|
14
|
+
"warnings": [{ "code": "crash-not-observed", "count": 1, "message": "No explicit crash fact was recorded." }],
|
|
15
|
+
"health": { "state": "degraded", "reasonCode": "timeline-warning", "message": "Some continuity facts remain unknown." }
|
|
16
|
+
}
|