feat(package,daemon): list registry tokens; list daemon targets
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-04 07:05:12 +03:00
1 parent 1aaece3231
commit eb35bb6b6e
11 files changed
+326 -18

No files matched your search

+2
View File
@@ -255,6 +255,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 81 (Registry Stats & Daemon `doctor`)**: added the admin `GET /api/v1/stats` endpoint (package/release/yanked/binary/user/audit counts, ETag-validated) covered in the RBAC test (admin 200 with ETag, non-admin 403). A swarm worker added the structured `doctor` daemon request (host/tool/backends JSON) with `Daemon.doctor_reports_host_tools_and_backends` (5/5 substantive tasks; build task stopped and re-run).
- **Wave 82 (Tokens Listing & Daemon `target_list`)**: added `Package::fetch_tokens` and `vbs tokens list --registry` (token id, label, user, scopes, active/revoked; the plaintext secret is never listed), covered in the CLI E2E. A swarm worker added the `target_list` daemon request (sorted name/kind/enabled with limit and member support) and its test (5/5 tasks, including its own verification).
## Remaining future scope
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Track C (macOS/Windows ports + dual-profile cross-compilation) and dedicated external editor plugins remain planned; Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement/distribution, binary-variant signing/distribution) and Track E3 daemon capabilities are implemented, and Track E4 now uses `Void::Net` for the registry client/server and remote cache plus `Void::Sqlite` for the StateStore when available.
+1
View File
@@ -85,4 +85,5 @@ Base HEAD: `fe0d1a6`
| Wave 79 (Registry metadata PATCH + workspace_info) | `PATCH /api/v1/packages/<name>` for description/private (audited); swarm added daemon `workspace_info` | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 8/8, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| Wave 80 (Watch prefix + registry OPTIONS) | daemon watch `prefix` filter retaining non-matching events; swarm added registry OPTIONS 204 + Allow | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 9/9, Daemon suite passes, full CTest 8/8) | `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `registry/service/RegistryService.cpp`, `tests/{DaemonTests,RegistryTests}.cpp`, docs |
| Wave 81 (Registry stats + daemon doctor) | admin `GET /api/v1/stats` with ETag; swarm added daemon `doctor` diagnostics | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 9/9, Daemon suite passes, full CTest 8/8) | `registry/service/RegistryService.cpp`, `src/Daemon/Daemon.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, docs |
| Wave 82 (Tokens list + target_list) | `fetch_tokens`/`vbs tokens list`; swarm added daemon `target_list` | COMPLETE & VERIFIED (GCC 16.2, pin `0002e74`; Registry 9/9, Daemon suite passes, full CTest 8/8) | `include/Void/Build/Package/RegistryClient.hpp`, `src/Package/RegistryClient.cpp`, `src/Daemon/Daemon.cpp`, `src/Main.cpp`, `tests/{RegistryTests,DaemonTests}.cpp`, `tests/CliContracts.cmake`, docs |
| Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) |
+8
View File
@@ -1235,6 +1235,14 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
`Daemon.doctor_reports_host_tools_and_backends` passes (19 ms).
- Registry suite: **9 / 9 passed** (11.76 s); full CTest: **8 / 8 passed** in 256.63 s.
## Tokens Listing & Daemon `target_list` (GCC 16.2, pin `0002e74`)
- `vbs tokens list --registry ... --token-env ...` prints the caller's token metadata (`ci_pub`,
`active`) and never the plaintext secret (live E2E).
- Swarm `swarm_mx8g40db_mi02` (one worker) added the daemon `target_list` request and its test,
completing its own verification (5/5 tasks); `target_list_reports_targets` passes (2.48 s).
- Registry suite: **9 / 9 passed** (12.02 s); full CTest: **8 / 8 passed** in 262.80 s.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).