Add ALD Transition Console preview and Astra lab build workflow

This commit is contained in:
scandalist-trash committed 2026-10-27 10:50:43 -04:00
1 parent f330a3c00a
commit e5c6a2fc0e
199 files changed
+9866

No files matched your search

+76
View File
@@ -0,0 +1,76 @@
# Local verification — 2026-10-27
The application and temporary executor **build successfully on Kali 2026.3**
with GCC 16.2.0, CMake 4.3.4 and Qt 5.15.19. All four CTest suites pass. This is
a development build, not a validated Astra package or an ALD migration result.
No Astra/Windows laboratory or real-infrastructure change was involved.
## Executed checks
| Check | Actual result | Limit |
|---|---|---|
| CMake configure/build | PASS; `build/ald-transition-console`, `build/ald-transition-executor` | Kali toolchain; not an Astra binary |
| CTest: rules, storage, runtime, ui | 4/4 PASS | Local fixtures and owned read-only child processes |
| Portable production rules, ASan/UBSan, warnings as errors | 40,457 assertions PASS, including 1,000 seeded chunk/DAG trials | LeakSanitizer disabled under the managed sandbox |
| Schemas, manifests and data | PASS: 26 resources, 23 source references, 40 cards, 17 checklist items | Hashes do not establish vendor support |
| Qt DEMO startup, capture, normal shutdown | PASS at 100/150/200% | Real C++ binary, Qt offscreen platform |
| Ten-page keyboard navigation at 1024×768 logical pixels | PASS at 100/150/200%; primary actions remain inside their pages | Offscreen event delivery; not a screen-reader audit |
| Project reopen and checklist export | PASS; manual history persists, JSON matches schema, migration remains BLOCKED | Synthetic data |
| Rendered interface | Screenshots inspected at normal/high scale; navigation wrapping and port-field height corrected | Live Windows/Astra states not exercised |
| X11/Xvfb | NOT VERIFIED: local X server failed to create listening sockets; xdpyinfo also failed | xcb linked dependencies are present; no desktop success claimed |
| Release gate | PASS: still refuses unvalidated Astra lock | No deployable `.deb` produced |
| Astra handoff script | Fresh configure/build and 4/4 tests PASS; missing-tools case exits 1 and produces a failure report archive | Script exercised on Kali; actual Astra run pending |
Machine-readable evidence: [local-check-results.json](local-check-results.json),
[gui-smoke-results.json](gui-smoke-results.json),
[gui-xcb-result.json](gui-xcb-result.json), and
[development-environment.json](development-environment.json).
Reproduce:
```sh
python3 tools/validate_local.py
python3 tools/check_gui.py
```
`check_gui.py` launches the actual application and Qt UI tests, saves screenshots
under `artifacts/screenshots`, verifies their pixel sizes and waits for normal
process exit. It never connects to an AD/ALD host. Its synthetic project and UI
preferences use temporary private directories. `--portable-only` remains
available for deliberately excluding the Qt build/tests.
## Defects found by the first full build
- Added the missing QVariant include and disambiguated QVector aggregate append.
- Finished PRAGMA result sets before SQLite schema commit; the active statements
had prevented initial project creation.
- Bound absent log context as empty strings instead of SQL NULL. Startup log
insertion now satisfies the schema and has a regression test.
- Wrapped sidebar labels using actual font/viewport measurements, retained full
labels and tooltips, and made the port editor meet the control-height baseline.
## Required acceptance coverage
| Requirement | Local evidence | Remaining validation |
|---|---|---|
| 1. Native failure/postcondition cannot produce success | Portable and actual ProcessRunner/PlanExecutor tests pass | Vendor operation postconditions |
| 2. Same-name migration stays blocked; discovery usable | Portable gate, DEMO and import checks pass | Verified transition procedure |
| 3. Degraded/unknown does not imply clean installation | Role rules and initialization planner tests pass | Astra role/configuration discovery |
| 4. Windows 2025 SSH is separate from ALD integration | Independent immutable capability state in source | Actual Server 2025 VM |
| 5. Lost connection requires reconciliation | Portable result tests; no automatic write retry; close warning implemented | Controlled remote disconnect |
| 6–7. Preserve existing access / detect external edits | Ownership and conflict tests pass | Native restore adapters are not implemented |
| 8. Split secrets are not leaked | Portable split/overlap bounds and Qt UTF-8 decoder tests pass | No guarantee for unknown secrets in arbitrary notes |
| 9. Stable identity across rename | Portable keys and Qt mapping collision tests pass | Real identity/permission migration |
| 10. Manual PASS cannot override technical gates | Qt checklist and project-reopen tests pass | Mandatory migration capabilities remain unresolved |
| 11. Close owns its local work | Local process cancellation and DEMO normal exit pass | Root IPC and remote-process lifecycle |
| 12. Offline failures are specific | Missing-tool, bundle traversal/hash rejection tests pass | Vendor/offline software artifact handling |
| 13. Motion/Cyrillic/keyboard/DPI | Qt offscreen tests and inspected images at 100/150/200% | Desktop keyboard focus, screen reader, high-contrast theme |
| 14. Idempotence classification | Profile ownership/comparison tests pass | Native configuration writers disabled |
| 15. Context changes invalidate plans | Portable digest/revision gates and storage history tests pass | Larger live inventory and source/profile update scenarios |
Database schema version 3 and crash-recovery marking are exercised locally.
Disk-full, interrupted multi-document transactions, root helper peer validation,
large inventories and real network failures still need dedicated fault injection.
Follow [integration/README.md](../tests/integration/README.md) on explicitly
approved VMs. ALD promotion, migration, continuity, policy writes, decommissioning,
Astra package install/uninstall and domain service health remain NOT TESTED.