You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Memory entries | Entries in the selected Scopes' Memory Artifacts|
83
+
| Artifacts |Selected Scopes' Artifact heads grouped by family |
84
+
| Pending review |Selected Scopes' Candidate heads grouped by family and status |
84
85
| Skill origin | Immutable lineage for managed Skills; registration for external Skills |
85
86
| Model usage | Persisted daily generation and embedding usage |
86
87
| Recall hits, token reduction, and savings trend | Persisted daily recall measurements for the configured estimator |
87
88
88
-
The Runtime performs these reads in one database transaction and calculates totals, pending Sources, family counts,
89
-
daily buckets, and token reduction on the Server. The browser presents `ready_preparations` as recall hits and plots the
89
+
The Runtime resolves the selection to exact Scope IDs, aggregates totals, pending Sources, family counts, daily buckets,
90
+
and token reduction on the Server, and returns both the selection and resolved IDs. The browser presents
91
+
`ready_preparations` as recall hits and plots the
90
92
signed daily `token_reduction` as the savings trend. Each heatmap cell combines those two fields for its date. Its fixed
91
93
bands are no hit, hit without a positive reduction, 1–255, 256–1023, and 1024 or more estimated tokens reduced. The
92
94
fixed thresholds keep sparse activity and outliers from changing the meaning of every other cell.
@@ -109,17 +111,17 @@ or rendering contract only after a second page needs the same behavior.
109
111
110
112
## Add the Handoff Report page
111
113
112
-
When Handoff Report is enabled, the Server hosts the scope Handoff page at `/handoff-reports` without requiring the scoped-statistics Dashboard or its configured scope list. The optional Dashboard remains at `/` when separately enabled. The pages share only `base.html`, the header and footer, `auth.js`, theme state, and locale state; their statistics and report calculations remain independent.
114
+
When Handoff Report is enabled, the Server hosts a read-only report page at `/handoff-reports`; the Dashboard remains
115
+
optional. Both pages load Scopes from `/dashboard/scopes` and use `scope-selection.js` to expose the same `all`,
116
+
`subtree`, and `exact` views.
113
117
114
-
The Handoff Report page obtains exact `scope_id` values with committed Handoffs from `POST /v1/handoff-reports/scopes/list-known` and uses them in a searchable scope combobox. Selecting a scope sends its required `scope_id` to `POST /v1/handoff-reports/get`; neither the Project catalog nor `project_id` participates in report selection. The page presents the exact current Handoff snapshot at full width.
118
+
The page posts the selected `ScopeSelection` to `/v1/handoff-reports/get`. The Server resolves it to exact Scope IDs
119
+
and projects each Scope's descriptor and latest exact Handoff. A Scope without a committed Handoff remains visible as
120
+
`no_handoff`. Parent does not infer Context sharing, and the report does not edit Handoff state.
115
121
116
-
The current snapshot displays objective, current state, disposition, next action, and known omissions as one Handoff document. One Edit action opens all five fields, and one Save Revision action prepares and commits the complete document as a new immutable Handoff Revision. Scope switching and background refresh pause while the editor is open. Receiver-side decisions are not part of this page; existing continuity records remain available in the read-only Continuity timeline. Apart from the explicit revision write, the browser formats returned `summary`, `coverage`, Workstream state, and digests without recalculating report semantics.
117
-
118
-
When known-scope discovery succeeds but no scope has a committed Handoff, the page replaces report controls with a clearly labeled, data-free template preview. Retry enumerates Handoff heads again; the first committed scope replaces the preview. The preview neither creates a Handoff nor requests fabricated report data.
119
-
120
-
The page requests the current day in UTC by default and provides current-day, ISO-week, calendar-month, and custom date-range inputs. The custom end date is inclusive in the UI and is converted to the exclusive start of the next day for the API. The current scope application normalizes this input but supplies no Activity events, reports `activity_coverage=not_configured`, and returns no period comparison. Handoff status comes from the current exact selection and must not be presented as a historical period-end state.
121
-
122
-
The overview request may disable evidence checks for lower latency. A Markdown download makes a separate request with `format=markdown`, `download=true`, and evidence checks enabled by default. The browser never reconstructs Markdown from rendered DOM or canonical JSON. Both background refresh and browser download currently require a stored bearer token even when Server authentication is disabled; initial and manual report loads still work without one. Disabling Handoff Report removes the `/handoff-reports` page and its API while leaving the original Dashboard route, scope selection, and statistics request unchanged.
122
+
JSON is the browser projection. Markdown download repeats the same selection with `format=markdown` and
123
+
`download=true`; the browser does not reconstruct Markdown from the rendered DOM. Disabling Handoff Report removes
124
+
the page and report API without changing Dashboard selection or statistics behavior.
Copy file name to clipboardExpand all lines: docs/en/docs/how-to/configure-dsh.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,9 @@ The plugin has two paths to the same Server:
30
30
- before each model step it asks the Runtime to prepare one final, bounded context value, then independently captures the user's prompt as Source evidence;
31
31
- named `pc_*` tools call the public HTTP API to remember, search, revise, retire, and audit Memory.
32
32
33
-
Memory scope comes from the normalized Git remote when one is available, or from the session workspace path otherwise. Set `POWERCONTEXT_DSH_SCOPE_ID` when the session has no workspace cwd, or when the scope must be independent of both. The plugin does not fall back to the Harness process directory.
33
+
The plugin resolves one Server-owned Scope in this order: `POWERCONTEXT_DSH_SCOPE_ID`, a durable binding for the
34
+
session workspace, then the Server default. The workspace path is hashed only as an external binding key. A missing
35
+
workspace therefore uses the Server default instead of the Harness process directory.
34
36
35
37
The plugin calls `POST /v1/context/prepare` once before the model analyzes the prompt. Explicit `remember_memory` calls do not require a model.
0 commit comments