Skip to content

Header polish round 2: content-named filter box, corner chrome, roll-up strip retires - #89

Merged
brettheap merged 1 commit into
mainfrom
change/opendox-header-polish2
Aug 6, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/opendox-header-polish2

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Brett's four vibe-annotate comments, processed:

  1. Filter box names its content — single-member project shows that repo's name ("⧩ openxFactory"); several members show the count ("⧩ 5 Repos"), the list one click away.
      1. Theme toggle and settings gear pin to the page's top-right as fixed chrome, out of the header's working controls (settings panel verified still opening).
  2. The grouping roll-up strip retires ("with our new project and filter boxes, we do not need this row anymore") — it was the grouping bar's only mount; the dead import goes with it, grouping.js's pure model + tests remain, and the scoped-selection delta's grouping requirement is restated (grouping surfaces through the project-first header).

Live check green on all four with zero page errors; guards green; openspec --all --strict 53/53.

🤖 Generated with Claude Code

…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]>
Copilot AI review requested due to automatic review settings August 6, 2026 18:22
@brettheap
brettheap merged commit 820cdcf into main Aug 6, 2026

@sourcery-ai sourcery-ai 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.

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]>
brettheap added a commit that referenced this pull request Aug 6, 2026
Green the retired-roll-up guard (follow-up to #89/#90)

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.

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.
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]>
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