You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Task1111: Command Center, curated project images and reviewed showcase publishing - #161
Prerequisite #160 is merged as 91e0bb348e92918b1900658c77376e1b13e7fc7d.
This PR targets main; normal integration commit 27615fa1 preserves the
original Task1111 commits without rewriting them. Final reviewed head: e0f89a35b2243f93f4cf8a6cf1ee4b8e1c0c2795.
The change is 38 files, 2,732 additions and 86 deletions. The original dirty
workspace is not this publication branch. No protected course verifier or
shared-lesson gate is reverted or bypassed.
Changes
Rename visible desktop UI to Command Center / Workstation & AI control
and read-only mobile UI to Remote Dashboard, preserving filenames,
routes, authorization, ports, tasks and state names.
Add explicit offscreen native screenshots and sanitized passive mobile
captures. Reclaim11 previews collect no inventory and have no repair handlers.
Honor explicit browser selection; captures are not readiness certificates.
Reuse a private native monitor session with a topology-checked 30-second
capability cache. Advertised read failures invalidate it; unsupported controls
do not. Keep serialized writes, verified readback, range gates and no replay.
Add hash-bound local project/image catalogs, manual builder selection,
fresh saved-preview images without regeneration, and source-bound static
export. Image clients use a separate two-input nonqualifying browser
profile. Reject hidden, clipped and off-page covers without rejecting
valid below-fold images.
Reuse one bounded, single-flight validated catalog snapshot in the dashboard.
Check file/directory identity, size and nanosecond modification/change times
on requests; invalidate on changes, missing paths or links. Evaluation and
export keep independent uncached admission checks.
Add native CPU-only FFmpeg/libwebp preparation, a static gallery,
transactional catalog refresh and exact-batch review-gated publication.
Validate every destination and the existing remote base, disable tag
following, bind exact paths/bytes/tree/base, and recover the same commit
after interrupted commit/push/readback. Obsolete previously managed images
are explicit old-SHA/base-blob-bound deletions; unrelated files survive.
Add scoped hosted Windows validation with actual disposable Mongo, native
production linking, offline monitor/showcase/mobile and native Desk UI gates.
Native mobile authorization/readiness and offline browser/capture tests
Pass; 2/2 offline browser tests
Command Center native STA UI, hotkeys, async/busy/failure and invalid-settings capture
Pass; no action/status probes
Scoped PowerShell parsing and whitespace
Pass
The separate opt-in live mobile transport fixture was intentionally skipped.
Local affected catalog/dashboard/browser/export tests also passed 35/35.
Earlier six-image gallery and portfolio-theme checks retain their scoped local
evidence. The nine failures from the older dirty workspace are not present on
this branch; merged prerequisite fixes are preserved.
Review repairs and remaining boundary
All ten formal findings have passing regressions and resolved threads.
Two additional advisory findings (quadratic catalog reads and retained obsolete
screenshots) were reproduced and repaired too. The fresh exact-head Copilot review
reports no open issues. GitHub review state is COMMENTED, not a formal
approval.
The review still identifies a validation limit: synthetic tests do not establish
real monitor-handle lifetime and timeout behavior during Windows display-topology
changes or delayed driver I/O. No real monitor writes/topology stress,
live model generation, training resume, live-host deployment or host repairs
were performed. Prior passive timing (3810 ms first, then 156/156 ms) is not
an Apply/write benchmark.
No private screenshots/batches, logs, model files, generated binaries or unrelated
AirPlay/ClipShare/consulting changes are committed. This PR remains unmerged
and does not approve or publish the separate portfolio batch. Publication
still requires the operator's sanitized-image review and exact approval hash;
local preview is not deployed-page proof.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The publishing guard can allow pushes to unapproved destinations, and unresolved defects also affect publication recovery, private-path exposure, and image validation.
Task1111 builds on #160 to add curated project images and review-gated showcase publishing to the existing desktop controls and manual website builder. Merge #160 first, then retarget this PR to main; this PR does not approve or deploy a portfolio batch.
Changes:
Rename visible interfaces to Command Center and Remote Dashboard, add sanitized captures, and reuse native monitor sessions.
Add hash-checked image catalogs, manual project selection, refreshed saved previews, and nonqualifying browser evaluation with static export.
Add CPU image preparation, a static gallery, exact-batch publishing approval, documentation, and scoped CI checks.
File
Description
scripts/Test-Showcase.ps1
Tests publication guards and failure handling against local bare Git.
scripts/Test-PhoneDesk.ps1
Checks the Remote Dashboard title.
scripts/Test-DeskMonitor.ps1
Tests invalid session requests and framing recovery.
scripts/Test-DeskMenu.ps1
Updates naming assertions and capture-aware UI smoke tests.
scripts/Show-DeskMenu.ps1
Adds Command Center naming, sanitized captures, and monitor-session reuse.
scripts/Refresh-Showcase.ps1
Coordinates captures, encoding, validation, and catalog replacement.
scripts/Publish-Showcase.ps1
Stages and publishes hash-bound, explicitly approved batches.
scripts/GodBrain-DeskMonitor.ps1
Manages the reusable native monitor child process.
scripts/Capture-Reclaim11Gui.ps1
Adds offscreen public previews without inventory collection.
scripts/Build-Showcase.ps1
Builds and self-tests the native image preparer.
README.md
Updates desktop and mobile interface names.
godbrain_core/skill_lab/README.md
Documents image selection, evaluation, previews, and export.
godbrain_core/skill_lab/project-browser.mjs
Adds isolated browser evaluation for image-based client builds.
godbrain_core/skill_lab/project-assets.test.mjs
Covers catalogs, selections, previews, evaluation, and export.
godbrain_core/skill_lab/project-assets.mjs
Validates catalogs and serves selected hash-bound raster assets.
godbrain_core/skill_lab/objectives.mjs
Preserves image selections and rejects course qualification.
godbrain_core/skill_lab/gym.mjs
Routes image clients to their separate evaluator.
godbrain_core/skill_lab/gym-core.mjs
Records selected projects and the image-client profile.
godbrain_core/skill_lab/export-project-site.mjs
Revalidates source and assets before static export.
godbrain_core/skill_lab/dashboard/dashboard.js
Adds catalog refresh and manual project selection.
Preserve the five Task1111 commits while incorporating the verified prerequisite repairs and merge ancestry without rewriting history.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Image requests cause quadratic catalog-reading and hashing overhead, while publishing leaves removed screenshots tracked and publicly reachable at their old URLs.
No open issues 🎉
2 previously missed issues
In code that hasn't changed since last review
Avoid rehashing the full image catalog for every image request
godbrain_core/skill_lab/dashboard.mjs:387
Each image GET calls loadProjectCatalog, which reads and hashes every image in the catalog before selecting this one asset. Six image requests therefore perform 36 full image reads; at the supported 128-image/32 MiB catalog limit, loading one preview can reread and hash 4 GiB. Reuse a validated catalog/asset snapshot across requests, with invalidation when the catalog or its assets change, so fresh-preview behavior and rejection of stale URLs are preserved without this quadratic I/O.
Remove obsolete managed screenshots from the publishing checkout
scripts/Publish-Showcase.ps1:191
When a later catalog drops an image (for example, removing CMDMODELS from projects.json), that screenshot disappears from the new batch and preview but remains tracked under projects/assets in the publishing checkout. This allowlist stages only current manifest paths, so the subsequent commit leaves the removed screenshot publicly reachable at its old URL. Reconcile previously managed showcase files against the new manifest and include obsolete files as explicitly reviewed, hash-bound deletions, while preserving unrelated portfolio files.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Persistent monitor handles span hardware-write requests, and synthetic fixtures cannot establish safe handle lifetimes and timeout cleanup during real Windows display-topology changes or delayed driver I/O, so targeted native/hardware validation is needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope and merge order
Prerequisite #160 is merged as
91e0bb348e92918b1900658c77376e1b13e7fc7d.This PR targets
main; normal integration commit27615fa1preserves theoriginal Task1111 commits without rewriting them. Final reviewed head:
e0f89a35b2243f93f4cf8a6cf1ee4b8e1c0c2795.The change is 38 files, 2,732 additions and 86 deletions. The original dirty
workspace is not this publication branch. No protected course verifier or
shared-lesson gate is reverted or bypassed.
Changes
and read-only mobile UI to Remote Dashboard, preserving filenames,
routes, authorization, ports, tasks and state names.
captures. Reclaim11 previews collect no inventory and have no repair handlers.
Honor explicit browser selection; captures are not readiness certificates.
capability cache. Advertised read failures invalidate it; unsupported controls
do not. Keep serialized writes, verified readback, range gates and no replay.
fresh saved-preview images without regeneration, and source-bound static
export. Image clients use a separate two-input nonqualifying browser
profile. Reject hidden, clipped and off-page covers without rejecting
valid below-fold images.
Check file/directory identity, size and nanosecond modification/change times
on requests; invalidate on changes, missing paths or links. Evaluation and
export keep independent uncached admission checks.
transactional catalog refresh and exact-batch review-gated publication.
Validate every destination and the existing remote base, disable tag
following, bind exact paths/bytes/tree/base, and recover the same commit
after interrupted commit/push/readback. Obsolete previously managed images
are explicit old-SHA/base-blob-bound deletions; unrelated files survive.
production linking, offline monitor/showcase/mobile and native Desk UI gates.
Validation
Final exact-head Windows run 41604610998
passed on
e0f89a3:The separate opt-in live mobile transport fixture was intentionally skipped.
Local affected catalog/dashboard/browser/export tests also passed 35/35.
Earlier six-image gallery and portfolio-theme checks retain their scoped local
evidence. The nine failures from the older dirty workspace are not present on
this branch; merged prerequisite fixes are preserved.
Review repairs and remaining boundary
All ten formal findings have passing regressions and resolved threads.
Two additional advisory findings (quadratic catalog reads and retained obsolete
screenshots) were reproduced and repaired too. The fresh exact-head
Copilot review
reports no open issues. GitHub review state is
COMMENTED, not a formalapproval.
The review still identifies a validation limit: synthetic tests do not establish
real monitor-handle lifetime and timeout behavior during Windows display-topology
changes or delayed driver I/O. No real monitor writes/topology stress,
live model generation, training resume, live-host deployment or host repairs
were performed. Prior passive timing (3810 ms first, then 156/156 ms) is not
an Apply/write benchmark.
No private screenshots/batches, logs, model files, generated binaries or unrelated
AirPlay/ClipShare/consulting changes are committed. This PR remains unmerged
and does not approve or publish the separate portfolio batch. Publication
still requires the operator's sanitized-image review and exact approval hash;
local preview is not deployed-page proof.