Skip to content

feat: add default Space Team view and agent detail - #103

Merged
entelecheia merged 9 commits into
mainfrom
feat/101-space-team
Nov 10, 2026
Merged

entelecheia merged 9 commits into
mainfrom
feat/101-space-team

Conversation

@entelecheia

@entelecheia entelecheia commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Space now opens on Team unless the route or a saved view choice selects another section. Team puts blocked, waiting and approval-holding actors under Needs attention, then shows grouped active tiles and collapsed idle/away agents. Each tile keeps the public name, 40 px pet, roles, state glyph/text, two-line task title and inbox/approval badges. Room keeps its existing roster and scene controls.

Agent detail uses actor=, opens from Team or Room by keyboard/click, and uses a side sheet at 1024 px and wider or a full page below. It shows source-owned group/roles/state/since, current task with its producer link, marks and current overlap/conflict/cohort partners. Interactions explicitly says history appears once observed; no activity buffer is added. Open in follows the actor's existing link. Escape/Back closes an invoked detail through history and restores its actor focus and scroll; direct unknown keys show a cause and next step. Detail traps Tab and makes its Space background inert while open. Unchanged public snapshots do no Team/detail DOM writes. Changed snapshots retain focus by distinct stable keys for detail Back/task/Open-in controls and Team attention/tile/shortcut/resting controls. A removed detail control falls back to Back; Tab recovers focus from body after focus loss, while native dialogs and controls outside actor detail retain keyboard ownership. Closed resting disclosures receive focus on their visible summary instead of a hidden actor tile; removed controls fall back to the Space section tab. Failed first-poll sources are settled, so the existing failed/stale notice and unknown actor/group remedies replace indefinite waiting.

Carried PR 1 fixes:

  • Unknown-group notices wait until every source has reported a scene; groups stay bounded per tool instead of cutting a combined list and turning cut identities into ungrouped content.
  • Hidden Room content skips scene rendering and WebGL initialization; leaving Room or Space suspends an existing WebGL renderer. Internal Space routes preserve polling deadlines and do not force a re-poll.
  • Clear-filter naming includes the visible project count. The sub-toggle is named Scene style, with individually disambiguated accessible names.
  • Persistence coverage reloads without view in the URL. Existing scene/view/motion browser journeys explicitly choose Room, and a new Team/detail journey covers both themes, compact/wide keyboard returns and unchanged writes. These browser probes are added but unexecuted. Team coverage includes 375/768/1024/1440 px, both themes and 100%/200% text; detail covers 375/1440 px in both themes/text sizes. Attention rows have their own wide/mobile grid placement, and resting summaries group idle/away names once per state.

The new private space-team.js file is included in the existing trusted H1 shell file map and H2 static package. No contract change, runtime dependency, authority-bearing state, Flow buffer, Board content, Room refit or producer change. README/CHANGELOG updated; docs/verified.json untouched.

Refs #101, Delivery 2 only. Later deliveries finish Flow, Board and Room refit.

Validation at d2e3284, based on main 83b835b:

  • Local light checks: bun test test/design-guard.test.ts test/space*.test.ts test/public.test.ts, 47 pass, 0 fail. Tests exercise real Team/detail source through a small DOM seam, including unchanged delivery, exact actor/card/partner identity, modal return/focus, changed-snapshot control retention (including duplicate attention/tile actors and shortcuts), removed-detail-control fallback, Tab recovery from body, native palette key ownership, active-to-resting summary focus during update and detail close, failed-source settling, loading notices, per-source groups, no hidden Room initialization and internal-route polling deadlines. H1 serving of the new file is tested.
  • boundary: ok; readme-facts: ok; JS syntax and git diff --check pass.
  • Full frozen install/check including N-1 compatibility is delegated to hosted ubuntu/macOS CI, pending at this new head (previous head was green). No local heavy check or remote retry was run.
  • node scripts/ui-check.mjs, browser screenshots, performance, Safari/VoiceOver and native/live producer proof remain deferred/unverified. Current Mac memory pressure is warning (2), so no browser job was admitted. Added probe code is not browser evidence.

No merge, deployment or release.

Copilot AI balanced review requested due to automatic review settings November 10, 2026 05:47

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T05:49:26.352023Z 225ec4a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 225ec4a4fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread shell/space.js Resolved
…eader

- Make every Space root child except the detail inert while it is open,
  so Room scene-style and camera controls cannot take focus behind it.
- Fall back to the section tab when a focused Team control disappears.
- Store the section choice under acon.space.section; acon.space.view
  stays a read-only legacy scene-style input.
- Let the Space header scroll with the page; the sticky header covered
  scene controls at 200% text and narrow widths.
- ui-check: wait for the hidden detail state and run the raised-cap
  performance probe in a CSP-bypassing context.
- Re-apply inert after the lazy Room controller adds its controls, so a
  direct room&actor route cannot leave scene-style buttons operable.
- When the Space area is entered with an open detail (for example Back
  from a producer panel), move focus to the detail's Back control so
  Escape and the Tab trap work again.
- README: actors open their detail; cards navigate to their panel.
- Record and restore .column scrollTop, the page scroller at compact
  widths, when an actor detail closes after a producer round trip.
- A state filter keeps each kept actor's current card even when the
  card has no owner or another owner, so Team keeps the task title.
- ui-check: compact producer -> Back -> Escape restores scroll and focus.
Team now shows '(last reported, stale)' and a dashed border for actors
whose source failed to refresh, matching Room and the actor detail.
A Team Board/Flow shortcut hid the Team section while focus stayed on
the hidden shortcut. Focus now moves to the selected section tab.
@entelecheia
entelecheia merged commit 1240fe1 into main Nov 10, 2026
3 checks passed
@entelecheia
entelecheia deleted the feat/101-space-team branch November 10, 2026 09:48
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