Repository navigation
Conversation
…applied validation Brett's 2026-08-07 ruling after two live one-in-flight refusals while populating 'xfactory' member by member: successive edit-project commissions RECORD beside each other instead of refusing. Each validates against EFFECTIVE state — the register with the project's dispatched, undelivered commissions applied oldest-first; a pending create-project counts, so a just-created project can be populated before its fulfilment lands. Same-second commissions bump their stamp so descriptors never share a path. create-project keeps its single-flight guard. kickoff: dispatched_commission_rows (the full oldest-first index; dispatched_commissions reduces from it), _commission single_flight flag + stamp bump, edit_project effective-state guards. Lane: one pass delivers a whole queued series oldest-first. Projection: pending_edits carries every queued row, including edits behind a pending creation. UI: netPendingEdit nets the queue into one badge overlay. Spec delta, proposal amendment note, tasks §6, topic D18 entry. Live check: two same-popover adds, 'apply 2 pending', one click lands both in one pushed commit. Suites 2766 passed, exit 0. 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 ✨
There was a problem hiding this comment.
Pull request overview
This PR changes the ideation dashboard’s project-membership editing posture from “single in-flight edit per project” to “queued edits,” where successive edit-project commissions are accepted, validated against an effective (pending-applied) state, surfaced in the projection/UI as a queue, and delivered oldest-first by the lane.
Changes:
- Engine:
edit_projectnow validates against effective membership (register + pending create + pending edits applied oldest-first) and records edits without a single-flight refusal; same-second descriptors are disambiguated via a stamp bump. - Projection/UI:
pending_editsnow contains all queued edit commissions (including edits behind a pending create), and the popover overlay is derived from the net pending effect per project. - Lane/Index: a new
dispatched_commission_rowsAPI provides ordered dispatched descriptors so one lane pass can deliver an entire queued series in dispatch order.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/ideation-dashboard/test_repo_selector.py | Adds coverage for netting multiple queued edits into a single badge overlay. |
| tests/ideation-dashboard/test_register_edit_lane.py | Adds coverage that a queued series (create + multiple edits) is delivered oldest-first in one pass. |
| tests/ideation-dashboard/test_edit_project.py | Updates and expands engine/wire tests for queued edit semantics, pending-create targeting, and same-second disambiguation. |
| scripts/ideation_dashboard/web/views/repo-selector.js | Switches UI pending overlay from “first pending row” to “net of queued rows” via netPendingEdit. |
| scripts/ideation_dashboard/web/views/repo-selector-model.js | Introduces netPendingEdit to compute the net add/remove overlay from queued pending edit rows. |
| scripts/ideation_dashboard/serve.py | Updates projection building to emit all queued pending_edits (including edits for pending-created projects). |
| scripts/ideation_dashboard/register_edit_lane.py | Updates lane pending scan to consume ordered dispatched rows (not reduced one-per-target). |
| scripts/ideation_dashboard/kickoff.py | Adds dispatched_commission_rows, queue-aware commissioning, effective-state validation, and same-second stamp bumping. |
| openspec/changes/add-opendox-project-header/tasks.md | Records queued-edits work items and evidence under tasks §6. |
| openspec/changes/add-opendox-project-header/specs/ideation-dashboard/spec.md | Updates the contract/spec to require queued edit behavior and the new validation/delivery semantics. |
| openspec/changes/add-opendox-project-header/proposal.md | Notes the D18 amendment to the ratified proposal. |
| ideation/staging/dashboard-project-scoping/dashboard-project-scoping.md | Captures D18 ruling and its implications in the scoping log. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| def _bump_second(at: str) -> str: | ||
| """`at` + 1s in the canonical `_utcnow` shape — the queued-commission | ||
| filename disambiguator (D18): the descriptor path embeds the stamp, so | ||
| two same-second commissions on one target must not share one.""" | ||
| from datetime import datetime, timedelta | ||
| try: | ||
| parsed = datetime.strptime(at, "%Y-%m-%dT%H:%M:%SZ") | ||
| except ValueError: | ||
| parsed = datetime.fromisoformat(str(at).replace("Z", "+00:00")) | ||
| return (parsed + timedelta(seconds=1)).strftime("%Y-%m-%dT%H:%M:%SZ") |
|
Superseded by the rebased branch (force-push blocked by branch rules); re-opened as a fresh PR. |
Brett's ruling 2026-08-14: one domain, and the legacy names are cut dead at switchover — no dual-host period, no redirect. `opensoft.dev` was already the house domain on the same QA edge (openchart-qa, openemr-qa, gatekeeper.dartwing at 20.245.1.91); openXdox was the last service still published on `xforge.us`. The naming record is AMENDED, not rewritten. `dox-opensoft-qa.xforge.us` was true when the name was locked on 2026-08-13, and the short-handle argument that cited it still holds — `dox` remains the Kubernetes namespace and the `doxbench_*` code-module prefix. Only the host moved, so the host is lifted out of the short-handle bullet into a `Public host:` line and the change is recorded as a dated amendment beneath the ruling it amends. The amendment also fixes a trap the record was carrying: the capability is branded `openXdox` with a capital X, but the DNS label MUST be lowercase `openxdox` — Gateway API hostnames, TLS SNI and certificate subjects are all lowercase, so the branded form cannot appear in a manifest or a certificate. Stated explicitly as "not a spelling to reconcile", because the next reader's instinct will be to make them match. TWO names retire, because there were two routes: the openXdox route, and `ideation-dashboard.xforge.us` — the original 2026-07-14 read-only deployment in namespace `xfactory-control`, superseded by the credential-free dashboard pod inside the `dox` namespace. Realization is Omnigent-Install PR #98. DNS `A 20.245.1.91 TTL 300` is added and independently verified, and the zone carries no CAA record so Let's Encrypt issuance is unblocked. NOT yet done, and recorded as such: the shared `opensoft-edge-public` Certificate in namespace `opsx-edge` must gain the new subject. It lives outside every repository in this workspace, so the live-mode edge validators fail until that reissue lands — by design, not by oversight. Gates: `openspec validate --all --strict` 58 passed / 0 failed; doc-health 0 new regressions, and no finding names this file. (The error count moved 5 -> 6 today from `archive/2026-08-14-add-worker-credential-by-reference`, another session's change missing its `.openspec.yaml` origin — same defect class flagged, not fixed here.) Co-Authored-By: Claude Opus 5 <[email protected]>
Brett's ruling after hitting the single-flight guard twice while populating
xfactorymember by member (each time inside the ~50s window before the watcher's next delivery): successive membership edits queue.edit_projectdrops the duplicate guard and validates against EFFECTIVE state — the register with the project's dispatched, undelivered commissions applied oldest-first. A pendingcreate-projectcounts as the project existing, so create-then-populate never bounces either. A duplicate addition against pending-applied state still refuses honestly.create-projectkeeps its single-flight guard (a project is created once). Same-second commissions bump their stamp — descriptors never share a path (the artifact writer overwrites silently).dispatched_commission_rows(every descriptor, oldest first);dispatched_commissionsreduces from it, behavior preserved for every other verb.pending_editscarries every queued row, including edits on a project that so far exists only as a pending creation — the apply button's count stays honest.netPendingEditnets the queue into one badge overlay (an add cancels a pending removal and vice versa); the add line's candidates already subtract pending additions.add-opendox-project-headerchange; proposal carries the amendment note; tasks §6 ticked with evidence; topic D18 recorded indashboard-project-scoping.🤖 Generated with Claude Code