Skip to content

Theme-aware tints, a reserved scrollbar gutter, and forgiving rail search - #129

Merged
brettheap merged 2 commits into
mainfrom
change/lens-theme-scroll-search
Aug 8, 2026
Merged

brettheap merged 2 commits into
mainfrom
change/lens-theme-scroll-search

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Three annotations on the lens rail, one of which was a real accessibility
defect I shipped.

Black on black

The hue feature's own comment says "only the HUE is chosen here… saturation,
lightness and opacity stay in the stylesheet, which is what keeps the theme in
charge"
— and then the code wrote complete hsl(H 45% 42%) strings. 42%
lightness reads on a white panel and all but disappears on the dark theme's
#1C2028. Measured in dark mode before the fix: a rail letter rendered
rgb(155,59,59) on rgb(28,32,40).

Affected: rail letters, sector letters on the radar, the ring arcs, the
signature-grid cells, and the number inside a roomy dot (which reverses out of
the DOT, not the page, so it needed #fff rather than a tint).

Fix: --tint-s / --tint-l / --tint-arc-l live in :root and in BOTH dark
paths — the prefers-color-scheme media query and the explicit
[data-theme="dark"] attribute. Views set only --h. Dark lifts lightness
42% → 72%; the same letter now measures rgb(216,151,151). Light theme is
byte-identical.

A new test walks every hsl(...) in the view sources and fails any that does
not defer to a --tint token, so this class of dark-mode defect is caught in
CI rather than on screen.

The scrollbar is back, by reserving its gutter

The rail does scroll — 13,657px of content in a 1,049px pane — but the bar is
an overlay that fades out, so the only cue that there is more content
disappears. scrollbar-gutter: stable makes it part of the layout; measured
10px, with a thin styled thumb.

Search: forgiving, not fuzzy

The rename from "filter" to "Search keywords" shipped in the previous change
(the annotation predated it). This adds the elastic half: every word must
appear, in any order, with hyphens read as spaces, so work doc finds
doc-workflow. Deliberately not fuzzy — a typo silently returning the wrong
keyword is worse than returning nothing, when the result decides what the
radar is about.

Verification

  • pytest tests/ideation-dashboard tests/ideation_dashboard — 2796 passed,
    19 skipped, exit 0 (checked the exit code, not a tail).
  • openspec validate --all --strict — exit 0.
  • Live in Chromium, both themes: computed colours as quoted above, gutter
    10px, work doc → doc-workflow, zero page errors.

brettheap and others added 2 commits August 8, 2026 07:18
Three annotations on the lens rail.

BLACK ON BLACK — mine, and the code documented the rule it then broke. The
hue feature's own comment says "only the HUE is chosen here… saturation,
lightness and opacity stay in the stylesheet, which is what keeps the theme
in charge", and the code wrote complete `hsl(H 45% 42%)` strings. 42%
lightness reads on white and all but vanishes on the #1C2028 panel: measured
in dark mode, a rail letter came out rgb(155,59,59) on rgb(28,32,40). Views
now set only `--h`; `--tint-s`, `--tint-l` and `--tint-arc-l` live in the
theme blocks, dark lifting lightness to 72%. Same letter now reads
rgb(216,151,151). The number inside a dot reverses out of the DOT rather
than out of the page, which is why it was also wrong on dark.

THE SCROLLBAR is back by reserving its gutter. The rail does scroll — 13,657
px of content in a 1,049px pane — but the bar was an overlay that fades, so
the only cue that there is more disappeared. `scrollbar-gutter: stable` makes
it part of the layout; measured 10px.

THE SEARCH was already renamed from "filter" in the previous change; this
adds the elastic half. Every word must appear, in any order, with hyphens
read as spaces, so "work doc" finds `doc-workflow`. Deliberately NOT fuzzy: a
typo silently returning the wrong keyword is worse than returning nothing,
when the result decides what the radar is about.

A new test pins the tint rule itself — no view may write a lightness — so
this class of dark-mode defect fails in CI rather than on screen.

Suites 2796 passed (exit 0); strict validation green.

Co-Authored-By: Claude Fable 5 <[email protected]>
The rulings the previous commit implemented, written into the header
explainer — the tint is a hue in code and a colour in the theme, a scrolling
pane reserves its gutter, and the rail's search is forgiving but not fuzzy.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 8, 2026 11:22

@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 pull request updates the ideation dashboard lens UI to (1) make hue-based “tints” theme-aware by pushing saturation/lightness decisions into CSS tokens, (2) make scrolling affordances visible by reserving scrollbar gutter space, and (3) improve keyword rail search to be order-insensitive and hyphen/space-tolerant (without fuzzy matching).

Changes:

  • Replace inline hsl(...) styling in views with --h custom properties and compose final colors in styles.css using per-theme tint tokens.
  • Reserve scrollbar gutter and style scrollbars for key scrolling panes to keep scroll affordance visible.
  • Add termMatches() for forgiving keyword search and add tests/docs to lock in the intended behavior.

Reviewed changes

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

Show a summary per file
File Description
tests/ideation-dashboard/test_bullseye_widget.py Updates arc-style expectations to --h and adds regression tests for theme-aware tinting and forgiving search behavior.
scripts/ideation_dashboard/web/views/staging-workbench.js Switches keyword number coloring from inline hsl(...) to --h custom property.
scripts/ideation_dashboard/web/views/lens.js Uses --h for hue propagation, composes arc/background colors via tint tokens, and switches rail filtering to termMatches().
scripts/ideation_dashboard/web/views/lens-model.js Introduces termMatches() for non-fuzzy, token-based matching with hyphen-as-space behavior.
scripts/ideation_dashboard/web/views/bullseye.js Changes arc/label tinting to carry hue via --h (and a data-tinted flag) rather than full hsl(...).
scripts/ideation_dashboard/web/styles.css Adds --tint-* theme tokens, composes hue-based colors in CSS, and reserves/stylizes scrollbar gutters.
docs/ideation-dashboard-session-runbook.md Documents theme-aware tinting, the updated search semantics, and the reserved scrollbar gutter behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +202 to +209
export function termMatches(term, query) {
const q = String(query == null ? "" : query).trim().toLowerCase();
if (!q) return true;
const hay = String(term == null ? "" : term).toLowerCase();
const flat = hay.replace(/[-_/.]+/g, " ");
return q.split(/[\s-]+/).filter(Boolean)
.every((token) => hay.includes(token) || flat.includes(token));
}
Comment on lines +1070 to +1071
proc = subprocess.run([NODE, str(tmp_path / "m.mjs")], capture_output=True,
text=True, cwd=tmp_path)
@brettheap
brettheap deleted the change/lens-theme-scroll-search branch August 21, 2026 23:57
brettheap pushed a commit that referenced this pull request Sep 4, 2026
… 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
brettheap added a commit that referenced this pull request Sep 4, 2026
…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]>
brettheap added a commit that referenced this pull request Sep 5, 2026
design.md and tasks.md added prose for the OQ-6/orchestrator-pin rulings
using bare `PR #NNN` / `#NNN` for Omnigent-Install PRs (#213, #129, #143,
#40, #214). Bare numbers auto-link to this repository on GitHub, not
Omnigent-Install, so every one is rewritten to the fully qualified
`opensoft/Omnigent-Install#NNN` form. Addresses two unresolved Copilot
review threads on PR #704.

Lane: openxfactory-3
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015MK1pF6qwboDavWqxLbZN8
brettheap added a commit that referenced this pull request Sep 6, 2026
…ngs: the orchestrator pins, and OQ-6 lands first (#704)

* Amend implement-omniworker-install-repo for Brett's two boundary rulings: the orchestrator pins, and OQ-6 lands first

Lane: openxfactory-3 (openXfactory-3)

Three `Amended 2026-09-05:` notes on design.md and one new unchecked box in
tasks.md § 6. No ratified sentence is rewritten; every existing box keeps its
text and its state.

WHAT THE RETIREMENT MEASURED, AND WHY THE PACKET NEEDED AMENDING

Omnigent-Install PR #213 attempted tasks 6.1 and could not finish it. Design
§ D2.1 assigns `workers/`, the host-side `scripts/` and the JUDGED docs to
OmniWorker-Install; § D2.2 assigns the manager-review runtime, the compose and
Kubernetes topology and the omnigent-install-manifest realization to
Omnigent-Install. Both assignments stand. What neither table measured is that
the second set READS the first set at run time -- in thirty-nine places.

#213 measured it by removing the whole copied tree in its own branch and
re-running every validator: ten of the twelve repository validators are green on
that repository's main, and removing all 120 candidate paths broke all ten,
including all three the Dartwing workflow runs by name. The consumers are
manager_review/runner.py, agents/manager-review/seat-*.yaml, both compose
stacks, k8s/local/worker-lanes.yaml, config/omnigent-install-manifest.yaml and
its render-verify arm, eleven validators and eight test modules -- every one of
them § D2.2 material. The path-by-path inventory is docs/omniworker-split.md in
that PR, and it is the requirements source cited by each note below.

RULING 1 -- "Orchestrator pins OmniWorker-Install"

D2 gains the measurement and the ruling. OmniWorker-Install is CANONICAL for
the worker profiles, the schemas (including
workers/schemas/artifact-worker-heartbeat.schema.json), the heartbeat publisher
and the other Part 1 material; the orchestrator CONSUMES them through a
commit-plus-digest pin -- the estate pattern this repository already runs twice,
contracts/openxwallet-pin.yaml and contracts/openreposhape-pin.yaml. Nothing is
re-homed back across the boundary. That one mechanism closes four of the five
items docs/omniworker-split.md recorded as owed.

D3 gains a TENTH step between the copy and the retirement -- 8b PIN -- and
step 9 now depends on it. The ratified "Copy-first migration" requirement
already imposes that order in words § D4 read as being about consumers OUTSIDE
the repository ("the source path MUST NOT be deleted from Omnigent-Install
until every declared consumer has been re-pinned and verified"); it binds the
ones inside it identically, and thirty-nine paths have them. Step 9 also splits
by consequence: #213 landed the 50 paths whose consumers had all left with them,
and the 70 Part 1 paths that remain are step 9's whole content.

RULING 2 -- OQ-6, "Land it in Omnigent-Install first, then copy"

D5 gains the OQ-6 amendment beside the OQ-7 one it already carries: sequence
(a), now the rule for BOTH in-flight changes rather than a one-off.
add-worker-acr-push finishes and lands there -- measured 2026-09-05, its
repository work is already merged (Omnigent-Install PR #129 509b7d65 for the
schema, the cpc-omni01 manifest block and the four test cases; PR #143 5b5592e4
for the hostapp delta that consumes them), nine of its thirteen tasks are ticked,
and the four that remain are a HUMAN/VAULT gate, a live-host confirmation, one
notification and its archive -- not code. Its landed packet and that hostapp
delta are then copied to OmniWorker-Install as PR #40 was, with the
`code_surface:` amendment owed IN THE COPY.

Consequence, recorded in both files: Omnigent-Install PR #213 is HELD until
add-worker-acr-push lands. #213 retires
schemas/worker-host-manifest.schema.yaml and tests/test_worker_host_manifest.py,
two of the four paths that change declares as its code surface; retiring them
while it is active there would re-home it as a side effect of a file deletion --
what § D5's rule and the ADDED requirement both forbid. The hold is sequencing,
not a defect in #213.

TASKS § 6

New unchecked box 6.0 -- realize the pin and re-point all 52 staying consumers,
one class per PR, before 6.1 deletes anything. Its packet is Omnigent-Install
add-omniworker-install-pin (PR #214, authored by this lane; Brett ratifies). The
section note records why 6.1's remaining scope is the 70 Part 1 paths, and the
OQ-6 hold on #213.

VALIDATION

  OPENSPEC_TELEMETRY=0 openspec validate implement-omniworker-install-repo --strict
      Change 'implement-omniworker-install-repo' is valid
  OPENSPEC_TELEMETRY=0 openspec validate --all --strict
      95 passed, 1 failed -- IDENTICAL to origin/main at 7eedc7a, verified in a
      clean worktree of origin/main in the same session. The one failure is
      change/disposition-codexfactory-declared-renames ("Change must have at
      least one delta"), pre-existing and untouched here.
  python3 -m pytest tests/review_lane_pin tests/sequenced_after -q
      235 passed, 2 skipped, 22 subtests passed

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KMAtfAAnXd8aH3e3TMZbQk

* Qualify cross-repo PR references in the boundary-rulings amendment

design.md and tasks.md added prose for the OQ-6/orchestrator-pin rulings
using bare `PR #NNN` / `#NNN` for Omnigent-Install PRs (#213, #129, #143,
#40, #214). Bare numbers auto-link to this repository on GitHub, not
Omnigent-Install, so every one is rewritten to the fully qualified
`opensoft/Omnigent-Install#NNN` form. Addresses two unresolved Copilot
review threads on PR #704.

Lane: openxfactory-3
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015MK1pF6qwboDavWqxLbZN8

* Take Copilot round 2: casing, a permanent link, § spacing

design.md: match the document's own existing "dartwing" casing (lines 68,
69, 88 predate this PR) rather than "Dartwing"; and swap the inventory
link's branch ref (which Omnigent-Install #213 will delete on merge) for
the qualified PR reference, since docs/omniworker-split.md is itself
PR-authored there. tasks.md: "§D2.2" -> "§ D2.2", matching every other
lettered design-section reference in the file (numbered task sections
like §3.1/§4 stay unspaced, which is the file's own separate convention).

Lane: openxfactory-3
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_015MK1pF6qwboDavWqxLbZN8

* Record Brett Heap's ratification of the boundary-ruling amendments

The four dated amendments this PR adds to implement-omniworker-install-repo
(design § D2 retirement measurement, the ten-step sequence under
"Orchestrator pins OmniWorker-Install", § D6 OQ-6 "land it in Omnigent-Install
first, then copy", tasks § 6 pin step) each carry the ratification in their
opening line, and the proposal header gains the Amended: line the
add-nightly-dashboard-refresh precedent uses. Brett Heap, in-session,
2026-09-05 ~23:37Z, verbatim: "ratify and merge 704, 214 and 18".

Lane: openxfactory-3
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BaDMFCnTFuTGmY17vxP2Zo

* Qualify the Omnigent-Install #213 reference in the Amended: line

Copilot round 3: "Omnigent-Install #213" auto-links to openxFactory's PR
#213; the fully qualified opensoft/Omnigent-Install#213 matches the other
amended notes.

Lane: openxfactory-3
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BaDMFCnTFuTGmY17vxP2Zo

---------

Co-authored-by: Brett Heap <[email protected]>
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