Repository navigation
t3: WizBar board in T3 Code's browser panel (design note and prototype) - #255
Draft
jparker2006 wants to merge 1 commit into
Draft
jparker2006 wants to merge 1 commit into
jparker2006 wants to merge 1 commit into
Conversation
T3 Code has no sidebar extension point, and an OpenWiz t3 driver would need an upstream t3 thread stop. So the fastest WizBar-like view in T3 is a local page in T3's built-in browser panel, opened by a project action. - t3/README.md: the design note (driver vs sidebar port vs browser panel), how to run it, what was checked live on T3 0.1.13, limits. - t3/board: a Node 24 server, standard library only, on 127.0.0.1. It reads the specs producer's files under WizBar's rules, runs the producer on a timer, and reads T3's threads with t3 thread list --json. Read-only. - 20 tests on synthetic data (node --test) and a typecheck with WizBar's locked TypeScript; a T3 workflow runs both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jake asked for WizBar inside T3 Code now, and whether it can be an OpenWiz driver. This draft adds a design note and a working prototype under a new top-level
t3/.Pick: WizBar's board as a local page in T3's built-in browser panel, opened by a T3 project action. It works with T3 as it ships today and needs no change to T3 or OpenWiz. The full comparison is in
t3/README.md.t3drivert3 threadhas nostop(driver v1 D6), so it needs an upstream command; then the kit on a real host(a) is still a good next step if Jake wants fleets to run in T3. The board already matches T3 threads titled
#N: …,Review #P at <sha>andFleet #S: …, so a driver's builders would light up the dots with no more work.(T3 Code's own browser panel showing the board, with made-up data.)
What's in it
t3/board/server.ts: a Node 24 server, standard library only, listening on 127.0.0.1. It reads.openwiz/specs.v2.json,specs.v1.jsonandagents.v1.jsonunder WizBar's rules (missing, broken or stale means unavailable, never zero). With--repo, it also runs WizBar's specs producer, unchanged, every 10 minutes. With--t3-project, it reads T3's threads through the host's ownt3 thread list --json. It only reads.--onceprints a still page forhtml_render.t3/board/board.tsandrender.ts: the board (Pinned, Specs with WizBar's dots, Quiet, On GitHub, Needs you, N running) and the page. The page escapes every value, links only to GitHub, and runs one nonce-allowed script..github/workflows/t3.yml: a newt3-checksjob (typecheck plus tests). It is separate fromwizbar-checks, so it gates nothing WizBar needs.Checks
cd t3 && npm test: 20 of 20 pass.npm run typecheckis clean (WizBar's locked TypeScript). Two of the tests were watched failing first: a review dot must never breathe, and with one spec a thread whose ticket isn't in it must stay out.npx t3, a throwaway data folder, a synthetic project):t3 thread list --jsongave the list items the board reads. With no T3 server running, the board showed T3's own error instead of zero threads.WizBarproject action with a Preview URL started the board in a T3 terminal and opened it in the browser panel. T3 listed the port under Servers. The first run needed one Reload, because T3 opens the panel before Node is listening. Running the action again reuses the running board.Not merged, tagged or released. No issue or pull request was opened outside openwizdev, and no upstream patch is needed for this pick. There is no
changes/line: this is not a ticket in a plan.Built with Cloudroom