Repository navigation
Conversation
Brett: "can we make the repo jump silent on the other wheels? currently we take the user back to home page and the user must drill back to where they were." The jump is not the only offender — it is one of FIVE controls that store a key and reload: the repository jump, the repository selector, the project selector, a refresh, and clearing a drill-in. None of them remembered anything, so every one landed on the first tab. A jump taken FROM the wheel arrived on the funnel, and the human re-navigated to the place they had just been looking at. Fixing the jump alone would have left the same complaint waiting behind four other buttons. The active view is now remembered on every activation — a click, a keyboard arrow, or a programmatic `goto` from a wheel verb, all of which go through the one `show()` — and restored on mount when that view still exists on the plane (a remembered view that is gone falls back to the first, exactly as before). It rides the same guarded storage seam every other stored preference uses, where blocked site data throws from the getter itself and a preference that cannot be stored is not an error. THE TAB IS THE ONLY THING KEPT, deliberately. After a repository jump the tile you were on does not exist in the repository you jumped to — that is the point of jumping. Restoring the view puts you back where you were looking; restoring a tile would restore something that is gone. WHAT THIS DOES NOT DO: the reload still happens. Making the swap truly in-place means re-running the shell's whole mount — every view, the workbench overlay, the selector, the tab router — which is a refactor with real regression surface across surfaces that currently mount exactly once. The complaint was losing your place, and your place is kept. Suites 2816 passed (exit 0). Live: on the wheel, switching project reloads and lands on THE WHEEL (it landed on the realization funnel before). Co-Authored-By: Claude Fable 5 <[email protected]>
Brett: "yes, get rid of the flash too."
The five controls that change what is shown — the repository jump, the
repository selector, the project selector, a refresh, and clearing a drill-in
— now call `render()` instead of `window.location.reload()`. There is no
navigation left in app.js.
THE HARD PART IS NOT RE-RENDERING, IT IS UNBINDING. Several views bind
document-level listeners (Escape closes the explorer, Escape closes the
workbench, the wheel's keyboard paging, fullscreen and settings events) and
observe layout with ResizeObservers. Re-mounting them without teardown means
the second Escape press runs two handlers, the third runs three, and the leak
grows with every switch a human makes — silently, until something fires twice.
ONE `AbortController` PER RENDER is the whole mechanism. Everything a render
binds outside its own root passes `{ signal }`, and starting the next render
aborts the last, which removes all of it at once. No view needs a `destroy()`
and none keeps bookkeeping; it honours the signal it is handed. Observers hook
the same signal's `abort` to disconnect.
The settings gear stays bound ONCE for the life of the page — it owns no
snapshot state, so a re-render must neither rebind nor unbind it.
MEASURING IT PROPERLY MATTERED. The first leak check counted calls to
`addEventListener` and showed keydown climbing 4 -> 13 over three switches,
which looked like a total failure of the scoping. It was the measurement:
an aborted listener is gone but its registration was still counted. Counting
LIVE listeners — registrations whose signal has not aborted — shows them flat
at keydown 4, click 1, fullscreenchange 1, settings 1 across four switches,
against 27 total registrations. Two listeners are deliberately unscoped: the
settings gear's, bound once.
Verified in place with zero navigations: the project switch (lands back on the
wheel), and the drill-in and its clear ("drilled in: 10 documents — 2
identities carried by all 5 visible repositories", then gone).
Suites 2816 passed (exit 0). One unrelated flake appeared in a single run —
`test_wire_accept_and_the_pending_edits_plane`, a git-backed register-edit
wire test — and passed both in isolation and on a full re-run; nothing in this
change touches that lane.
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 ✨
|
Superseded by a fresh branch: this one was cut before #140 landed, and the repository rules forbid the force-push a rebase would need. |
There was a problem hiding this comment.
Pull request overview
This PR removes hard page reloads from the ideation dashboard shell and replaces them with in-place re-renders, while preventing document-level listener/observer leaks across re-mounts by scoping render-time bindings to a per-render AbortController signal. It also persists/restores the active view tab across repository/project switches so a jump taken from (e.g.) the wheel returns to the wheel.
Changes:
- Replaced multiple
window.location.reload()paths withrender()and introduced a per-render abort scope (nextRenderScope) to unbind render-scoped listeners on the next render. - Added sessionStorage-backed “active tab” persistence (
storedTab/storeTab) and restored the remembered tab when valid for the current plane. - Updated views that bind document-level listeners /
ResizeObserverto honor a passed{ signal }, and added tests + runbook documentation to pin the behavior.
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 |
|---|---|
| tests/ideation-dashboard/test_bullseye_widget.py | Adds regression tests that pin “no reload”, tab-restore behavior, and render-scope listener/observer teardown expectations. |
| scripts/ideation_dashboard/web/views/wheel.js | Scopes document-level listeners and a ResizeObserver to the render signal to avoid stacking across re-renders. |
| scripts/ideation_dashboard/web/views/staging-workbench.js | Scopes the overlay’s document-level Escape handler to the caller’s render signal to avoid accumulating handlers. |
| scripts/ideation_dashboard/web/views/funnel.js | Scopes ResizeObserver to the render signal to avoid leaks across re-renders. |
| scripts/ideation_dashboard/web/views/explorer.js | Scopes the overlay’s document-level Escape handler to the caller’s render signal to avoid accumulating handlers. |
| scripts/ideation_dashboard/web/app.js | Introduces the render scope (AbortController per render), replaces reloads with render(), remembers/restores active tab, and threads signal into views and persistent DOM bindings. |
| docs/ideation-dashboard-session-runbook.md | Documents the new in-place rerender behavior, the “remembered tab” behavior, and the render-scope abort rule. |
Suppressed comments (2)
scripts/ideation_dashboard/web/app.js:730
- After
probeCapabilities()resolves, this render may already be stale (its scope aborted by a newer render call). Without a guard here, a stale render can still proceed to mount overlays and bind observers/listeners. Add an early return whensignal.abortedis true.
const probedCaps = await probeCapabilities();
// D10: a composed render strips every acting capability in ONE place, so
// every view's existing capability check is the whole gating.
const caps = composed ? readOnlyCaps(probedCaps) : probedCaps;
const explorer = mountExplorer(explorerRoot, snapshot, {
scripts/ideation_dashboard/web/app.js:943
- If a render is superseded (its render-scope signal is aborted), any error from that stale render should not overwrite the UI status while the newer render is running. Guard the catch path with
if (signal.aborted) return;before setting the error message.
} catch (err) {
if (status) status.textContent = "Could not load the snapshot (" + err.message +
"). The renderer reads a single generated snapshot; regenerate it and reload.";
}
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| sizeObserver.observe(port); | ||
| // an observer outlives its listeners unless something disconnects it | ||
| signal?.addEventListener("abort", () => sizeObserver.disconnect(), { once: true }); |
| const ro = new ResizeObserver(() => draw()); | ||
| signal?.addEventListener("abort", () => ro.disconnect(), { once: true }); | ||
| ro.observe(inner); |
| async function render() { | ||
| const signal = nextRenderScope(); | ||
| const status = document.getElementById("loadstatus"); | ||
| try { | ||
| // The snapshot INDEX (add-dashboard-repo-selector): the roster the selector |
… pending re-ratification The rescued snapshot 2ffe180 amended a RATIFIED, MERGED change packet (ratified 2026-08-25, docs on main via #260/#261/#356) including its `specs/doc-health/spec.md` delta, in place and silently. This reshapes that into the form the estate's own two precedents use, without changing one word of what the originating lane concluded. WHAT THIS COMMIT DOES NOT DO. It does not flip `Status:`, add a second ratification citation line, touch the 2026-08-25 `Ratified:` line, or alter the amended spec delta. The delta stands exactly as the snapshot wrote it — that is the text Brett is being asked to rule on. 1. RETAINED TEXT RESTORED, AMENDMENTS FILED FORWARD (the #592 §9.2 style, and `add-clearing-dispatch-boundary`'s own convention). The snapshot REWORDED five passages of the ratified packet in place. Each is restored verbatim and the amended text now sits beneath it as a dated, clearly-pending note: - `proposal.md` § What Changes, the lane bullet; - `design.md` Decision 3, the five-step recipe (both recipes now stand, the ratified one first, the amended one labelled and following); - `design.md`'s "read from Omnigent-Install `main`" note; - `design.md`'s "starts with a FRESH checkout" reproducibility argument; - `design.md` § Next steps, item 3; - `tasks.md` 3.1, whose body was rewritten while the box stayed unticked. The front-matter `code_surface:` line is a single machine-read value and cannot carry both, so its pre-amendment wording is preserved phrase by phrase in the new proposal section instead. 2. `proposal.md` GAINS § AMENDED AFTER RATIFICATION, 2026-09-04 — modelled on `archive/2026-09-01-add-release-tag-publication-check`, which is this estate's worked precedent for amending a ratified delta, down to its sentence "Recorded here as an amendment awaiting Brett rather than absorbed into the realization". It states the ruling, the contradiction the ruling exposes (a lane whose recipe requires a private-repo clone on a worker its own authority requirement forbids a repository credential to), the correction, and all five delta movements with before/after. 3. THE STANDING IS MADE HONEST. The snapshot's `Amended: 2026-09-01 by Brett` line cites a ruling about the RUNNER DESIGN, not an act of consent to the amended delta text. Both estate precedents cite a consenting act of their own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER act"). The line is extended to say so, and the amendment is marked PENDING RE-RATIFICATION wherever it appears. 4. A DEFECT IN THE AMENDMENT, MEASURED. The amended recipe and the amended delta both call for generation "using the manifest-pinned source revision and timestamp" via `--generated-at`. `--source-revision` is real; `--generated-at` IS NOT an argument of `ideation_dashboard.cli generate`. `_generation_stamp` otherwise derives the stamp with `git show -s` inside the scanned tree, and `RealGitDates` degrades "to None … outside a git checkout" — which a sealed source artifact is. So the amended lane would publish a snapshot carrying no `generated_at` at all. The REQUIREMENT is right and the INTERFACE is missing; filed as new task 3.6. 5. `tasks.md` GAINS § 9, the adoption record. Every cross-repository merge sha the seventeen `[x]` flips assert was re-verified against the provider API and every one is real, merged, and the sha named (Omnigent-Install #129 509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179 de9a1d99). No flip was altered. The host- and org-admin facts this identity cannot reach are listed as unconfirmed rather than doubted. The archive gate is unmoved: `target_release: implementation_pending`, §7 has no ticked task, and the lane has still never run. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
…ett's re-ratification), packet file-forward, and the smoke tools (rescued from the shared checkout, #591) (#595) * Rescue (snapshot): nightly-refresh edits (2026-09-02) from the shared checkout at 6612d32 Snapshot ONLY. Every byte is the shared detached checkout's working tree at 6612d32, copied unchanged; nothing here was authored, renamed, re-homed or "fixed" by the rescuing lane. The source checkout was left untouched, so this snapshot removes nothing from it and cannot conflict with the originating lane. The originating lane (LANES.md draft row `openxfactory-nightly`) has UNKNOWN liveness — last file touch 2026-09-02 09:41 -0400. Its notes are ~/projects/xFactory/HANDOFF-nightly-refresh-session.md (untracked, 66 KB). Content: the ratified add-nightly-dashboard-refresh change amended for Brett's 2026-09-01 in-session host ruling (the artifact rider holds no repository credential; source crosses as a sealed parent artifact), 17 enablement tasks recorded complete, and the Playwright acceptance tooling reworked. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Adopt the nightly-refresh amendment in its lawful form: file-forward, pending re-ratification The rescued snapshot 2ffe180 amended a RATIFIED, MERGED change packet (ratified 2026-08-25, docs on main via #260/#261/#356) including its `specs/doc-health/spec.md` delta, in place and silently. This reshapes that into the form the estate's own two precedents use, without changing one word of what the originating lane concluded. WHAT THIS COMMIT DOES NOT DO. It does not flip `Status:`, add a second ratification citation line, touch the 2026-08-25 `Ratified:` line, or alter the amended spec delta. The delta stands exactly as the snapshot wrote it — that is the text Brett is being asked to rule on. 1. RETAINED TEXT RESTORED, AMENDMENTS FILED FORWARD (the #592 §9.2 style, and `add-clearing-dispatch-boundary`'s own convention). The snapshot REWORDED five passages of the ratified packet in place. Each is restored verbatim and the amended text now sits beneath it as a dated, clearly-pending note: - `proposal.md` § What Changes, the lane bullet; - `design.md` Decision 3, the five-step recipe (both recipes now stand, the ratified one first, the amended one labelled and following); - `design.md`'s "read from Omnigent-Install `main`" note; - `design.md`'s "starts with a FRESH checkout" reproducibility argument; - `design.md` § Next steps, item 3; - `tasks.md` 3.1, whose body was rewritten while the box stayed unticked. The front-matter `code_surface:` line is a single machine-read value and cannot carry both, so its pre-amendment wording is preserved phrase by phrase in the new proposal section instead. 2. `proposal.md` GAINS § AMENDED AFTER RATIFICATION, 2026-09-04 — modelled on `archive/2026-09-01-add-release-tag-publication-check`, which is this estate's worked precedent for amending a ratified delta, down to its sentence "Recorded here as an amendment awaiting Brett rather than absorbed into the realization". It states the ruling, the contradiction the ruling exposes (a lane whose recipe requires a private-repo clone on a worker its own authority requirement forbids a repository credential to), the correction, and all five delta movements with before/after. 3. THE STANDING IS MADE HONEST. The snapshot's `Amended: 2026-09-01 by Brett` line cites a ruling about the RUNNER DESIGN, not an act of consent to the amended delta text. Both estate precedents cite a consenting act of their own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER act"). The line is extended to say so, and the amendment is marked PENDING RE-RATIFICATION wherever it appears. 4. A DEFECT IN THE AMENDMENT, MEASURED. The amended recipe and the amended delta both call for generation "using the manifest-pinned source revision and timestamp" via `--generated-at`. `--source-revision` is real; `--generated-at` IS NOT an argument of `ideation_dashboard.cli generate`. `_generation_stamp` otherwise derives the stamp with `git show -s` inside the scanned tree, and `RealGitDates` degrades "to None … outside a git checkout" — which a sealed source artifact is. So the amended lane would publish a snapshot carrying no `generated_at` at all. The REQUIREMENT is right and the INTERFACE is missing; filed as new task 3.6. 5. `tasks.md` GAINS § 9, the adoption record. Every cross-repository merge sha the seventeen `[x]` flips assert was re-verified against the provider API and every one is real, merged, and the sha named (Omnigent-Install #129 509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179 de9a1d99). No flip was altered. The host- and org-admin facts this identity cannot reach are listed as unconfirmed rather than doubted. The archive gate is unmoved: `target_release: implementation_pending`, §7 has no ticked task, and the lane has still never run. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Repair the rescued debug fork: a hard SyntaxError under -W error, and a docstring that claimed to be the other file Two defects the snapshot preserved faithfully, both in `tests/ideation-dashboard/tools/playwright-smoke-debug.py`, neither fixed by the rescue because a snapshot may not author. 1. `page.evaluate("""() => { … }""")` at line 518 carries a JavaScript regex `/<textarea[\s\S]*?<\/textarea>/g` inside a NON-RAW triple-quoted Python string. `\s` and `\/` are not Python escapes, so this is a SyntaxWarning on every import today and a HARD SyntaxError under `-W error` — which the repository's own tooling reaches for. Fixed by making the literal raw. PROVED SEMANTICS-PRESERVING, not assumed. Python retains an unrecognized escape verbatim, so the string handed to `page.evaluate` was already the bytes the JS needs. The constant was extracted from the AST before and after and hashed: sha256 `e45e19201d519c18…` both times, IDENTICAL. The browser sees exactly what it saw. 2. The docstring was copied verbatim from `playwright-smoke.py`, so the file announced itself as "T098: the scratch-repository doxBench Playwright smoke" and told its reader to run `playwright-smoke.py`. It is not that tool. It is that tool plus ONE fifteen-line hunk: step 4's Document-tab click wrapped in a try/except that screenshots and dumps the canvas DOM before exiting `DEBUG4:`. `diff -u playwright-smoke.py playwright-smoke-debug.py` was that single hunk and is now that hunk plus this docstring — nothing else. The new head says what the file is, that the ORACLE is `playwright-smoke.py` and never this fork, and — the part that matters to whoever finds it next — that NOTHING keeps the two in sync, so the fork should be re-copied from the smoke and re-patched rather than edited, or deleted once step 4 is understood. The remaining 1,164 lines of the original docstring are retained because they still describe correctly how to run this file. RECOMMENDATION, FOR BRETT, NOT ACTED ON HERE: this fork is session scaffolding. Its entire value is fifteen lines of one-off DOM capture, and it costs a 1,164-line duplicate that will rot the first time the smoke is edited. Deleting it is defensible and this lane would not argue. It is kept because the rescue existed so that nothing stranded is lost, and discarding another lane's work on this lane's judgement is not what "adopt" was ruled to mean. One word removes it. NOT THIS CHANGE'S CODE SURFACE. Neither smoke tool is: `proposal.md` names "tests under `tests/ideation-dashboard/` over the status artifact, the no-change short-circuit, and the envelope-shaped diff the lane may produce", and these drive the doxBench editor UI (T098, quickstart §7 — outline editing, Save ordering, session branches). They ride this PR because they were stranded in the same working tree, not because the amendment reaches them. No task is ticked for them. The PR body carries the full analysis of the sibling `playwright-smoke.py` rework. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Flag the pending delta amendment in the README's add-nightly-dashboard-refresh record The record describes the lane as "fresh openxFactory `main` checkout, `--strict` snapshot generation from THAT checkout" — the design as ratified 2026-08-25, and the design an amendment now pending Brett's re-ratification would change. The index is where a reader who is not opening the packet finds out what a change says, so leaving it silent would let the amendment sit unannounced in exactly the place the estate keeps its active-change inventory. The ratified description is NOT rewritten: it is what still governs, and it stays first and unedited. A dated paragraph follows it naming the ruling, what the amendment moves and why, its shape in the delta (two ADDED scenarios, one ADDED prohibition paragraph, no requirement title moved, no MODIFIED block), its rescue provenance (#595, #591), and where the full record lives. The archive gate is stated unmoved because it is: `target_release` does not move and no §7 task is ticked whichever way the amendment is ruled. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Unwrap a source path inside new task 3.6 so it renders as one path `scripts/ideation_dashboard/generator.py` was line-wrapped inside its backticks by the previous commit, so Markdown renders it as two tokens with a space in the middle — a path a reader cannot paste. Prose only; the task's content, its number and its unticked state are unchanged. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Take Copilot's hardcoded-path finding on the debug fork — but not its remedy, which would delete the artifact Copilot, PR #595 review of 2026-09-02, on `playwright-smoke-debug.py:539`: "This hardcodes a host-absolute path ('/tmp/...') ... Use a runtime-derived path (e.g., under the script's temp workspace) instead." TAKEN ON THE DIAGNOSIS. `page.screenshot(path="/tmp/t098-step4.png")` is the ONLY host-absolute literal in either smoke tool — the parent `playwright-smoke.py` has zero, and puts everything under its own `tempfile.mkdtemp` workspace. It is also not portable: this tool is meant to run on the Windows rider, where `/tmp` does not exist, and two concurrent runs would overwrite each other's evidence. DECLINED ON THE REMEDY, for a reason worth recording. "Under the script's temp workspace" means `base`, and `main()`'s `finally` does `shutil.rmtree(base, ignore_errors=True)`. This branch exits through that `finally` by `raise SystemExit(f"DEBUG4: {e}")`, so a screenshot written under `base` is DELETED before the operator can open it — the suggestion would have silently destroyed the one artifact this fork exists to produce. WHAT LANDED INSTEAD: a fresh `tempfile.mkdtemp(prefix="t098-debug-step4-")`, which is durable (nothing removes it), collision-free between concurrent runs, and rooted at `gettempdir()` on every platform — `%TEMP%` on the Windows rider, `/tmp` on Linux, so the original behaviour is preserved where it worked. The path is now PRINTED as `STEP4 SCREENSHOT: <path>` beside the existing `STEP4 DOM:` dump, because a debug artifact at an unpredictable path that nobody is told about is not an artifact. The comment states all three reasons so the next reader does not "simplify" it back to either broken form. `python3 -W error -m py_compile` still clean. Behaviour on the SUCCESS path is untouched: this whole block runs only when the step-4 Document-tab click raises. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Take all three of Copilot's round-2 findings — including a self-contradiction inside the amendment itself Copilot re-reviewed at head `e883a378` and, unlike round 1, reached the GOVERNANCE half. All three findings are real and all three are TAKEN. 1. THE AMENDED DELTA CONTRADICTED ITSELF, and this is the one that mattered. The sentence the amendment adds — "The worker SHALL perform no repository clone, fetch, or push" — FORBIDS IN ITS CLOSING CLAUSE THE VERY ACT THE SAME SENTENCE REQUIRES, a push to `acropensoftxfactoryqa.azurecr.io`. Not prose-picking: this packet calls the push target an "image repository" in `tasks.md` § 2 and in the authority requirement's own "scoped to the single image repository", so "repository" is overloaded across these very requirements. The new prohibition paragraph carried the same ambiguity — its "repository network access on the worker are prohibited" reads on the registry too. Both are now qualified to GIT repositories explicitly, and the prohibition paragraph closes by saying so and by stating that the push-scoped credential for the single `ideation-dashboard` IMAGE repository is neither widened nor withdrawn. NO OBLIGATION MOVES — this is the reading every other sentence in the packet already assumes. THESE ARE THE ONLY WORDS OF THE AMENDMENT THIS LANE HAS CHANGED, and the change is recorded in `proposal.md` § AMENDED AFTER RATIFICATION as its own dated paragraph, because it edits the text put to Brett for ratification. A lane that quietly rewrites what it asks to be ratified has broken the thing that section exists to protect. 2. Task 1.3 is CONDITIONAL ("If 1.2 shows the installation cannot be extended…") and was ticked with a note reading "NOT INVOKED" — a checkbox whose meaning did not match its text. This repository has a convention for exactly that, and Copilot cited it: `[x]` plus an explicit `**N/A — <reason>**` opening the task line (`archive/2026-08-24-govern-openspec-corpus-membership/tasks.md:54-63`, four consecutive instances). Verified, and followed. The originating lane's tick and its whole note are retained; only the N/A marker is added. 3. THE REPOSITORY CONSTITUTION FORBIDS COMMITTED HOST-ABSOLUTE PATHS OUTRIGHT — `.specify/memory/constitution.md` principle IV, "Committed files MUST NOT contain host-absolute paths; use repo-relative paths or runtime resolution." THIS LANE GOT THAT WRONG in its round-1 disposition, where it said the rule was narrower than Copilot claimed and reached only release and contract metadata. It searched `docs/` and `tests/` and never opened the constitution. The rule is repo-wide and Copilot was right. The offending lines were this lane's OWN: the new docstring described the fix as writing `/tmp/t098-step4.png`, and the new comment argued against a hardcoded "/tmp/...". Both now describe the behaviour without an absolute path, and the comment cites principle IV as the third reason not to regress it. The code itself was already compliant as of `e883a378`. DECLINED, with the reason: the `~/doxbench-operator/t100_serve.py` mention Copilot also flagged in the retained docstring is `$HOME`-relative rather than host-absolute, and is retained text byte-identical to the same line in `playwright-smoke.py`, which is already on `main`. Changing it here would edit retained text to fix a defect this PR did not introduce and would leave the parent tool divergent. `openspec validate --all --strict` 87 passed / 0 failed; `python3 -W error -m py_compile` clean. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Take Copilot round 4: a checkbox that implied evidence nobody has, and a docstring that sent operators to the wrong file Both findings are this lane's own defects, not the originating lane's. 1. TASK 1.3's N/A REASON CLAIMED SOMETHING 1.2 HAS NOT SHOWN. Round 2 added the marker "N/A — 1.2's condition did not arise", which reads as though 1.2 had concluded. IT HAS NOT: 1.2 is `[ ]`, it owes a CALL-TIME write proof, and that proof is deferred to §7.1. Copilot is right that a checklist stating a conclusion resting on pending evidence misleads a reader about what is actually verified — the exact failure mode the seventeen ticks were audited for in §9. The marker now separates the two questions instead of eliding them. 1.3 asks whether the installation CANNOT be extended; it demonstrably can, because it is already organization-wide (`repository_selection: all`) and Omnigent-Install is in scope with no extension act at all. That is independent of 1.2's outstanding call-time proof, and the text now says so in terms — "Nothing here asserts 1.2's proof has been taken." 1.2 stays `[ ]` and is untouched. 2. THE DEBUG FORK TOLD OPERATORS TO RUN THE OTHER TOOL. Its retained docstring carried `python3 tests/ideation-dashboard/tools/playwright-smoke.py` — the correct instruction in `playwright-smoke.py`, and the wrong one in a fork whose entire purpose is to be run INSTEAD of the smoke when step 4 fails. Someone debugging step 4 would have run the tool that cannot show them anything. This lane made that worse rather than better: the new head it added in `366a42cc` asserted the retained docstring was kept "because every word of it still describes how to run this file", which was false of precisely this line. The invocation now names this file, the correction is marked in place so it is not read as drift from the parent, and the blanket claim is narrowed to what is actually true. This is an exception to the retained-text rule, and a deliberate one: the rule protects a RATIFIED PACKET's record. This file is new, uncommitted before the rescue, and the line is not a record of anything — it is an instruction that was wrong the moment the file was copied. `python3 -W error -m py_compile` clean; `openspec validate add-nightly-dashboard-refresh --strict` valid. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Record Brett's re-ratification of the amended delta and delete the debug smoke tool (#595) Brett Heap, 2026-09-04 ~02:2xZ, in-session, verbatim: "re-ratify and merge 595, delete the debug tool, roll out lane-line". - proposal.md: § AMENDED AFTER RATIFICATION heading flips from "flagged, PENDING re-ratification" to "RE-RATIFIED 2026-09-04"; records the ruling as the consenting act for the five-movement amendment (including the Copilot-round-4 "Git repository" qualification), on PR #595 at head e84d060. The pending-state paragraph is retained, prefixed as superseded rather than removed. The `Amended:` front-matter line gets the same citation appended; `Status: ratified` and the single `Ratified:` line are untouched. - tasks.md §9: dated ruling entry recording the debug tool's deletion and where its ~15 lines of DOM-capture diff remain recoverable (rescue commit 2ffe180). - tests/ideation-dashboard/tools/playwright-smoke-debug.py: deleted per the ruling. No other file references its filename (grep checked); the tool's own docstring was its only self-reference. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41 * Reconcile the re-ratification wording across the header, index, recipe and tool comment (#595) Four Copilot findings on PR #595, all taken in one commit: - proposal.md front-matter `Amended:` line was internally contradictory (asserted both "NOT YET RE-RATIFIED" and "Re-ratified 2026-09-04" in the same live header). Rewritten to one consistent statement: the runner-design ruling stands as quoted, and the amended delta is RE-RATIFIED 2026-09-04 by Brett Heap, verbatim "re-ratify and merge 595, delete the debug tool, roll out lane-line" (see § AMENDED AFTER RATIFICATION, already the section that carries the history). `Status: ratified` and the single `Ratified:` line are untouched. - README.md's OpenSpec Records entry for add-nightly-dashboard-refresh said the delta amendment was still pending re-ratification; updated to state it was amended 2026-09-04 and re-ratified the same day. - design.md's amended recipe snippet used `--generated-at`, a flag the note immediately below says does not exist yet; added an inline `# requires task 3.6 — flag not yet implemented` marker on that line so a copy/paste does not fail silently. - tests/ideation-dashboard/tools/playwright-smoke.py's git-identity comment read as if `git config user.name` itself "falls through" to the operator's global identity; reworded to say that WITHOUT setting the checkout's local user.name/user.email, later commits fall back to the operator's global git config. The fifth open thread (subject/verb on "Git repository ... access ... prohibited") is a reasoned DECLINE already on record and is left untouched. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb * Say re-ratified everywhere a reader would take it as current (#595) Two Copilot findings on PR #595 pointed at a reader-facing summary blockquote (proposal.md) and a task-gating paragraph (tasks.md) that still described the 2026-09-01 amendment as "pending re-ratification" after Brett Heap's 2026-09-04 re-ratification (verbatim: "re-ratify and merge 595, delete the debug tool, roll out lane-line"). Reworded both, plus five stragglers found by grepping the whole packet (tasks.md 3.1 note; design.md Decision 3 header, the amended-recipe header, and two inline amendment asides) that carried the same stale "(pending re-ratification)" phrasing a reader would take as current. The superseded paragraph inside proposal.md's § AMENDED AFTER RATIFICATION, which is explicitly marked superseded, is untouched, as is the single Ratified: line. Task 3.6 (the --generated-at CLI surface) is now stated as REQUIRED realization work on this change's code surface rather than conditional on a future ratification; the task itself stays unticked since it is not yet done. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb * Say "not re-verified by the adopting lane", not "not verified" (#595) The §9 label read as contradicting the [x] ticks above it (e.g. 1.5/1.6). Reword the label and its lead-in so the meaning is unambiguous: these are host/org-admin facts the adopting lane could not check from outside the host, and the ticks above stand on the originating lane's own evidence — they are not withdrawn. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb --------- Co-authored-by: Claude Fable 5.1 <[email protected]> Co-authored-by: Brett Heap <[email protected]>
The five controls that change what's shown — repository jump, repository
selector, project selector, refresh, and clearing a drill-in — now call
render()instead ofwindow.location.reload(). There is no navigation leftin
app.js.The hard part isn't re-rendering, it's unbinding
Several views bind document-level listeners (Escape closes the explorer, Escape
closes the workbench, the wheel's keyboard paging, fullscreen and settings
events) and observe layout with
ResizeObserver. Re-mounting them withoutteardown means the second Escape press runs two handlers, the third runs three,
and the leak grows with every switch — silently, until something fires twice.
One
AbortControllerper render is the whole mechanism. Everything a renderbinds outside its own root passes
{ signal }, and starting the next renderaborts the last, removing all of it at once. No view needs a
destroy()or anybookkeeping — it honours the signal it's handed. Observers hook the same
signal's
abortto disconnect.The settings gear stays bound once for the life of the page: it owns no
snapshot state, so a re-render must neither rebind nor unbind it.
Measuring it properly mattered
My first leak check counted calls to
addEventListenerand showedkeydownclimbing 4 → 13 over three switches — which looked like the scoping had failed
completely. It was the measurement: an aborted listener is gone, but its
registration was still counted.
Counting live listeners — registrations whose signal hasn't aborted — shows
them flat across four switches:
Two listeners are deliberately unscoped: the settings gear's, bound once.
Verified in place, zero navigations
navigations: 0.repositories"; clear → gone.
navigations: 0.Suites
2816 passed, 19 skipped, exit 0.
One unrelated flake appeared in a single run —
test_wire_accept_and_the_pending_edits_plane, a git-backed register-edit wiretest — and passed both in isolation and on a full re-run. Nothing in this
change touches that lane, but it's worth knowing it can flake.