Skip to content

The drafted seed moves to doxBench instead of being copied, and sits under the radar - #135

Merged
brettheap merged 1 commit into
mainfrom
change/lens-doxbench-handoff
Aug 8, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/lens-doxbench-handoff

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Two annotations on the drafted-seed panel.

Move it, don't copy it

Copying made the human the transport: paste it somewhere, then keep the
topic, the terms and the area straight by hand. The seed now travels — as a
prefilled create, and the create is the governed one that already exists,
so there's no second write path and no second session concept. It opens or
joins a branch session, which means the draft lands on a branch and never on
main, and save/abandon are exactly the ones that already work (an abandoned
session's branch survives — that's the non-committed list to return to).

Only what was computed crosses over: the staging area
(ideation/staging/<topic>/), the terms every selected document carries as
Topics, staged status, capability-proposal kind, the repository context,
and a provenance line naming the selection. Title and Summary stay empty on
purpose — the create refuses without them, which is the same rule the seed
states by marking them TO WRITE. A selection with no shared spine falls back
to the partial terms rather than producing a create that would be refused for
carrying no topic at all.

Where the panel lives, and a way out of it

It was a full-width block below the entire three-pane layout, a screen away
from the button that produced it. Moving it to the foot of the bullseye pane
was no better — measured 2,772px down, past the whole matrix, the same
problem in a new place. It now sits directly under the radar, where the
eye already is (measured y=680), and carries a dismiss: a panel that can only
be replaced by drafting something else is a panel the human is stuck in, and
dismissing costs nothing because nothing was written and the same selection
redrafts it byte for byte.

The DOM-safety guard earned its keep on the way — it refused the dismiss
handler until its clearing innerHTML assignment stood on its own line, which
is the rule that stops a non-clearing one hiding at the end of one.

Verification

  • pytest — 2809 passed, 19 skipped, exit 0.
  • openspec validate --all --strict — green.
  • Live: the panel mounts in pane-bullseye at y=680 with a dismiss and no
    copy control; open in doxBench opens the overlay titled "doxBench — new
    document" with Topics agent-assisted-app-testing, synthesis, Area
    ideation/staging/agent-assisted-app-testing-synthesis/, Status staged,
    Kind capability-proposal and the source line filled, Title/Summary
    waiting. Zero page errors.

…where it was asked for

Two annotations on the drafted-seed panel.

MOVE, DO NOT COPY. Copying made the HUMAN the transport: paste it somewhere,
then keep the topic, the terms and the area straight by hand. The seed now
travels, as a prefilled create — and the create is the GOVERNED one that
already exists, so there is no second write path and no second session
concept. It opens or joins a branch session, which means the draft lands on a
branch and never on main, and save/abandon are exactly the ones that already
work (an abandoned session's branch SURVIVES, which is the non-committed list
to return to).

Only what was COMPUTED crosses over: the staging area
(`ideation/staging/<topic>/`), the terms every selected document carries as
Topics, `staged` status, `capability-proposal` kind, the repository context,
and a provenance line naming the selection. Title and Summary stay EMPTY on
purpose — the create refuses without them, which is the same rule the seed
itself states by marking them TO WRITE. A selection with no shared spine
falls back to the partial terms rather than producing a create that would be
refused for carrying no topic at all.

WHERE THE PANEL LIVES, and a way out of it. It was a full-width block below
the entire three-pane layout, a screen away from the button that produced it.
Moving it to the foot of the bullseye pane was no better — measured 2,772px
down, past the whole matrix, which is the same problem in a new place. It now
sits DIRECTLY UNDER THE RADAR, where the eye already is (measured y=680), and
carries a dismiss: a panel that can only be replaced by drafting something
else is a panel the human is stuck in, and dismissing costs nothing because
nothing was written and the same selection redrafts it byte for byte.

The DOM-safety guard earned its keep on the way: it refused the dismiss
handler until its clearing `innerHTML` assignment stood on its own line,
which is the rule that stops a non-clearing one hiding at the end of one.

Suites 2809 passed (exit 0); openspec validate --all --strict green. Live:
the panel mounts in `pane-bullseye` at y=680 with a dismiss and no copy
control, and `open in doxBench` opens the overlay titled "doxBench — new
document" with Topics, Area, Status, Kind and Source filled and Title/Summary
waiting. Zero page errors.

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit cd04c17 into main Aug 8, 2026
1 check passed
@brettheap
brettheap deleted the change/lens-doxbench-handoff branch August 8, 2026 23:21

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 updates the ideation dashboard’s drafted staging-seed UX so the seed is moved into doxBench as a prefilled governed create (instead of copied to clipboard), and relocates the drafted-seed panel to sit directly under the bullseye radar with a dismiss control.

Changes:

  • Replace “copy” with an “open in doxBench” hand-off that converts the staged-seed draft into the create-dialog seed shape.
  • Move the drafted-seed panel into the bullseye pane directly under the radar and add a dismiss (clear) action.
  • Extend styling + runbook text and add tests asserting the new behavior.

Reviewed changes

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

Show a summary per file
File Description
tests/ideation-dashboard/test_bullseye_widget.py Adds assertions for “open in doxBench”, panel placement under radar, and JS seed-shaping probe.
scripts/ideation_dashboard/web/views/staging-workbench.js Adds openDraft() entrypoint to open doxBench overlay and invoke the governed create flow from a lens seed.
scripts/ideation_dashboard/web/views/lens.js Adds “open in doxBench” action, dismiss button, panel relocation via confirmHost, and createSeedFromStagingSeed().
scripts/ideation_dashboard/web/styles.css Styles the relocated drafted-seed panel and the new dismiss/action UI.
scripts/ideation_dashboard/web/app.js Wires the lens verb to stagingWorkbench.openDraft via app-level navigation.
docs/ideation-dashboard-session-runbook.md Documents the new panel location, dismiss behavior, and doxBench hand-off semantics.

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

Comment on lines +1345 to +1350
onSessionOpened: (result) => {
sessionOpened(result.ref);
documentCreated(result.ref, result.path);
drawSession();
return rekeyToSession(result.ref);
},
Comment on lines +694 to +715
const path = String(data?.path || "");
const area = path.includes("/") ? path.slice(0, path.lastIndexOf("/") + 1) : "";
const topics = (data?.shared || []).length
? [...data.shared] : [...(data?.partial || [])];
return {
tab: "docs",
area,
title: "",
summary: "",
topics,
repositoryContext: repository || "",
repository: repository || "",
kind: "capability-proposal",
// a staged fragment is born `staged`, which is one of the three statuses a
// create accepts — a document is never born ratified
status: "staged",
source: "drafted from a lens selection of "
+ (data?.documents || []).length + " documents",
documents: [...(data?.documents || [])],
seedText: String(data?.text || ""),
};
}
brettheap pushed a commit that referenced this pull request Aug 25, 2026
…chives

xFactory PR #127 merged at e02d0a8 and that commit is an ancestor of the
aggregation's main, so the code surface this change declared has landed where
it was always going to land: two .gitmodules entries, two gitlinks at exactly
the validated commits 1aa184e and 05f4404, and the README submodule
documentation. The gate checked the merge sha for ancestry rather than
trusting a branch tip, which is the trap the title-uniqueness archive already
recorded once. Task 3.5 carries the read-back and the dated realization note
supersedes the 2026-08-21 snapshot that still said the act had not run.

The delta restates "Install repository scope" canon-complete: both promoted
scenarios byte-identical, the body carried verbatim and extended, and canon
was last amended 2026-07-13, so no later writer's amendment was overwritten by
a restatement that predated it. Promotion moved that requirement and nothing
else — 473 requirements across 50 capabilities before and after, none added,
none removed, one modified, and the promoted text is byte-for-byte the delta's.

All seven of the change's not-this-change boxes archive open, because each
names work the ratification refuses to authorize and ticking a refusal turns
it into a claim. One of them is now also a live observation: both pins have
advanced past the validated commits, which 5.7 permits by route rather than
forbids, and both advances took that route through aggregation PRs #135 and
#142. The item stays open as a standing boundary on every future advance.

Co-Authored-By: Claude Fable 5 <[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