Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3e69ec2
feat(observability): add managed monitoring stack and diagnostics
happy-v587 Oct 22, 2026
8c44446
fix(ci): check observability resource licenses
happy-v587 Nov 2, 2026
5fa867f
fix(ci): keep OTLP checks optional after master rebase
happy-v587 Nov 2, 2026
fdb7b1a
fix(ci): align observability fixtures and worker diagnostics
happy-v587 Nov 3, 2026
3489cd7
test(zcode): verify durable pause after scope timeout
happy-v587 Nov 3, 2026
2ee2cbb
fix(packaging): declare psutil as a server dependency
happy-v587 Nov 3, 2026
03efa42
fix(observability): repair reference demo signal correlation
happy-v587 Nov 3, 2026
9dfd1be
fix(observability): color status output and send valid TraceQL explor…
happy-v587 Nov 3, 2026
e319e85
fix(observability): reject log-specific exporter overrides
happy-v587 Nov 3, 2026
01ebe73
fix(ci): retry busy macOS image detach failures
happy-v587 Nov 3, 2026
a60e8e2
test(zcode): allow bounded initial recall timeouts
happy-v587 Nov 3, 2026
5eebbb6
fix(runtime): retain failure evidence across policy blocks
happy-v587 Nov 4, 2026
f999706
fix(ci): qualify merged ownership and observability contracts
happy-v587 Nov 4, 2026
8fa87c4
docs(desktop): record merged source evidence qualification
happy-v587 Nov 4, 2026
f969713
test(logging): accept declared service owner identity
happy-v587 Nov 4, 2026
e60384d
fix(ci): budget complete backend acceptance lifecycles
happy-v587 Nov 4, 2026
23bbf41
test(ci): isolate nested pytest runtime options
happy-v587 Nov 4, 2026
75239cf
chore(desktop): regenerate statistics observation bindings
happy-v587 Nov 4, 2026
581cf26
fix(desktop): accept optional statistics observations
happy-v587 Nov 4, 2026
e4d5e87
test(desktop): qualify combined statistics protocol
happy-v587 Nov 4, 2026
01dd266
docs(desktop): record statistics product qualification
happy-v587 Nov 4, 2026
63755a0
fix(ci): budget OceanBase clean migration lifecycles
happy-v587 Nov 4, 2026
06cff31
merge: sync master and preserve macOS DMG diagnostics
happy-v587 Nov 5, 2026
2722e8f
fix(ci): isolate macOS build retry fixtures after master sync
happy-v587 Nov 5, 2026
5e85e0f
merge: sync master and unify migration test budgets
happy-v587 Nov 5, 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
Prev Previous commit
Next Next commit
docs(desktop): record statistics product qualification
  • Loading branch information
happy-v587 committed Nov 4, 2026
commit 01dd266b2b0ec8141228250d02a4d32e1cd2acf1
55 changes: 53 additions & 2 deletions desktop/VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ The historical Server c535d816 protocol qualification below records the specific

## Compatibility scope

`sqlite-observability-4568b499-v1` matches the bundled API contract and records the local
SQLite protocol qualification for its exact Server source and wheel below.
`sqlite-observability-stats-4568b499-v1` matches the bundled API contract and qualifies
all twelve operations, including statistics, for its exact Server source and wheel below.
The separate `sqlite-observability-4568b499-v1` retains its eleven-operation evidence.

[compatibility.json](src-tauri/src/connections/compatibility.json) preserves each recorded Server source, normalized OpenAPI contract digest, qualification-wheel digest and operation set. Historical records retain their exact identities and evidence. A record qualifies only its recorded Server source, wheel and contract; records with a different contract digest are disabled in the selector. Saved unavailable selections remain visible until explicitly replaced. Selecting a profile does not extend its recorded operation set or qualify a different Server source. CI builds have their own artifact identities and do not change product qualification.

Expand All @@ -190,6 +191,56 @@ Selecting a compatibility profile does not attest the remote binary identity. Ex

### Current-Scope statistics qualification

#### Server 4568b499 statistics product qualification

`sqlite-observability-stats-4568b499-v1` qualifies all twelve Desktop operations,
including `get_stats` and discovery, against Server source
`4568b4999f2a69350d00dabd4f1414ac9776c737`.
Normalized OpenAPI SHA-256:
`de74d806343998bae877effb732b1606b3eb27ee9c31fbc39509ee3937fa2a4a`.
Wheel: `powercontext-1.4.2.dev238+g4568b4999-py3-none-any.whl`.
Wheel SHA-256: `5c11517fc8966fe34e953adedb370ef270595da1b0c37a2efd941f8b589ea563`.
All 736 packaged runtime files match this Server source byte for byte, and the
combined Desktop checkout has no changes to those runtime sources.

On 2026-11-05, macOS 26.5.2 ARM64, Python 3.11.15 and Rust 1.95.0 passed all four
built-wheel SQLite modes: anonymous loopback, static Bearer loopback, explicit-CA
HTTPS with a base path, and enforced authentication Provider. The default native
probe, built without `ci-fixtures`, ran from clean Desktop commit
`e4d5e873c42cf160d9233a74a3d2d5a9da1524a6`. It selected the checked-in record
through ordinary `ConnectionManager::new` profile checking, activation and
exact-Scope selection. The report confirms `qualificationSource: bundled product records`
and the exact qualification ID. An independent disposable fixture run at clean
Desktop commit `581cf26bfe1125cba34e20cb165901d98de5f5eb` passed the same modes.

Statistics reads cover empty and persisted inventory, UTC today/7d/30d,
zero-filled and partial token reports, Scope isolation and permission revocation.
The exact-Scope adapter accepts the contract's optional `processing` and
`bootstrap_delivery` fields while retaining null estimator handling and selection
validation. A public manager regression reproduced `InvalidResponse` before this
adapter repair and passes after it. Partial usage is explicit Runtime-recorder
fixture input; it is not a real model-provider invocation. The probe also verifies
independent Memory operations, identity changes, lost write responses without
replay, pagination and Server survival after client exit.

```sh
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-observability-stats-4568b499-v1
cargo +1.95.0 test --locked --manifest-path desktop/src-tauri/Cargo.toml --lib --tests
```

The matching-digest product gate failed with only eleven-operation records and
passes with this separate record. All 46 master records and all 42 prior feature
records retain their exact source, contract, wheel and operation identities.
The native suite passed 133 tests with two explicit ignores; all seven statistics
tests and all 183 frontend tests passed. Type checking, Clippy, Rust formatting,
generated IPC checks and all 62 API/Desktop contract tests passed. Local reports
are retained under ignored `desktop/.artifacts/real-server.json`,
`desktop/.artifacts/stats-fixture-581cf26b.json` and `desktop/.artifacts/server-wheel/`.
These results establish the local native/SQLite protocol. Installed UI, native
credentials, Windows execution, external production deployments and release
acceptance require separate evidence. Discovery does not attest remote binary identity.

#### Server 63e9665c statistics product qualification

`sqlite-stats-63e9665c-v1` qualifies all twelve Desktop operations, including
Expand Down
Loading