Skip to content

dashboard-project-scoping: D1–D7 rulings locked; propose add-project-scoped-selection (exit 1 of 3) - #73

Merged
brettheap merged 1 commit into
mainfrom
change/dashboard-project-scoping-rulings
Aug 6, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/dashboard-project-scoping-rulings

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Encodes Brett's 2026-08-06 decision round on staging topic dashboard-project-scoping — all five open questions resolved, zero remaining — and authors the series' first exit change.

The rulings (D1–D7)

  • D1 "All repos in a project" is a true merged view (cross-repo projection with explicit cluster-identity/count/freshness rules) — exit 2.
  • D2 Register writes are commissions: a create-project gate verb records a project-register-edit workflow-job + gate record; the fulfilment applies the edit to the aggregation-owned register. The dashboard never writes across the repository boundary.
  • D3 Tile operations in non-served repos proceed — L3 happens, as its own session-plane change — exit 3.
  • D4 projects[] only; no group affordance.
  • D5 The local register is dev-plane-authoritative until the tenant project catalog exists, then a derived workstation cache — declared in the capability so the runtime twin can't fork.
  • D6 Three sequenced exits: add-project-scoped-selection → add-project-merged-projection → add-project-tile-repository-binding.
  • D7 Content first: the register splits by role (core / domains / medx-clinical / installs; single-parent rule holds) — the aggregation-repo edit lands separately.

Exit 1 authored: add-project-scoped-selection

create-project commission (additive gate-intent / gate-action-record growth: create-project, project_id; guards: roster existence, single-parent, duplicate via the shared commission index) + project-scoped selection (picker narrows the selector roster to member repos; the active snapshot stays one (repository, ref) key) + the D5 authority declaration. Ratification pending Brett's review of the packet.

Topic health flips to ready; openspec validate --all --strict 52/52.

🤖 Generated with Claude Code

…roject-scoped-selection (exit 1)

Brett ruled all five open questions 2026-08-06: the all-repos view is a
TRUE MERGED projection (D1, exit 2); register writes are COMMISSIONS
(D2 — the dashboard never crosses the repository boundary); L3 per-tile
repository binding PROCEEDS as its own session-plane change (D3, exit
3); projects only, no group affordance (D4); the local register is
dev-plane-authoritative until the tenant project catalog exists, then a
derived workstation cache, never an override (D5); three sequenced
exits (D6); the register splits by role — core / domains /
medx-clinical / installs, single-parent rule holding (D7, an
aggregation-repo content edit landing separately).

Exit 1 is authored here as add-project-scoped-selection: the
create-project commission verb (additive gate-intent/gate-action-record
growth: create-project + project_id; workflow project-register-edit on
the shared undelivered-commission index) and project-scoped selection
(picker narrows the selector roster; active snapshot stays one
(repository, ref) key). Topic health flips to ready with the questions
closed; README records the active change; strict validation green
across all changes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 6, 2026 04:08
@brettheap
brettheap merged commit cf45189 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 ✨

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

This PR records the 2026-08-06 D1–D7 decision round for the dashboard-project-scoping staging topic and introduces the first exit-change packet, add-project-scoped-selection, including its proposal/design/spec/tasks documentation and repository indices that surface it as an active change.

Changes:

  • Adds the openspec/changes/add-project-scoped-selection/ documentation packet (proposal, design, spec delta, tasks).
  • Updates staging documentation to mark dashboard-project-scoping as decision-complete and to name the three-exit sequence.
  • Links the new change from the root README “Active changes” list.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Adds add-project-scoped-selection to the Active changes list with a concise synopsis.
openspec/changes/add-project-scoped-selection/tasks.md Defines the implementation task breakdown for the exit-1 slice.
openspec/changes/add-project-scoped-selection/specs/ideation-dashboard/spec.md Adds requirements/scenarios for create-project commission, scoped selection, and authority declaration.
openspec/changes/add-project-scoped-selection/proposal.md Authors the change proposal, scope, non-goals, and impact statement.
openspec/changes/add-project-scoped-selection/design.md Captures the exit-1 design decisions and trade-offs derived from D1–D7.
ideation/staging/INDEX.md Updates the topic index entry and the detailed topic section to reflect the decision round and exits.
ideation/staging/dashboard-project-scoping/dashboard-project-scoping.md Replaces open questions with the D1–D7 decision record and the ruled exit path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ideation/staging/INDEX.md
Comment on lines 146 to 150
- Open questions: Q1 all-repos view shape (merged vs filtered); Q2 where the
register write lands and under what authority (the file is in ANOTHER
repo than the served corpus); Q3 whether a tile operation in a non-served
repository proceeds or refuses (this is the L3 fork); Q4 whether project
groups are used at all; Q5 authority once the tenant project catalog exists
Comment on lines +171 to +173
change — multi-checkout serve, per-tile repository resolution, per-resolved
-repository confinement. Sequenced strictly after exit 2 and reconciled
with the `add-workbench-branch-sessions` machinery it touches.
Comment on lines +30 to +32
console. The SINGLE-PARENT rule (a repository belongs to at most one
project — the register schema's validator-side reading of D10) is enforced
at commission time against the register projection, and re-checked by the
brettheap added a commit that referenced this pull request Oct 3, 2026
…ce (plan 034)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Bookkeeping only, with no Arc: trailer. It edits
specs/034-opendox-standalone-operation/tasks.md alone.

Ticks, each with its merged PR and sha in opensoft/openDox-code: T072 #69
5e7ab003; T075 #73 9197ccdd. Each carries a Landed bullet drawn from the
landed PR's body. With the eight ticks of the first commit, 69 of the 96 boxes
are ticked.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 3, 2026
…034) (#1223)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

**Plan 034 T077: #1144's F10.1, run as T007 batch H amends it.** This PR quotes that run (`pip install ".[local]"`, then `opendox generate-and-open --local …`), made at openDox-code `main` `8e377823`, after T072 (openDox-code#69 → `5e7ab003`) and T075 (#73 → `9197ccdd`). T077's falsifier is *"F10.1 itself, as amended. This task is that run, quoted in its PR."*
- This PR is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091). Claim: #656 comment `5970626533`.
- Ruled, as T077 cites: R1Q15 (b), R1Q16 (iii), `5850003126`.
- **The form follows the holder's ruling of 2026-10-03.** The run is quoted in an openxFactory evidence file, in the form the phase checkpoints set (T049 #1204, T063 #1218): an evidence file, the task ticked with a `Landed` bullet, and the feature's README entry linking it. It is not an empty-diff openDox-code PR. That draft, openDox-code#83, is closed as superseded by this PR.

**No Rule 6 window.** This PR touches nothing under `openspec/changes/`.

The record is [`specs/034-opendox-standalone-operation/evidence/f10.1-run.md`](specs/034-opendox-standalone-operation/evidence/f10.1-run.md).
- F10.1 was extracted byte for byte from #1144's `tasks.md` at `ec9308c8` (`:1481-1504`, sha256 `47c9b4678d78…`). Batch H's two amended lines (`:1515-1527`) were then applied, and the diff from the text as written is exactly those two lines.
- It was run from a fresh clone of openDox-code at `8e377823`, with an empty `git status --porcelain --ignored`, in a fresh venv, in the foreground. The environment was built with `env -i`, so no host `GIT_*`, `XF_*`, `PG*` or other `OPENDOX_*` variable was inherited, and `LANG=C.UTF-8`. The variables the run sets are F10.1's own: its `export` line sets the four fixture identities `GIT_AUTHOR_NAME`, `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL`, which stay set while the server runs.
- `OPENDOX_STATE_DIR` was under the user's own `~/.local/state`, written `<state>` in the record, giving a 59-byte socket path. The record carries no host-absolute path (Principle IV). Port 8080 was checked free first.

## Verdict

| # | the run | where | result, quoted |
|---|---|---|---|
| 1 | F10.1, as batch H amends it | openDox-code `8e377823`, `pip install ".[local]"` into a fresh venv | **PASS**, exit 0. `set -euo pipefail` held to the last line: no sibling is importable, `opendox --help` exits 0, the readiness loop succeeds, `/` is fetched, and it holds `<html`. `database … (bundled, pid …, migrations applied now: ['0001', '0002'])` and `validation: opendox-snapshot: 0 violations`. The fetched page is byte-identical to `src/opendox/web/index.html` (7556 B). The bundled server is gone after the run. |
| 2 | supplementary: T075's fetch of every bundle file, after the same command | the same clone, cleaned, and a fresh venv | **PASS**, exit 0: all 42 files are served with the tree's bytes, `views/intent-feed.js` answers 404 (10.2a), and `F10.1 (as amended), widened to 42 files: PASS`. |

What this PR records, in plan 034 only:
- **`evidence/f10.1-run.md`** (new): the command, the diff of batch H's two lines, both runs' output after pip's last line, the checks made after the run, and two observations. One is that pip's in-tree build leaves an untracked `build/`, which openDox-code's `.gitignore` does not list. The other is F10.1's fixed port 8080.
- **`tasks.md`**: T077 is ticked, with a `Landed` bullet naming the evidence. Only T077's lines change. The ticks PR #1221 has since landed (`dca40ca3`), and `main` `dca40ca3` is merged into this branch (`9a886cb7`, clean).
- **`plan.md`**: the evidence tree lists `f10.1-run.md`, and the paragraph under it names T077.
- **`README.md`**: the feature entry's evidence list links the file, as #1217 and #1218 did.

## Review round 1 (Copilot at `f163d095`): both findings accepted, fixed in `23cb5be2`

- r4173831629: the record now says that no **host** variable was inherited, and it names the four fixture `GIT_*` identities that F10.1 exports itself. The same commit removes every host-absolute path from the record (the phrase #1224's review raised as r4173854122). The state directory is written `<state>`.
- r4173831666: plan.md's evidence inventory now lists the record and names T077.
- Both threads are answered and resolved.

## Validation, at this head (`23cb5be2`) against `main` `dca40ca3`

- **`python3 scripts/validate-openspec-cli-pin.py --all --strict`** (pinned CLI 1.12.0): rc 0, `Totals: 110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`. The one failure is the accepted `add-chain-attestation` exception, as on `main`.
- **doc-health `--single-repo . --as-of 2026-10-03`**, run in one clone named `openxFactory`, at `main` `dca40ca3` and at this branch: **delta zero**. Both read `31 critical, 22 error, 64 warning, 20 info`, and the two reports are byte-identical.
- **The plan-graph checks** are `depcheck.py`, `chaincheck.py`, `arrowcheck.py`, `phasecover.py` and `sharedfiles.py`, from a read-only clone of brett-wip `main` (`300ba9bd`). Its copy reads T007's batches A to N, and N is #1222's, still in flight, so it was run narrowed to A to M; that narrowed `aftergraph.py` is byte-identical to the copy the ticks writer uses. Its output is the same on this branch and on `main`:
  - 96 tasks, 109 nodes and 267 edges, with `cycles: none`;
  - `single-writer chain gaps: 0`;
  - `arrow mismatches: 0`;
  - `phase 3 → T089: 29 tasks; not before the checkpoint: []`;
  - the four known phase-1 shared-file pairs.
- Every 8-character sha in the record and the plan diff was checked with `git rev-parse --short=8` in its own repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[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