Skip to content
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7adfbe3
feat(dashboard): add processing, usage, and runtime observability
happy-v587 Oct 31, 2026
bd226dc
feat(dashboard): add cloud-native monitoring guide and restructure Dr…
happy-v587 Nov 9, 2026
8a633f8
chore: retrigger CI
happy-v587 Nov 9, 2026
9476bed
chore: retrigger CI
happy-v587 Nov 9, 2026
be4bec4
chore: sync PR head
happy-v587 Nov 9, 2026
5fd5312
chore: retrigger CI
happy-v587 Nov 10, 2026
e9ff41d
feat(dashboard): show source save time
happy-v587 Nov 10, 2026
38ee86a
fix(ci): restore integration contracts and pin ACP runner SDK
happy-v587 Nov 10, 2026
0965f70
fix(ci): review source save metadata compatibility
happy-v587 Nov 10, 2026
706faed
test(persistence): expect unknown save time for legacy sources
happy-v587 Nov 10, 2026
e27fca3
fix(desktop): qualify current dashboard server contract
happy-v587 Nov 10, 2026
6e7c579
fix(dashboard): preserve source preview metadata and attribution
happy-v587 Nov 10, 2026
9608296
test(handoff): isolate report query budget from background SQL
happy-v587 Nov 10, 2026
e7bd019
test(dsh): install compatible plugin in web doctor fixture
happy-v587 Nov 10, 2026
2e5b3ba
fix(dashboard): preserve exact source navigation
happy-v587 Nov 11, 2026
ea7b073
fix(topic-memory): bound related history candidates
happy-v587 Nov 12, 2026
f94a655
fix(rebase): reconcile migration manifests and upgrade review
happy-v587 Nov 12, 2026
3be6c00
chore(rebase): regenerate API models
happy-v587 Nov 12, 2026
3e32757
fix(ci): add missing license headers to dashboard templates
happy-v587 Nov 12, 2026
90ea28a
test(e2e): rewind registered schema by the whole pending chain
happy-v587 Nov 12, 2026
7408253
chore: retrigger CI
happy-v587 Nov 12, 2026
bd54aff
fix(desktop): requalify the merged Dashboard contract
happy-v587 Nov 12, 2026
c1ca71c
fix(dashboard): prefill the saved feedback reason when editing
happy-v587 Nov 12, 2026
c749213
fix(dashboard): keep failure navigation consistent with its summary
happy-v587 Nov 13, 2026
c328f92
fix(desktop): requalify the Dashboard contract on SQLite
happy-v587 Nov 13, 2026
685f4ad
fix(release): review the status-filtered processing read
happy-v587 Nov 13, 2026
4e12b39
fix(integrations): rebuild bundles for the all-history summary
happy-v587 Nov 13, 2026
5cf73ec
test(native): wait out launchd's respawn throttle in the retry test
happy-v587 Nov 13, 2026
b2be0b6
refactor(dashboard): remove ledgers and show source artifacts
happy-v587 Nov 13, 2026
8596ad4
fix(dashboard): complete source lineage views and remove stale ledger…
happy-v587 Nov 13, 2026
a377df7
refactor: separate topic memory history fix
happy-v587 Nov 13, 2026
f56630c
merge: synchronize dashboard with master
happy-v587 Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions desktop/VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2845,3 +2845,127 @@ cargo test --locked --manifest-path desktop/src-tauri/Cargo.toml \
--test session bundled_product_qualification_covers_every_desktop_operation
make contract-test
```
## Server 83bfee5d dashboard protocol qualification

`sqlite-dashboard-stats-83bfee5d-v1` qualifies all twelve declared Desktop protocol
operations, including statistics, against Server runtime sources at
`83bfee5df1177dd04012f3d73006a202983292b3`.

OpenAPI SHA-256: `36cfd6704fd7753a9893ecda9d5b10d178d21207b124528b26be29ab806a6c41`.
Wheel: `powercontext-1.5.1.dev146+g83bfee5df-py3-none-any.whl`.
Wheel SHA-256: `3c532a1cabfc8081b40dc18a09ae8a8a7d9056da2ff0e0b0393bfac7fe43982e`.

On 2026-11-06, macOS arm64, Python 3.14.7 and Rust 1.95.0 passed all four
built-wheel SQLite modes in `desktop/tests/real_server.py`: anonymous loopback,
Bearer, HTTPS with an explicit CA/base path, and injected-provider/enforced access.
The native `server_probe` was built from the matching product sources and generated
contract. Both disposable fixture qualification and normal native ConnectionManager
product qualification passed. The product run selected the checked-in record without
`ci-fixtures`, covering save/search/exact reads, Scope selection, statistics, lost
write responses without replay, identity changes, revocation and Server survival
after client exit.

All 768 packaged runtime files match the recorded Git source bytes. Evidence is
retained under ignored `desktop/.artifacts/real-server.json` and
`desktop/.artifacts/server-wheel/`; preceding local artifacts are preserved under
`desktop/.artifacts/before-dashboard-rebase-20261106/`.

Validation commands:

```bash
cargo +1.95.0 build --locked --manifest-path desktop/src-tauri/Cargo.toml --example server_probe
uv run python desktop/tests/real_server.py --product-qualification sqlite-dashboard-stats-83bfee5d-v1
cargo +1.95.0 test --locked --manifest-path desktop/src-tauri/Cargo.toml --test session bundled_product_qualification_covers_every_desktop_operation
make contract-test
```

This record covers local SQLite protocol behavior. It does not establish installed UI,
native credential persistence, Windows execution, external production acceptance or
release readiness.

## Recall ranking source snapshot protocol qualification

`sqlite-recall-2d3fea1a-v1` qualifies the twelve declared Desktop protocol operations against a disposable local runtime source snapshot at `2d3fea1a4e25ba5a35128e528aa55bf3fd88db73`. The snapshot was created from the working tree based on `625b0a64457a04470421426ad6466a5f3fbe5861`; it is not a commit on the Dashboard branch or a published release. Its source archive and Git identity are retained under ignored `desktop/.artifacts/recall-qualification-source.tar.gz` and `recall-qualification-source.json`.

OpenAPI SHA-256: `4e27882f91b1d230bd3c6d23cffcc5ae2677a498a7f13fb33f4cee254b7ae5cb`.
Wheel: `powercontext-1.5.1.dev0-py3-none-any.whl`.
Wheel SHA-256: `5feca3c799a34eb0c604c72851e086637b13a3ec98b40a9ef8df9b3a1cd12ff1`.

On 2026-11-08, macOS arm64, Python 3.14.7 and Rust 1.95.0 passed all four built-wheel SQLite modes in `desktop/tests/real_server.py`: anonymous loopback, Bearer, HTTPS with explicit CA/base path, and injected-provider/enforced access. The native `server_probe` selected the bundled product record without `ci-fixtures`. The checks cover the normal ConnectionManager, save/search/exact reads, Scope pagination, statistics, lost write responses without replay, identity changes, revocation and Server survival after client exit. All 777 packaged runtime files match the source snapshot bytes.

The recall-ranked Atomic Memory list is separately tested through its public HTTP API and Dashboard. The native Desktop probe does not exercise recall ranking. Evidence is retained under ignored `desktop/.artifacts/real-server.json` and `server-wheel/`; earlier local qualification artifacts remain under `desktop/.artifacts/before-recall-ranking-20261108-210849`.

Validation commands:

```bash
cargo +1.95.0 build --locked --manifest-path desktop/src-tauri/Cargo.toml --example server_probe
uv run python desktop/tests/real_server.py --product-qualification sqlite-recall-2d3fea1a-v1
cargo +1.95.0 test --locked --manifest-path desktop/src-tauri/Cargo.toml --test session bundled_product_qualification_covers_every_desktop_operation
make contract-test
```

These results qualify the local SQLite protocol and this source snapshot only. They do not establish installed UI, native credential persistence, Windows execution, OceanBase performance, external production acceptance or release readiness.


## Stable note counts source snapshot protocol qualification

`sqlite-counts-e6f79326-v1` qualifies the twelve declared Desktop protocol operations against the disposable local runtime snapshot `e6f793267dad95e767ab2c421c78f32a4993f496`, based on `625b0a64457a04470421426ad6466a5f3fbe5861`. The snapshot is not a commit on the Dashboard branch or a published release. Its Git identity and source archive are retained under ignored `desktop/.artifacts/stable-counts-qualification-source.json` and `stable-counts-qualification-source.tar.gz`.

OpenAPI SHA-256: `4967ac1fa8aaa603af85fa8e517a764f7c0d3f08542e4d1d163db76c41a2013a`.
Wheel: `powercontext-1.5.1.dev0-py3-none-any.whl`.
Wheel SHA-256: `34248197e2b13cee0a59c7425d66940db52569266704812f3f0781ea6910e606`.

On 2026-11-08, macOS arm64, Python 3.14.7 and Rust 1.95.0 passed all four built-wheel SQLite modes: anonymous loopback, Bearer, HTTPS with explicit CA/base path, and injected-provider/enforced access. The normal native ConnectionManager selected the checked-in product qualification without `ci-fixtures`. Native operation coverage passed, as did all 61 contract tests. All 778 packaged runtime files match the recorded snapshot bytes.

The bounded Atomic Memory identity filter and stable recall counts are separately checked through the public HTTP API and Dashboard. The native probe does not exercise those list options. Evidence is retained under ignored `desktop/.artifacts/real-server.json` and `server-wheel/`; preceding artifacts remain under `desktop/.artifacts/before-stable-counts-20261108-213554`.

```bash
cargo +1.95.0 build --locked --manifest-path desktop/src-tauri/Cargo.toml --example server_probe
uv run python desktop/tests/real_server.py --product-qualification sqlite-counts-e6f79326-v1
cargo +1.95.0 test --locked --manifest-path desktop/src-tauri/Cargo.toml --test session bundled_product_qualification_covers_every_desktop_operation
make contract-test
```

These results cover the recorded source snapshot and local SQLite protocol. Subsequent Dashboard layout and internal preparation-list filtering changes are validated separately; they are not byte-identical to this wheel. This evidence does not establish installed UI, Windows execution, native credential persistence, OceanBase performance or production release readiness.

## Server e5465878 Dashboard protocol qualification

`sqlite-dashboard-e5465878-v1` qualifies all thirteen declared Desktop protocol operations against Server commit `e54658781c0f1e340956bd82f4f7e54a0455d084`. This record includes `get_connection_identity`, which the twelve-operation stable-counts record did not qualify. Historical records retain their original operation sets and evidence. The current complete record is listed first for contract-based selection.

OpenAPI SHA-256: `9b2a59d45693226708c21405d9e30298077f0cde48edcfe5f728374e8cf02557`.
Wheel: `powercontext-1.5.2.dev11+ge54658781-py3-none-any.whl`.
Wheel SHA-256: `230c90c6c53100ace5263d47971409455d26dffe9c9f8fa53ad87109e69e0739`.
All 819 packaged runtime files match the recorded Git commit bytes, including the service bootstrap and integration lifecycle packages.

On 2026-11-10, macOS 26.5.2 arm64, Python 3.14.7 and Rust 1.95.0 passed all four built-wheel SQLite modes: anonymous loopback, Bearer, HTTPS with explicit CA/base path, and injected-provider/enforced access. The native `server_probe` used the normal ConnectionManager and this bundled product record without `ci-fixtures`. Checks cover save/search/exact reads, Scope pagination, statistics, lost write responses without replay, identity changes, revocation and Server survival after client exit. The enforced-provider case also passed scoped native authorization without Server observation permission.

Commands executed from the repository root:

```bash
uv build --cache-dir .git/pr2557-uv-cache --wheel --out-dir .git/pr2557-wheel
cargo +1.95.0 build --locked --manifest-path desktop/src-tauri/Cargo.toml --example server_probe
.venv/bin/python desktop/tests/real_server.py --product-qualification sqlite-dashboard-e5465878-v1 --wheel .git/pr2557-wheel/powercontext-1.5.2.dev11+ge54658781-py3-none-any.whl
```

The exact wheel is retained under `.git/pr2557-wheel/`; the measured report is under ignored `desktop/.artifacts/real-server.json`. The earlier report is preserved under `.git/pr2557-maintenance/real-server-before.json`. These are local protocol results against an isolated built-wheel Server. They do not establish installed UI, native credential persistence, Windows or Intel macOS execution, OceanBase behavior, external production acceptance or release readiness.

## Server 74082534 Dashboard protocol qualification

`sqlite-dashboard-74082534-v1` qualifies all thirteen declared Desktop protocol operations against Server commit `74082534e86c67dd1ea3c3fff52bbb8f1c48ea68`. The rebase onto master changed the merged HTTP contract, so this record replaces the previous digest for contract-based selection. Historical records retain their original operation sets and evidence.

OpenAPI SHA-256: `250c6be5d0b35e41eeb2d708c4dd00c36df80f4025ab7eb83a4cdb9a85ed46c3`.
Wheel: `powercontext-1.5.2.dev71+g74082534e-py3-none-any.whl`.
Wheel SHA-256: `0e610250ed08ebe73cb0309d2abb6a4e086369c2b2f38e85baa231bda772aecc`.
All 816 packaged runtime files match the recorded Git commit bytes, including the service bootstrap and integration lifecycle packages.

On 2026-11-13, macOS 26.5.2 arm64, Python 3.14.7 and Rust 1.95.0 passed all four built-wheel SQLite modes: anonymous loopback, Bearer, HTTPS with explicit CA/base path, and injected-provider/enforced access. The native `server_probe` used the normal ConnectionManager and this bundled product record without `ci-fixtures`. Checks cover save/search/exact reads, Scope pagination, statistics, lost write responses without replay, identity changes, revocation and Server survival after client exit. The enforced-provider case also passed scoped native authorization without Server observation permission.

Commands executed from the repository root:

```bash
uv build --cache-dir .git/pr2557-uv-cache --wheel --out-dir .git/pr2557-wheel
cargo +1.95.0 build --locked --manifest-path desktop/src-tauri/Cargo.toml --example server_probe
.venv/bin/python desktop/tests/real_server.py --product-qualification sqlite-dashboard-74082534-v1 --wheel .git/pr2557-wheel/powercontext-1.5.2.dev71+g74082534e-py3-none-any.whl
```

The exact wheel is retained under `.git/pr2557-wheel/`; the measured report is under ignored `desktop/.artifacts/real-server.json`. These are local protocol results against an isolated built-wheel Server. They do not establish installed UI, native credential persistence, Windows or Intel macOS execution, OceanBase behavior, external production acceptance or release readiness.
107 changes: 107 additions & 0 deletions desktop/src-tauri/src/connections/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,48 @@
[
{
"id": "sqlite-dashboard-74082534-v1",
"serverCommit": "74082534e86c67dd1ea3c3fff52bbb8f1c48ea68",
"contractSha256": "250c6be5d0b35e41eeb2d708c4dd00c36df80f4025ab7eb83a4cdb9a85ed46c3",
"artifactSha256": "0e610250ed08ebe73cb0309d2abb6a4e086369c2b2f38e85baa231bda772aecc",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-74082534-dashboard-protocol-qualification"
},
{
"id": "sqlite-dashboard-e5465878-v1",
"serverCommit": "e54658781c0f1e340956bd82f4f7e54a0455d084",
"contractSha256": "9b2a59d45693226708c21405d9e30298077f0cde48edcfe5f728374e8cf02557",
"artifactSha256": "230c90c6c53100ace5263d47971409455d26dffe9c9f8fa53ad87109e69e0739",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_connection_identity",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-e5465878-dashboard-protocol-qualification"
},
{
"id": "sqlite-6e237568-v1",
"serverCommit": "6e2375688bc38a667840c6b2dc8269d8848027bc",
Expand Down Expand Up @@ -1311,5 +1355,68 @@
"search_memory"
],
"evidence": "desktop/VALIDATION.md#task-stop-reason-merged-contract-protocol-qualification"
},
{
"id": "sqlite-dashboard-stats-83bfee5d-v1",
"serverCommit": "83bfee5df1177dd04012f3d73006a202983292b3",
"contractSha256": "36cfd6704fd7753a9893ecda9d5b10d178d21207b124528b26be29ab806a6c41",
"artifactSha256": "3c532a1cabfc8081b40dc18a09ae8a8a7d9056da2ff0e0b0393bfac7fe43982e",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#server-83bfee5d-dashboard-protocol-qualification"
},
{
"id": "sqlite-recall-2d3fea1a-v1",
"serverCommit": "2d3fea1a4e25ba5a35128e528aa55bf3fd88db73",
"contractSha256": "4e27882f91b1d230bd3c6d23cffcc5ae2677a498a7f13fb33f4cee254b7ae5cb",
"artifactSha256": "5feca3c799a34eb0c604c72851e086637b13a3ec98b40a9ef8df9b3a1cd12ff1",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#recall-ranking-source-snapshot-protocol-qualification"
},
{
"id": "sqlite-counts-e6f79326-v1",
"serverCommit": "e6f793267dad95e767ab2c421c78f32a4993f496",
"contractSha256": "9b2a59d45693226708c21405d9e30298077f0cde48edcfe5f728374e8cf02557",
"artifactSha256": "34248197e2b13cee0a59c7425d66940db52569266704812f3f0781ea6910e606",
"operations": [
"get_access_principal",
"get_artifact_revision",
"get_capabilities",
"get_default_scope",
"get_liveness",
"get_readiness",
"get_scope",
"get_server_info",
"get_stats",
"list_scopes",
"remember_memory",
"search_memory"
],
"evidence": "desktop/VALIDATION.md#stable-note-counts-source-snapshot-protocol-qualification"
}
]
6 changes: 5 additions & 1 deletion desktop/src-tauri/src/transport/operations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contractSha256": "e1ff2e3ad1d6a09a9288c4c66e111a54c4979026e29806ff70543988b8e29220",
"contractSha256": "250c6be5d0b35e41eeb2d708c4dd00c36df80f4025ab7eb83a4cdb9a85ed46c3",
"operations": {
"get_liveness": {
"method": "GET",
Expand Down Expand Up @@ -72,6 +72,10 @@
"memory.explicit": {
"major": 1,
"minor": 0
},
"memory.processing": {
"major": 1,
"minor": 0
}
},
"operationFeatures": {
Expand Down
Loading
Loading