Restructure ARNavi contour UX and expose project-scoped VPS inventory
Device Core qualification / qualify (push) Successful in 7m42s

This commit is contained in:
DCCONSTRUCTIONS
2026-09-30 19:35:18 +03:00
parent 1bf3ee6d41
commit c0487ca17b
17 changed files with 508 additions and 388 deletions
+33 -2
View File
@@ -21,10 +21,11 @@ initiates all HTTPS requests; this integration adds no inbound Synology port.
3. The server validates that credential against the pinned host before saving
it in a separate private persistent filesystem mount. No secret goes into
project tables, audit payloads, browser storage, Git or deployment artifacts.
4. In Contours and projects, create a contour on the VPS and explicitly link it
4. In VPS settings → Contours, create a contour on the VPS and explicitly link it
to an accessible project of the same company. Linking another project adds
a view of the same host there. It does not duplicate the remote VPS or key.
5. In Applications and keys, create an application for a selected contour.
5. Open that contour, then add an application inside its Applications list.
Open the application to manage its keys.
Issue its key, copy the JSON package and transfer it to that application's backend.
Copy was verified; the download button is implemented but its in-app-browser
download event was not confirmed. The canonical VPS CLI also writes a private
@@ -148,3 +149,33 @@ did not expose the missing dependency in Core's standalone package-lock. r17
fixes that lock and qualifies the exact production npm context inside the
existing device-install CI stage. The separate r15 Gitea artifact-finalization
error and permanent build-output capture remain open CI follow-ups.
## UX correction after live operator review, 2026-09-30
The r18 functional checks did not establish usability. The next source revision
uses the Design Guidelines ResourceList/ResourceRow and existing settings window:
VPS → contour → applications → application keys. Project assignment is a separate
named relation on the contour. New-object forms appear only after the contextual
plus; revoked keys and applications with only revoked credentials are collapsed.
No duplicate refresh/back controls remain inside host monitoring; Back is a main
window utility beside Refresh. Switching project preserves the open section and
clears its selected object; late responses from the previous project are ignored.
The project inventory reads linked VPS contours through the B2 backend, alongside
the legacy Core registry. It releases its DB transaction before network requests,
checks the remote host identity, masks identifiers and reports each unreachable
host explicitly. A registered/enabled B2 is not labelled online without telemetry.
API availability and hardware metrics are separate: hardware metrics are currently
not connected for the standalone ARNavi service. Full command/SIM/firmware parity
remains open; registration in the list does not imply that parity.
Legacy device and host archive/restore are explicit modes of the existing
`device.update` and `infrastructure_host.ensure` command contracts. They retain
identity, history, bindings and secrets, use existing project capability checks
and audited/idempotent receipts, and require no schema or runner change. Device
archival refuses a live session. The UI exposes Archive and Restore; suspended
records stay out of default lists. No physical tracker operation is sent.
Local validation: 282 Node tests; TypeScript/build; 27 CI contract tests. Production
acceptance and the actual cleanup are recorded separately after the main pipeline
accepts the new release; these source checks alone do not prove deployment.