Skip to content

Task1111: Command Center, curated project images and reviewed showcase publishing - #161

Merged
usrname1git merged 15 commits into
mainfrom
feat/task1111-command-center-showcase-20261103
Nov 3, 2026
Merged

usrname1git merged 15 commits into
mainfrom
feat/task1111-command-center-showcase-20261103

Conversation

@usrname1git

@usrname1git usrname1git commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Scope and merge order

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.

Validation

Final exact-head Windows run 41604610998
passed on e0f89a3:

Check Result
Full lab suite with actual disposable Mongo 169/169 pass, zero failures or skips
Native production link and kernel reply fixtures Pass
Native monitor/showcase builds and offline failure/range/readback tests Pass; no real monitor access
Synthetic publisher destination/history/tag/deletion/tamper/recovery tests Pass; local bare Git only
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.

Autismo and others added 5 commits November 3, 2026 07:49
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…xport

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ion review

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 3, 2026 06:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

5 open issues
1 file not reviewed
  • godbrain_core/showcase/gallery.css: Generated file
What changed in this PR

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.
godbrain_core/​skill_lab/​dashboard/​dashboard.html Adds optional project-image controls.
godbrain_core/​skill_lab/​dashboard.mjs Serves catalogs and refreshes saved-preview image props.
godbrain_core/​skill_lab/​coach.mjs Carries selected projects through builds and alternatives.
godbrain_core/​showcase/​showcase.test.mjs Checks gallery images, layouts, search, zoom, themes, and print.
godbrain_core/​showcase/​projects.json Defines project metadata and named screenshot slots.
godbrain_core/​showcase/​index.html Adds the static gallery page.
godbrain_core/​showcase/​gallery.js Implements catalog rendering, search, and image zoom.
godbrain_core/​showcase/​gallery.css Styles responsive, themed, and printable gallery views.
godbrain_core/​frontend/​phone.test.mjs Tests renamed mobile labels and browser override support.
godbrain_core/​frontend/​phone.html Renames the mobile interface to Remote Dashboard.
godbrain_core/​frontend/​capture-phone.mjs Captures sanitized authenticated passive status.
godbrain_core/​cpp_tools/​showcase.cpp Encodes WebP images and creates hash-bound batch manifests.
godbrain_core/​cpp_tools/​desk_monitor.cpp Adds session mode and topology-checked capability caching.
godbrain_core/​cpp_kernel/​phone_desk.cpp Updates user-facing dashboard strings.
docs/​Task1111.md Documents the capture, review, export, and publishing workflow.
docs/​phone-control.md Updates mobile terminology while preserving existing anchors.
docs/​desk-menu.md Documents renamed controls and monitor-session behavior.
.github/​workflows/​desk-and-gym.yml Enables stacked-PR checks and adds scoped native/mobile validation.

Review effort: Balanced

Comment thread scripts/Publish-Showcase.ps1 Resolved
Comment thread scripts/Publish-Showcase.ps1 Resolved
Comment thread scripts/Show-DeskMenu.ps1 Resolved
Base automatically changed from feat/desk-inspection-builder-lessons-20261101 to main November 3, 2026 07:33
Autismo and others added 4 commits November 3, 2026 08:34
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>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread scripts/Publish-Showcase.ps1 Resolved
Comment thread scripts/Publish-Showcase.ps1 Resolved
Autismo and others added 4 commits November 3, 2026 09:18
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Medium severity 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.

Medium severity 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.

5 resolved since last review
1 file not reviewed
  • godbrain_core/showcase/gallery.css: Generated file

Review effort: Balanced

Autismo and others added 2 commits November 3, 2026 09:36
…ests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

No open issues 🎉

1 file not reviewed
  • godbrain_core/showcase/gallery.css: Generated file

Review effort: Balanced

@usrname1git
usrname1git merged commit a40d979 into main Nov 3, 2026
2 checks passed
@usrname1git
usrname1git deleted the feat/task1111-command-center-showcase-20261103 branch November 3, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants