feat(package,daemon): revoke registry tokens; allow daemon deps updates
This commit is contained in:
1 parent
eb35bb6b6e
commit
c7d2662cf2
11 files changed
+309
-13
No files matched your search
@@ -257,6 +257,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
|
||||
- **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).
|
||||
|
||||
- **Wave 83 (Token Revocation & Daemon `deps --update`)**: added `Package::revoke_token` and `vbs tokens revoke --registry --token-id`, with a CLI E2E that revokes a second token and observes it as revoked in the listing. A swarm worker added an `update` boolean to the daemon `deps` request (allow compatible upgrades) with validation and plumbing tests (5/5 substantive tasks; build task stopped and re-run).
|
||||
|
||||
## 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.
|
||||
@@ -86,4 +86,5 @@ Base HEAD: `fe0d1a6`
|
||||
| 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 |
|
||||
| Wave 83 (Tokens revoke + deps update) | `revoke_token`/`vbs tokens revoke`; swarm added daemon `deps` `update` flag | 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) |
|
||||
@@ -1243,6 +1243,15 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
|
||||
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.
|
||||
|
||||
## Token Revocation & Daemon `deps --update` (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `vbs tokens revoke --token-id <id>` revokes a second token and a following `vbs tokens list`
|
||||
shows it as `revoked` (live E2E, never printing the secret).
|
||||
- Swarm `swarm_mx8goqcn_4gdb` (one worker) added the `deps` `update` flag with validation and
|
||||
plumbing tests (5/5 substantive tasks; build task stopped and re-run by the orchestrator);
|
||||
`build_materializes_path_dependency` passes (4.68 s).
|
||||
- Registry suite: **9 / 9 passed** (11.47 s); full CTest: **8 / 8 passed** in 268.05 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).
|
||||
|
||||
Reference in new issue
Block a user